Home
last modified time | relevance | path

Searched refs:pwrpriv (Results 1 – 16 of 16) sorted by relevance

/linux/drivers/staging/rtl8723bs/core/
A Drtw_pwrctrl.c20 pwrpriv->ips_mode = pwrpriv->ips_mode_req; in _ips_enter()
22 pwrpriv->ips_enter_cnts++; in _ips_enter()
54 if ((pwrpriv->rf_pwrstate == rf_off) && (!pwrpriv->bips_processing)) { in _ips_leave()
272 pwrpriv->rpwm = pslv; in rtw_set_rpwm()
282 pwrpriv->tog += 0x80; in rtw_set_rpwm()
658 if ((pwrpriv->rpwm == pwrpriv->cpwm) || (pwrpriv->cpwm >= PS_STATE_S2)) in rpwmtimeout_workitem_callback()
674 if ((pwrpriv->rpwm == pwrpriv->cpwm) || (pwrpriv->cpwm >= PS_STATE_S2)) in rpwmtimeout_workitem_callback()
690 struct pwrctrl_priv *pwrpriv = from_timer(pwrpriv, t, pwr_rpwm_timer); in pwr_rpwm_timeout_handler() local
692 if ((pwrpriv->rpwm == pwrpriv->cpwm) || (pwrpriv->cpwm >= PS_STATE_S2)) in pwr_rpwm_timeout_handler()
1051 if (!(pwrpriv->bInternalAutoSuspend) && pwrpriv->bInSuspend) in _rtw_pwr_wakeup()
[all …]
A Drtw_btcoex.c55 struct pwrctrl_priv *pwrpriv; in rtw_btcoex_LPS_Enter() local
59 pwrpriv = adapter_to_pwrctl(padapter); in rtw_btcoex_LPS_Enter()
61 pwrpriv->bpower_saving = true; in rtw_btcoex_LPS_Enter()
68 struct pwrctrl_priv *pwrpriv; in rtw_btcoex_LPS_Leave() local
71 pwrpriv = adapter_to_pwrctl(padapter); in rtw_btcoex_LPS_Leave()
73 if (pwrpriv->pwr_mode != PS_MODE_ACTIVE) { in rtw_btcoex_LPS_Leave()
76 pwrpriv->bpower_saving = false; in rtw_btcoex_LPS_Leave()
A Drtw_cmd.c1359 struct pwrctrl_priv *pwrpriv = adapter_to_pwrctl(padapter); in lps_ctrl_wk_hdl() local
1383 pwrpriv->LpsIdleCount = 0; in lps_ctrl_wk_hdl()
1394 pwrpriv->DelayLPSLastTimeStamp = jiffies; in lps_ctrl_wk_hdl()
1491 struct pwrctrl_priv *pwrpriv = adapter_to_pwrctl(padapter); in rtw_lps_change_dtim_hdl() local
1499 mutex_lock(&pwrpriv->lock); in rtw_lps_change_dtim_hdl()
1501 if (pwrpriv->dtim != dtim) in rtw_lps_change_dtim_hdl()
1502 pwrpriv->dtim = dtim; in rtw_lps_change_dtim_hdl()
1504 if (pwrpriv->fw_current_in_ps_mode && (pwrpriv->pwr_mode > PS_MODE_ACTIVE)) { in rtw_lps_change_dtim_hdl()
1505 u8 ps_mode = pwrpriv->pwr_mode; in rtw_lps_change_dtim_hdl()
1510 mutex_unlock(&pwrpriv->lock); in rtw_lps_change_dtim_hdl()
/linux/drivers/staging/r8188eu/core/
A Drtw_pwrctrl.c24 mutex_lock(&pwrpriv->lock); in ips_enter()
29 pwrpriv->ips_mode = pwrpriv->ips_mode_req; in ips_enter()
31 pwrpriv->ips_enter_cnts++; in ips_enter()
45 mutex_unlock(&pwrpriv->lock); in ips_enter()
56 mutex_lock(&pwrpriv->lock); in ips_leave()
58 if ((pwrpriv->rf_pwrstate == rf_off) && (!pwrpriv->bips_processing)) { in ips_leave()
61 pwrpriv->ips_leave_cnts++; in ips_leave()
147 if ((pwrpriv->rf_pwrstate == rf_on) && ((pwrpriv->pwr_state_check_cnts % 4) == 0)) { in rtw_ps_processor()
184 if (pwrpriv->bInSuspend) in PS_RDY_CHECK()
396 if ((!pwrpriv->bInternalAutoSuspend) && pwrpriv->bInSuspend) { in _rtw_pwr_wakeup()
[all …]
A Drtw_p2p.c1629 struct pwrctrl_priv *pwrpriv = &padapter->pwrctrlpriv; in p2p_ps_wk_hdl() local
1645 if (pwrpriv->smart_ps == 0) { in p2p_ps_wk_hdl()
1646 pwrpriv->smart_ps = 2; in p2p_ps_wk_hdl()
1656 if (pwrpriv->smart_ps != 0) { in p2p_ps_wk_hdl()
1657 pwrpriv->smart_ps = 0; in p2p_ps_wk_hdl()
A Drtw_cmd.c976 struct pwrctrl_priv *pwrpriv = &padapter->pwrctrlpriv; in lps_ctrl_wk_hdl() local
1007 pwrpriv->DelayLPSLastTimeStamp = jiffies; in lps_ctrl_wk_hdl()
/linux/drivers/staging/rtl8712/
A Drtl871x_pwrctrl.c37 rpwm = val8 | pwrpriv->tog; in r8712_set_rpwm()
40 pwrpriv->cpwm = val8; in r8712_set_rpwm()
47 pwrpriv->cpwm = val8; in r8712_set_rpwm()
52 pwrpriv->rpwm_retry = 0; in r8712_set_rpwm()
53 pwrpriv->rpwm = val8; in r8712_set_rpwm()
55 pwrpriv->tog += 0x80; in r8712_set_rpwm()
67 if ((pwrpriv->pwr_mode != ps_mode) || (pwrpriv->smart_ps != smart_ps)) { in r8712_set_ps_mode()
69 pwrpriv->bSleep = true; in r8712_set_ps_mode()
122 if (pwrpriv->cpwm != pwrpriv->rpwm) in _rpwm_check_handler()
132 if (!pwrpriv->bSleep) { in SetPSModeWorkItemCallback()
[all …]
/linux/drivers/staging/r8188eu/os_dep/
A Dusb_intf.c233 pwrpriv->bInSuspend = true; in rtw_suspend()
237 mutex_lock(&pwrpriv->lock); in rtw_suspend()
266 mutex_unlock(&pwrpriv->lock); in rtw_suspend()
293 pwrpriv = &padapter->pwrctrlpriv; in rtw_resume()
295 mutex_lock(&pwrpriv->lock); in rtw_resume()
297 if (pwrpriv) in rtw_resume()
298 pwrpriv->bkeepfwalive = false; in rtw_resume()
302 mutex_unlock(&pwrpriv->lock); in rtw_resume()
309 mutex_unlock(&pwrpriv->lock); in rtw_resume()
320 if (pwrpriv) in rtw_resume()
[all …]
A Dioctl_linux.c1611 struct pwrctrl_priv *pwrpriv = &padapter->pwrctrlpriv; in rtw_wx_set_enc() local
1706 if (rf_on == pwrpriv->rf_pwrstate) in rtw_wx_set_enc()
4008 struct pwrctrl_priv *pwrpriv = &padapter->pwrctrlpriv; in rtw_dbg_port() local
4009 DBG_88E("==>silent resete cnts:%d\n", pwrpriv->ips_enter_cnts); in rtw_dbg_port()
/linux/drivers/staging/rtl8723bs/os_dep/
A Dos_intfs.c1135 struct pwrctrl_priv *pwrpriv = dvobj_to_pwrctl(psdpriv); in rtw_suspend_common() local
1143 pwrpriv->bInSuspend = true; in rtw_suspend_common()
1145 while (pwrpriv->bips_processing) in rtw_suspend_common()
1181 struct pwrctrl_priv *pwrpriv; in rtw_resume_process_normal() local
1194 pwrpriv = adapter_to_pwrctl(padapter); in rtw_resume_process_normal()
1212 pwrpriv->bkeepfwalive = false; in rtw_resume_process_normal()
1241 struct pwrctrl_priv *pwrpriv = adapter_to_pwrctl(padapter); in rtw_resume_common() local
1249 if (pwrpriv) { in rtw_resume_common()
1250 pwrpriv->bInSuspend = false; in rtw_resume_common()
A Dsdio_intf.c438 struct pwrctrl_priv *pwrpriv = dvobj_to_pwrctl(psdpriv); in rtw_sdio_suspend() local
445 if (pwrpriv->bInSuspend) { in rtw_sdio_suspend()
457 struct pwrctrl_priv *pwrpriv = adapter_to_pwrctl(padapter); in rtw_resume_process() local
461 if (!pwrpriv->bInSuspend) { in rtw_resume_process()
/linux/drivers/staging/rtl8723bs/hal/
A Drtl8723b_cmd.c363 struct pwrctrl_priv *pwrpriv = adapter_to_pwrctl(padapter); in rtl8723b_set_FwPwrMode_cmd() local
368 if (pwrpriv->dtim > 0 && pwrpriv->dtim < 16) in rtl8723b_set_FwPwrMode_cmd()
369 awake_intvl = pwrpriv->dtim+1;/* DTIM = (awake_intvl - 1) */ in rtl8723b_set_FwPwrMode_cmd()
401 SET_8723B_H2CCMD_PWRMODE_PARM_SMART_PS(u1H2CPwrModeParm, pwrpriv->smart_ps); in rtl8723b_set_FwPwrMode_cmd()
A Dsdio_halinit.c799 struct pwrctrl_priv *pwrpriv; in rtl8723bs_hal_init() local
805 pwrpriv = adapter_to_pwrctl(padapter); in rtl8723bs_hal_init()
823 restore_iqk_rst = pwrpriv->bips_processing; in rtl8723bs_hal_init()
A Drtl8723b_hal_init.c3551 struct pwrctrl_priv *pwrpriv = adapter_to_pwrctl(padapter); in SetHwReg8723B() local
3560 if (!pwrpriv->bkeepfwalive) { in SetHwReg8723B()
/linux/drivers/staging/r8188eu/hal/
A Drtl8188e_cmd.c157 struct pwrctrl_priv *pwrpriv = &adapt->pwrctrlpriv; in rtl8188e_set_FwPwrMode_cmd() local
161 Mode, pwrpriv->smart_ps, adapt->registrypriv.uapsd_enable); in rtl8188e_set_FwPwrMode_cmd()
186 H2CSetPwrMode.SmartPS_RLBM = (((pwrpriv->smart_ps << 4) & 0xf0) | (RLBM & 0x0f)); in rtl8188e_set_FwPwrMode_cmd()
A Dusb_halinit.c1678 struct pwrctrl_priv *pwrpriv = &Adapter->pwrctrlpriv; in SetHwReg8188EU() local
1687 if (!pwrpriv->bkeepfwalive) { in SetHwReg8188EU()

Completed in 61 milliseconds