Lines Matching refs:rpwm_val

99 				       u8 rpwm_val, bool b_need_turn_off_ckk)  in _rtl8821ae_set_fw_clock_on()  argument
136 (u8 *)(&rpwm_val)); in _rtl8821ae_set_fw_clock_on()
137 if (FW_PS_IS_ACK(rpwm_val)) { in _rtl8821ae_set_fw_clock_on()
169 u8 rpwm_val) in _rtl8821ae_set_fw_clock_off() argument
209 rtlhal->fw_ps_state = FW_PS_STATE(rpwm_val); in _rtl8821ae_set_fw_clock_off()
212 (u8 *)(&rpwm_val)); in _rtl8821ae_set_fw_clock_off()
226 u8 rpwm_val = 0; in _rtl8821ae_set_fw_ps_rf_on() local
228 rpwm_val |= (FW_PS_STATE_RF_OFF_8821AE | FW_PS_ACK); in _rtl8821ae_set_fw_ps_rf_on()
229 _rtl8821ae_set_fw_clock_on(hw, rpwm_val, true); in _rtl8821ae_set_fw_ps_rf_on()
238 u8 rpwm_val = 0, fw_pwrmode = FW_PS_ACTIVE_MODE; in _rtl8821ae_fwlps_leave() local
241 rpwm_val = (FW_PS_STATE_ALL_ON_8821AE|FW_PS_ACK);/* RF on */ in _rtl8821ae_fwlps_leave()
242 _rtl8821ae_set_fw_clock_on(hw, rpwm_val, false); in _rtl8821ae_fwlps_leave()
249 rpwm_val = FW_PS_STATE_ALL_ON_8821AE; /* RF on */ in _rtl8821ae_fwlps_leave()
251 (u8 *)(&rpwm_val)); in _rtl8821ae_fwlps_leave()
265 u8 rpwm_val; in _rtl8821ae_fwlps_enter() local
268 rpwm_val = FW_PS_STATE_RF_OFF_LOW_PWR_8821AE; /* RF off */ in _rtl8821ae_fwlps_enter()
276 _rtl8821ae_set_fw_clock_off(hw, rpwm_val); in _rtl8821ae_fwlps_enter()
278 rpwm_val = FW_PS_STATE_RF_OFF_8821AE; /* RF off */ in _rtl8821ae_fwlps_enter()
287 (u8 *)(&rpwm_val)); in _rtl8821ae_fwlps_enter()
686 u8 rpwm_val; in rtl8821ae_set_hw_reg() local
688 rpwm_val = rtl_read_byte(rtlpriv, REG_PCIE_HRPWM); in rtl8821ae_set_hw_reg()
691 if (rpwm_val & BIT(7)) { in rtl8821ae_set_hw_reg()