Lines Matching refs:conditions
26 u32 conditions = le32_to_cpu(priv->adapter->hs_cfg.conditions); in mwifiex_ethtool_get_wol() local
30 if (conditions == HS_CFG_COND_DEF) in mwifiex_ethtool_get_wol()
33 if (conditions & HS_CFG_COND_UNICAST_DATA) in mwifiex_ethtool_get_wol()
35 if (conditions & HS_CFG_COND_MULTICAST_DATA) in mwifiex_ethtool_get_wol()
37 if (conditions & HS_CFG_COND_BROADCAST_DATA) in mwifiex_ethtool_get_wol()
39 if (conditions & HS_CFG_COND_MAC_EVENT) in mwifiex_ethtool_get_wol()
47 u32 conditions = 0; in mwifiex_ethtool_set_wol() local
53 conditions |= HS_CFG_COND_UNICAST_DATA; in mwifiex_ethtool_set_wol()
55 conditions |= HS_CFG_COND_MULTICAST_DATA; in mwifiex_ethtool_set_wol()
57 conditions |= HS_CFG_COND_BROADCAST_DATA; in mwifiex_ethtool_set_wol()
59 conditions |= HS_CFG_COND_MAC_EVENT; in mwifiex_ethtool_set_wol()
61 conditions |= HS_CFG_COND_DEF; in mwifiex_ethtool_set_wol()
62 priv->adapter->hs_cfg.conditions = cpu_to_le32(conditions); in mwifiex_ethtool_set_wol()