Home
last modified time | relevance | path

Searched refs:rpwm_val (Results 1 – 16 of 16) sorted by relevance

/Linux-v5.10/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/
Dhw.c94 u8 rpwm_val, bool b_need_turn_off_ckk) in _rtl88ee_set_fw_clock_on() argument
129 rtlpriv->cfg->ops->get_hw_reg(hw, HW_VAR_SET_RPWM, &rpwm_val); in _rtl88ee_set_fw_clock_on()
130 if (FW_PS_IS_ACK(rpwm_val)) { in _rtl88ee_set_fw_clock_on()
164 u8 rpwm_val) in _rtl88ee_set_fw_clock_off() argument
204 rtlhal->fw_ps_state = FW_PS_STATE(rpwm_val); in _rtl88ee_set_fw_clock_off()
207 &rpwm_val); in _rtl88ee_set_fw_clock_off()
221 u8 rpwm_val = 0; in _rtl88ee_set_fw_ps_rf_on() local
223 rpwm_val |= (FW_PS_STATE_RF_OFF_88E | FW_PS_ACK); in _rtl88ee_set_fw_ps_rf_on()
224 _rtl88ee_set_fw_clock_on(hw, rpwm_val, true); in _rtl88ee_set_fw_ps_rf_on()
229 u8 rpwm_val = 0; in _rtl88ee_set_fw_ps_rf_off_low_power() local
[all …]
/Linux-v5.10/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/
Dhw.c72 u8 rpwm_val, bool b_need_turn_off_ckk) in _rtl92ee_set_fw_clock_on() argument
109 (u8 *)(&rpwm_val)); in _rtl92ee_set_fw_clock_on()
110 if (FW_PS_IS_ACK(rpwm_val)) { in _rtl92ee_set_fw_clock_on()
142 static void _rtl92ee_set_fw_clock_off(struct ieee80211_hw *hw, u8 rpwm_val) in _rtl92ee_set_fw_clock_off() argument
182 rtlhal->fw_ps_state = FW_PS_STATE(rpwm_val); in _rtl92ee_set_fw_clock_off()
185 (u8 *)(&rpwm_val)); in _rtl92ee_set_fw_clock_off()
199 u8 rpwm_val = 0; in _rtl92ee_set_fw_ps_rf_on() local
201 rpwm_val |= (FW_PS_STATE_RF_OFF_92E | FW_PS_ACK); in _rtl92ee_set_fw_ps_rf_on()
202 _rtl92ee_set_fw_clock_on(hw, rpwm_val, true); in _rtl92ee_set_fw_ps_rf_on()
207 u8 rpwm_val = 0; in _rtl92ee_set_fw_ps_rf_off_low_power() local
[all …]
/Linux-v5.10/drivers/net/wireless/realtek/rtlwifi/rtl8723be/
Dhw.c98 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
[all …]
/Linux-v5.10/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
Dhw.c95 u8 rpwm_val, bool b_need_turn_off_ckk) in _rtl8821ae_set_fw_clock_on() argument
132 (u8 *)(&rpwm_val)); in _rtl8821ae_set_fw_clock_on()
133 if (FW_PS_IS_ACK(rpwm_val)) { in _rtl8821ae_set_fw_clock_on()
165 u8 rpwm_val) in _rtl8821ae_set_fw_clock_off() argument
205 rtlhal->fw_ps_state = FW_PS_STATE(rpwm_val); in _rtl8821ae_set_fw_clock_off()
208 (u8 *)(&rpwm_val)); in _rtl8821ae_set_fw_clock_off()
222 u8 rpwm_val = 0; in _rtl8821ae_set_fw_ps_rf_on() local
224 rpwm_val |= (FW_PS_STATE_RF_OFF_8821AE | FW_PS_ACK); in _rtl8821ae_set_fw_ps_rf_on()
225 _rtl8821ae_set_fw_clock_on(hw, rpwm_val, true); in _rtl8821ae_set_fw_ps_rf_on()
234 u8 rpwm_val = 0, fw_pwrmode = FW_PS_ACTIVE_MODE; in _rtl8821ae_fwlps_leave() local
[all …]
/Linux-v5.10/drivers/net/wireless/realtek/rtlwifi/btcoexist/
Dhalbtc8821a1ant.c867 u8 lps_val, u8 rpwm_val) in btc8821a1ant_set_lps_rpwm() argument
870 u8 rpwm = rpwm_val; in btc8821a1ant_set_lps_rpwm()
877 bool force_exec, u8 lps_val, u8 rpwm_val) in btc8821a1ant_lps_rpwm() argument
883 (force_exec ? "force to" : ""), lps_val, rpwm_val); in btc8821a1ant_lps_rpwm()
885 coex_dm->cur_rpwm = rpwm_val; in btc8821a1ant_lps_rpwm()
901 btc8821a1ant_set_lps_rpwm(btcoexist, lps_val, rpwm_val); in btc8821a1ant_lps_rpwm()
1336 u8 ps_type, u8 lps_val, u8 rpwm_val) in btc8821a1ant_power_save_state() argument
1352 rpwm_val); in btc8821a1ant_power_save_state()
2234 btcoexist->bt_info.rpwm_val); in ex_btc8821a1ant_display_coex_info()
Dhalbtc8723b1ant.c719 u8 lps_val, u8 rpwm_val) in halbtc8723b1ant_set_lps_rpwm() argument
722 u8 rpwm = rpwm_val; in halbtc8723b1ant_set_lps_rpwm()
730 u8 lps_val, u8 rpwm_val) in halbtc8723b1ant_lps_rpwm() argument
736 (force_exec ? "force to" : ""), lps_val, rpwm_val); in halbtc8723b1ant_lps_rpwm()
738 coex_dm->cur_rpwm = rpwm_val; in halbtc8723b1ant_lps_rpwm()
754 halbtc8723b1ant_set_lps_rpwm(btcoexist, lps_val, rpwm_val); in halbtc8723b1ant_lps_rpwm()
1624 u8 rpwm_val) in halbtc8723b1ant_power_save_state() argument
1640 rpwm_val); in halbtc8723b1ant_power_save_state()
2578 btcoexist->bt_info.rpwm_val); in ex_btc8723b1ant_display_coex_info()
Dhalbtc8821a2ant.c978 u8 rpwm_val) in btc8821a2ant_set_lps_rpwm() argument
981 u8 rpwm = rpwm_val; in btc8821a2ant_set_lps_rpwm()
988 bool force_exec, u8 lps_val, u8 rpwm_val) in btc8821a2ant_lps_rpwm() argument
991 coex_dm->cur_rpwm = rpwm_val; in btc8821a2ant_lps_rpwm()
998 btc8821a2ant_set_lps_rpwm(btcoexist, lps_val, rpwm_val); in btc8821a2ant_lps_rpwm()
1375 u8 ps_type, u8 lps_val, u8 rpwm_val) in btc8821a2ant_power_save_state() argument
1392 rpwm_val); in btc8821a2ant_power_save_state()
Dhalbtc8723b2ant.c1002 u8 lps_val, u8 rpwm_val) in btc8723b2ant_set_lps_rpwm() argument
1005 u8 rpwm = rpwm_val; in btc8723b2ant_set_lps_rpwm()
1012 bool force_exec, u8 lps_val, u8 rpwm_val) in btc8723b2ant_lps_rpwm() argument
1015 coex_dm->cur_rpwm = rpwm_val; in btc8723b2ant_lps_rpwm()
1022 btc8723b2ant_set_lps_rpwm(btcoexist, lps_val, rpwm_val); in btc8723b2ant_lps_rpwm()
1498 u8 ps_type, u8 lps_val, u8 rpwm_val) in btc8723b2ant_power_save_state() argument
1515 rpwm_val); in btc8723b2ant_power_save_state()
Drtl_btc.c89 return btcoexist->bt_info.rpwm_val; in rtl_btc_get_rpwm_val()
Dhalbtcoutsrc.h560 u8 rpwm_val; member
Dhalbtcoutsrc.c773 btcoexist->bt_info.rpwm_val = *u8_tmp; in halbtc_set()
905 btcoexist->bt_info.rpwm_val); in halbtc_display_wifi_status()
/Linux-v5.10/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/
Dhw.c390 u8 rpwm_val; in rtl8723e_set_hw_reg() local
392 rpwm_val = rtl_read_byte(rtlpriv, REG_PCIE_HRPWM); in rtl8723e_set_hw_reg()
395 if (rpwm_val & BIT(7)) { in rtl8723e_set_hw_reg()
495 u8 rpwm_val, fw_pwrmode; in rtl8723e_set_hw_reg() local
499 rpwm_val = 0x02; /* RF off */ in rtl8723e_set_hw_reg()
510 (u8 *)(&rpwm_val)); in rtl8723e_set_hw_reg()
512 rpwm_val = 0x0C; /* RF on */ in rtl8723e_set_hw_reg()
517 (u8 *)(&rpwm_val)); in rtl8723e_set_hw_reg()
/Linux-v5.10/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/
Dhw.c387 u8 rpwm_val; in rtl92ce_set_hw_reg() local
389 rpwm_val = rtl_read_byte(rtlpriv, REG_PCIE_HRPWM); in rtl92ce_set_hw_reg()
392 if (rpwm_val & BIT(7)) { in rtl92ce_set_hw_reg()
493 u8 rpwm_val, fw_pwrmode; in rtl92ce_set_hw_reg() local
497 rpwm_val = 0x02; /* RF off */ in rtl92ce_set_hw_reg()
508 &rpwm_val); in rtl92ce_set_hw_reg()
510 rpwm_val = 0x0C; /* RF on */ in rtl92ce_set_hw_reg()
515 &rpwm_val); in rtl92ce_set_hw_reg()
/Linux-v5.10/drivers/net/wireless/realtek/rtlwifi/rtl8192se/
Dhw.c379 u8 rpwm_val, fw_pwrmode; in rtl92se_set_hw_reg() local
383 rpwm_val = 0x02; /* RF off */ in rtl92se_set_hw_reg()
393 &rpwm_val); in rtl92se_set_hw_reg()
395 rpwm_val = 0x0C; /* RF on */ in rtl92se_set_hw_reg()
399 &rpwm_val); in rtl92se_set_hw_reg()
/Linux-v5.10/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/
Dhw.c1804 u8 rpwm_val = rtl_read_byte(rtlpriv, REG_USB_HRPWM); in rtl92cu_set_hw_reg() local
1806 if (rpwm_val & BIT(7)) in rtl92cu_set_hw_reg()
/Linux-v5.10/drivers/net/wireless/realtek/rtw88/
Dcoex.c832 u8 lps_val, u8 rpwm_val) in rtw_coex_power_save_state() argument