/linux/drivers/net/wireless/rsi/ |
H A D | rsi_91x_ps.c | 24 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 D | rsi_ps.h | 25 enum ps_state { enum 57 char *str_psstate(enum ps_state state);
|
H A D | rsi_main.h | 366 enum ps_state ps_state; member
|
H A D | rsi_91x_hal.c | 206 (adapter->ps_state == PS_ENABLED)) in rsi_prepare_data_desc()
|
H A D | rsi_91x_sdio.c | 1486 adapter->ps_state = PS_NONE; in rsi_restore()
|
/linux/drivers/bluetooth/ |
H A D | btnxpuart.c | 130 u8 ps_state; /* controller's power save state */ member 355 if (psdata->ps_state == PS_STATE_AWAKE && psdata->ps_cmd == PS_CMD_ENTER_PS) in ps_start_timer() 367 static void ps_control(struct hci_dev *hdev, u8 ps_state) in ps_control() argument 373 if (psdata->ps_state == ps_state || in ps_control() 380 if (ps_state == PS_STATE_AWAKE) in ps_control() 385 str_high_low(ps_state == PS_STATE_SLEEP)); in ps_control() 388 if (ps_state == PS_STATE_AWAKE) in ps_control() 395 if (ps_state == PS_STATE_AWAKE) in ps_control() 401 str_on_off(ps_state == PS_STATE_SLEEP), status); in ps_control() 405 psdata->ps_state = ps_state; in ps_control() [all …]
|
H A D | btmrvl_main.c | 26 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 D | btmrvl_drv.h | 79 u8 ps_state; member
|
H A D | btmrvl_debugfs.c | 174 &priv->adapter->ps_state); in btmrvl_debugfs_init()
|
/linux/drivers/net/wireless/marvell/mwifiex/ |
H A D | uap_event.c | 243 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 D | main.c | 294 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 D | cmdevt.c | 362 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() 1026 adapter->ps_mode, adapter->ps_state); in mwifiex_cmd_timeout_func() 1300 adapter->ps_state = PS_STATE_AWAKE; in mwifiex_process_sleep_confirm_resp() 1308 adapter->ps_state = PS_STATE_SLEEP; in mwifiex_process_sleep_confirm_resp()
|
H A D | util.c | 35 {"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 D | sta_event.c | 768 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 D | pcie.c | 688 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 D | ioctl.h | 207 u32 ps_state; member
|
H A D | init.c | 235 adapter->ps_state = PS_STATE_AWAKE; in mwifiex_init_adapter()
|
H A D | usb.c | 79 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 D | sdio.c | 1353 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 D | README | 128 ps_state = <0/1/2/3, full power state/awake state/pre-sleep state/sleep state>
|
H A D | join.c | 739 priv->adapter->ps_state = PS_STATE_AWAKE; in mwifiex_ret_802_11_associate()
|
H A D | main.h | 952 u32 ps_state; member
|
/linux/drivers/net/wireless/ath/ath6kl/ |
H A D | txrx.c | 1312 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 D | mcu.c | 940 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 D | mt76_connac_mcu.c | 195 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()
|