Lines Matching refs:rpwm_val

98 static void _rtl8723be_set_fw_clock_on(struct ieee80211_hw *hw, u8 rpwm_val,  in _rtl8723be_set_fw_clock_on()  argument
135 (u8 *)(&rpwm_val)); in _rtl8723be_set_fw_clock_on()
136 if (FW_PS_IS_ACK(rpwm_val)) { in _rtl8723be_set_fw_clock_on()
167 static void _rtl8723be_set_fw_clock_off(struct ieee80211_hw *hw, u8 rpwm_val) in _rtl8723be_set_fw_clock_off() argument
206 rtlhal->fw_ps_state = FW_PS_STATE(rpwm_val); in _rtl8723be_set_fw_clock_off()
209 (u8 *)(&rpwm_val)); in _rtl8723be_set_fw_clock_off()
224 u8 rpwm_val = 0; in _rtl8723be_set_fw_ps_rf_on() local
225 rpwm_val |= (FW_PS_STATE_RF_OFF | FW_PS_ACK); in _rtl8723be_set_fw_ps_rf_on()
226 _rtl8723be_set_fw_clock_on(hw, rpwm_val, true); in _rtl8723be_set_fw_ps_rf_on()
235 u8 rpwm_val = 0, fw_pwrmode = FW_PS_ACTIVE_MODE; in _rtl8723be_fwlps_leave() local
238 rpwm_val = (FW_PS_STATE_ALL_ON | FW_PS_ACK);/* RF on */ in _rtl8723be_fwlps_leave()
239 _rtl8723be_set_fw_clock_on(hw, rpwm_val, false); in _rtl8723be_fwlps_leave()
246 rpwm_val = FW_PS_STATE_ALL_ON; /* RF on */ in _rtl8723be_fwlps_leave()
248 (u8 *)(&rpwm_val)); in _rtl8723be_fwlps_leave()
263 u8 rpwm_val; in _rtl8723be_fwlps_enter() local
266 rpwm_val = FW_PS_STATE_RF_OFF_LOW_PWR; /* RF off */ in _rtl8723be_fwlps_enter()
272 _rtl8723be_set_fw_clock_off(hw, rpwm_val); in _rtl8723be_fwlps_enter()
274 rpwm_val = FW_PS_STATE_RF_OFF; /* RF off */ in _rtl8723be_fwlps_enter()
280 (u8 *)(&rpwm_val)); in _rtl8723be_fwlps_enter()
628 u8 rpwm_val; in rtl8723be_set_hw_reg() local
630 rpwm_val = rtl_read_byte(rtlpriv, REG_PCIE_HRPWM); in rtl8723be_set_hw_reg()
633 if (rpwm_val & BIT(7)) { in rtl8723be_set_hw_reg()