Home
last modified time | relevance | path

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

12

/Linux-v4.19/drivers/net/wireless/rsi/
Drsi_91x_ps.c25 char *str_psstate(enum ps_state state) in str_psstate()
42 enum ps_state nstate) in rsi_modify_ps_state()
45 str_psstate(adapter->ps_state), in rsi_modify_ps_state()
48 adapter->ps_state = nstate; in rsi_modify_ps_state()
71 if (adapter->ps_state != PS_NONE) { in rsi_enable_ps()
74 __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.h320 enum ps_state ps_state; member
Drsi_91x_hal.c192 (adapter->ps_state == PS_ENABLED)) in rsi_prepare_data_desc()
/Linux-v4.19/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()
398 priv->adapter->ps_state = PS_AWAKE; in btmrvl_init_adapter()
638 } else if (adapter->ps_state == PS_SLEEP && in btmrvl_service_main_thread()
648 if (adapter->ps_state == PS_SLEEP) in btmrvl_service_main_thread()
Dbtmrvl_drv.h95 u8 ps_state; member
Dbtmrvl_debugfs.c187 &priv->adapter->ps_state); in btmrvl_debugfs_init()
/Linux-v4.19/drivers/net/wireless/marvell/mwifiex/
Duap_event.c256 adapter->ps_state = PS_STATE_PRE_SLEEP; in mwifiex_process_uap_event()
275 adapter->ps_state = PS_STATE_AWAKE; in mwifiex_process_uap_event()
284 adapter->ps_state = in mwifiex_process_uap_event()
289 adapter->ps_state = PS_STATE_AWAKE; in mwifiex_process_uap_event()
Dmain.c292 if ((adapter->ps_state == PS_STATE_SLEEP) && in mwifiex_main_process()
309 if (adapter->ps_state == PS_STATE_SLEEP) in mwifiex_main_process()
310 adapter->ps_state = PS_STATE_AWAKE; in mwifiex_main_process()
315 if (adapter->ps_state == PS_STATE_PRE_SLEEP) in mwifiex_main_process()
318 if (adapter->ps_state != PS_STATE_AWAKE) in mwifiex_main_process()
365 if (adapter->ps_state == PS_STATE_PRE_SLEEP) in mwifiex_main_process()
371 if ((adapter->ps_state == PS_STATE_SLEEP) || in mwifiex_main_process()
372 (adapter->ps_state == PS_STATE_PRE_SLEEP) || in mwifiex_main_process()
373 (adapter->ps_state == PS_STATE_SLEEP_CFM)) { in mwifiex_main_process()
459 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()
709 if (adapter->ps_state != PS_STATE_AWAKE) in mwifiex_insert_cmd_to_pending_q()
769 if (adapter->ps_state != PS_STATE_AWAKE) { in mwifiex_exec_next_cmd()
998 adapter->ps_mode, adapter->ps_state); in mwifiex_cmd_timeout_func()
1276 adapter->ps_state = PS_STATE_AWAKE; in mwifiex_process_sleep_confirm_resp()
1284 adapter->ps_state = PS_STATE_SLEEP; in mwifiex_process_sleep_confirm_resp()
Dsta_event.c765 adapter->ps_state = PS_STATE_PRE_SLEEP; in mwifiex_process_sta_event()
786 adapter->ps_state = PS_STATE_AWAKE; in mwifiex_process_sta_event()
796 adapter->ps_state = in mwifiex_process_sta_event()
801 adapter->ps_state = PS_STATE_AWAKE; in mwifiex_process_sta_event()
Dpcie.c515 adapter->ps_state = PS_STATE_AWAKE; in mwifiex_pm_wakeup_card()
1750 if (adapter->ps_state == PS_STATE_SLEEP_CFM) { in mwifiex_pcie_process_cmd_complete()
2394 adapter->ps_state == PS_STATE_SLEEP && in mwifiex_interrupt_status()
2400 adapter->ps_state = PS_STATE_AWAKE; in mwifiex_interrupt_status()
2493 adapter->ps_state == PS_STATE_SLEEP) { in mwifiex_process_int_status()
2494 adapter->ps_state = PS_STATE_AWAKE; in mwifiex_process_int_status()
2536 adapter->ps_state != PS_STATE_SLEEP) in mwifiex_process_int_status()
Dioctl.h213 u32 ps_state; member
Dinit.c241 adapter->ps_state = PS_STATE_AWAKE; in mwifiex_init_adapter()
Dsdio.c889 if (!adapter->pps_uapsd_mode && adapter->ps_state == PS_STATE_SLEEP) in mwifiex_sdio_interrupt()
890 adapter->ps_state = PS_STATE_AWAKE; in mwifiex_sdio_interrupt()
1232 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()
1550 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>
/Linux-v4.19/drivers/staging/rtlwifi/halmac/halmac_88xx/halmac_8822b/
Dhalmac_api_8822b_usb.c85 halmac_adapter->halmac_state.ps_state = in halmac_mac_power_switch_8822b_usb()
105 halmac_adapter->halmac_state.ps_state = HALMAC_PS_STATE_ACT; in halmac_mac_power_switch_8822b_usb()
Dhalmac_api_8822b_sdio.c96 halmac_adapter->halmac_state.ps_state = in halmac_mac_power_switch_8822b_sdio()
113 halmac_adapter->halmac_state.ps_state = HALMAC_PS_STATE_ACT; in halmac_mac_power_switch_8822b_sdio()
Dhalmac_api_8822b_pcie.c78 halmac_adapter->halmac_state.ps_state = in halmac_mac_power_switch_8822b_pcie()
93 halmac_adapter->halmac_state.ps_state = HALMAC_PS_STATE_ACT; in halmac_mac_power_switch_8822b_pcie()
/Linux-v4.19/drivers/staging/rtlwifi/halmac/halmac_88xx/
Dhalmac_api_88xx.h157 enum halmac_ps_state ps_state);
Dhalmac_api_88xx.c145 state->ps_state = HALMAC_PS_STATE_UNDEFINE; in halmac_init_state_machine_88xx()
2411 enum halmac_ps_state ps_state) in halmac_enter_ps_88xx() argument
2435 if (ps_state == halmac_adapter->halmac_state.ps_state) { in halmac_enter_ps_88xx()
2440 if (ps_state == HALMAC_PS_STATE_LPS) { in halmac_enter_ps_88xx()
2448 } else if (ps_state == HALMAC_PS_STATE_IPS) { in halmac_enter_ps_88xx()
2451 halmac_adapter->halmac_state.ps_state = ps_state; in halmac_enter_ps_88xx()
2506 if (halmac_adapter->halmac_state.ps_state == HALMAC_PS_STATE_ACT) { in halmac_leave_ps_88xx()
2543 halmac_adapter->halmac_state.ps_state = HALMAC_PS_STATE_ACT; in halmac_leave_ps_88xx()
/Linux-v4.19/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()
/Linux-v4.19/drivers/staging/rtlwifi/halmac/
Dhalmac_type.h1196 enum halmac_ps_state ps_state; /* power saving state */ member
1689 enum halmac_ps_state ps_state);

12