Home
last modified time | relevance | path

Searched refs:adapter_to_pwrctl (Results 1 – 14 of 14) sorted by relevance

/linux/drivers/staging/rtl8723bs/core/
H A Drtw_pwrctrl.c14 struct pwrctrl_priv *pwrpriv = adapter_to_pwrctl(padapter); in _ips_enter()
38 struct pwrctrl_priv *pwrpriv = adapter_to_pwrctl(padapter); in ips_enter()
50 struct pwrctrl_priv *pwrpriv = adapter_to_pwrctl(padapter); in _ips_leave()
73 struct pwrctrl_priv *pwrpriv = adapter_to_pwrctl(padapter); in ips_leave()
97 if (adapter_to_pwrctl(adapter)->bpower_saving) in rtw_pwr_unassociated_idle()
100 if (time_before(jiffies, adapter_to_pwrctl(adapter)->ips_deny_time)) in rtw_pwr_unassociated_idle()
146 struct pwrctrl_priv *pwrpriv = adapter_to_pwrctl(padapter); in rtw_ps_processor()
151 mutex_lock(&adapter_to_pwrctl(padapter)->lock); in rtw_ps_processor()
153 mutex_unlock(&adapter_to_pwrctl(padapter)->lock); in rtw_ps_processor()
206 if (adapter_to_pwrctl(padapter)->bLeisurePs in traffic_check_for_leave_lps()
[all …]
H A Drtw_btcoex.c58 pwrpriv = adapter_to_pwrctl(padapter); in rtw_btcoex_LPS_Enter()
70 pwrpriv = adapter_to_pwrctl(padapter); in rtw_btcoex_LPS_Leave()
H A Drtw_mlme.c915 (!adapter_to_pwrctl(padapter)->bInSuspend) && in rtw_indicate_scan_done()
1449 preportpwrstate->state |= (u8)(adapter_to_pwrctl(padapter)->cpwm_tog + 0x80); in rtw_cpwm_event_callback()
1576 if ((adapter_to_pwrctl(adapter)->fw_current_in_ps_mode) in rtw_dynamic_check_timer_handler()
H A Drtw_cmd.c1268 struct pwrctrl_priv *pwrpriv = adapter_to_pwrctl(padapter); in lps_ctrl_wk_hdl()
1400 struct pwrctrl_priv *pwrpriv = adapter_to_pwrctl(padapter); in rtw_lps_change_dtim_hdl()
/linux/drivers/staging/rtl8723bs/hal/
H A Dsdio_halinit.c572 struct pwrctrl_priv *pwrctrlpriv = adapter_to_pwrctl(Adapter); in HalDetectPwrDownMode()
595 pwrctrlpriv = adapter_to_pwrctl(padapter); in rtl8723bs_hal_init()
598 adapter_to_pwrctl(padapter)->bips_processing == true && in rtl8723bs_hal_init()
599 adapter_to_pwrctl(padapter)->pre_ips_type == 0 in rtl8723bs_hal_init()
615 adapter_to_pwrctl(padapter)->tog = (val8 + 0x80) & 0x80; in rtl8723bs_hal_init()
804 pwrpriv = adapter_to_pwrctl(padapter); in rtl8723bs_hal_init()
893 if (adapter_to_pwrctl(padapter)->bips_processing) { in rtl8723bs_hal_deinit()
912 adapter_to_pwrctl(padapter)->tog = (val8 + 0x80) & 0x80; in rtl8723bs_hal_deinit()
921 adapter_to_pwrctl(padapter)->pre_ips_type = 0; in rtl8723bs_hal_deinit()
927 adapter_to_pwrctl(padapter)->pre_ips_type = 1; in rtl8723bs_hal_deinit()
H A Dsdio_ops.c170 (adapter_to_pwrctl(adapter)->fw_current_in_ps_mode) in sdio_read32()
216 (adapter_to_pwrctl(adapter)->fw_current_in_ps_mode) in sdio_readN()
283 (adapter_to_pwrctl(adapter)->fw_current_in_ps_mode) in sdio_write32()
320 (adapter_to_pwrctl(adapter)->fw_current_in_ps_mode) in sdio_writeN()
541 (adapter_to_pwrctl(adapter)->fw_current_in_ps_mode) in sdio_local_read()
581 (adapter_to_pwrctl(adapter)->fw_current_in_ps_mode) in sdio_local_write()
630 if (!mac_pwr_ctrl_on || adapter_to_pwrctl(adapter)->fw_current_in_ps_mode) { in sdio_local_cmd53_read4byte()
H A Drtl8723b_dm.c61 struct pwrctrl_priv *pwrctrlpriv = adapter_to_pwrctl(Adapter); in Update_ODM_ComInfo_8723b()
140 fw_current_in_ps_mode = adapter_to_pwrctl(Adapter)->fw_current_in_ps_mode; in rtl8723b_HalDmWatchDog()
H A Drtl8723b_cmd.c362 struct pwrctrl_priv *pwrpriv = adapter_to_pwrctl(padapter); in rtl8723b_set_FwPwrMode_cmd()
691 struct pwrctrl_priv *pwrctl = adapter_to_pwrctl(padapter); in rtl8723b_download_rsvd_page()
955 struct pwrctrl_priv *pwrctl = adapter_to_pwrctl(padapter); in rtl8723b_download_BTCoex_AP_mode_rsvd_page()
H A Dhal_intf.c345 if (adapter_to_pwrctl(padapter)->fw_current_in_ps_mode) { in rtw_hal_dm_watchdog_in_lps()
H A Dodm.c780 if ((adapter_to_pwrctl(pDM_Odm->Adapter)->pwr_mode != PS_MODE_ACTIVE) /* in LPS mode */ in ODM_DMWatchdog()
H A Drtl8723b_hal_init.c430 adapter_to_pwrctl(padapter)->fw_current_in_ps_mode = false; in rtl8723b_InitializeFirmwareVars()
1958 if (!adapter_to_pwrctl(padapter)->bkeepfwalive) in rtl8723b_init_default_value()
3542 struct pwrctrl_priv *pwrpriv = adapter_to_pwrctl(padapter); in SetHwReg8723B()
3689 (adapter_to_pwrctl(padapter)->rf_pwrstate == rf_off) in GetHwReg8723B()
/linux/drivers/staging/rtl8723bs/os_dep/
H A Dos_intfs.c633 struct pwrctrl_priv *pwrctrlpriv = adapter_to_pwrctl(padapter); in rtw_reset_drv_sw()
736 del_timer_sync(&(adapter_to_pwrctl(padapter)->pwr_state_check_timer)); in rtw_cancel_all_timer()
825 struct pwrctrl_priv *pwrctrlpriv = adapter_to_pwrctl(padapter); in _netdev_open()
882 struct pwrctrl_priv *pwrctrlpriv = adapter_to_pwrctl(padapter); in netdev_open()
966 struct pwrctrl_priv *pwrctl = adapter_to_pwrctl(padapter); in netdev_close()
1015 struct pwrctrl_priv *pwrctl = adapter_to_pwrctl(padapter); in rtw_dev_unload()
1116 if ((rtw_hal_check_ips_status(padapter)) || (adapter_to_pwrctl(padapter)->rf_pwrstate == rf_off)) in rtw_suspend_normal()
1191 pwrpriv = adapter_to_pwrctl(padapter); in rtw_resume_process_normal()
1238 struct pwrctrl_priv *pwrpriv = adapter_to_pwrctl(padapter); in rtw_resume_common()
H A Dsdio_intf.c456 struct pwrctrl_priv *pwrpriv = adapter_to_pwrctl(padapter); in rtw_resume_process()
/linux/drivers/staging/rtl8723bs/include/
H A Ddrv_types.h445 #define adapter_to_pwrctl(adapter) (dvobj_to_pwrctl(adapter->dvobj)) macro