Home
last modified time | relevance | path

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

/drivers/staging/rtl8723bs/core/
Drtw_pwrctrl.c17 struct pwrctrl_priv *pwrpriv = adapter_to_pwrctl(padapter); in _ips_enter()
43 struct pwrctrl_priv *pwrpriv = adapter_to_pwrctl(padapter); in ips_enter()
55 struct pwrctrl_priv *pwrpriv = adapter_to_pwrctl(padapter); in _ips_leave()
82 struct pwrctrl_priv *pwrpriv = adapter_to_pwrctl(padapter); in ips_leave()
106 if (adapter_to_pwrctl(adapter)->bpower_saving) { in rtw_pwr_unassociated_idle()
111 if (time_before(jiffies, adapter_to_pwrctl(adapter)->ips_deny_time)) { in rtw_pwr_unassociated_idle()
156 struct pwrctrl_priv *pwrpriv = adapter_to_pwrctl(padapter); in rtw_ps_processor()
161 mutex_lock(&adapter_to_pwrctl(padapter)->lock); in rtw_ps_processor()
163 mutex_unlock(&adapter_to_pwrctl(padapter)->lock); in rtw_ps_processor()
221 if (adapter_to_pwrctl(padapter)->bLeisurePs in traffic_check_for_leave_lps()
[all …]
Drtw_btcoex.c67 pwrpriv = adapter_to_pwrctl(padapter); in rtw_btcoex_LPS_Enter()
79 pwrpriv = adapter_to_pwrctl(padapter); in rtw_btcoex_LPS_Leave()
Drtw_mlme.c1086 (!adapter_to_pwrctl(padapter)->bInSuspend) && in rtw_indicate_scan_done()
1687 preportpwrstate->state |= (u8)(adapter_to_pwrctl(padapter)->cpwm_tog + 0x80); in rtw_cpwm_event_callback()
1829 if ((adapter_to_pwrctl(adapter)->bFwCurrentInPSMode) in rtw_dynamic_check_timer_handler()
Drtw_cmd.c1436 struct pwrctrl_priv *pwrpriv = adapter_to_pwrctl(padapter); in lps_ctrl_wk_hdl()
1575 struct pwrctrl_priv *pwrpriv = adapter_to_pwrctl(padapter); in rtw_lps_change_dtim_hdl()
Drtw_wlan_util.c2014 struct pwrctrl_priv *pwrpriv = adapter_to_pwrctl(adapter); in rtw_get_gpio()
2157 struct pwrctrl_priv *pwrpriv = adapter_to_pwrctl(padapter); in rtw_set_sec_pn()
/drivers/staging/rtl8723bs/os_dep/
Dos_intfs.c678 struct pwrctrl_priv *pwrctrlpriv = adapter_to_pwrctl(padapter); in rtw_reset_drv_sw()
794 del_timer_sync(&(adapter_to_pwrctl(padapter)->pwr_state_check_timer)); in rtw_cancel_all_timer()
893 struct pwrctrl_priv *pwrctrlpriv = adapter_to_pwrctl(padapter); in _netdev_open()
965 struct pwrctrl_priv *pwrctrlpriv = adapter_to_pwrctl(padapter); in netdev_open()
1070 struct pwrctrl_priv *pwrctl = adapter_to_pwrctl(padapter); in netdev_close()
1129 struct pwrctrl_priv *pwrctl = adapter_to_pwrctl(padapter); in rtw_dev_unload()
1253 struct pwrctrl_priv *pwrpriv = adapter_to_pwrctl(padapter); in rtw_suspend_wow()
1327 struct pwrctrl_priv *pwrpriv = adapter_to_pwrctl(padapter); in rtw_suspend_ap_wow()
1386 if ((rtw_hal_check_ips_status(padapter)) || (adapter_to_pwrctl(padapter)->rf_pwrstate == rf_off)) in rtw_suspend_normal()
1483 struct pwrctrl_priv *pwrpriv = adapter_to_pwrctl(padapter); in rtw_resume_process_wow()
[all …]
Dsdio_intf.c434 adapter_to_pwrctl(if1)->wowlan_mode = false; in rtw_sdio_if1_deinit()
435 DBG_871X_LEVEL(_drv_always_, "%s wowlan_mode:%d\n", __func__, adapter_to_pwrctl(if1)->wowlan_mode); in rtw_sdio_if1_deinit()
574 struct pwrctrl_priv *pwrpriv = adapter_to_pwrctl(padapter); in rtw_resume_process()
Dioctl_linux.c1437 if (adapter_to_pwrctl(padapter)->brfoffbyhw && padapter->bDriverStopped) { in rtw_wx_get_scan()
1846 struct pwrctrl_priv *pwrpriv = adapter_to_pwrctl(padapter); in rtw_wx_set_enc()
/drivers/staging/rtl8723bs/hal/
Dsdio_halinit.c678 struct pwrctrl_priv *pwrctrlpriv = adapter_to_pwrctl(Adapter); in HalDetectPwrDownMode()
703 pwrctrlpriv = adapter_to_pwrctl(padapter); in rtl8723bs_hal_init()
706 adapter_to_pwrctl(padapter)->bips_processing == true && in rtl8723bs_hal_init()
707 adapter_to_pwrctl(padapter)->pre_ips_type == 0 in rtl8723bs_hal_init()
726 adapter_to_pwrctl(padapter)->tog = (val8 + 0x80) & 0x80; in rtl8723bs_hal_init()
959 pwrpriv = adapter_to_pwrctl(padapter); in rtl8723bs_hal_init()
1058 if (adapter_to_pwrctl(padapter)->bips_processing) { in rtl8723bs_hal_deinit()
1081 adapter_to_pwrctl(padapter)->tog = (val8 + 0x80) & 0x80; in rtl8723bs_hal_deinit()
1106 adapter_to_pwrctl(padapter)->pre_ips_type = 0; in rtl8723bs_hal_deinit()
1112 adapter_to_pwrctl(padapter)->pre_ips_type = 1; in rtl8723bs_hal_deinit()
[all …]
Dsdio_ops.c180 (adapter_to_pwrctl(adapter)->bFwCurrentInPSMode) in sdio_read32()
237 (adapter_to_pwrctl(adapter)->bFwCurrentInPSMode) in sdio_readN()
304 (adapter_to_pwrctl(adapter)->bFwCurrentInPSMode) in sdio_write32()
341 (adapter_to_pwrctl(adapter)->bFwCurrentInPSMode) in sdio_writeN()
574 (adapter_to_pwrctl(adapter)->bFwCurrentInPSMode) in sdio_local_read()
620 (adapter_to_pwrctl(adapter)->bFwCurrentInPSMode) in sdio_local_write()
669 if (!mac_pwr_ctrl_on || adapter_to_pwrctl(adapter)->bFwCurrentInPSMode) { in SdioLocalCmd53Read4Byte()
Drtl8723b_cmd.c471 struct pwrctrl_priv *pwrctl = adapter_to_pwrctl(padapter); in ConstructPnoInfo()
514 struct pwrctrl_priv *pwrctl = adapter_to_pwrctl(padapter); in ConstructSSIDList()
533 struct pwrctrl_priv *pwrctl = adapter_to_pwrctl(padapter); in ConstructScanInfo()
1018 struct pwrctrl_priv *pwrpriv = adapter_to_pwrctl(padapter); in rtl8723b_set_FwPwrMode_cmd()
1223 struct pwrctrl_priv *ppwrpriv = adapter_to_pwrctl(padapter); in rtl8723b_set_FwRemoteWakeCtrl_Cmd()
1309 struct pwrctrl_priv *ppwrpriv = adapter_to_pwrctl(padapter); in rtl8723b_set_wowlan_cmd()
1465 pwrctl = adapter_to_pwrctl(padapter); in rtl8723b_set_FwRsvdPagePkt()
1842 pwrctl = adapter_to_pwrctl(padapter); in rtl8723b_set_AP_FwRsvdPagePkt()
1926 struct pwrctrl_priv *pwrpriv = adapter_to_pwrctl(padapter); in rtl8723b_download_rsvd_page()
1999 struct pwrctrl_priv *pwrctl = adapter_to_pwrctl(padapter); in rtl8723b_download_rsvd_page()
[all …]
Drtl8723b_dm.c75 struct pwrctrl_priv *pwrctrlpriv = adapter_to_pwrctl(Adapter); in Update_ODM_ComInfo_8723b()
158 bFwCurrentInPSMode = adapter_to_pwrctl(Adapter)->bFwCurrentInPSMode; in rtl8723b_HalDmWatchDog()
Dhal_intf.c366 if (adapter_to_pwrctl(padapter)->bFwCurrentInPSMode == true) { in rtw_hal_dm_watchdog_in_lps()
Drtl8723b_hal_init.c526 adapter_to_pwrctl(padapter)->bFwCurrentInPSMode = false; in rtl8723b_InitializeFirmwareVars()
2260 if (!adapter_to_pwrctl(padapter)->bkeepfwalive) in rtl8723b_init_default_value()
3756 struct pwrctrl_priv *pwrpriv = adapter_to_pwrctl(padapter); in C2HPacketHandler_8723B()
4108 struct pwrctrl_priv *pwrpriv = adapter_to_pwrctl(padapter); in SetHwReg8723B()
4272 (adapter_to_pwrctl(padapter)->rf_pwrstate == rf_off) in GetHwReg8723B()
4467 adapter_to_pwrctl(padapter)->bSupportRemoteWakeup = true; in Hal_DetectWoWMode()
Dodm.c407 if ((adapter_to_pwrctl(pDM_Odm->Adapter)->pwr_mode != PS_MODE_ACTIVE) /* in LPS mode */ in ODM_DMWatchdog()
Dhal_com.c1570 struct pwrctrl_priv *pwrctrlpriv = adapter_to_pwrctl(padapter); in linked_info_dump()
/drivers/staging/rtl8723bs/include/
Ddrv_types.h620 #define adapter_to_pwrctl(adapter) (dvobj_to_pwrctl(adapter->dvobj)) macro