Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/staging/rtl8192e/rtl8192e/
Drtl_ps.c124 struct rt_pwr_save_ctrl *pPSC = (struct rt_pwr_save_ctrl *) in _rtl92e_ps_update_rf_state() local
128 pPSC->bSwRfProcessing = true; in _rtl92e_ps_update_rf_state()
131 pPSC->eInactivePowerState == eRfOff ? "OFF" : "ON"); in _rtl92e_ps_update_rf_state()
132 rtl92e_set_rf_state(dev, pPSC->eInactivePowerState, RF_CHANGE_BY_IPS); in _rtl92e_ps_update_rf_state()
134 pPSC->bSwRfProcessing = false; in _rtl92e_ps_update_rf_state()
141 struct rt_pwr_save_ctrl *pPSC = (struct rt_pwr_save_ctrl *) in rtl92e_ips_enter() local
145 if (pPSC->bInactivePs) { in rtl92e_ips_enter()
147 if (rtState == eRfOn && !pPSC->bSwRfProcessing && in rtl92e_ips_enter()
151 pPSC->eInactivePowerState = eRfOff; in rtl92e_ips_enter()
162 struct rt_pwr_save_ctrl *pPSC = (struct rt_pwr_save_ctrl *) in rtl92e_ips_leave() local
[all …]
Dr8192E_phy.c1424 struct rt_pwr_save_ctrl *pPSC = (struct rt_pwr_save_ctrl *) in _rtl92e_set_rf_power_state() local
1442 RT_IN_PS_LEVEL(pPSC, RT_RF_OFF_LEVL_HALT_NIC)) { in _rtl92e_set_rf_power_state()
1460 RT_CLEAR_PS_LEVEL(pPSC, in _rtl92e_set_rf_power_state()
1543 if (pPSC->RegRfPsLevel & RT_RF_OFF_LEVL_HALT_NIC && in _rtl92e_set_rf_power_state()
1544 !RT_IN_PS_LEVEL(pPSC, RT_RF_OFF_LEVL_HALT_NIC)) { in _rtl92e_set_rf_power_state()
1546 RT_SET_PS_LEVEL(pPSC, RT_RF_OFF_LEVL_HALT_NIC); in _rtl92e_set_rf_power_state()
1547 } else if (!(pPSC->RegRfPsLevel & in _rtl92e_set_rf_power_state()
Drtl_wx.c176 struct rt_pwr_save_ctrl *pPSC = (struct rt_pwr_save_ctrl *) in _rtl92e_wx_adapter_power_status() local
186 pPSC->bLeisurePs = true; in _rtl92e_wx_adapter_power_status()
192 pPSC->bLeisurePs = false; in _rtl92e_wx_adapter_power_status()
207 struct rt_pwr_save_ctrl *pPSC = (struct rt_pwr_save_ctrl *) in _rtl92e_wx_set_lps_awake_interval() local
215 pPSC->RegMaxLPSAwakeIntvl = *extra; in _rtl92e_wx_set_lps_awake_interval()
Drtl_core.c744 struct rt_pwr_save_ctrl *pPSC = (struct rt_pwr_save_ctrl *) in _rtl92e_sta_up() local
765 RT_CLEAR_PS_LEVEL(pPSC, RT_RF_OFF_LEVL_HALT_NIC); in _rtl92e_sta_up()
890 struct rt_pwr_save_ctrl *pPSC = (struct rt_pwr_save_ctrl *) in _rtl92e_init_priv_constant() local
893 pPSC->RegMaxLPSAwakeIntvl = 5; in _rtl92e_init_priv_constant()
1390 struct rt_pwr_save_ctrl *pPSC = (struct rt_pwr_save_ctrl *) in _rtl92e_watchdog_wq_cb() local
1514 (!priv->RFChangeInProgress) && (!pPSC->bSwRfProcessing)) { in _rtl92e_watchdog_wq_cb()
2733 struct rt_pwr_save_ctrl *pPSC = (struct rt_pwr_save_ctrl *) in rtl92e_enable_nic() local
2751 RT_CLEAR_PS_LEVEL(pPSC, RT_RF_OFF_LEVL_HALT_NIC); in rtl92e_enable_nic()
/linux-4.4.14/drivers/staging/rtl8192e/
Drtllib_softmac.c1523 struct rt_pwr_save_ctrl *pPSC = &(ieee->PowerSaveControl); in rtllib_associate_complete_wq() local
1559 pPSC->LpsIdleCount = 0; in rtllib_associate_complete_wq()
1976 struct rt_pwr_save_ctrl *pPSC = &(ieee->PowerSaveControl); in rtllib_sta_ps_sleep() local
2006 pPSC->LPSAwakeIntvl = 1; in rtllib_sta_ps_sleep()
2010 if (pPSC->LPSAwakeIntvl == 0) in rtllib_sta_ps_sleep()
2011 pPSC->LPSAwakeIntvl = 1; in rtllib_sta_ps_sleep()
2012 if (pPSC->RegMaxLPSAwakeIntvl == 0) in rtllib_sta_ps_sleep()
2014 else if (pPSC->RegMaxLPSAwakeIntvl == 0xFF) in rtllib_sta_ps_sleep()
2017 MaxPeriod = pPSC->RegMaxLPSAwakeIntvl; in rtllib_sta_ps_sleep()
2018 pPSC->LPSAwakeIntvl = (pPSC->LPSAwakeIntvl >= in rtllib_sta_ps_sleep()
[all …]
Drtllib.h118 #define RT_IN_PS_LEVEL(pPSC, _PS_FLAG) \ argument
119 ((pPSC->CurPsLevel & _PS_FLAG) ? true : false)
120 #define RT_CLEAR_PS_LEVEL(pPSC, _PS_FLAG) \ argument
121 (pPSC->CurPsLevel &= (~(_PS_FLAG)))
122 #define RT_SET_PS_LEVEL(pPSC, _PS_FLAG) (pPSC->CurPsLevel |= _PS_FLAG) argument