Lines Matching refs:boxnum
195 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()
291 isfw_read = _rtl92d_check_fw_read_last_h2c(hw, boxnum); in rtl92d_fill_h2c_cmd()
295 boxnum, u1b_tmp); in rtl92d_fill_h2c_cmd()
301 boxnum); in rtl92d_fill_h2c_cmd()
348 rtlhal->last_hmeboxnum = boxnum + 1; in rtl92d_fill_h2c_cmd()