Lines Matching refs:conditions
14 u32 conditions = le32_to_cpu(priv->adapter->hs_cfg.conditions); in mwifiex_ethtool_get_wol() local
18 if (conditions == HS_CFG_COND_DEF) in mwifiex_ethtool_get_wol()
21 if (conditions & HS_CFG_COND_UNICAST_DATA) in mwifiex_ethtool_get_wol()
23 if (conditions & HS_CFG_COND_MULTICAST_DATA) in mwifiex_ethtool_get_wol()
25 if (conditions & HS_CFG_COND_BROADCAST_DATA) in mwifiex_ethtool_get_wol()
27 if (conditions & HS_CFG_COND_MAC_EVENT) in mwifiex_ethtool_get_wol()
35 u32 conditions = 0; in mwifiex_ethtool_set_wol() local
41 conditions |= HS_CFG_COND_UNICAST_DATA; in mwifiex_ethtool_set_wol()
43 conditions |= HS_CFG_COND_MULTICAST_DATA; in mwifiex_ethtool_set_wol()
45 conditions |= HS_CFG_COND_BROADCAST_DATA; in mwifiex_ethtool_set_wol()
47 conditions |= HS_CFG_COND_MAC_EVENT; in mwifiex_ethtool_set_wol()
49 conditions |= HS_CFG_COND_DEF; in mwifiex_ethtool_set_wol()
50 priv->adapter->hs_cfg.conditions = cpu_to_le32(conditions); in mwifiex_ethtool_set_wol()