/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/ |
D | hw.c | 116 u8 rpwm_val, bool b_need_turn_off_ckk) in _rtl88ee_set_fw_clock_on() argument 151 rtlpriv->cfg->ops->get_hw_reg(hw, HW_VAR_SET_RPWM, &rpwm_val); in _rtl88ee_set_fw_clock_on() 152 if (FW_PS_IS_ACK(rpwm_val)) { in _rtl88ee_set_fw_clock_on() 186 u8 rpwm_val) in _rtl88ee_set_fw_clock_off() argument 226 rtlhal->fw_ps_state = FW_PS_STATE(rpwm_val); in _rtl88ee_set_fw_clock_off() 229 &rpwm_val); in _rtl88ee_set_fw_clock_off() 243 u8 rpwm_val = 0; in _rtl88ee_set_fw_ps_rf_on() local 245 rpwm_val |= (FW_PS_STATE_RF_OFF_88E | FW_PS_ACK); in _rtl88ee_set_fw_ps_rf_on() 246 _rtl88ee_set_fw_clock_on(hw, rpwm_val, true); in _rtl88ee_set_fw_ps_rf_on() 251 u8 rpwm_val = 0; in _rtl88ee_set_fw_ps_rf_off_low_power() local [all …]
|
/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 …]
|
/drivers/net/wireless/realtek/rtlwifi/rtl8723be/ |
D | hw.c | 119 static void _rtl8723be_set_fw_clock_on(struct ieee80211_hw *hw, u8 rpwm_val, in _rtl8723be_set_fw_clock_on() argument 156 (u8 *)(&rpwm_val)); in _rtl8723be_set_fw_clock_on() 157 if (FW_PS_IS_ACK(rpwm_val)) { in _rtl8723be_set_fw_clock_on() 188 static void _rtl8723be_set_fw_clock_off(struct ieee80211_hw *hw, u8 rpwm_val) in _rtl8723be_set_fw_clock_off() argument 227 rtlhal->fw_ps_state = FW_PS_STATE(rpwm_val); in _rtl8723be_set_fw_clock_off() 230 (u8 *)(&rpwm_val)); in _rtl8723be_set_fw_clock_off() 245 u8 rpwm_val = 0; in _rtl8723be_set_fw_ps_rf_on() local 246 rpwm_val |= (FW_PS_STATE_RF_OFF | FW_PS_ACK); in _rtl8723be_set_fw_ps_rf_on() 247 _rtl8723be_set_fw_clock_on(hw, rpwm_val, true); in _rtl8723be_set_fw_ps_rf_on() 256 u8 rpwm_val = 0, fw_pwrmode = FW_PS_ACTIVE_MODE; in _rtl8723be_fwlps_leave() local [all …]
|
/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/ |
D | hw.c | 117 u8 rpwm_val, bool b_need_turn_off_ckk) in _rtl8821ae_set_fw_clock_on() argument 154 (u8 *)(&rpwm_val)); in _rtl8821ae_set_fw_clock_on() 155 if (FW_PS_IS_ACK(rpwm_val)) { in _rtl8821ae_set_fw_clock_on() 187 u8 rpwm_val) in _rtl8821ae_set_fw_clock_off() argument 227 rtlhal->fw_ps_state = FW_PS_STATE(rpwm_val); in _rtl8821ae_set_fw_clock_off() 230 (u8 *)(&rpwm_val)); in _rtl8821ae_set_fw_clock_off() 244 u8 rpwm_val = 0; in _rtl8821ae_set_fw_ps_rf_on() local 246 rpwm_val |= (FW_PS_STATE_RF_OFF_8821AE | FW_PS_ACK); in _rtl8821ae_set_fw_ps_rf_on() 247 _rtl8821ae_set_fw_clock_on(hw, rpwm_val, true); in _rtl8821ae_set_fw_ps_rf_on() 256 u8 rpwm_val = 0, fw_pwrmode = FW_PS_ACTIVE_MODE; in _rtl8821ae_fwlps_leave() local [all …]
|
/drivers/net/wireless/realtek/rtlwifi/btcoexist/ |
D | halbtc8821a1ant.c | 889 u8 lps_val, u8 rpwm_val) in halbtc8821a1ant_set_lps_rpwm() argument 892 u8 rpwm = rpwm_val; in halbtc8821a1ant_set_lps_rpwm() 899 bool force_exec, u8 lps_val, u8 rpwm_val) in halbtc8821a1ant_lps_rpwm() argument 903 (force_exec ? "force to" : ""), lps_val, rpwm_val); in halbtc8821a1ant_lps_rpwm() 905 coex_dm->cur_rpwm = rpwm_val; in halbtc8821a1ant_lps_rpwm() 921 halbtc8821a1ant_set_lps_rpwm(btcoexist, lps_val, rpwm_val); in halbtc8821a1ant_lps_rpwm() 1513 u8 rpwm_val) in halbtc8821a1ant_power_save_state() argument 1529 NORMAL_EXEC, lps_val, rpwm_val); in halbtc8821a1ant_power_save_state() 2366 btcoexist->bt_info.rpwm_val); in ex_halbtc8821a1ant_display_coex_info()
|
D | halbtc8723b1ant.c | 908 u8 lps_val, u8 rpwm_val) in halbtc8723b1ant_set_lps_rpwm() argument 911 u8 rpwm = rpwm_val; in halbtc8723b1ant_set_lps_rpwm() 919 u8 lps_val, u8 rpwm_val) in halbtc8723b1ant_LpsRpwm() argument 923 (force_exec ? "force to" : ""), lps_val, rpwm_val); in halbtc8723b1ant_LpsRpwm() 925 coex_dm->cur_rpwm = rpwm_val; in halbtc8723b1ant_LpsRpwm() 941 halbtc8723b1ant_set_lps_rpwm(btcoexist, lps_val, rpwm_val); in halbtc8723b1ant_LpsRpwm() 1634 u8 rpwm_val) in halbtc8723b1ant_power_save_state() argument 1649 rpwm_val); in halbtc8723b1ant_power_save_state() 2526 btcoexist->bt_info.rpwm_val); in ex_halbtc8723b1ant_display_coex_info()
|
D | halbtcoutsrc.h | 420 u8 rpwm_val; member
|
D | halbtcoutsrc.c | 422 btcoexist->bt_info.rpwm_val = *u8_tmp; in halbtc_set()
|
/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()
|
/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/ |
D | hw.c | 413 u8 rpwm_val; in rtl92ce_set_hw_reg() local 415 rpwm_val = rtl_read_byte(rtlpriv, REG_PCIE_HRPWM); in rtl92ce_set_hw_reg() 418 if (rpwm_val & BIT(7)) { in rtl92ce_set_hw_reg() 518 u8 rpwm_val, fw_pwrmode; in rtl92ce_set_hw_reg() local 522 rpwm_val = 0x02; /* RF off */ in rtl92ce_set_hw_reg() 533 &rpwm_val); in rtl92ce_set_hw_reg() 535 rpwm_val = 0x0C; /* RF on */ in rtl92ce_set_hw_reg() 540 &rpwm_val); in rtl92ce_set_hw_reg()
|
/drivers/net/wireless/realtek/rtlwifi/rtl8192se/ |
D | hw.c | 408 u8 rpwm_val, fw_pwrmode; in rtl92se_set_hw_reg() local 412 rpwm_val = 0x02; /* RF off */ in rtl92se_set_hw_reg() 422 &rpwm_val); in rtl92se_set_hw_reg() 424 rpwm_val = 0x0C; /* RF on */ in rtl92se_set_hw_reg() 428 &rpwm_val); in rtl92se_set_hw_reg()
|
/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/ |
D | hw.c | 1837 u8 rpwm_val = rtl_read_byte(rtlpriv, REG_USB_HRPWM); in rtl92cu_set_hw_reg() local 1839 if (rpwm_val & BIT(7)) in rtl92cu_set_hw_reg()
|