Lines Matching refs:ppsc
508 struct rtl_ps_ctl *ppsc = rtl_psc(rtl_priv(hw)); in rtl92s_phy_set_rf_power_state() local
513 if (rfpwr_state == ppsc->rfpwr_state) in rtl92s_phy_set_rf_power_state()
518 if ((ppsc->rfpwr_state == ERFOFF) && in rtl92s_phy_set_rf_power_state()
519 RT_IN_PS_LEVEL(ppsc, RT_RF_OFF_LEVL_HALT_NIC)) { in rtl92s_phy_set_rf_power_state()
530 RT_CLEAR_PS_LEVEL(ppsc, in rtl92s_phy_set_rf_power_state()
536 ppsc->last_sleep_jiffies), in rtl92s_phy_set_rf_power_state()
538 ppsc->last_awake_jiffies = jiffies; in rtl92s_phy_set_rf_power_state()
553 if (ppsc->reg_rfps_level & RT_RF_OFF_LEVL_HALT_NIC) { in rtl92s_phy_set_rf_power_state()
557 RT_SET_PS_LEVEL(ppsc, RT_RF_OFF_LEVL_HALT_NIC); in rtl92s_phy_set_rf_power_state()
559 if (ppsc->rfoff_reason == RF_CHANGE_BY_IPS) in rtl92s_phy_set_rf_power_state()
569 if (ppsc->rfpwr_state == ERFOFF) in rtl92s_phy_set_rf_power_state()
602 ppsc->last_awake_jiffies)); in rtl92s_phy_set_rf_power_state()
607 ppsc->last_awake_jiffies), in rtl92s_phy_set_rf_power_state()
609 ppsc->last_sleep_jiffies = jiffies; in rtl92s_phy_set_rf_power_state()
620 ppsc->rfpwr_state = rfpwr_state; in rtl92s_phy_set_rf_power_state()
1573 struct rtl_ps_ctl *ppsc = rtl_psc(rtl_priv(hw)); in rtl92s_phy_switch_ephy_parameter() local
1596 if (ppsc->support_aspm && !ppsc->support_backdoor) in rtl92s_phy_switch_ephy_parameter()