Home
last modified time | relevance | path

Searched refs:ps_state (Results 1 – 18 of 18) sorted by relevance

/linux-4.1.27/drivers/bluetooth/
Dbtmrvl_main.c39 priv->adapter->ps_state = PS_AWAKE; in btmrvl_interrupt()
122 adapter->ps_state = PS_SLEEP; in btmrvl_process_event()
156 adapter->ps_state = PS_SLEEP; in btmrvl_process_event()
158 (adapter->ps_state) ? "PS_SLEEP" : "PS_AWAKE"); in btmrvl_process_event()
316 ret, adapter->hs_state, adapter->ps_state, in btmrvl_enable_hs()
320 adapter->ps_state, adapter->wakeup_tries); in btmrvl_enable_hs()
324 adapter->ps_state, adapter->wakeup_tries); in btmrvl_enable_hs()
418 priv->adapter->ps_state = PS_AWAKE; in btmrvl_init_adapter()
656 } else if (adapter->ps_state == PS_SLEEP && in btmrvl_service_main_thread()
666 if (adapter->ps_state == PS_SLEEP) in btmrvl_service_main_thread()
Dbtmrvl_drv.h85 u8 ps_state; member
Dbtmrvl_debugfs.c236 &priv->adapter->ps_state); in btmrvl_debugfs_init()
/linux-4.1.27/drivers/net/wireless/mwifiex/
Duap_event.c184 adapter->ps_state = PS_STATE_PRE_SLEEP; in mwifiex_process_uap_event()
201 adapter->ps_state = PS_STATE_AWAKE; in mwifiex_process_uap_event()
210 adapter->ps_state = in mwifiex_process_uap_event()
215 adapter->ps_state = PS_STATE_AWAKE; in mwifiex_process_uap_event()
Dsta_event.c295 adapter->ps_state = PS_STATE_PRE_SLEEP; in mwifiex_process_sta_event()
312 adapter->ps_state = PS_STATE_AWAKE; in mwifiex_process_sta_event()
322 adapter->ps_state = in mwifiex_process_sta_event()
327 adapter->ps_state = PS_STATE_AWAKE; in mwifiex_process_sta_event()
Dmain.c269 if ((adapter->ps_state == PS_STATE_SLEEP) && in mwifiex_main_process()
286 if (adapter->ps_state == PS_STATE_SLEEP) in mwifiex_main_process()
287 adapter->ps_state = PS_STATE_AWAKE; in mwifiex_main_process()
292 if (adapter->ps_state != PS_STATE_AWAKE || in mwifiex_main_process()
326 if (adapter->ps_state == PS_STATE_PRE_SLEEP) { in mwifiex_main_process()
334 if ((adapter->ps_state == PS_STATE_SLEEP) || in mwifiex_main_process()
335 (adapter->ps_state == PS_STATE_PRE_SLEEP) || in mwifiex_main_process()
336 (adapter->ps_state == PS_STATE_SLEEP_CFM) || in mwifiex_main_process()
385 adapter->ps_state = PS_STATE_SLEEP; in mwifiex_main_process()
Dutil.c45 {"ps_state", item_size(ps_state),
46 item_addr(ps_state), 1},
193 info->ps_state = adapter->ps_state; in mwifiex_get_debug_info()
Dcmdevt.c321 adapter->ps_state = PS_STATE_SLEEP; in mwifiex_dnld_sleep_confirm_cmd()
323 adapter->ps_state = PS_STATE_SLEEP_CFM; in mwifiex_dnld_sleep_confirm_cmd()
663 if (adapter->ps_state != PS_STATE_AWAKE) in mwifiex_insert_cmd_to_pending_q()
723 if (adapter->ps_state != PS_STATE_AWAKE) { in mwifiex_exec_next_cmd()
940 adapter->ps_mode, adapter->ps_state); in mwifiex_cmd_timeout_func()
1245 adapter->ps_state = PS_STATE_AWAKE; in mwifiex_process_sleep_confirm_resp()
1253 adapter->ps_state = PS_STATE_SLEEP; in mwifiex_process_sleep_confirm_resp()
Dioctl.h206 u32 ps_state; member
Dpcie.c397 adapter->ps_state = PS_STATE_AWAKE; in mwifiex_pm_wakeup_card()
1594 if (adapter->ps_state == PS_STATE_SLEEP_CFM) { in mwifiex_pcie_process_cmd_complete()
2061 adapter->ps_state == PS_STATE_SLEEP && in mwifiex_interrupt_status()
2066 adapter->ps_state = PS_STATE_AWAKE; in mwifiex_interrupt_status()
2191 if (adapter->ps_state != PS_STATE_SLEEP) in mwifiex_process_int_status()
Dusb.c91 if (adapter->ps_state == PS_STATE_SLEEP_CFM) { in mwifiex_usb_recv()
1011 adapter->ps_state = PS_STATE_AWAKE; in mwifiex_pm_wakeup_card()
Dsdio.c781 if (!adapter->pps_uapsd_mode && adapter->ps_state == PS_STATE_SLEEP) in mwifiex_sdio_interrupt()
782 adapter->ps_state = PS_STATE_AWAKE; in mwifiex_sdio_interrupt()
1149 if (adapter->ps_state == PS_STATE_SLEEP_CFM) in mwifiex_decode_rx_packet()
DREADME127 ps_state = <0/1/2/3, full power state/awake state/pre-sleep state/sleep state>
Dinit.c223 adapter->ps_state = PS_STATE_AWAKE; in mwifiex_init_adapter()
Djoin.c657 priv->adapter->ps_state = PS_STATE_AWAKE; in mwifiex_ret_802_11_associate()
Dmain.h847 u32 ps_state; member
/linux-4.1.27/drivers/net/wireless/ath/ath6kl/
Dtxrx.c1317 bool is_amsdu, prev_ps, ps_state = false; in ath6kl_rx() local
1408 ps_state = !!((dhdr->info >> WMI_DATA_HDR_PS_SHIFT) & in ath6kl_rx()
1446 if (ps_state) in ath6kl_rx()
/linux-4.1.27/net/wireless/
Dnl80211.c8473 u8 ps_state; in nl80211_set_power_save() local
8480 ps_state = nla_get_u32(info->attrs[NL80211_ATTR_PS_STATE]); in nl80211_set_power_save()
8482 if (ps_state != NL80211_PS_DISABLED && ps_state != NL80211_PS_ENABLED) in nl80211_set_power_save()
8490 state = (ps_state == NL80211_PS_ENABLED) ? true : false; in nl80211_set_power_save()
8504 enum nl80211_ps_state ps_state; in nl80211_get_power_save() local
8528 ps_state = NL80211_PS_ENABLED; in nl80211_get_power_save()
8530 ps_state = NL80211_PS_DISABLED; in nl80211_get_power_save()
8532 if (nla_put_u32(msg, NL80211_ATTR_PS_STATE, ps_state)) in nl80211_get_power_save()