Lines Matching refs:ppsc

78 	struct rtl_ps_ctl *ppsc = rtl_psc(rtl_priv(hw));  in rtl8723e_get_hw_reg()  local
86 *((enum rf_pwrstate *)(val)) = ppsc->rfpwr_state; in rtl8723e_get_hw_reg()
108 *((bool *)(val)) = ppsc->fw_current_inpsmode; in rtl8723e_get_hw_reg()
137 struct rtl_ps_ctl *ppsc = rtl_psc(rtl_priv(hw)); in rtl8723e_set_hw_reg() local
410 ppsc->fw_current_inpsmode = *((bool *)val); in rtl8723e_set_hw_reg()
501 (u8 *)(&ppsc->fwctrl_psmode)); in rtl8723e_set_hw_reg()
640 struct rtl_ps_ctl *ppsc = rtl_psc(rtl_priv(hw)); in _rtl8723e_gen_refresh_led_state() local
646 if (ppsc->rfoff_reason == RF_CHANGE_BY_IPS) in _rtl8723e_gen_refresh_led_state()
648 else if (ppsc->rfoff_reason == RF_CHANGE_BY_INIT) in _rtl8723e_gen_refresh_led_state()
856 struct rtl_ps_ctl *ppsc = rtl_psc(rtl_priv(hw)); in _rtl8723e_enable_aspm_back_door() local
862 if (ppsc->support_backdoor) in _rtl8723e_enable_aspm_back_door()
911 struct rtl_ps_ctl *ppsc = rtl_psc(rtl_priv(hw)); in rtl8723e_hw_init() local
983 ppsc->rfpwr_state = ERFON; in rtl8723e_hw_init()
991 if (ppsc->rfpwr_state == ERFON) { in rtl8723e_hw_init()
1295 struct rtl_ps_ctl *ppsc = rtl_psc(rtl_priv(hw)); in rtl8723e_card_disable() local
1303 ppsc->rfoff_reason > RF_CHANGE_BY_PS) in rtl8723e_card_disable()
1305 RT_SET_PS_LEVEL(ppsc, RT_RF_OFF_LEVL_HALT_NIC); in rtl8723e_card_disable()
2076 struct rtl_ps_ctl *ppsc = rtl_psc(rtl_priv(hw)); in rtl8723e_gpio_radio_on_off_checking() local
2085 if (ppsc->swrf_processing) in rtl8723e_gpio_radio_on_off_checking()
2089 if (ppsc->rfchange_inprogress) { in rtl8723e_gpio_radio_on_off_checking()
2093 ppsc->rfchange_inprogress = true; in rtl8723e_gpio_radio_on_off_checking()
2107 if (ppsc->hwradiooff && (e_rfpowerstate_toset == ERFON)) { in rtl8723e_gpio_radio_on_off_checking()
2112 ppsc->hwradiooff = false; in rtl8723e_gpio_radio_on_off_checking()
2114 } else if (!ppsc->hwradiooff && (e_rfpowerstate_toset == ERFOFF)) { in rtl8723e_gpio_radio_on_off_checking()
2119 ppsc->hwradiooff = true; in rtl8723e_gpio_radio_on_off_checking()
2125 ppsc->rfchange_inprogress = false; in rtl8723e_gpio_radio_on_off_checking()
2128 if (ppsc->reg_rfps_level & RT_RF_OFF_LEVL_HALT_NIC) in rtl8723e_gpio_radio_on_off_checking()
2129 RT_SET_PS_LEVEL(ppsc, RT_RF_OFF_LEVL_HALT_NIC); in rtl8723e_gpio_radio_on_off_checking()
2132 ppsc->rfchange_inprogress = false; in rtl8723e_gpio_radio_on_off_checking()
2137 return !ppsc->hwradiooff; in rtl8723e_gpio_radio_on_off_checking()