/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/ |
D | hw.c | 117 u8 rpwm_val, bool b_need_turn_off_ckk) in _rtl88ee_set_fw_clock_on() argument 152 rtlpriv->cfg->ops->get_hw_reg(hw, HW_VAR_SET_RPWM, &rpwm_val); in _rtl88ee_set_fw_clock_on() 153 if (FW_PS_IS_ACK(rpwm_val)) { in _rtl88ee_set_fw_clock_on() 187 u8 rpwm_val) in _rtl88ee_set_fw_clock_off() argument 227 rtlhal->fw_ps_state = FW_PS_STATE(rpwm_val); in _rtl88ee_set_fw_clock_off() 230 &rpwm_val); in _rtl88ee_set_fw_clock_off() 244 u8 rpwm_val = 0; in _rtl88ee_set_fw_ps_rf_on() local 246 rpwm_val |= (FW_PS_STATE_RF_OFF_88E | FW_PS_ACK); in _rtl88ee_set_fw_ps_rf_on() 247 _rtl88ee_set_fw_clock_on(hw, rpwm_val, true); in _rtl88ee_set_fw_ps_rf_on() 252 u8 rpwm_val = 0; in _rtl88ee_set_fw_ps_rf_off_low_power() local [all …]
|
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/ |
D | hw.c | 94 u8 rpwm_val, bool b_need_turn_off_ckk) in _rtl92ee_set_fw_clock_on() argument 131 (u8 *)(&rpwm_val)); in _rtl92ee_set_fw_clock_on() 132 if (FW_PS_IS_ACK(rpwm_val)) { in _rtl92ee_set_fw_clock_on() 164 static void _rtl92ee_set_fw_clock_off(struct ieee80211_hw *hw, u8 rpwm_val) in _rtl92ee_set_fw_clock_off() argument 204 rtlhal->fw_ps_state = FW_PS_STATE(rpwm_val); in _rtl92ee_set_fw_clock_off() 207 (u8 *)(&rpwm_val)); in _rtl92ee_set_fw_clock_off() 221 u8 rpwm_val = 0; in _rtl92ee_set_fw_ps_rf_on() local 223 rpwm_val |= (FW_PS_STATE_RF_OFF_92E | FW_PS_ACK); in _rtl92ee_set_fw_ps_rf_on() 224 _rtl92ee_set_fw_clock_on(hw, rpwm_val, true); in _rtl92ee_set_fw_ps_rf_on() 229 u8 rpwm_val = 0; in _rtl92ee_set_fw_ps_rf_off_low_power() local [all …]
|
/Linux-v4.19/drivers/staging/rtlwifi/rtl8822be/ |
D | hw.c | 91 static void _rtl8822be_set_fw_clock_on(struct ieee80211_hw *hw, u8 rpwm_val, in _rtl8822be_set_fw_clock_on() argument 125 (u8 *)(&rpwm_val)); in _rtl8822be_set_fw_clock_on() 126 if (FW_PS_IS_ACK(rpwm_val)) { in _rtl8822be_set_fw_clock_on() 159 static void _rtl8822be_set_fw_clock_off(struct ieee80211_hw *hw, u8 rpwm_val) in _rtl8822be_set_fw_clock_off() argument 199 rtlhal->fw_ps_state = FW_PS_STATE(rpwm_val); in _rtl8822be_set_fw_clock_off() 202 (u8 *)(&rpwm_val)); in _rtl8822be_set_fw_clock_off() 216 u8 rpwm_val = 0; in _rtl8822be_set_fw_ps_rf_on() local 218 rpwm_val |= (FW_PS_STATE_RF_OFF_8822B | FW_PS_ACK); in _rtl8822be_set_fw_ps_rf_on() 219 _rtl8822be_set_fw_clock_on(hw, rpwm_val, true); in _rtl8822be_set_fw_ps_rf_on() 224 u8 rpwm_val = 0; in _rtl8822be_set_fw_ps_rf_off_low_power() local [all …]
|
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/rtl8723be/ |
D | hw.c | 121 static void _rtl8723be_set_fw_clock_on(struct ieee80211_hw *hw, u8 rpwm_val, in _rtl8723be_set_fw_clock_on() argument 158 (u8 *)(&rpwm_val)); in _rtl8723be_set_fw_clock_on() 159 if (FW_PS_IS_ACK(rpwm_val)) { in _rtl8723be_set_fw_clock_on() 190 static void _rtl8723be_set_fw_clock_off(struct ieee80211_hw *hw, u8 rpwm_val) in _rtl8723be_set_fw_clock_off() argument 229 rtlhal->fw_ps_state = FW_PS_STATE(rpwm_val); in _rtl8723be_set_fw_clock_off() 232 (u8 *)(&rpwm_val)); in _rtl8723be_set_fw_clock_off() 247 u8 rpwm_val = 0; in _rtl8723be_set_fw_ps_rf_on() local 248 rpwm_val |= (FW_PS_STATE_RF_OFF | FW_PS_ACK); in _rtl8723be_set_fw_ps_rf_on() 249 _rtl8723be_set_fw_clock_on(hw, rpwm_val, true); in _rtl8723be_set_fw_ps_rf_on() 258 u8 rpwm_val = 0, fw_pwrmode = FW_PS_ACTIVE_MODE; in _rtl8723be_fwlps_leave() local [all …]
|
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/ |
D | hw.c | 118 u8 rpwm_val, bool b_need_turn_off_ckk) in _rtl8821ae_set_fw_clock_on() argument 155 (u8 *)(&rpwm_val)); in _rtl8821ae_set_fw_clock_on() 156 if (FW_PS_IS_ACK(rpwm_val)) { in _rtl8821ae_set_fw_clock_on() 188 u8 rpwm_val) in _rtl8821ae_set_fw_clock_off() argument 228 rtlhal->fw_ps_state = FW_PS_STATE(rpwm_val); in _rtl8821ae_set_fw_clock_off() 231 (u8 *)(&rpwm_val)); in _rtl8821ae_set_fw_clock_off() 245 u8 rpwm_val = 0; in _rtl8821ae_set_fw_ps_rf_on() local 247 rpwm_val |= (FW_PS_STATE_RF_OFF_8821AE | FW_PS_ACK); in _rtl8821ae_set_fw_ps_rf_on() 248 _rtl8821ae_set_fw_clock_on(hw, rpwm_val, true); in _rtl8821ae_set_fw_ps_rf_on() 257 u8 rpwm_val = 0, fw_pwrmode = FW_PS_ACTIVE_MODE; in _rtl8821ae_fwlps_leave() local [all …]
|
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/btcoexist/ |
D | halbtc8821a1ant.c | 889 u8 lps_val, u8 rpwm_val) in btc8821a1ant_set_lps_rpwm() argument 892 u8 rpwm = rpwm_val; in btc8821a1ant_set_lps_rpwm() 899 bool force_exec, u8 lps_val, u8 rpwm_val) in btc8821a1ant_lps_rpwm() argument 905 (force_exec ? "force to" : ""), lps_val, rpwm_val); in btc8821a1ant_lps_rpwm() 907 coex_dm->cur_rpwm = rpwm_val; in btc8821a1ant_lps_rpwm() 923 btc8821a1ant_set_lps_rpwm(btcoexist, lps_val, rpwm_val); in btc8821a1ant_lps_rpwm() 1358 u8 ps_type, u8 lps_val, u8 rpwm_val) in btc8821a1ant_power_save_state() argument 1374 rpwm_val); in btc8821a1ant_power_save_state() 2256 btcoexist->bt_info.rpwm_val); in ex_btc8821a1ant_display_coex_info()
|
D | halbtc8723b1ant.c | 741 u8 lps_val, u8 rpwm_val) in halbtc8723b1ant_set_lps_rpwm() argument 744 u8 rpwm = rpwm_val; in halbtc8723b1ant_set_lps_rpwm() 752 u8 lps_val, u8 rpwm_val) in halbtc8723b1ant_lps_rpwm() argument 758 (force_exec ? "force to" : ""), lps_val, rpwm_val); in halbtc8723b1ant_lps_rpwm() 760 coex_dm->cur_rpwm = rpwm_val; in halbtc8723b1ant_lps_rpwm() 776 halbtc8723b1ant_set_lps_rpwm(btcoexist, lps_val, rpwm_val); in halbtc8723b1ant_lps_rpwm() 1653 u8 rpwm_val) in halbtc8723b1ant_power_save_state() argument 1669 rpwm_val); in halbtc8723b1ant_power_save_state() 2607 btcoexist->bt_info.rpwm_val); in ex_btc8723b1ant_display_coex_info()
|
D | halbtc8723b2ant.c | 1023 u8 lps_val, u8 rpwm_val) in btc8723b2ant_set_lps_rpwm() argument 1026 u8 rpwm = rpwm_val; in btc8723b2ant_set_lps_rpwm() 1033 bool force_exec, u8 lps_val, u8 rpwm_val) in btc8723b2ant_lps_rpwm() argument 1036 coex_dm->cur_rpwm = rpwm_val; in btc8723b2ant_lps_rpwm() 1043 btc8723b2ant_set_lps_rpwm(btcoexist, lps_val, rpwm_val); in btc8723b2ant_lps_rpwm() 1519 u8 ps_type, u8 lps_val, u8 rpwm_val) in btc8723b2ant_power_save_state() argument 1536 rpwm_val); in btc8723b2ant_power_save_state()
|
D | halbtc8821a2ant.c | 1000 u8 rpwm_val) in btc8821a2ant_set_lps_rpwm() argument 1003 u8 rpwm = rpwm_val; in btc8821a2ant_set_lps_rpwm() 1010 bool force_exec, u8 lps_val, u8 rpwm_val) in btc8821a2ant_lps_rpwm() argument 1013 coex_dm->cur_rpwm = rpwm_val; in btc8821a2ant_lps_rpwm() 1020 btc8821a2ant_set_lps_rpwm(btcoexist, lps_val, rpwm_val); in btc8821a2ant_lps_rpwm() 1397 u8 ps_type, u8 lps_val, u8 rpwm_val) in btc8821a2ant_power_save_state() argument 1414 rpwm_val); in btc8821a2ant_power_save_state()
|
D | rtl_btc.c | 110 return btcoexist->bt_info.rpwm_val; in rtl_btc_get_rpwm_val()
|
D | halbtcoutsrc.h | 581 u8 rpwm_val; member
|
D | halbtcoutsrc.c | 801 btcoexist->bt_info.rpwm_val = *u8_tmp; in halbtc_set() 935 btcoexist->bt_info.rpwm_val); in halbtc_display_wifi_status()
|
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/ |
D | hw.c | 406 u8 rpwm_val; in rtl92ce_set_hw_reg() local 408 rpwm_val = rtl_read_byte(rtlpriv, REG_PCIE_HRPWM); in rtl92ce_set_hw_reg() 411 if (rpwm_val & BIT(7)) { in rtl92ce_set_hw_reg() 511 u8 rpwm_val, fw_pwrmode; in rtl92ce_set_hw_reg() local 515 rpwm_val = 0x02; /* RF off */ in rtl92ce_set_hw_reg() 526 &rpwm_val); in rtl92ce_set_hw_reg() 528 rpwm_val = 0x0C; /* RF on */ in rtl92ce_set_hw_reg() 533 &rpwm_val); in rtl92ce_set_hw_reg()
|
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/ |
D | hw.c | 412 u8 rpwm_val; in rtl8723e_set_hw_reg() local 414 rpwm_val = rtl_read_byte(rtlpriv, REG_PCIE_HRPWM); in rtl8723e_set_hw_reg() 417 if (rpwm_val & BIT(7)) { in rtl8723e_set_hw_reg() 517 u8 rpwm_val, fw_pwrmode; in rtl8723e_set_hw_reg() local 521 rpwm_val = 0x02; /* RF off */ in rtl8723e_set_hw_reg() 532 (u8 *)(&rpwm_val)); in rtl8723e_set_hw_reg() 534 rpwm_val = 0x0C; /* RF on */ in rtl8723e_set_hw_reg() 539 (u8 *)(&rpwm_val)); in rtl8723e_set_hw_reg()
|
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/rtl8192se/ |
D | hw.c | 401 u8 rpwm_val, fw_pwrmode; in rtl92se_set_hw_reg() local 405 rpwm_val = 0x02; /* RF off */ in rtl92se_set_hw_reg() 415 &rpwm_val); in rtl92se_set_hw_reg() 417 rpwm_val = 0x0C; /* RF on */ in rtl92se_set_hw_reg() 421 &rpwm_val); in rtl92se_set_hw_reg()
|
/Linux-v4.19/drivers/staging/rtlwifi/btcoexist/ |
D | rtl_btc.c | 99 return btcoexist->bt_info.rpwm_val; in rtl_btc_get_rpwm_val()
|
D | halbtc8822b1ant.c | 1586 u8 lps_val, u8 rpwm_val) in halbtc8822b1ant_set_lps_rpwm() argument 1589 u8 rpwm = rpwm_val; in halbtc8822b1ant_set_lps_rpwm() 1596 bool force_exec, u8 lps_val, u8 rpwm_val) in halbtc8822b1ant_lps_rpwm() argument 1599 coex_dm->cur_rpwm = rpwm_val; in halbtc8822b1ant_lps_rpwm() 1606 halbtc8822b1ant_set_lps_rpwm(btcoexist, lps_val, rpwm_val); in halbtc8822b1ant_lps_rpwm() 1643 u8 rpwm_val) in halbtc8822b1ant_power_save_state() argument 1662 rpwm_val); in halbtc8822b1ant_power_save_state()
|
D | halbtc8822b2ant.c | 1319 u8 lps_val, u8 rpwm_val) in halbtc8822b2ant_set_lps_rpwm() argument 1322 u8 rpwm = rpwm_val; in halbtc8822b2ant_set_lps_rpwm() 1329 bool force_exec, u8 lps_val, u8 rpwm_val) in halbtc8822b2ant_lps_rpwm() argument 1332 coex_dm->cur_rpwm = rpwm_val; in halbtc8822b2ant_lps_rpwm() 1339 halbtc8822b2ant_set_lps_rpwm(btcoexist, lps_val, rpwm_val); in halbtc8822b2ant_lps_rpwm() 1378 u8 rpwm_val) in halbtc8822b2ant_power_save_state() argument 1403 rpwm_val); in halbtc8822b2ant_power_save_state()
|
D | halbtcoutsrc.h | 534 u8 rpwm_val; member
|
D | halbtcoutsrc.c | 736 btcoexist->bt_info.rpwm_val = *u8_tmp; in halbtc_set() 863 btcoexist->bt_info.rpwm_val); in halbtc_display_wifi_status()
|
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/ |
D | hw.c | 1817 u8 rpwm_val = rtl_read_byte(rtlpriv, REG_USB_HRPWM); in rtl92cu_set_hw_reg() local 1819 if (rpwm_val & BIT(7)) in rtl92cu_set_hw_reg()
|