Searched refs:adapter_to_pwrctl (Results 1 – 14 of 14) sorted by relevance
15 struct pwrctrl_priv *pwrpriv = adapter_to_pwrctl(padapter); in _ips_enter()39 struct pwrctrl_priv *pwrpriv = adapter_to_pwrctl(padapter); in ips_enter()51 struct pwrctrl_priv *pwrpriv = adapter_to_pwrctl(padapter); in _ips_leave()74 struct pwrctrl_priv *pwrpriv = adapter_to_pwrctl(padapter); in ips_leave()98 if (adapter_to_pwrctl(adapter)->bpower_saving) in rtw_pwr_unassociated_idle()101 if (time_before(jiffies, adapter_to_pwrctl(adapter)->ips_deny_time)) in rtw_pwr_unassociated_idle()147 struct pwrctrl_priv *pwrpriv = adapter_to_pwrctl(padapter); in rtw_ps_processor()152 mutex_lock(&adapter_to_pwrctl(padapter)->lock); in rtw_ps_processor()154 mutex_unlock(&adapter_to_pwrctl(padapter)->lock); in rtw_ps_processor()207 if (adapter_to_pwrctl(padapter)->bLeisurePs in traffic_check_for_leave_lps()[all …]
59 pwrpriv = adapter_to_pwrctl(padapter); in rtw_btcoex_LPS_Enter()71 pwrpriv = adapter_to_pwrctl(padapter); in rtw_btcoex_LPS_Leave()
977 (!adapter_to_pwrctl(padapter)->bInSuspend) && in rtw_indicate_scan_done()1520 preportpwrstate->state |= (u8)(adapter_to_pwrctl(padapter)->cpwm_tog + 0x80); in rtw_cpwm_event_callback()1647 if ((adapter_to_pwrctl(adapter)->fw_current_in_ps_mode) in rtw_dynamic_check_timer_handler()
1269 struct pwrctrl_priv *pwrpriv = adapter_to_pwrctl(padapter); in lps_ctrl_wk_hdl()1401 struct pwrctrl_priv *pwrpriv = adapter_to_pwrctl(padapter); in rtw_lps_change_dtim_hdl()
573 struct pwrctrl_priv *pwrctrlpriv = adapter_to_pwrctl(Adapter); in HalDetectPwrDownMode()596 pwrctrlpriv = adapter_to_pwrctl(padapter); in rtl8723bs_hal_init()599 adapter_to_pwrctl(padapter)->bips_processing == true && in rtl8723bs_hal_init()600 adapter_to_pwrctl(padapter)->pre_ips_type == 0 in rtl8723bs_hal_init()616 adapter_to_pwrctl(padapter)->tog = (val8 + 0x80) & 0x80; in rtl8723bs_hal_init()805 pwrpriv = adapter_to_pwrctl(padapter); in rtl8723bs_hal_init()894 if (adapter_to_pwrctl(padapter)->bips_processing) { in rtl8723bs_hal_deinit()913 adapter_to_pwrctl(padapter)->tog = (val8 + 0x80) & 0x80; in rtl8723bs_hal_deinit()922 adapter_to_pwrctl(padapter)->pre_ips_type = 0; in rtl8723bs_hal_deinit()928 adapter_to_pwrctl(padapter)->pre_ips_type = 1; in rtl8723bs_hal_deinit()
171 (adapter_to_pwrctl(adapter)->fw_current_in_ps_mode) in sdio_read32()217 (adapter_to_pwrctl(adapter)->fw_current_in_ps_mode) in sdio_readN()284 (adapter_to_pwrctl(adapter)->fw_current_in_ps_mode) in sdio_write32()321 (adapter_to_pwrctl(adapter)->fw_current_in_ps_mode) in sdio_writeN()542 (adapter_to_pwrctl(adapter)->fw_current_in_ps_mode) in sdio_local_read()582 (adapter_to_pwrctl(adapter)->fw_current_in_ps_mode) in sdio_local_write()631 if (!mac_pwr_ctrl_on || adapter_to_pwrctl(adapter)->fw_current_in_ps_mode) { in sdio_local_cmd53_read4byte()
62 struct pwrctrl_priv *pwrctrlpriv = adapter_to_pwrctl(Adapter); in Update_ODM_ComInfo_8723b()141 fw_current_in_ps_mode = adapter_to_pwrctl(Adapter)->fw_current_in_ps_mode; in rtl8723b_HalDmWatchDog()
363 struct pwrctrl_priv *pwrpriv = adapter_to_pwrctl(padapter); in rtl8723b_set_FwPwrMode_cmd()692 struct pwrctrl_priv *pwrctl = adapter_to_pwrctl(padapter); in rtl8723b_download_rsvd_page()956 struct pwrctrl_priv *pwrctl = adapter_to_pwrctl(padapter); in rtl8723b_download_BTCoex_AP_mode_rsvd_page()
352 if (adapter_to_pwrctl(padapter)->fw_current_in_ps_mode) { in rtw_hal_dm_watchdog_in_lps()
780 if ((adapter_to_pwrctl(pDM_Odm->Adapter)->pwr_mode != PS_MODE_ACTIVE) /* in LPS mode */ in ODM_DMWatchdog()
431 adapter_to_pwrctl(padapter)->fw_current_in_ps_mode = false; in rtl8723b_InitializeFirmwareVars()1969 if (!adapter_to_pwrctl(padapter)->bkeepfwalive) in rtl8723b_init_default_value()3553 struct pwrctrl_priv *pwrpriv = adapter_to_pwrctl(padapter); in SetHwReg8723B()3700 (adapter_to_pwrctl(padapter)->rf_pwrstate == rf_off) in GetHwReg8723B()
634 struct pwrctrl_priv *pwrctrlpriv = adapter_to_pwrctl(padapter); in rtw_reset_drv_sw()737 del_timer_sync(&(adapter_to_pwrctl(padapter)->pwr_state_check_timer)); in rtw_cancel_all_timer()826 struct pwrctrl_priv *pwrctrlpriv = adapter_to_pwrctl(padapter); in _netdev_open()883 struct pwrctrl_priv *pwrctrlpriv = adapter_to_pwrctl(padapter); in netdev_open()967 struct pwrctrl_priv *pwrctl = adapter_to_pwrctl(padapter); in netdev_close()1016 struct pwrctrl_priv *pwrctl = adapter_to_pwrctl(padapter); in rtw_dev_unload()1117 if ((rtw_hal_check_ips_status(padapter)) || (adapter_to_pwrctl(padapter)->rf_pwrstate == rf_off)) in rtw_suspend_normal()1192 pwrpriv = adapter_to_pwrctl(padapter); in rtw_resume_process_normal()1239 struct pwrctrl_priv *pwrpriv = adapter_to_pwrctl(padapter); in rtw_resume_common()
457 struct pwrctrl_priv *pwrpriv = adapter_to_pwrctl(padapter); in rtw_resume_process()
445 #define adapter_to_pwrctl(adapter) (dvobj_to_pwrctl(adapter->dvobj)) macro