Lines Matching refs:ppsc
435 struct rtl_ps_ctl *ppsc = rtl_psc(rtl_priv(hw)); in _rtl92ce_phy_set_rf_power_state() local
442 if ((ppsc->rfpwr_state == ERFOFF) && in _rtl92ce_phy_set_rf_power_state()
443 RT_IN_PS_LEVEL(ppsc, RT_RF_OFF_LEVL_HALT_NIC)) { in _rtl92ce_phy_set_rf_power_state()
453 RT_CLEAR_PS_LEVEL(ppsc, in _rtl92ce_phy_set_rf_power_state()
459 ppsc->last_sleep_jiffies)); in _rtl92ce_phy_set_rf_power_state()
460 ppsc->last_awake_jiffies = jiffies; in _rtl92ce_phy_set_rf_power_state()
473 if (ppsc->reg_rfps_level & RT_RF_OFF_LEVL_HALT_NIC) { in _rtl92ce_phy_set_rf_power_state()
477 RT_SET_PS_LEVEL(ppsc, RT_RF_OFF_LEVL_HALT_NIC); in _rtl92ce_phy_set_rf_power_state()
479 if (ppsc->rfoff_reason == RF_CHANGE_BY_IPS) { in _rtl92ce_phy_set_rf_power_state()
490 if (ppsc->rfpwr_state == ERFOFF) in _rtl92ce_phy_set_rf_power_state()
520 ppsc->last_awake_jiffies)); in _rtl92ce_phy_set_rf_power_state()
521 ppsc->last_sleep_jiffies = jiffies; in _rtl92ce_phy_set_rf_power_state()
532 ppsc->rfpwr_state = rfpwr_state; in _rtl92ce_phy_set_rf_power_state()
539 struct rtl_ps_ctl *ppsc = rtl_psc(rtl_priv(hw)); in rtl92c_phy_set_rf_power_state() local
543 if (rfpwr_state == ppsc->rfpwr_state) in rtl92c_phy_set_rf_power_state()