Home
last modified time | relevance | path

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

/Linux-v4.19/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 == true) { 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 down(&adapter_to_pwrctl(padapter)->lock); in rtw_ps_processor()
163 up(&adapter_to_pwrctl(padapter)->lock); in rtw_ps_processor()
222 if ((adapter_to_pwrctl(padapter)->bLeisurePs) in traffic_check_for_leave_lps()
[all …]
Drtw_btcoex.c212 pwrpriv = adapter_to_pwrctl(padapter); in rtw_btcoex_LPS_Enter()
224 pwrpriv = adapter_to_pwrctl(padapter); in rtw_btcoex_LPS_Leave()
Drtw_mlme.c1163 (!adapter_to_pwrctl(padapter)->bInSuspend) && in rtw_indicate_scan_done()
1168 pwrpriv = adapter_to_pwrctl(padapter); in rtw_indicate_scan_done()
1796 preportpwrstate->state |= (u8)(adapter_to_pwrctl(padapter)->cpwm_tog + 0x80); in rtw_cpwm_event_callback()
1948 if ((adapter_to_pwrctl(adapter)->bFwCurrentInPSMode == true) in rtw_dynamic_check_timer_handler()
Drtw_cmd.c1479 struct pwrctrl_priv *pwrpriv = adapter_to_pwrctl(padapter); in lps_ctrl_wk_hdl()
1618 struct pwrctrl_priv *pwrpriv = adapter_to_pwrctl(padapter); in rtw_lps_change_dtim_hdl()
Drtw_wlan_util.c2099 struct pwrctrl_priv *pwrpriv = adapter_to_pwrctl(adapter); in rtw_get_gpio()
2242 struct pwrctrl_priv *pwrpriv = adapter_to_pwrctl(padapter); in rtw_set_sec_pn()
Drtw_mlme_ext.c6095 adapter_to_pwrctl(padapter)->fw_psmode_iface_id = 0xff; /* ap mode won't dowload rsvd pages */ in setopmode_hdl()
/Linux-v4.19/drivers/staging/rtl8723bs/os_dep/
Dos_intfs.c718 struct pwrctrl_priv *pwrctrlpriv = adapter_to_pwrctl(padapter); in rtw_reset_drv_sw()
847 del_timer_sync(&(adapter_to_pwrctl(padapter)->pwr_state_check_timer)); in rtw_cancel_all_timer()
950 struct pwrctrl_priv *pwrctrlpriv = adapter_to_pwrctl(padapter); in _netdev_open()
1022 struct pwrctrl_priv *pwrctrlpriv = adapter_to_pwrctl(padapter); in netdev_open()
1127 struct pwrctrl_priv *pwrctl = adapter_to_pwrctl(padapter); in netdev_close()
1187 struct pwrctrl_priv *pwrctl = adapter_to_pwrctl(padapter); in rtw_dev_unload()
1313 struct pwrctrl_priv *pwrpriv = adapter_to_pwrctl(padapter); in rtw_suspend_wow()
1392 struct pwrctrl_priv *pwrpriv = adapter_to_pwrctl(padapter); in rtw_suspend_ap_wow()
1455 || (adapter_to_pwrctl(padapter)->rf_pwrstate == rf_off)) { in rtw_suspend_normal()
1555 struct pwrctrl_priv *pwrpriv = adapter_to_pwrctl(padapter); in rtw_resume_process_wow()
[all …]
Dsdio_intf.c447 adapter_to_pwrctl(if1)->wowlan_mode =false; in rtw_sdio_if1_deinit()
448 DBG_871X_LEVEL(_drv_always_, "%s wowlan_mode:%d\n", __func__, adapter_to_pwrctl(if1)->wowlan_mode); in rtw_sdio_if1_deinit()
590 struct pwrctrl_priv *pwrpriv = adapter_to_pwrctl(padapter); in rtw_resume_process()
Dioctl_linux.c1443 if (adapter_to_pwrctl(padapter)->brfoffbyhw && padapter->bDriverStopped) { in rtw_wx_get_scan()
1852 struct pwrctrl_priv *pwrpriv = adapter_to_pwrctl(padapter); in rtw_wx_set_enc()
/Linux-v4.19/drivers/staging/rtl8723bs/hal/
Dsdio_halinit.c713 struct pwrctrl_priv *pwrctrlpriv = adapter_to_pwrctl(Adapter); in HalDetectPwrDownMode()
739 pwrctrlpriv = adapter_to_pwrctl(padapter); in rtl8723bs_hal_init()
743 adapter_to_pwrctl(padapter)->bips_processing == true && in rtl8723bs_hal_init()
744 adapter_to_pwrctl(padapter)->pre_ips_type == 0 in rtl8723bs_hal_init()
763 adapter_to_pwrctl(padapter)->tog = (val8 + 0x80) & 0x80; in rtl8723bs_hal_init()
996 pwrpriv = adapter_to_pwrctl(padapter); in rtl8723bs_hal_init()
1095 if (adapter_to_pwrctl(padapter)->bips_processing == true) { in rtl8723bs_hal_deinit()
1118 adapter_to_pwrctl(padapter)->tog = (val8 + 0x80) & 0x80; in rtl8723bs_hal_deinit()
1143 adapter_to_pwrctl(padapter)->pre_ips_type = 0; in rtl8723bs_hal_deinit()
1149 adapter_to_pwrctl(padapter)->pre_ips_type = 1; in rtl8723bs_hal_deinit()
[all …]
Dsdio_ops.c187 (adapter_to_pwrctl(adapter)->bFwCurrentInPSMode) in sdio_read32()
244 (adapter_to_pwrctl(adapter)->bFwCurrentInPSMode) in sdio_readN()
311 (adapter_to_pwrctl(adapter)->bFwCurrentInPSMode) in sdio_write32()
348 (adapter_to_pwrctl(adapter)->bFwCurrentInPSMode) in sdio_writeN()
597 (adapter_to_pwrctl(adapter)->bFwCurrentInPSMode) in sdio_local_read()
643 (adapter_to_pwrctl(adapter)->bFwCurrentInPSMode) in sdio_local_write()
692 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()
1019 struct pwrctrl_priv *pwrpriv = adapter_to_pwrctl(padapter); in rtl8723b_set_FwPwrMode_cmd()
1224 struct pwrctrl_priv *ppwrpriv = adapter_to_pwrctl(padapter); in rtl8723b_set_FwRemoteWakeCtrl_Cmd()
1292 struct pwrctrl_priv *pwrpriv = adapter_to_pwrctl(padapter); in rtl8723b_set_FwScanOffloadInfo_cmd()
1312 struct pwrctrl_priv *ppwrpriv = adapter_to_pwrctl(padapter); in rtl8723b_set_FwWoWlanRelated_cmd()
1477 pwrctl = adapter_to_pwrctl(padapter); in rtl8723b_set_FwRsvdPagePkt()
1853 pwrctl = adapter_to_pwrctl(padapter); in rtl8723b_set_AP_FwRsvdPagePkt()
1937 struct pwrctrl_priv *pwrpriv = 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()
2264 if (!adapter_to_pwrctl(padapter)->bkeepfwalive) in rtl8723b_init_default_value()
3760 struct pwrctrl_priv *pwrpriv = adapter_to_pwrctl(padapter); in C2HPacketHandler_8723B()
4113 struct pwrctrl_priv *pwrpriv = adapter_to_pwrctl(padapter); in SetHwReg8723B()
4278 (adapter_to_pwrctl(padapter)->rf_pwrstate == rf_off) in GetHwReg8723B()
4481 adapter_to_pwrctl(padapter)->bSupportRemoteWakeup = true; in Hal_DetectWoWMode()
Dodm.c424 if ((adapter_to_pwrctl(pDM_Odm->Adapter)->pwr_mode != PS_MODE_ACTIVE) /* in LPS mode */ in ODM_DMWatchdog()
Dhal_com.c1583 struct pwrctrl_priv *pwrctrlpriv = adapter_to_pwrctl(padapter); in linked_info_dump()
/Linux-v4.19/drivers/staging/rtl8723bs/include/
Ddrv_types.h634 #define adapter_to_pwrctl(adapter) (dvobj_to_pwrctl(adapter->dvobj)) macro