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
709 ppsc->fw_current_inpsmode = *((bool *)val); in rtl8821ae_set_hw_reg()
871 struct rtl_ps_ctl *ppsc = rtl_psc(rtl_priv(hw)); in _rtl8821ae_gen_refresh_led_state() local
878 if (ppsc->rfoff_reason == RF_CHANGE_BY_IPS) in _rtl8821ae_gen_refresh_led_state()
883 else if (ppsc->rfoff_reason == RF_CHANGE_BY_INIT) in _rtl8821ae_gen_refresh_led_state()
1347 struct rtl_ps_ctl *ppsc = rtl_psc(rtlpriv); in _rtl8821ae_get_wakeup_reason() local
1355 ppsc->wakeup_reason = 0; in _rtl8821ae_get_wakeup_reason()
1361 ppsc->wakeup_reason = WOL_REASON_PTK_UPDATE; in _rtl8821ae_get_wakeup_reason()
1366 ppsc->wakeup_reason = WOL_REASON_GTK_UPDATE; in _rtl8821ae_get_wakeup_reason()
1371 ppsc->wakeup_reason = WOL_REASON_DISASSOC; in _rtl8821ae_get_wakeup_reason()
1376 ppsc->wakeup_reason = WOL_REASON_DEAUTH; in _rtl8821ae_get_wakeup_reason()
1381 ppsc->wakeup_reason = WOL_REASON_AP_LOST; in _rtl8821ae_get_wakeup_reason()
1386 ppsc->wakeup_reason = WOL_REASON_MAGIC_PKT; in _rtl8821ae_get_wakeup_reason()
1391 ppsc->wakeup_reason = WOL_REASON_UNICAST_PKT; in _rtl8821ae_get_wakeup_reason()
1396 ppsc->wakeup_reason = WOL_REASON_PATTERN_PKT; in _rtl8821ae_get_wakeup_reason()
1401 ppsc->wakeup_reason = WOL_REASON_RTD3_SSID_MATCH; in _rtl8821ae_get_wakeup_reason()
1406 ppsc->wakeup_reason = WOL_REASON_REALWOW_V2_WAKEUPPKT; in _rtl8821ae_get_wakeup_reason()
1411 ppsc->wakeup_reason = WOL_REASON_REALWOW_V2_ACKLOST; in _rtl8821ae_get_wakeup_reason()
1634 struct rtl_ps_ctl *ppsc = rtl_psc(rtlpriv); in _rtl8821ae_simple_initialize_adapter() local
1653 ppsc->rfpwr_state = ERFON; in _rtl8821ae_simple_initialize_adapter()
1851 struct rtl_ps_ctl *ppsc = rtl_psc(rtl_priv(hw)); in rtl8821ae_hw_init() local
1921 ppsc->fw_current_inpsmode = false; in rtl8821ae_hw_init()
1959 ppsc->rfpwr_state = ERFON; in rtl8821ae_hw_init()
2346 struct rtl_ps_ctl *ppsc = rtl_psc(rtlpriv); in rtl8821ae_card_disable() local
2356 RT_SET_PS_LEVEL(ppsc, RT_RF_OFF_LEVL_HALT_NIC); in rtl8821ae_card_disable()
2434 ppsc->rfoff_reason > RF_CHANGE_BY_PS) in rtl8821ae_card_disable()
3755 struct rtl_ps_ctl *ppsc = rtl_psc(rtl_priv(hw)); in rtl8821ae_gpio_radio_on_off_checking() local
3764 if (ppsc->swrf_processing) in rtl8821ae_gpio_radio_on_off_checking()
3768 if (ppsc->rfchange_inprogress) { in rtl8821ae_gpio_radio_on_off_checking()
3772 ppsc->rfchange_inprogress = true; in rtl8821ae_gpio_radio_on_off_checking()
3787 if ((ppsc->hwradiooff) && (e_rfpowerstate_toset == ERFON)) { in rtl8821ae_gpio_radio_on_off_checking()
3792 ppsc->hwradiooff = false; in rtl8821ae_gpio_radio_on_off_checking()
3794 } else if ((!ppsc->hwradiooff) in rtl8821ae_gpio_radio_on_off_checking()
3800 ppsc->hwradiooff = true; in rtl8821ae_gpio_radio_on_off_checking()
3806 ppsc->rfchange_inprogress = false; in rtl8821ae_gpio_radio_on_off_checking()
3809 if (ppsc->reg_rfps_level & RT_RF_OFF_LEVL_HALT_NIC) in rtl8821ae_gpio_radio_on_off_checking()
3810 RT_SET_PS_LEVEL(ppsc, RT_RF_OFF_LEVL_HALT_NIC); in rtl8821ae_gpio_radio_on_off_checking()
3813 ppsc->rfchange_inprogress = false; in rtl8821ae_gpio_radio_on_off_checking()
3818 return !ppsc->hwradiooff; in rtl8821ae_gpio_radio_on_off_checking()