Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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.h366 enum ps_state ps_state; member
Drsi_91x_hal.c206 (adapter->ps_state == PS_ENABLED)) in rsi_prepare_data_desc()
Drsi_91x_sdio.c1502 adapter->ps_state = PS_NONE; in rsi_restore()
/kernel/linux/linux-5.10/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()
646 } else if (adapter->ps_state == PS_SLEEP && in btmrvl_service_main_thread()
656 if (adapter->ps_state == PS_SLEEP) in btmrvl_service_main_thread()
Dbtmrvl_drv.h93 u8 ps_state; member
Dbtmrvl_debugfs.c187 &priv->adapter->ps_state); in btmrvl_debugfs_init()
/kernel/linux/linux-5.10/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.c291 if ((adapter->ps_state == PS_STATE_SLEEP) && in mwifiex_main_process()
308 if (adapter->ps_state == PS_STATE_SLEEP) in mwifiex_main_process()
309 adapter->ps_state = PS_STATE_AWAKE; in mwifiex_main_process()
314 if (adapter->ps_state == PS_STATE_PRE_SLEEP) in mwifiex_main_process()
317 if (adapter->ps_state != PS_STATE_AWAKE) in mwifiex_main_process()
364 if (adapter->ps_state == PS_STATE_PRE_SLEEP) in mwifiex_main_process()
370 if ((adapter->ps_state == PS_STATE_SLEEP) || in mwifiex_main_process()
371 (adapter->ps_state == PS_STATE_PRE_SLEEP) || in mwifiex_main_process()
372 (adapter->ps_state == PS_STATE_SLEEP_CFM)) { in mwifiex_main_process()
458 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.c374 adapter->ps_state = PS_STATE_SLEEP; in mwifiex_dnld_sleep_confirm_cmd()
376 adapter->ps_state = PS_STATE_SLEEP_CFM; in mwifiex_dnld_sleep_confirm_cmd()
712 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()
1002 adapter->ps_mode, adapter->ps_state); in mwifiex_cmd_timeout_func()
1277 adapter->ps_state = PS_STATE_AWAKE; in mwifiex_process_sleep_confirm_resp()
1285 adapter->ps_state = PS_STATE_SLEEP; in mwifiex_process_sleep_confirm_resp()
Dsta_event.c767 adapter->ps_state = PS_STATE_PRE_SLEEP; in mwifiex_process_sta_event()
788 adapter->ps_state = PS_STATE_AWAKE; in mwifiex_process_sta_event()
798 adapter->ps_state = in mwifiex_process_sta_event()
803 adapter->ps_state = PS_STATE_AWAKE; in mwifiex_process_sta_event()
Dpcie.c681 adapter->ps_state = PS_STATE_AWAKE; in mwifiex_pm_wakeup_card()
1932 if (adapter->ps_state == PS_STATE_SLEEP_CFM) { in mwifiex_pcie_process_cmd_complete()
2576 adapter->ps_state == PS_STATE_SLEEP && in mwifiex_interrupt_status()
2582 adapter->ps_state = PS_STATE_AWAKE; in mwifiex_interrupt_status()
2675 adapter->ps_state == PS_STATE_SLEEP) { in mwifiex_process_int_status()
2676 adapter->ps_state = PS_STATE_AWAKE; in mwifiex_process_int_status()
2718 adapter->ps_state != PS_STATE_SLEEP) in mwifiex_process_int_status()
Dioctl.h213 u32 ps_state; member
Dinit.c240 adapter->ps_state = PS_STATE_AWAKE; in mwifiex_init_adapter()
Dusb.c91 if (adapter->ps_state == PS_STATE_SLEEP_CFM) { in mwifiex_usb_recv()
1579 adapter->ps_state = PS_STATE_AWAKE; in mwifiex_pm_wakeup_card()
Dsdio.c1307 if (!adapter->pps_uapsd_mode && adapter->ps_state == PS_STATE_SLEEP) in mwifiex_sdio_interrupt()
1308 adapter->ps_state = PS_STATE_AWAKE; in mwifiex_sdio_interrupt()
1650 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>
Djoin.c705 priv->adapter->ps_state = PS_STATE_AWAKE; in mwifiex_ret_802_11_associate()
Dmain.h970 u32 ps_state; member
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/mt7615/
Dmcu.c2999 u8 ps_state; /* 0: device awake in mt7615_mcu_set_vif_ps() member
3005 .ps_state = vif->bss_conf.ps ? 2 : 0, in mt7615_mcu_set_vif_ps()
/kernel/linux/linux-5.10/net/wireless/
Dnl80211.c11335 u8 ps_state; in nl80211_set_power_save() local
11342 ps_state = nla_get_u32(info->attrs[NL80211_ATTR_PS_STATE]); in nl80211_set_power_save()
11349 state = (ps_state == NL80211_PS_ENABLED) ? true : false; in nl80211_set_power_save()
11363 enum nl80211_ps_state ps_state; in nl80211_get_power_save() local
11387 ps_state = NL80211_PS_ENABLED; in nl80211_get_power_save()
11389 ps_state = NL80211_PS_DISABLED; in nl80211_get_power_save()
11391 if (nla_put_u32(msg, NL80211_ATTR_PS_STATE, ps_state)) in nl80211_get_power_save()