Home
last modified time | relevance | path

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

12

/linux/drivers/net/wireless/rsi/
H A 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 …]
H A Drsi_ps.h25 enum ps_state { enum
57 char *str_psstate(enum ps_state state);
H A Drsi_main.h366 enum ps_state ps_state; member
/linux/drivers/bluetooth/
H A Dbtmrvl_main.c27 priv->adapter->ps_state = PS_AWAKE; in btmrvl_interrupt()
126 adapter->ps_state = PS_SLEEP; in btmrvl_process_event()
157 adapter->ps_state = PS_SLEEP; in btmrvl_process_event()
159 (adapter->ps_state) ? "PS_SLEEP" : "PS_AWAKE"); in btmrvl_process_event()
317 ret, adapter->hs_state, adapter->ps_state, in btmrvl_enable_hs()
321 adapter->ps_state, adapter->wakeup_tries); in btmrvl_enable_hs()
325 adapter->ps_state, adapter->wakeup_tries); in btmrvl_enable_hs()
399 priv->adapter->ps_state = PS_AWAKE; in btmrvl_init_adapter()
647 } else if (adapter->ps_state == PS_SLEEP && in btmrvl_service_main_thread()
657 if (adapter->ps_state == PS_SLEEP) in btmrvl_service_main_thread()
H A Dbtnxpuart.c142 u8 ps_state; /* controller's power save state */ member
419 if (psdata->ps_state == PS_STATE_AWAKE && psdata->ps_cmd == PS_CMD_ENTER_PS) in ps_start_timer()
431 static void ps_control(struct hci_dev *hdev, u8 ps_state) in ps_control() argument
437 if (psdata->ps_state == ps_state || in ps_control()
444 if (ps_state == PS_STATE_AWAKE) in ps_control()
449 str_high_low(ps_state == PS_STATE_SLEEP)); in ps_control()
452 if (ps_state == PS_STATE_AWAKE) in ps_control()
459 if (ps_state == PS_STATE_AWAKE) in ps_control()
465 str_on_off(ps_state == PS_STATE_SLEEP), status); in ps_control()
469 psdata->ps_state = ps_state; in ps_control()
[all …]
H A Dbtmrvl_drv.h79 u8 ps_state; member
H A Dbtmrvl_debugfs.c174 &priv->adapter->ps_state); in btmrvl_debugfs_init()
/linux/drivers/net/wireless/marvell/mwifiex/
H A Duap_event.c264 adapter->ps_state = PS_STATE_PRE_SLEEP; in mwifiex_process_uap_event()
283 adapter->ps_state = PS_STATE_AWAKE; in mwifiex_process_uap_event()
292 adapter->ps_state = in mwifiex_process_uap_event()
297 adapter->ps_state = PS_STATE_AWAKE; in mwifiex_process_uap_event()
H A Dmain.c295 if ((adapter->ps_state == PS_STATE_SLEEP) && in mwifiex_main_process()
312 if (adapter->ps_state == PS_STATE_SLEEP) in mwifiex_main_process()
313 adapter->ps_state = PS_STATE_AWAKE; in mwifiex_main_process()
318 if (adapter->ps_state == PS_STATE_PRE_SLEEP) in mwifiex_main_process()
321 if (adapter->ps_state != PS_STATE_AWAKE) in mwifiex_main_process()
362 if (adapter->ps_state == PS_STATE_PRE_SLEEP) in mwifiex_main_process()
368 if ((adapter->ps_state == PS_STATE_SLEEP) || in mwifiex_main_process()
369 (adapter->ps_state == PS_STATE_PRE_SLEEP) || in mwifiex_main_process()
370 (adapter->ps_state == PS_STATE_SLEEP_CFM)) { in mwifiex_main_process()
465 adapter->ps_state = PS_STATE_SLEEP; in mwifiex_main_process()
H A Dcmdevt.c360 adapter->ps_state = PS_STATE_SLEEP; in mwifiex_dnld_sleep_confirm_cmd()
362 adapter->ps_state = PS_STATE_SLEEP_CFM; in mwifiex_dnld_sleep_confirm_cmd()
703 if (adapter->ps_state != PS_STATE_AWAKE) in mwifiex_insert_cmd_to_pending_q()
767 if (adapter->ps_state != PS_STATE_AWAKE) { in mwifiex_exec_next_cmd()
1007 adapter->ps_mode, adapter->ps_state); in mwifiex_cmd_timeout_func()
1275 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()
H A Dutil.c35 {"ps_state", item_size(ps_state),
36 item_addr(ps_state), 1},
166 info->ps_state = adapter->ps_state; in mwifiex_get_debug_info()
H A Dsta_event.c768 adapter->ps_state = PS_STATE_PRE_SLEEP; in mwifiex_process_sta_event()
789 adapter->ps_state = PS_STATE_AWAKE; in mwifiex_process_sta_event()
799 adapter->ps_state = in mwifiex_process_sta_event()
804 adapter->ps_state = PS_STATE_AWAKE; in mwifiex_process_sta_event()
H A Dioctl.h207 u32 ps_state; member
H A Dsdio.c1353 if (!adapter->pps_uapsd_mode && adapter->ps_state == PS_STATE_SLEEP) in mwifiex_sdio_interrupt()
1354 adapter->ps_state = PS_STATE_AWAKE; in mwifiex_sdio_interrupt()
1696 if (adapter->ps_state == PS_STATE_SLEEP_CFM) in mwifiex_decode_rx_packet()
H A DREADME128 ps_state = <0/1/2/3, full power state/awake state/pre-sleep state/sleep state>
/linux/drivers/net/wireless/nxp/nxpwifi/
H A Duap_event.c30 adapter->ps_state = PS_STATE_AWAKE; in nxpwifi_uap_event_ps_awake()
38 adapter->ps_state = PS_STATE_SLEEP; in nxpwifi_uap_event_ps_awake()
45 adapter->ps_state = PS_STATE_AWAKE; in nxpwifi_uap_event_ps_awake()
57 adapter->ps_state = PS_STATE_PRE_SLEEP; in nxpwifi_uap_event_ps_sleep()
H A Dmain.c295 if (adapter->ps_state != PS_STATE_SLEEP) in nxpwifi_should_wakeup_card()
309 if (adapter->ps_state == PS_STATE_PRE_SLEEP) in nxpwifi_should_exit_main_loop()
312 if (adapter->ps_state != PS_STATE_AWAKE) in nxpwifi_should_exit_main_loop()
361 adapter->ps_state = PS_STATE_SLEEP; in nxpwifi_finish_delayed_null_pkt()
438 if (adapter->ps_state == PS_STATE_SLEEP) in nxpwifi_main_process()
439 adapter->ps_state = PS_STATE_AWAKE; in nxpwifi_main_process()
450 if (adapter->ps_state == PS_STATE_PRE_SLEEP) in nxpwifi_main_process()
457 if (adapter->ps_state != PS_STATE_AWAKE) in nxpwifi_main_process()
476 if (adapter->ps_state == PS_STATE_SLEEP) in nxpwifi_main_process()
H A Dcmdevt.c282 adapter->ps_state = PS_STATE_SLEEP; in nxpwifi_dnld_sleep_confirm_cmd()
284 adapter->ps_state = PS_STATE_SLEEP_CFM; in nxpwifi_dnld_sleep_confirm_cmd()
569 if (adapter->ps_state != PS_STATE_AWAKE) in nxpwifi_insert_cmd_to_pending_q()
625 if (adapter->ps_state != PS_STATE_AWAKE) { in nxpwifi_exec_next_cmd()
913 adapter->ps_mode, adapter->ps_state); in nxpwifi_cmd_timeout_func()
1137 adapter->ps_state = PS_STATE_AWAKE; in nxpwifi_process_sleep_confirm_resp()
1145 adapter->ps_state = PS_STATE_SLEEP; in nxpwifi_process_sleep_confirm_resp()
H A Dsta_event.c101 adapter->ps_state = PS_STATE_AWAKE; in nxpwifi_sta_event_ps_awake()
110 adapter->ps_state = PS_STATE_SLEEP; in nxpwifi_sta_event_ps_awake()
117 adapter->ps_state = PS_STATE_AWAKE; in nxpwifi_sta_event_ps_awake()
130 adapter->ps_state = PS_STATE_PRE_SLEEP; in nxpwifi_sta_event_ps_sleep()
H A Dutil.c46 {"ps_state", item_size(ps_state),
47 item_addr(ps_state), 1},
167 info->ps_state = adapter->ps_state; in nxpwifi_get_debug_info()
H A Dcfg.h496 u32 ps_state; member
H A Dinit.c193 adapter->ps_state = PS_STATE_AWAKE; in nxpwifi_init_adapter()
H A Dsdio.c722 if (!adapter->pps_uapsd_mode && adapter->ps_state == PS_STATE_SLEEP) in nxpwifi_sdio_interrupt()
723 adapter->ps_state = PS_STATE_AWAKE; in nxpwifi_sdio_interrupt()
1031 if (adapter->ps_state == PS_STATE_SLEEP_CFM) in nxpwifi_decode_rx_packet()
/linux/drivers/net/wireless/ath/ath6kl/
H A 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/drivers/net/wireless/mediatek/mt76/mt7921/
H A Dmcu.c969 u8 ps_state; /* 0: device awake in mt7921_mcu_uni_bss_ps() member
984 .ps_state = vif->cfg.ps ? 2 : 0, in mt7921_mcu_uni_bss_ps()

12