/Linux-v4.19/drivers/staging/rtl8188eu/core/ |
D | rtw_pwrctrl.c | 17 struct pwrctrl_priv *pwrpriv = &padapter->pwrctrlpriv; in rtw_hw_suspend() local 32 mutex_lock(&pwrpriv->mutex_lock); in rtw_hw_suspend() 33 pwrpriv->bips_processing = true; in rtw_hw_suspend() 64 pwrpriv->rf_pwrstate = rf_off; in rtw_hw_suspend() 65 pwrpriv->bips_processing = false; in rtw_hw_suspend() 67 mutex_unlock(&pwrpriv->mutex_lock); in rtw_hw_suspend() 78 struct pwrctrl_priv *pwrpriv = &padapter->pwrctrlpriv; in rtw_hw_resume() local 83 mutex_lock(&pwrpriv->mutex_lock); in rtw_hw_resume() 84 pwrpriv->bips_processing = true; in rtw_hw_resume() 88 mutex_unlock(&pwrpriv->mutex_lock); in rtw_hw_resume() [all …]
|
D | rtw_cmd.c | 836 struct pwrctrl_priv *pwrpriv = &padapter->pwrctrlpriv; in lps_ctrl_wk_hdl() local 867 pwrpriv->DelayLPSLastTimeStamp = jiffies; in lps_ctrl_wk_hdl()
|
/Linux-v4.19/drivers/staging/rtl8712/ |
D | rtl871x_pwrctrl.c | 41 struct pwrctrl_priv *pwrpriv = &padapter->pwrctrlpriv; in r8712_set_rpwm() local 43 if (pwrpriv->rpwm == val8) { in r8712_set_rpwm() 44 if (pwrpriv->rpwm_retry == 0) in r8712_set_rpwm() 49 rpwm = val8 | pwrpriv->tog; in r8712_set_rpwm() 52 pwrpriv->cpwm = val8; in r8712_set_rpwm() 59 pwrpriv->cpwm = val8; in r8712_set_rpwm() 64 pwrpriv->rpwm_retry = 0; in r8712_set_rpwm() 65 pwrpriv->rpwm = val8; in r8712_set_rpwm() 67 pwrpriv->tog += 0x80; in r8712_set_rpwm() 72 struct pwrctrl_priv *pwrpriv = &padapter->pwrctrlpriv; in r8712_set_ps_mode() local [all …]
|
/Linux-v4.19/drivers/staging/rtl8723bs/core/ |
D | rtw_pwrctrl.c | 17 struct pwrctrl_priv *pwrpriv = adapter_to_pwrctl(padapter); in _ips_enter() local 19 pwrpriv->bips_processing = true; in _ips_enter() 22 pwrpriv->ips_mode = pwrpriv->ips_mode_req; in _ips_enter() 24 pwrpriv->ips_enter_cnts++; in _ips_enter() 25 DBG_871X("==>ips_enter cnts:%d\n", pwrpriv->ips_enter_cnts); in _ips_enter() 27 if (rf_off == pwrpriv->change_rfpwrstate) { in _ips_enter() 28 pwrpriv->bpower_saving = true; in _ips_enter() 31 if (pwrpriv->ips_mode == IPS_LEVEL_2) in _ips_enter() 32 pwrpriv->bkeepfwalive = true; in _ips_enter() 35 pwrpriv->rf_pwrstate = rf_off; in _ips_enter() [all …]
|
D | rtw_btcoex.c | 208 struct pwrctrl_priv *pwrpriv; in rtw_btcoex_LPS_Enter() local 212 pwrpriv = adapter_to_pwrctl(padapter); in rtw_btcoex_LPS_Enter() 214 pwrpriv->bpower_saving = true; in rtw_btcoex_LPS_Enter() 221 struct pwrctrl_priv *pwrpriv; in rtw_btcoex_LPS_Leave() local 224 pwrpriv = adapter_to_pwrctl(padapter); in rtw_btcoex_LPS_Leave() 226 if (pwrpriv->pwr_mode != PS_MODE_ACTIVE) { in rtw_btcoex_LPS_Leave() 229 pwrpriv->bpower_saving = false; in rtw_btcoex_LPS_Leave()
|
D | rtw_cmd.c | 1479 struct pwrctrl_priv *pwrpriv = adapter_to_pwrctl(padapter); in lps_ctrl_wk_hdl() local 1506 pwrpriv->LpsIdleCount = 0; in lps_ctrl_wk_hdl() 1519 pwrpriv->DelayLPSLastTimeStamp = jiffies; in lps_ctrl_wk_hdl() 1618 struct pwrctrl_priv *pwrpriv = adapter_to_pwrctl(padapter); in rtw_lps_change_dtim_hdl() local 1626 down(&pwrpriv->lock); in rtw_lps_change_dtim_hdl() 1628 if (pwrpriv->dtim != dtim) { in rtw_lps_change_dtim_hdl() 1629 DBG_871X("change DTIM from %d to %d, bFwCurrentInPSMode =%d, ps_mode =%d\n", pwrpriv->dtim, dtim, in rtw_lps_change_dtim_hdl() 1630 pwrpriv->bFwCurrentInPSMode, pwrpriv->pwr_mode); in rtw_lps_change_dtim_hdl() 1632 pwrpriv->dtim = dtim; in rtw_lps_change_dtim_hdl() 1635 if ((pwrpriv->bFwCurrentInPSMode == true) && (pwrpriv->pwr_mode > PS_MODE_ACTIVE)) { in rtw_lps_change_dtim_hdl() [all …]
|
D | rtw_wlan_util.c | 2099 struct pwrctrl_priv *pwrpriv = adapter_to_pwrctl(adapter); in rtw_get_gpio() local 2103 DBG_871X("rf_pwrstate = 0x%02x\n", pwrpriv->rf_pwrstate); in rtw_get_gpio() 2242 struct pwrctrl_priv *pwrpriv = adapter_to_pwrctl(padapter); in rtw_set_sec_pn() local 2249 if (pwrpriv->wowlan_fw_iv > psta->dot11txpn.val) { in rtw_set_sec_pn() 2251 psta->dot11txpn.val = pwrpriv->wowlan_fw_iv + 2; in rtw_set_sec_pn()
|
D | rtw_mlme.c | 1166 struct pwrctrl_priv *pwrpriv; in rtw_indicate_scan_done() local 1168 pwrpriv = adapter_to_pwrctl(padapter); in rtw_indicate_scan_done()
|
/Linux-v4.19/drivers/staging/rtl8723bs/os_dep/ |
D | os_intfs.c | 1313 struct pwrctrl_priv *pwrpriv = adapter_to_pwrctl(padapter); in rtw_suspend_wow() local 1320 DBG_871X("wowlan_mode: %d\n", pwrpriv->wowlan_mode); in rtw_suspend_wow() 1321 DBG_871X("wowlan_pno_enable: %d\n", pwrpriv->wowlan_pno_enable); in rtw_suspend_wow() 1323 if (pwrpriv->wowlan_mode == true) { in rtw_suspend_wow() 1374 if (pwrpriv->wowlan_pno_enable) in rtw_suspend_wow() 1375 DBG_871X_LEVEL(_drv_always_, "%s: pno: %d\n", __func__, pwrpriv->wowlan_pno_enable); in rtw_suspend_wow() 1380 …DBG_871X_LEVEL(_drv_always_, "%s: ### ERROR ### wowlan_mode =%d\n", __func__, pwrpriv->wowlan_mode… in rtw_suspend_wow() 1392 struct pwrctrl_priv *pwrpriv = adapter_to_pwrctl(padapter); in rtw_suspend_ap_wow() local 1398 pwrpriv->wowlan_ap_mode = true; in rtw_suspend_ap_wow() 1400 DBG_871X("wowlan_ap_mode: %d\n", pwrpriv->wowlan_ap_mode); in rtw_suspend_ap_wow() [all …]
|
D | sdio_intf.c | 568 struct pwrctrl_priv *pwrpriv = dvobj_to_pwrctl(psdpriv); in rtw_sdio_suspend() local 578 if (pwrpriv->bInSuspend == true) in rtw_sdio_suspend() 580 DBG_871X("%s bInSuspend = %d\n", __func__, pwrpriv->bInSuspend); in rtw_sdio_suspend() 590 struct pwrctrl_priv *pwrpriv = adapter_to_pwrctl(padapter); in rtw_resume_process() local 594 if (pwrpriv->bInSuspend == false) in rtw_resume_process() 597 DBG_871X("%s bInSuspend = %d\n", __func__, pwrpriv->bInSuspend); in rtw_resume_process()
|
D | ioctl_linux.c | 1852 struct pwrctrl_priv *pwrpriv = adapter_to_pwrctl(padapter); in rtw_wx_set_enc() local 1950 if (rf_on == pwrpriv->rf_pwrstate) in rtw_wx_set_enc()
|
/Linux-v4.19/drivers/staging/rtl8188eu/os_dep/ |
D | usb_intf.c | 199 struct pwrctrl_priv *pwrpriv = &padapter->pwrctrlpriv; in rtw_suspend() local 212 pwrpriv->bInSuspend = true; in rtw_suspend() 216 mutex_lock(&pwrpriv->mutex_lock); in rtw_suspend() 245 mutex_unlock(&pwrpriv->mutex_lock); in rtw_suspend() 263 struct pwrctrl_priv *pwrpriv = NULL; in rtw_resume_process() local 271 pwrpriv = &padapter->pwrctrlpriv; in rtw_resume_process() 276 mutex_lock(&pwrpriv->mutex_lock); in rtw_resume_process() 278 pwrpriv->bkeepfwalive = false; in rtw_resume_process() 280 pr_debug("bkeepfwalive(%x)\n", pwrpriv->bkeepfwalive); in rtw_resume_process() 282 mutex_unlock(&pwrpriv->mutex_lock); in rtw_resume_process() [all …]
|
D | ioctl_linux.c | 1583 struct pwrctrl_priv *pwrpriv = &padapter->pwrctrlpriv; in rtw_wx_set_enc() local 1677 if (rf_on == pwrpriv->rf_pwrstate) in rtw_wx_set_enc()
|
/Linux-v4.19/drivers/staging/rtl8723bs/hal/ |
D | rtl8723b_cmd.c | 880 if (!pwrpriv->pno_in_resume) { in rtl8723b_set_FwAoacRsvdPage_cmd() 1019 struct pwrctrl_priv *pwrpriv = adapter_to_pwrctl(padapter); in rtl8723b_set_FwPwrMode_cmd() local 1024 if (pwrpriv->dtim > 0) in rtl8723b_set_FwPwrMode_cmd() 1025 …): FW LPS mode = %d, SmartPS =%d, dtim =%d\n", __func__, psmode, pwrpriv->smart_ps, pwrpriv->dtim); in rtl8723b_set_FwPwrMode_cmd() 1027 DBG_871X("%s(): FW LPS mode = %d, SmartPS =%d\n", __func__, psmode, pwrpriv->smart_ps); in rtl8723b_set_FwPwrMode_cmd() 1036 if (pwrpriv->dtim > 0 && pwrpriv->dtim < 16) in rtl8723b_set_FwPwrMode_cmd() 1037 awake_intvl = pwrpriv->dtim+1;/* DTIM = (awake_intvl - 1) */ in rtl8723b_set_FwPwrMode_cmd() 1071 SET_8723B_H2CCMD_PWRMODE_PARM_SMART_PS(u1H2CPwrModeParm, pwrpriv->smart_ps); in rtl8723b_set_FwPwrMode_cmd() 1292 struct pwrctrl_priv *pwrpriv = adapter_to_pwrctl(padapter); in rtl8723b_set_FwScanOffloadInfo_cmd() local 1937 struct pwrctrl_priv *pwrpriv = adapter_to_pwrctl(padapter); in rtl8723b_download_rsvd_page() local [all …]
|
D | sdio_halinit.c | 990 struct pwrctrl_priv *pwrpriv; in rtl8723bs_hal_init() local 996 pwrpriv = adapter_to_pwrctl(padapter); in rtl8723bs_hal_init() 1014 restore_iqk_rst = pwrpriv->bips_processing; in rtl8723bs_hal_init()
|
D | rtl8723b_hal_init.c | 3760 struct pwrctrl_priv *pwrpriv = adapter_to_pwrctl(padapter); in C2HPacketHandler_8723B() local 3762 if (pwrpriv->wowlan_mode == true) { in C2HPacketHandler_8723B() 4113 struct pwrctrl_priv *pwrpriv = adapter_to_pwrctl(padapter); in SetHwReg8723B() local 4122 if (pwrpriv->bkeepfwalive != true) { in SetHwReg8723B()
|
/Linux-v4.19/drivers/staging/rtl8188eu/hal/ |
D | rtl8188e_cmd.c | 155 struct pwrctrl_priv *pwrpriv = &adapt->pwrctrlpriv; in rtl8188e_set_FwPwrMode_cmd() local 159 Mode, pwrpriv->smart_ps, adapt->registrypriv.uapsd_enable); in rtl8188e_set_FwPwrMode_cmd() 184 H2CSetPwrMode.SmartPS_RLBM = (((pwrpriv->smart_ps<<4)&0xf0) | (RLBM & 0x0f)); in rtl8188e_set_FwPwrMode_cmd()
|
D | usb_halinit.c | 1680 struct pwrctrl_priv *pwrpriv = &Adapter->pwrctrlpriv; in rtw_hal_set_hwreg() local 1689 if (!pwrpriv->bkeepfwalive) { in rtw_hal_set_hwreg()
|