Lines Matching refs:ppsc

235 	struct rtl_ps_ctl *ppsc = rtl_psc(rtl_priv(hw));  in _rtl8821ae_fwlps_leave()  local
240 if (ppsc->low_power_enable) { in _rtl8821ae_fwlps_leave()
262 struct rtl_ps_ctl *ppsc = rtl_psc(rtl_priv(hw)); in _rtl8821ae_fwlps_enter() local
267 if (ppsc->low_power_enable) { in _rtl8821ae_fwlps_enter()
274 (u8 *)(&ppsc->fwctrl_psmode)); in _rtl8821ae_fwlps_enter()
284 (u8 *)(&ppsc->fwctrl_psmode)); in _rtl8821ae_fwlps_enter()
394 struct rtl_ps_ctl *ppsc = rtl_psc(rtl_priv(hw)); in rtl8821ae_get_hw_reg() local
423 *((enum rf_pwrstate *)(val)) = ppsc->rfpwr_state; in rtl8821ae_get_hw_reg()
444 *((bool *)(val)) = ppsc->fw_current_inpsmode; in rtl8821ae_get_hw_reg()
458 if (ppsc->wo_wlan_mode) in rtl8821ae_get_hw_reg()
476 struct rtl_ps_ctl *ppsc = rtl_psc(rtl_priv(hw)); in rtl8821ae_set_hw_reg() local
704 ppsc->fw_current_inpsmode = *((bool *)val); in rtl8821ae_set_hw_reg()
866 struct rtl_ps_ctl *ppsc = rtl_psc(rtl_priv(hw)); in _rtl8821ae_gen_refresh_led_state() local
873 if (ppsc->rfoff_reason == RF_CHANGE_BY_IPS) in _rtl8821ae_gen_refresh_led_state()
878 else if (ppsc->rfoff_reason == RF_CHANGE_BY_INIT) in _rtl8821ae_gen_refresh_led_state()
1342 struct rtl_ps_ctl *ppsc = rtl_psc(rtlpriv); in _rtl8821ae_get_wakeup_reason() local
1350 ppsc->wakeup_reason = 0; in _rtl8821ae_get_wakeup_reason()
1356 ppsc->wakeup_reason = WOL_REASON_PTK_UPDATE; in _rtl8821ae_get_wakeup_reason()
1361 ppsc->wakeup_reason = WOL_REASON_GTK_UPDATE; in _rtl8821ae_get_wakeup_reason()
1366 ppsc->wakeup_reason = WOL_REASON_DISASSOC; in _rtl8821ae_get_wakeup_reason()
1371 ppsc->wakeup_reason = WOL_REASON_DEAUTH; in _rtl8821ae_get_wakeup_reason()
1376 ppsc->wakeup_reason = WOL_REASON_AP_LOST; in _rtl8821ae_get_wakeup_reason()
1381 ppsc->wakeup_reason = WOL_REASON_MAGIC_PKT; in _rtl8821ae_get_wakeup_reason()
1386 ppsc->wakeup_reason = WOL_REASON_UNICAST_PKT; in _rtl8821ae_get_wakeup_reason()
1391 ppsc->wakeup_reason = WOL_REASON_PATTERN_PKT; in _rtl8821ae_get_wakeup_reason()
1396 ppsc->wakeup_reason = WOL_REASON_RTD3_SSID_MATCH; in _rtl8821ae_get_wakeup_reason()
1401 ppsc->wakeup_reason = WOL_REASON_REALWOW_V2_WAKEUPPKT; in _rtl8821ae_get_wakeup_reason()
1406 ppsc->wakeup_reason = WOL_REASON_REALWOW_V2_ACKLOST; in _rtl8821ae_get_wakeup_reason()
1629 struct rtl_ps_ctl *ppsc = rtl_psc(rtlpriv); in _rtl8821ae_simple_initialize_adapter() local
1648 ppsc->rfpwr_state = ERFON; in _rtl8821ae_simple_initialize_adapter()
1846 struct rtl_ps_ctl *ppsc = rtl_psc(rtl_priv(hw)); in rtl8821ae_hw_init() local
1916 ppsc->fw_current_inpsmode = false; in rtl8821ae_hw_init()
1954 ppsc->rfpwr_state = ERFON; in rtl8821ae_hw_init()
2301 struct rtl_ps_ctl *ppsc = rtl_psc(rtlpriv); in rtl8821ae_card_disable() local
2311 RT_SET_PS_LEVEL(ppsc, RT_RF_OFF_LEVL_HALT_NIC); in rtl8821ae_card_disable()
2389 ppsc->rfoff_reason > RF_CHANGE_BY_PS) in rtl8821ae_card_disable()
3710 struct rtl_ps_ctl *ppsc = rtl_psc(rtl_priv(hw)); in rtl8821ae_gpio_radio_on_off_checking() local
3719 if (ppsc->swrf_processing) in rtl8821ae_gpio_radio_on_off_checking()
3723 if (ppsc->rfchange_inprogress) { in rtl8821ae_gpio_radio_on_off_checking()
3727 ppsc->rfchange_inprogress = true; in rtl8821ae_gpio_radio_on_off_checking()
3742 if ((ppsc->hwradiooff) && (e_rfpowerstate_toset == ERFON)) { in rtl8821ae_gpio_radio_on_off_checking()
3747 ppsc->hwradiooff = false; in rtl8821ae_gpio_radio_on_off_checking()
3749 } else if ((!ppsc->hwradiooff) in rtl8821ae_gpio_radio_on_off_checking()
3755 ppsc->hwradiooff = true; in rtl8821ae_gpio_radio_on_off_checking()
3761 ppsc->rfchange_inprogress = false; in rtl8821ae_gpio_radio_on_off_checking()
3764 if (ppsc->reg_rfps_level & RT_RF_OFF_LEVL_HALT_NIC) in rtl8821ae_gpio_radio_on_off_checking()
3765 RT_SET_PS_LEVEL(ppsc, RT_RF_OFF_LEVL_HALT_NIC); in rtl8821ae_gpio_radio_on_off_checking()
3768 ppsc->rfchange_inprogress = false; in rtl8821ae_gpio_radio_on_off_checking()
3773 return !ppsc->hwradiooff; in rtl8821ae_gpio_radio_on_off_checking()