Lines Matching refs:ppsc
501 struct rtl_ps_ctl *ppsc = rtl_psc(rtl_priv(hw)); in rtl92s_phy_set_rf_power_state() local
506 if (rfpwr_state == ppsc->rfpwr_state) in rtl92s_phy_set_rf_power_state()
511 if ((ppsc->rfpwr_state == ERFOFF) && in rtl92s_phy_set_rf_power_state()
512 RT_IN_PS_LEVEL(ppsc, RT_RF_OFF_LEVL_HALT_NIC)) { in rtl92s_phy_set_rf_power_state()
523 RT_CLEAR_PS_LEVEL(ppsc, in rtl92s_phy_set_rf_power_state()
529 ppsc->last_sleep_jiffies), in rtl92s_phy_set_rf_power_state()
531 ppsc->last_awake_jiffies = jiffies; in rtl92s_phy_set_rf_power_state()
546 if (ppsc->reg_rfps_level & RT_RF_OFF_LEVL_HALT_NIC) { in rtl92s_phy_set_rf_power_state()
550 RT_SET_PS_LEVEL(ppsc, RT_RF_OFF_LEVL_HALT_NIC); in rtl92s_phy_set_rf_power_state()
552 if (ppsc->rfoff_reason == RF_CHANGE_BY_IPS) in rtl92s_phy_set_rf_power_state()
562 if (ppsc->rfpwr_state == ERFOFF) in rtl92s_phy_set_rf_power_state()
595 ppsc->last_awake_jiffies)); in rtl92s_phy_set_rf_power_state()
600 ppsc->last_awake_jiffies), in rtl92s_phy_set_rf_power_state()
602 ppsc->last_sleep_jiffies = jiffies; in rtl92s_phy_set_rf_power_state()
613 ppsc->rfpwr_state = rfpwr_state; in rtl92s_phy_set_rf_power_state()
1566 struct rtl_ps_ctl *ppsc = rtl_psc(rtl_priv(hw)); in rtl92s_phy_switch_ephy_parameter() local
1589 if (ppsc->support_aspm && !ppsc->support_backdoor) in rtl92s_phy_switch_ephy_parameter()