Home
last modified time | relevance | path

Searched refs:boxnum (Results 1 – 7 of 7) sorted by relevance

/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8192d/
Dfw_common.c195 static bool _rtl92d_check_fw_read_last_h2c(struct ieee80211_hw *hw, u8 boxnum) in _rtl92d_check_fw_read_last_h2c() argument
202 if (((val_hmetfr >> boxnum) & BIT(0)) == 0) in _rtl92d_check_fw_read_last_h2c()
222 u8 boxnum; in rtl92d_fill_h2c_cmd() local
270 boxnum = rtlhal->last_hmeboxnum; in rtl92d_fill_h2c_cmd()
271 if (boxnum > 3) { in rtl92d_fill_h2c_cmd()
272 pr_err("boxnum %#x too big\n", boxnum); in rtl92d_fill_h2c_cmd()
276 box_reg = REG_HMEBOX_0 + boxnum * SIZE_OF_REG_HMEBOX; in rtl92d_fill_h2c_cmd()
277 box_extreg = REG_HMEBOX_EXT_0 + boxnum * SIZE_OF_REG_HMEBOX_EXT; in rtl92d_fill_h2c_cmd()
279 isfw_read = _rtl92d_check_fw_read_last_h2c(hw, boxnum); in rtl92d_fill_h2c_cmd()
285 boxnum); in rtl92d_fill_h2c_cmd()
[all …]
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/
Dfw.c14 u8 boxnum) in _rtl8723e_check_fw_read_last_h2c() argument
21 val_mcutst_1 = rtl_read_byte(rtlpriv, (REG_MCUTST_1 + boxnum)); in _rtl8723e_check_fw_read_last_h2c()
23 if (((val_hmetfr >> boxnum) & BIT(0)) == 0 && val_mcutst_1 == 0) in _rtl8723e_check_fw_read_last_h2c()
33 u8 boxnum; in _rtl8723e_fill_h2c_command() local
84 boxnum = rtlhal->last_hmeboxnum; in _rtl8723e_fill_h2c_command()
85 switch (boxnum) { in _rtl8723e_fill_h2c_command()
104 boxnum); in _rtl8723e_fill_h2c_command()
108 isfw_read = _rtl8723e_check_fw_read_last_h2c(hw, boxnum); in _rtl8723e_fill_h2c_command()
115 boxnum); in _rtl8723e_fill_h2c_command()
122 boxnum); in _rtl8723e_fill_h2c_command()
[all …]
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8723be/
Dfw.c14 u8 boxnum) in _rtl8723be_check_fw_read_last_h2c() argument
21 if (((val_hmetfr >> boxnum) & BIT(0)) == 0) in _rtl8723be_check_fw_read_last_h2c()
31 u8 boxnum; in _rtl8723be_fill_h2c_command() local
82 boxnum = rtlhal->last_hmeboxnum; in _rtl8723be_fill_h2c_command()
83 switch (boxnum) { in _rtl8723be_fill_h2c_command()
102 boxnum); in _rtl8723be_fill_h2c_command()
106 isfw_read = _rtl8723be_check_fw_read_last_h2c(hw, boxnum); in _rtl8723be_fill_h2c_command()
112 boxnum); in _rtl8723be_fill_h2c_command()
119 boxnum); in _rtl8723be_fill_h2c_command()
123 boxnum, u1b_tmp); in _rtl8723be_fill_h2c_command()
[all …]
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8192c/
Dfw_common.c169 static bool _rtl92c_check_fw_read_last_h2c(struct ieee80211_hw *hw, u8 boxnum) in _rtl92c_check_fw_read_last_h2c() argument
176 val_mcutst_1 = rtl_read_byte(rtlpriv, (REG_MCUTST_1 + boxnum)); in _rtl92c_check_fw_read_last_h2c()
178 if (((val_hmetfr >> boxnum) & BIT(0)) == 0 && val_mcutst_1 == 0) in _rtl92c_check_fw_read_last_h2c()
188 u8 boxnum; in _rtl92c_fill_h2c_command() local
238 boxnum = rtlhal->last_hmeboxnum; in _rtl92c_fill_h2c_command()
239 switch (boxnum) { in _rtl92c_fill_h2c_command()
258 "switch case %#x not processed\n", boxnum); in _rtl92c_fill_h2c_command()
262 isfw_read = _rtl92c_check_fw_read_last_h2c(hw, boxnum); in _rtl92c_fill_h2c_command()
268 boxnum); in _rtl92c_fill_h2c_command()
274 isfw_read = _rtl92c_check_fw_read_last_h2c(hw, boxnum); in _rtl92c_fill_h2c_command()
[all …]
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/
Dfw.c154 static bool _rtl88e_check_fw_read_last_h2c(struct ieee80211_hw *hw, u8 boxnum) in _rtl88e_check_fw_read_last_h2c() argument
160 if (((val_hmetfr >> boxnum) & BIT(0)) == 0) in _rtl88e_check_fw_read_last_h2c()
171 u8 boxnum; in _rtl88e_fill_h2c_command() local
222 boxnum = rtlhal->last_hmeboxnum; in _rtl88e_fill_h2c_command()
223 switch (boxnum) { in _rtl88e_fill_h2c_command()
242 "switch case %#x not processed\n", boxnum); in _rtl88e_fill_h2c_command()
245 isfw_read = _rtl88e_check_fw_read_last_h2c(hw, boxnum); in _rtl88e_fill_h2c_command()
251 boxnum); in _rtl88e_fill_h2c_command()
257 isfw_read = _rtl88e_check_fw_read_last_h2c(hw, boxnum); in _rtl88e_fill_h2c_command()
261 boxnum, u1b_tmp); in _rtl88e_fill_h2c_command()
[all …]
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/
Dfw.c151 static bool _rtl92ee_check_fw_read_last_h2c(struct ieee80211_hw *hw, u8 boxnum) in _rtl92ee_check_fw_read_last_h2c() argument
158 if (((val_hmetfr >> boxnum) & BIT(0)) == 0) in _rtl92ee_check_fw_read_last_h2c()
169 u8 boxnum; in _rtl92ee_fill_h2c_command() local
224 boxnum = rtlhal->last_hmeboxnum; in _rtl92ee_fill_h2c_command()
225 switch (boxnum) { in _rtl92ee_fill_h2c_command()
244 "switch case %#x not processed\n", boxnum); in _rtl92ee_fill_h2c_command()
262 isfw_read = _rtl92ee_check_fw_read_last_h2c(hw, boxnum); in _rtl92ee_fill_h2c_command()
268 boxnum); in _rtl92ee_fill_h2c_command()
273 _rtl92ee_check_fw_read_last_h2c(hw, boxnum); in _rtl92ee_fill_h2c_command()
277 boxnum, u1b_tmp); in _rtl92ee_fill_h2c_command()
[all …]
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
Dfw.c221 u8 boxnum) in _rtl8821ae_check_fw_read_last_h2c() argument
228 if (((val_hmetfr >> boxnum) & BIT(0)) == 0) in _rtl8821ae_check_fw_read_last_h2c()
239 u8 boxnum = 0; in _rtl8821ae_fill_h2c_command() local
284 boxnum = rtlhal->last_hmeboxnum; in _rtl8821ae_fill_h2c_command()
285 switch (boxnum) { in _rtl8821ae_fill_h2c_command()
304 "switch case %#x not processed\n", boxnum); in _rtl8821ae_fill_h2c_command()
322 _rtl8821ae_check_fw_read_last_h2c(hw, boxnum); in _rtl8821ae_fill_h2c_command()
329 boxnum); in _rtl8821ae_fill_h2c_command()
336 _rtl8821ae_check_fw_read_last_h2c(hw, boxnum); in _rtl8821ae_fill_h2c_command()
340 boxnum, u1b_tmp); in _rtl8821ae_fill_h2c_command()
[all …]