Home
last modified time | relevance | path

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

12

/drivers/net/wireless/rsi/
Drsi_91x_ps.c25 char *str_psstate(enum ps_state state) in str_psstate()
43 enum ps_state nstate) in rsi_modify_ps_state()
46 str_psstate(adapter->ps_state), in rsi_modify_ps_state()
49 adapter->ps_state = nstate; in rsi_modify_ps_state()
72 if (adapter->ps_state != PS_NONE) { in rsi_enable_ps()
75 __func__, str_psstate(adapter->ps_state)); in rsi_enable_ps()
91 if (adapter->ps_state != PS_ENABLED) { in rsi_disable_ps()
94 __func__, str_psstate(adapter->ps_state)); in rsi_disable_ps()
112 if (adapter->ps_state != PS_ENABLED) in rsi_conf_uapsd()
130 if (adapter->ps_state == PS_ENABLE_REQ_SENT) in rsi_handle_ps_confirm()
[all …]
Drsi_ps.h25 enum ps_state { enum
57 char *str_psstate(enum ps_state state);
Drsi_main.h306 enum ps_state ps_state; member
Drsi_91x_hal.c188 (adapter->ps_state == PS_ENABLED)) in rsi_prepare_data_desc()
/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()
404 priv->adapter->ps_state = PS_AWAKE; in btmrvl_init_adapter()
644 } else if (adapter->ps_state == PS_SLEEP && in btmrvl_service_main_thread()
654 if (adapter->ps_state == PS_SLEEP) in btmrvl_service_main_thread()
Dbtmrvl_drv.h95 u8 ps_state; member
Dbtmrvl_debugfs.c236 &priv->adapter->ps_state); in btmrvl_debugfs_init()
/drivers/net/wireless/marvell/mwifiex/
Duap_event.c249 adapter->ps_state = PS_STATE_PRE_SLEEP; in mwifiex_process_uap_event()
268 adapter->ps_state = PS_STATE_AWAKE; in mwifiex_process_uap_event()
277 adapter->ps_state = in mwifiex_process_uap_event()
282 adapter->ps_state = PS_STATE_AWAKE; in mwifiex_process_uap_event()
Dmain.c293 if ((adapter->ps_state == PS_STATE_SLEEP) && in mwifiex_main_process()
310 if (adapter->ps_state == PS_STATE_SLEEP) in mwifiex_main_process()
311 adapter->ps_state = PS_STATE_AWAKE; in mwifiex_main_process()
316 if (adapter->ps_state == PS_STATE_PRE_SLEEP) in mwifiex_main_process()
319 if (adapter->ps_state != PS_STATE_AWAKE) in mwifiex_main_process()
366 if (adapter->ps_state == PS_STATE_PRE_SLEEP) in mwifiex_main_process()
372 if ((adapter->ps_state == PS_STATE_SLEEP) || in mwifiex_main_process()
373 (adapter->ps_state == PS_STATE_PRE_SLEEP) || in mwifiex_main_process()
374 (adapter->ps_state == PS_STATE_SLEEP_CFM)) { in mwifiex_main_process()
457 adapter->ps_state = PS_STATE_SLEEP; in mwifiex_main_process()
Dutil.c47 {"ps_state", item_size(ps_state),
48 item_addr(ps_state), 1},
196 info->ps_state = adapter->ps_state; in mwifiex_get_debug_info()
Dcmdevt.c370 adapter->ps_state = PS_STATE_SLEEP; in mwifiex_dnld_sleep_confirm_cmd()
372 adapter->ps_state = PS_STATE_SLEEP_CFM; in mwifiex_dnld_sleep_confirm_cmd()
708 if (adapter->ps_state != PS_STATE_AWAKE) in mwifiex_insert_cmd_to_pending_q()
768 if (adapter->ps_state != PS_STATE_AWAKE) { in mwifiex_exec_next_cmd()
996 adapter->ps_mode, adapter->ps_state); in mwifiex_cmd_timeout_func()
1273 adapter->ps_state = PS_STATE_AWAKE; in mwifiex_process_sleep_confirm_resp()
1281 adapter->ps_state = PS_STATE_SLEEP; in mwifiex_process_sleep_confirm_resp()
Dsta_event.c706 adapter->ps_state = PS_STATE_PRE_SLEEP; in mwifiex_process_sta_event()
727 adapter->ps_state = PS_STATE_AWAKE; in mwifiex_process_sta_event()
737 adapter->ps_state = in mwifiex_process_sta_event()
742 adapter->ps_state = PS_STATE_AWAKE; in mwifiex_process_sta_event()
Dpcie.c501 adapter->ps_state = PS_STATE_AWAKE; in mwifiex_pm_wakeup_card()
1741 if (adapter->ps_state == PS_STATE_SLEEP_CFM) { in mwifiex_pcie_process_cmd_complete()
2384 adapter->ps_state == PS_STATE_SLEEP && in mwifiex_interrupt_status()
2390 adapter->ps_state = PS_STATE_AWAKE; in mwifiex_interrupt_status()
2483 adapter->ps_state == PS_STATE_SLEEP) { in mwifiex_process_int_status()
2484 adapter->ps_state = PS_STATE_AWAKE; in mwifiex_process_int_status()
2526 adapter->ps_state != PS_STATE_SLEEP) in mwifiex_process_int_status()
Dioctl.h213 u32 ps_state; member
Dinit.c234 adapter->ps_state = PS_STATE_AWAKE; in mwifiex_init_adapter()
Dsdio.c877 if (!adapter->pps_uapsd_mode && adapter->ps_state == PS_STATE_SLEEP) in mwifiex_sdio_interrupt()
878 adapter->ps_state = PS_STATE_AWAKE; in mwifiex_sdio_interrupt()
1220 if (adapter->ps_state == PS_STATE_SLEEP_CFM) in mwifiex_decode_rx_packet()
Dusb.c91 if (adapter->ps_state == PS_STATE_SLEEP_CFM) { in mwifiex_usb_recv()
1541 adapter->ps_state = PS_STATE_AWAKE; in mwifiex_pm_wakeup_card()
DREADME127 ps_state = <0/1/2/3, full power state/awake state/pre-sleep state/sleep state>
/drivers/staging/rtlwifi/halmac/halmac_88xx/halmac_8822b/
Dhalmac_api_8822b_usb.c96 halmac_adapter->halmac_state.ps_state = in halmac_mac_power_switch_8822b_usb()
116 halmac_adapter->halmac_state.ps_state = HALMAC_PS_STATE_ACT; in halmac_mac_power_switch_8822b_usb()
Dhalmac_api_8822b_sdio.c107 halmac_adapter->halmac_state.ps_state = in halmac_mac_power_switch_8822b_sdio()
124 halmac_adapter->halmac_state.ps_state = HALMAC_PS_STATE_ACT; in halmac_mac_power_switch_8822b_sdio()
Dhalmac_api_8822b_pcie.c89 halmac_adapter->halmac_state.ps_state = in halmac_mac_power_switch_8822b_pcie()
104 halmac_adapter->halmac_state.ps_state = HALMAC_PS_STATE_ACT; in halmac_mac_power_switch_8822b_pcie()
/drivers/staging/rtlwifi/halmac/halmac_88xx/
Dhalmac_api_88xx.c156 state->ps_state = HALMAC_PS_STATE_UNDEFINE; in halmac_init_state_machine_88xx()
2422 enum halmac_ps_state ps_state) in halmac_enter_ps_88xx() argument
2446 if (ps_state == halmac_adapter->halmac_state.ps_state) { in halmac_enter_ps_88xx()
2451 if (ps_state == HALMAC_PS_STATE_LPS) { in halmac_enter_ps_88xx()
2459 } else if (ps_state == HALMAC_PS_STATE_IPS) { in halmac_enter_ps_88xx()
2462 halmac_adapter->halmac_state.ps_state = ps_state; in halmac_enter_ps_88xx()
2517 if (halmac_adapter->halmac_state.ps_state == HALMAC_PS_STATE_ACT) { in halmac_leave_ps_88xx()
2554 halmac_adapter->halmac_state.ps_state = HALMAC_PS_STATE_ACT; in halmac_leave_ps_88xx()
Dhalmac_api_88xx.h168 enum halmac_ps_state ps_state);
/drivers/net/wireless/ath/ath6kl/
Dtxrx.c1312 bool is_amsdu, prev_ps, ps_state = false; in ath6kl_rx() local
1407 ps_state = !!((dhdr->info >> WMI_DATA_HDR_PS_SHIFT) & in ath6kl_rx()
1445 if (ps_state) in ath6kl_rx()
/drivers/staging/rtlwifi/halmac/
Dhalmac_type.h1207 enum halmac_ps_state ps_state; /* power saving state */ member
1700 enum halmac_ps_state ps_state);

12