Home
last modified time | relevance | path

Searched refs:pPSC (Results 1 – 6 of 6) sorted by relevance

/linux-5.19.10/drivers/staging/rtl8192e/rtl8192e/
Drtl_ps.c110 struct rt_pwr_save_ctrl *pPSC = (struct rt_pwr_save_ctrl *) in _rtl92e_ps_update_rf_state() local
114 pPSC->bSwRfProcessing = true; in _rtl92e_ps_update_rf_state()
117 pPSC->eInactivePowerState == eRfOff ? "OFF" : "ON"); in _rtl92e_ps_update_rf_state()
118 rtl92e_set_rf_state(dev, pPSC->eInactivePowerState, RF_CHANGE_BY_IPS); in _rtl92e_ps_update_rf_state()
120 pPSC->bSwRfProcessing = false; in _rtl92e_ps_update_rf_state()
127 struct rt_pwr_save_ctrl *pPSC = (struct rt_pwr_save_ctrl *) in rtl92e_ips_enter() local
131 if (pPSC->bInactivePs) { in rtl92e_ips_enter()
133 if (rtState == eRfOn && !pPSC->bSwRfProcessing && in rtl92e_ips_enter()
137 pPSC->eInactivePowerState = eRfOff; in rtl92e_ips_enter()
148 struct rt_pwr_save_ctrl *pPSC = (struct rt_pwr_save_ctrl *) in rtl92e_ips_leave() local
[all …]
Dr8192E_phy.c1411 struct rt_pwr_save_ctrl *pPSC = (struct rt_pwr_save_ctrl *) in _rtl92e_set_rf_power_state() local
1428 RT_IN_PS_LEVEL(pPSC, RT_RF_OFF_LEVL_HALT_NIC)) { in _rtl92e_set_rf_power_state()
1446 RT_CLEAR_PS_LEVEL(pPSC, in _rtl92e_set_rf_power_state()
1526 if (pPSC->RegRfPsLevel & RT_RF_OFF_LEVL_HALT_NIC && in _rtl92e_set_rf_power_state()
1527 !RT_IN_PS_LEVEL(pPSC, RT_RF_OFF_LEVL_HALT_NIC)) { in _rtl92e_set_rf_power_state()
1529 RT_SET_PS_LEVEL(pPSC, RT_RF_OFF_LEVL_HALT_NIC); in _rtl92e_set_rf_power_state()
1530 } else if (!(pPSC->RegRfPsLevel & in _rtl92e_set_rf_power_state()
Drtl_wx.c164 struct rt_pwr_save_ctrl *pPSC = (struct rt_pwr_save_ctrl *) in _rtl92e_wx_adapter_power_status() local
174 pPSC->bLeisurePs = true; in _rtl92e_wx_adapter_power_status()
180 pPSC->bLeisurePs = false; in _rtl92e_wx_adapter_power_status()
195 struct rt_pwr_save_ctrl *pPSC = (struct rt_pwr_save_ctrl *) in _rtl92e_wx_set_lps_awake_interval() local
203 pPSC->RegMaxLPSAwakeIntvl = *extra; in _rtl92e_wx_set_lps_awake_interval()
Drtl_core.c734 struct rt_pwr_save_ctrl *pPSC = (struct rt_pwr_save_ctrl *) in _rtl92e_sta_up() local
755 RT_CLEAR_PS_LEVEL(pPSC, RT_RF_OFF_LEVL_HALT_NIC); in _rtl92e_sta_up()
880 struct rt_pwr_save_ctrl *pPSC = (struct rt_pwr_save_ctrl *) in _rtl92e_init_priv_constant() local
883 pPSC->RegMaxLPSAwakeIntvl = 5; in _rtl92e_init_priv_constant()
1371 struct rt_pwr_save_ctrl *pPSC = (struct rt_pwr_save_ctrl *) in _rtl92e_watchdog_wq_cb() local
1495 (!priv->RFChangeInProgress) && (!pPSC->bSwRfProcessing)) { in _rtl92e_watchdog_wq_cb()
2570 struct rt_pwr_save_ctrl *pPSC = (struct rt_pwr_save_ctrl *) in rtl92e_enable_nic() local
2588 RT_CLEAR_PS_LEVEL(pPSC, RT_RF_OFF_LEVL_HALT_NIC); in rtl92e_enable_nic()
/linux-5.19.10/drivers/staging/rtl8192e/
Drtllib_softmac.c1508 struct rt_pwr_save_ctrl *pPSC = &(ieee->PowerSaveControl); in rtllib_associate_complete_wq() local
1546 pPSC->LpsIdleCount = 0; in rtllib_associate_complete_wq()
1969 struct rt_pwr_save_ctrl *pPSC = &(ieee->PowerSaveControl); in rtllib_sta_ps_sleep() local
1999 pPSC->LPSAwakeIntvl = 1; in rtllib_sta_ps_sleep()
2003 if (pPSC->LPSAwakeIntvl == 0) in rtllib_sta_ps_sleep()
2004 pPSC->LPSAwakeIntvl = 1; in rtllib_sta_ps_sleep()
2005 if (pPSC->RegMaxLPSAwakeIntvl == 0) in rtllib_sta_ps_sleep()
2007 else if (pPSC->RegMaxLPSAwakeIntvl == 0xFF) in rtllib_sta_ps_sleep()
2010 MaxPeriod = pPSC->RegMaxLPSAwakeIntvl; in rtllib_sta_ps_sleep()
2011 pPSC->LPSAwakeIntvl = (pPSC->LPSAwakeIntvl >= in rtllib_sta_ps_sleep()
[all …]
Drtllib.h114 #define RT_IN_PS_LEVEL(pPSC, _PS_FLAG) \ argument
115 ((pPSC->CurPsLevel & _PS_FLAG) ? true : false)
116 #define RT_CLEAR_PS_LEVEL(pPSC, _PS_FLAG) \ argument
117 (pPSC->CurPsLevel &= (~(_PS_FLAG)))
118 #define RT_SET_PS_LEVEL(pPSC, _PS_FLAG) (pPSC->CurPsLevel |= _PS_FLAG) argument