Lines Matching refs:ppsc
3090 struct rtl_ps_ctl *ppsc = rtl_psc(rtl_priv(hw)); in _rtl92ee_phy_set_rf_power_state() local
3097 if ((ppsc->rfpwr_state == ERFOFF) && in _rtl92ee_phy_set_rf_power_state()
3098 RT_IN_PS_LEVEL(ppsc, RT_RF_OFF_LEVL_HALT_NIC)) { in _rtl92ee_phy_set_rf_power_state()
3108 RT_CLEAR_PS_LEVEL(ppsc, RT_RF_OFF_LEVL_HALT_NIC); in _rtl92ee_phy_set_rf_power_state()
3113 ppsc->last_sleep_jiffies)); in _rtl92ee_phy_set_rf_power_state()
3114 ppsc->last_awake_jiffies = jiffies; in _rtl92ee_phy_set_rf_power_state()
3149 if (ppsc->reg_rfps_level & RT_RF_OFF_LEVL_HALT_NIC) { in _rtl92ee_phy_set_rf_power_state()
3153 RT_SET_PS_LEVEL(ppsc, RT_RF_OFF_LEVL_HALT_NIC); in _rtl92ee_phy_set_rf_power_state()
3155 if (ppsc->rfoff_reason == RF_CHANGE_BY_IPS) { in _rtl92ee_phy_set_rf_power_state()
3165 if (ppsc->rfpwr_state == ERFOFF) in _rtl92ee_phy_set_rf_power_state()
3193 ppsc->last_awake_jiffies)); in _rtl92ee_phy_set_rf_power_state()
3194 ppsc->last_sleep_jiffies = jiffies; in _rtl92ee_phy_set_rf_power_state()
3204 ppsc->rfpwr_state = rfpwr_state; in _rtl92ee_phy_set_rf_power_state()
3211 struct rtl_ps_ctl *ppsc = rtl_psc(rtl_priv(hw)); in rtl92ee_phy_set_rf_power_state() local
3215 if (rfpwr_state == ppsc->rfpwr_state) in rtl92ee_phy_set_rf_power_state()