Lines Matching refs:ppsc
50 struct rtl_ps_ctl *ppsc = rtl_psc(rtl_priv(hw)); in rtl92d_get_hw_reg() local
54 *((enum rf_pwrstate *)(val)) = ppsc->rfpwr_state; in rtl92d_get_hw_reg()
75 *((bool *)(val)) = ppsc->fw_current_inpsmode; in rtl92d_get_hw_reg()
108 struct rtl_ps_ctl *ppsc = rtl_psc(rtl_priv(hw)); in rtl92d_set_hw_reg() local
270 ppsc->fw_current_inpsmode = *((bool *)val); in rtl92d_set_hw_reg()
1044 struct rtl_ps_ctl *ppsc = rtl_psc(rtl_priv(hw)); in rtl92d_gpio_radio_on_off_checking() local
1054 if (ppsc->swrf_processing) in rtl92d_gpio_radio_on_off_checking()
1057 if (ppsc->rfchange_inprogress) { in rtl92d_gpio_radio_on_off_checking()
1062 ppsc->rfchange_inprogress = true; in rtl92d_gpio_radio_on_off_checking()
1069 if (ppsc->hwradiooff && e_rfpowerstate_toset == ERFON) { in rtl92d_gpio_radio_on_off_checking()
1073 ppsc->hwradiooff = false; in rtl92d_gpio_radio_on_off_checking()
1075 } else if (!ppsc->hwradiooff && e_rfpowerstate_toset == ERFOFF) { in rtl92d_gpio_radio_on_off_checking()
1079 ppsc->hwradiooff = true; in rtl92d_gpio_radio_on_off_checking()
1084 ppsc->rfchange_inprogress = false; in rtl92d_gpio_radio_on_off_checking()
1087 if (ppsc->reg_rfps_level & RT_RF_OFF_LEVL_HALT_NIC) in rtl92d_gpio_radio_on_off_checking()
1088 RT_SET_PS_LEVEL(ppsc, RT_RF_OFF_LEVL_HALT_NIC); in rtl92d_gpio_radio_on_off_checking()
1090 ppsc->rfchange_inprogress = false; in rtl92d_gpio_radio_on_off_checking()
1094 return !ppsc->hwradiooff; in rtl92d_gpio_radio_on_off_checking()