Lines Matching refs:rpwm_val

102 static void _rtl8723be_set_fw_clock_on(struct ieee80211_hw *hw, u8 rpwm_val,  in _rtl8723be_set_fw_clock_on()  argument
139 (u8 *)(&rpwm_val)); in _rtl8723be_set_fw_clock_on()
140 if (FW_PS_IS_ACK(rpwm_val)) { in _rtl8723be_set_fw_clock_on()
171 static void _rtl8723be_set_fw_clock_off(struct ieee80211_hw *hw, u8 rpwm_val) in _rtl8723be_set_fw_clock_off() argument
210 rtlhal->fw_ps_state = FW_PS_STATE(rpwm_val); in _rtl8723be_set_fw_clock_off()
213 (u8 *)(&rpwm_val)); in _rtl8723be_set_fw_clock_off()
228 u8 rpwm_val = 0; in _rtl8723be_set_fw_ps_rf_on() local
229 rpwm_val |= (FW_PS_STATE_RF_OFF | FW_PS_ACK); in _rtl8723be_set_fw_ps_rf_on()
230 _rtl8723be_set_fw_clock_on(hw, rpwm_val, true); in _rtl8723be_set_fw_ps_rf_on()
239 u8 rpwm_val = 0, fw_pwrmode = FW_PS_ACTIVE_MODE; in _rtl8723be_fwlps_leave() local
242 rpwm_val = (FW_PS_STATE_ALL_ON | FW_PS_ACK);/* RF on */ in _rtl8723be_fwlps_leave()
243 _rtl8723be_set_fw_clock_on(hw, rpwm_val, false); in _rtl8723be_fwlps_leave()
250 rpwm_val = FW_PS_STATE_ALL_ON; /* RF on */ in _rtl8723be_fwlps_leave()
252 (u8 *)(&rpwm_val)); in _rtl8723be_fwlps_leave()
267 u8 rpwm_val; in _rtl8723be_fwlps_enter() local
270 rpwm_val = FW_PS_STATE_RF_OFF_LOW_PWR; /* RF off */ in _rtl8723be_fwlps_enter()
276 _rtl8723be_set_fw_clock_off(hw, rpwm_val); in _rtl8723be_fwlps_enter()
278 rpwm_val = FW_PS_STATE_RF_OFF; /* RF off */ in _rtl8723be_fwlps_enter()
284 (u8 *)(&rpwm_val)); in _rtl8723be_fwlps_enter()
626 u8 rpwm_val; in rtl8723be_set_hw_reg() local
628 rpwm_val = rtl_read_byte(rtlpriv, REG_PCIE_HRPWM); in rtl8723be_set_hw_reg()
631 if (rpwm_val & BIT(7)) { in rtl8723be_set_hw_reg()