Home
last modified time | relevance | path

Searched refs:ps_state (Results 1 – 25 of 27) 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
H A Drsi_91x_hal.c206 (adapter->ps_state == PS_ENABLED)) in rsi_prepare_data_desc()
H A Drsi_91x_sdio.c1486 adapter->ps_state = PS_NONE; in rsi_restore()
/linux/drivers/bluetooth/
H A Dbtmrvl_main.c26 priv->adapter->ps_state = PS_AWAKE; in btmrvl_interrupt()
109 adapter->ps_state = PS_SLEEP; in btmrvl_process_event()
136 adapter->ps_state = PS_SLEEP; in btmrvl_process_event()
138 (adapter->ps_state) ? "PS_SLEEP" : "PS_AWAKE"); in btmrvl_process_event()
296 ret, adapter->hs_state, adapter->ps_state, in btmrvl_enable_hs()
300 adapter->ps_state, adapter->wakeup_tries); in btmrvl_enable_hs()
304 adapter->ps_state, adapter->wakeup_tries); in btmrvl_enable_hs()
378 priv->adapter->ps_state = PS_AWAKE; in btmrvl_init_adapter()
626 } else if (adapter->ps_state == PS_SLEEP && in btmrvl_service_main_thread()
636 if (adapter->ps_state == PS_SLEEP) in btmrvl_service_main_thread()
H A Dbtnxpuart.c127 u8 ps_state; /* controller's power save state */ member
351 if (psdata->ps_state == PS_STATE_AWAKE && psdata->ps_cmd == PS_CMD_ENTER_PS) in ps_start_timer()
363 static void ps_control(struct hci_dev *hdev, u8 ps_state) in ps_control() argument
369 if (psdata->ps_state == ps_state || in ps_control()
376 if (ps_state == PS_STATE_AWAKE) in ps_control()
383 if (ps_state == PS_STATE_AWAKE) in ps_control()
389 str_on_off(ps_state == PS_STATE_SLEEP), status); in ps_control()
393 psdata->ps_state = ps_state; in ps_control()
396 if (ps_state == PS_STATE_AWAKE) in ps_control()
438 u8 ps_state; in ps_wakeup() local
[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.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()
H A Dmain.c294 if ((adapter->ps_state == PS_STATE_SLEEP) && in mwifiex_main_process()
311 if (adapter->ps_state == PS_STATE_SLEEP) in mwifiex_main_process()
312 adapter->ps_state = PS_STATE_AWAKE; in mwifiex_main_process()
317 if (adapter->ps_state == PS_STATE_PRE_SLEEP) in mwifiex_main_process()
320 if (adapter->ps_state != PS_STATE_AWAKE) in mwifiex_main_process()
368 if (adapter->ps_state == PS_STATE_PRE_SLEEP) in mwifiex_main_process()
374 if ((adapter->ps_state == PS_STATE_SLEEP) || in mwifiex_main_process()
375 (adapter->ps_state == PS_STATE_PRE_SLEEP) || in mwifiex_main_process()
376 (adapter->ps_state == PS_STATE_SLEEP_CFM)) { in mwifiex_main_process()
480 adapter->ps_state = PS_STATE_SLEEP; in mwifiex_main_process()
H A 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()
707 if (adapter->ps_state != PS_STATE_AWAKE) in mwifiex_insert_cmd_to_pending_q()
773 if (adapter->ps_state != PS_STATE_AWAKE) { in mwifiex_exec_next_cmd()
1024 adapter->ps_mode, adapter->ps_state); in mwifiex_cmd_timeout_func()
1298 adapter->ps_state = PS_STATE_AWAKE; in mwifiex_process_sleep_confirm_resp()
1306 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},
184 info->ps_state = adapter->ps_state; in mwifiex_get_debug_info()
H A Dsta_event.c771 adapter->ps_state = PS_STATE_PRE_SLEEP; in mwifiex_process_sta_event()
792 adapter->ps_state = PS_STATE_AWAKE; in mwifiex_process_sta_event()
802 adapter->ps_state = in mwifiex_process_sta_event()
807 adapter->ps_state = PS_STATE_AWAKE; in mwifiex_process_sta_event()
H A Dpcie.c688 adapter->ps_state = PS_STATE_AWAKE; in mwifiex_pm_wakeup_card()
1829 if (adapter->ps_state == PS_STATE_SLEEP_CFM) { in mwifiex_pcie_process_cmd_complete()
2432 adapter->ps_state == PS_STATE_SLEEP && in mwifiex_interrupt_status()
2438 adapter->ps_state = PS_STATE_AWAKE; in mwifiex_interrupt_status()
2527 adapter->ps_state == PS_STATE_SLEEP) { in mwifiex_process_int_status()
2528 adapter->ps_state = PS_STATE_AWAKE; in mwifiex_process_int_status()
2570 adapter->ps_state != PS_STATE_SLEEP) in mwifiex_process_int_status()
H A Dioctl.h207 u32 ps_state; member
H A Dinit.c235 adapter->ps_state = PS_STATE_AWAKE; in mwifiex_init_adapter()
H A Dusb.c79 if (adapter->ps_state == PS_STATE_SLEEP_CFM) { in mwifiex_usb_recv()
1562 adapter->ps_state = PS_STATE_AWAKE; in mwifiex_pm_wakeup_card()
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>
H A Djoin.c740 priv->adapter->ps_state = PS_STATE_AWAKE; in mwifiex_ret_802_11_associate()
H A Dmain.h956 u32 ps_state; member
/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.c940 u8 ps_state; /* 0: device awake in mt7921_mcu_uni_bss_ps() member
955 .ps_state = vif->cfg.ps ? 2 : 0, in mt7921_mcu_uni_bss_ps()
/linux/drivers/net/wireless/mediatek/mt76/
H A Dmt76_connac_mcu.c195 u8 ps_state; /* 0: device awake in mt76_connac_mcu_set_vif_ps() member
201 .ps_state = vif->cfg.ps ? 2 : 0, in mt76_connac_mcu_set_vif_ps()

12