Lines Matching refs:ppsc

236 	struct rtl_ps_ctl *ppsc = rtl_psc(rtl_priv(hw));  in _rtl8723be_fwlps_leave()  local
241 if (ppsc->low_power_enable) { in _rtl8723be_fwlps_leave()
264 struct rtl_ps_ctl *ppsc = rtl_psc(rtl_priv(hw)); in _rtl8723be_fwlps_enter() local
269 if (ppsc->low_power_enable) { in _rtl8723be_fwlps_enter()
274 (u8 *)(&ppsc->fwctrl_psmode)); in _rtl8723be_fwlps_enter()
282 (u8 *)(&ppsc->fwctrl_psmode)); in _rtl8723be_fwlps_enter()
292 struct rtl_ps_ctl *ppsc = rtl_psc(rtl_priv(hw)); in rtl8723be_get_hw_reg() local
300 *((enum rf_pwrstate *)(val)) = ppsc->rfpwr_state; in rtl8723be_get_hw_reg()
321 *((bool *)(val)) = ppsc->fw_current_inpsmode; in rtl8723be_get_hw_reg()
399 struct rtl_ps_ctl *ppsc = rtl_psc(rtl_priv(hw)); in rtl8723be_set_hw_reg() local
643 ppsc->fw_current_inpsmode = *((bool *)val); in rtl8723be_set_hw_reg()
789 struct rtl_ps_ctl *ppsc = rtl_psc(rtl_priv(hw)); in _rtl8723be_gen_refresh_led_state() local
795 if (ppsc->rfoff_reason == RF_CHANGE_BY_IPS) in _rtl8723be_gen_refresh_led_state()
797 else if (ppsc->rfoff_reason == RF_CHANGE_BY_INIT) in _rtl8723be_gen_refresh_led_state()
1331 struct rtl_ps_ctl *ppsc = rtl_psc(rtl_priv(hw)); in rtl8723be_hw_init() local
1408 ppsc->rfpwr_state = ERFON; in rtl8723be_hw_init()
1416 if (ppsc->rfpwr_state == ERFON) { in rtl8723be_hw_init()
1646 struct rtl_ps_ctl *ppsc = rtl_psc(rtl_priv(hw)); in rtl8723be_card_disable() local
1654 ppsc->rfoff_reason > RF_CHANGE_BY_PS) in rtl8723be_card_disable()
1656 RT_SET_PS_LEVEL(ppsc, RT_RF_OFF_LEVL_HALT_NIC); in rtl8723be_card_disable()
2468 struct rtl_ps_ctl *ppsc = rtl_psc(rtl_priv(hw)); in rtl8723be_gpio_radio_on_off_checking() local
2477 if (ppsc->swrf_processing) in rtl8723be_gpio_radio_on_off_checking()
2481 if (ppsc->rfchange_inprogress) { in rtl8723be_gpio_radio_on_off_checking()
2485 ppsc->rfchange_inprogress = true; in rtl8723be_gpio_radio_on_off_checking()
2499 if ((ppsc->hwradiooff) && (e_rfpowerstate_toset == ERFON)) { in rtl8723be_gpio_radio_on_off_checking()
2504 ppsc->hwradiooff = false; in rtl8723be_gpio_radio_on_off_checking()
2506 } else if (!ppsc->hwradiooff && (e_rfpowerstate_toset == ERFOFF)) { in rtl8723be_gpio_radio_on_off_checking()
2511 ppsc->hwradiooff = true; in rtl8723be_gpio_radio_on_off_checking()
2517 ppsc->rfchange_inprogress = false; in rtl8723be_gpio_radio_on_off_checking()
2520 if (ppsc->reg_rfps_level & RT_RF_OFF_LEVL_HALT_NIC) in rtl8723be_gpio_radio_on_off_checking()
2521 RT_SET_PS_LEVEL(ppsc, RT_RF_OFF_LEVL_HALT_NIC); in rtl8723be_gpio_radio_on_off_checking()
2524 ppsc->rfchange_inprogress = false; in rtl8723be_gpio_radio_on_off_checking()
2529 return !ppsc->hwradiooff; in rtl8723be_gpio_radio_on_off_checking()