Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/wireless/rsi/
Drsi_91x_ps.c24 char *str_psstate(enum ps_state state) in str_psstate()
41 enum ps_state nstate) in rsi_modify_ps_state()
44 str_psstate(adapter->ps_state), in rsi_modify_ps_state()
47 adapter->ps_state = nstate; in rsi_modify_ps_state()
70 if (adapter->ps_state != PS_NONE) { in rsi_enable_ps()
73 __func__, str_psstate(adapter->ps_state)); in rsi_enable_ps()
90 if (adapter->ps_state != PS_ENABLED) { in rsi_disable_ps()
93 __func__, str_psstate(adapter->ps_state)); in rsi_disable_ps()
111 if (adapter->ps_state != PS_ENABLED) in rsi_conf_uapsd()
129 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()
/linux-6.1.9/drivers/bluetooth/
Dbtmrvl_main.c26 priv->adapter->ps_state = PS_AWAKE; in btmrvl_interrupt()
109 adapter->ps_state = PS_SLEEP; in btmrvl_process_event()
143 adapter->ps_state = PS_SLEEP; in btmrvl_process_event()
145 (adapter->ps_state) ? "PS_SLEEP" : "PS_AWAKE"); in btmrvl_process_event()
303 ret, adapter->hs_state, adapter->ps_state, in btmrvl_enable_hs()
307 adapter->ps_state, adapter->wakeup_tries); in btmrvl_enable_hs()
311 adapter->ps_state, adapter->wakeup_tries); in btmrvl_enable_hs()
385 priv->adapter->ps_state = PS_AWAKE; in btmrvl_init_adapter()
633 } else if (adapter->ps_state == PS_SLEEP && in btmrvl_service_main_thread()
643 if (adapter->ps_state == PS_SLEEP) in btmrvl_service_main_thread()
Dbtmrvl_drv.h79 u8 ps_state; member
Dbtmrvl_debugfs.c174 &priv->adapter->ps_state); in btmrvl_debugfs_init()
/linux-6.1.9/drivers/net/wireless/marvell/mwifiex/
Duap_event.c243 adapter->ps_state = PS_STATE_PRE_SLEEP; in mwifiex_process_uap_event()
262 adapter->ps_state = PS_STATE_AWAKE; in mwifiex_process_uap_event()
271 adapter->ps_state = in mwifiex_process_uap_event()
276 adapter->ps_state = PS_STATE_AWAKE; in mwifiex_process_uap_event()
Dmain.c296 if ((adapter->ps_state == PS_STATE_SLEEP) && in mwifiex_main_process()
313 if (adapter->ps_state == PS_STATE_SLEEP) in mwifiex_main_process()
314 adapter->ps_state = PS_STATE_AWAKE; in mwifiex_main_process()
319 if (adapter->ps_state == PS_STATE_PRE_SLEEP) in mwifiex_main_process()
322 if (adapter->ps_state != PS_STATE_AWAKE) in mwifiex_main_process()
370 if (adapter->ps_state == PS_STATE_PRE_SLEEP) in mwifiex_main_process()
376 if ((adapter->ps_state == PS_STATE_SLEEP) || in mwifiex_main_process()
377 (adapter->ps_state == PS_STATE_PRE_SLEEP) || in mwifiex_main_process()
378 (adapter->ps_state == PS_STATE_SLEEP_CFM)) { in mwifiex_main_process()
482 adapter->ps_state = PS_STATE_SLEEP; in mwifiex_main_process()
Dutil.c35 {"ps_state", item_size(ps_state),
36 item_addr(ps_state), 1},
184 info->ps_state = adapter->ps_state; in mwifiex_get_debug_info()
Dcmdevt.c362 adapter->ps_state = PS_STATE_SLEEP; in mwifiex_dnld_sleep_confirm_cmd()
364 adapter->ps_state = PS_STATE_SLEEP_CFM; in mwifiex_dnld_sleep_confirm_cmd()
705 if (adapter->ps_state != PS_STATE_AWAKE) in mwifiex_insert_cmd_to_pending_q()
771 if (adapter->ps_state != PS_STATE_AWAKE) { in mwifiex_exec_next_cmd()
1004 adapter->ps_mode, adapter->ps_state); in mwifiex_cmd_timeout_func()
1286 adapter->ps_state = PS_STATE_AWAKE; in mwifiex_process_sleep_confirm_resp()
1294 adapter->ps_state = PS_STATE_SLEEP; in mwifiex_process_sleep_confirm_resp()
Dsta_event.c756 adapter->ps_state = PS_STATE_PRE_SLEEP; in mwifiex_process_sta_event()
777 adapter->ps_state = PS_STATE_AWAKE; in mwifiex_process_sta_event()
787 adapter->ps_state = in mwifiex_process_sta_event()
792 adapter->ps_state = PS_STATE_AWAKE; in mwifiex_process_sta_event()
Dpcie.c679 adapter->ps_state = PS_STATE_AWAKE; in mwifiex_pm_wakeup_card()
1930 if (adapter->ps_state == PS_STATE_SLEEP_CFM) { in mwifiex_pcie_process_cmd_complete()
2574 adapter->ps_state == PS_STATE_SLEEP && in mwifiex_interrupt_status()
2580 adapter->ps_state = PS_STATE_AWAKE; in mwifiex_interrupt_status()
2673 adapter->ps_state == PS_STATE_SLEEP) { in mwifiex_process_int_status()
2674 adapter->ps_state = PS_STATE_AWAKE; in mwifiex_process_int_status()
2716 adapter->ps_state != PS_STATE_SLEEP) in mwifiex_process_int_status()
Dioctl.h201 u32 ps_state; member
Dinit.c229 adapter->ps_state = PS_STATE_AWAKE; in mwifiex_init_adapter()
Dusb.c79 if (adapter->ps_state == PS_STATE_SLEEP_CFM) { in mwifiex_usb_recv()
1567 adapter->ps_state = PS_STATE_AWAKE; in mwifiex_pm_wakeup_card()
Dsdio.c1303 if (!adapter->pps_uapsd_mode && adapter->ps_state == PS_STATE_SLEEP) in mwifiex_sdio_interrupt()
1304 adapter->ps_state = PS_STATE_AWAKE; in mwifiex_sdio_interrupt()
1646 if (adapter->ps_state == PS_STATE_SLEEP_CFM) in mwifiex_decode_rx_packet()
DREADME128 ps_state = <0/1/2/3, full power state/awake state/pre-sleep state/sleep state>
Djoin.c693 priv->adapter->ps_state = PS_STATE_AWAKE; in mwifiex_ret_802_11_associate()
Dmain.h960 u32 ps_state; member
/linux-6.1.9/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-6.1.9/drivers/net/wireless/mediatek/mt76/mt7921/
Dmcu.c725 u8 ps_state; /* 0: device awake in mt7921_mcu_uni_bss_ps() member
740 .ps_state = vif->cfg.ps ? 2 : 0, in mt7921_mcu_uni_bss_ps()
/linux-6.1.9/drivers/net/wireless/mediatek/mt76/
Dmt76_connac_mcu.c192 u8 ps_state; /* 0: device awake in mt76_connac_mcu_set_vif_ps() member
198 .ps_state = vif->cfg.ps ? 2 : 0, in mt76_connac_mcu_set_vif_ps()
/linux-6.1.9/net/wireless/
Dnl80211.c12463 u8 ps_state; in nl80211_set_power_save() local
12470 ps_state = nla_get_u32(info->attrs[NL80211_ATTR_PS_STATE]); in nl80211_set_power_save()
12477 state = (ps_state == NL80211_PS_ENABLED) ? true : false; in nl80211_set_power_save()
12491 enum nl80211_ps_state ps_state; in nl80211_get_power_save() local
12515 ps_state = NL80211_PS_ENABLED; in nl80211_get_power_save()
12517 ps_state = NL80211_PS_DISABLED; in nl80211_get_power_save()
12519 if (nla_put_u32(msg, NL80211_ATTR_PS_STATE, ps_state)) in nl80211_get_power_save()