Lines Matching refs:cmd
15 static inline void FWCMD_SET_ADDR_IDX(void *cmd, u32 value) in FWCMD_SET_ADDR_IDX() argument
17 le32p_replace_bits((__le32 *)(cmd) + 1, value, GENMASK(7, 0)); in FWCMD_SET_ADDR_IDX()
20 static inline void FWCMD_SET_ADDR_OFFSET(void *cmd, u32 value) in FWCMD_SET_ADDR_OFFSET() argument
22 le32p_replace_bits((__le32 *)(cmd) + 1, value, GENMASK(15, 8)); in FWCMD_SET_ADDR_OFFSET()
25 static inline void FWCMD_SET_ADDR_LEN(void *cmd, u32 value) in FWCMD_SET_ADDR_LEN() argument
27 le32p_replace_bits((__le32 *)(cmd) + 1, value, GENMASK(23, 16)); in FWCMD_SET_ADDR_LEN()
30 static inline void FWCMD_SET_ADDR_VALID(void *cmd, u32 value) in FWCMD_SET_ADDR_VALID() argument
32 le32p_replace_bits((__le32 *)(cmd) + 2, value, BIT(0)); in FWCMD_SET_ADDR_VALID()
35 static inline void FWCMD_SET_ADDR_NET_TYPE(void *cmd, u32 value) in FWCMD_SET_ADDR_NET_TYPE() argument
37 le32p_replace_bits((__le32 *)(cmd) + 2, value, GENMASK(2, 1)); in FWCMD_SET_ADDR_NET_TYPE()
40 static inline void FWCMD_SET_ADDR_BCN_HIT_COND(void *cmd, u32 value) in FWCMD_SET_ADDR_BCN_HIT_COND() argument
42 le32p_replace_bits((__le32 *)(cmd) + 2, value, GENMASK(4, 3)); in FWCMD_SET_ADDR_BCN_HIT_COND()
45 static inline void FWCMD_SET_ADDR_HIT_RULE(void *cmd, u32 value) in FWCMD_SET_ADDR_HIT_RULE() argument
47 le32p_replace_bits((__le32 *)(cmd) + 2, value, GENMASK(6, 5)); in FWCMD_SET_ADDR_HIT_RULE()
50 static inline void FWCMD_SET_ADDR_BB_SEL(void *cmd, u32 value) in FWCMD_SET_ADDR_BB_SEL() argument
52 le32p_replace_bits((__le32 *)(cmd) + 2, value, BIT(7)); in FWCMD_SET_ADDR_BB_SEL()
55 static inline void FWCMD_SET_ADDR_ADDR_MASK(void *cmd, u32 value) in FWCMD_SET_ADDR_ADDR_MASK() argument
57 le32p_replace_bits((__le32 *)(cmd) + 2, value, GENMASK(13, 8)); in FWCMD_SET_ADDR_ADDR_MASK()
60 static inline void FWCMD_SET_ADDR_MASK_SEL(void *cmd, u32 value) in FWCMD_SET_ADDR_MASK_SEL() argument
62 le32p_replace_bits((__le32 *)(cmd) + 2, value, GENMASK(15, 14)); in FWCMD_SET_ADDR_MASK_SEL()
65 static inline void FWCMD_SET_ADDR_SMA_HASH(void *cmd, u32 value) in FWCMD_SET_ADDR_SMA_HASH() argument
67 le32p_replace_bits((__le32 *)(cmd) + 2, value, GENMASK(23, 16)); in FWCMD_SET_ADDR_SMA_HASH()
70 static inline void FWCMD_SET_ADDR_TMA_HASH(void *cmd, u32 value) in FWCMD_SET_ADDR_TMA_HASH() argument
72 le32p_replace_bits((__le32 *)(cmd) + 2, value, GENMASK(31, 24)); in FWCMD_SET_ADDR_TMA_HASH()
75 static inline void FWCMD_SET_ADDR_BSSID_CAM_IDX(void *cmd, u32 value) in FWCMD_SET_ADDR_BSSID_CAM_IDX() argument
77 le32p_replace_bits((__le32 *)(cmd) + 3, value, GENMASK(5, 0)); in FWCMD_SET_ADDR_BSSID_CAM_IDX()
80 static inline void FWCMD_SET_ADDR_SMA0(void *cmd, u32 value) in FWCMD_SET_ADDR_SMA0() argument
82 le32p_replace_bits((__le32 *)(cmd) + 4, value, GENMASK(7, 0)); in FWCMD_SET_ADDR_SMA0()
85 static inline void FWCMD_SET_ADDR_SMA1(void *cmd, u32 value) in FWCMD_SET_ADDR_SMA1() argument
87 le32p_replace_bits((__le32 *)(cmd) + 4, value, GENMASK(15, 8)); in FWCMD_SET_ADDR_SMA1()
90 static inline void FWCMD_SET_ADDR_SMA2(void *cmd, u32 value) in FWCMD_SET_ADDR_SMA2() argument
92 le32p_replace_bits((__le32 *)(cmd) + 4, value, GENMASK(23, 16)); in FWCMD_SET_ADDR_SMA2()
95 static inline void FWCMD_SET_ADDR_SMA3(void *cmd, u32 value) in FWCMD_SET_ADDR_SMA3() argument
97 le32p_replace_bits((__le32 *)(cmd) + 4, value, GENMASK(31, 24)); in FWCMD_SET_ADDR_SMA3()
100 static inline void FWCMD_SET_ADDR_SMA4(void *cmd, u32 value) in FWCMD_SET_ADDR_SMA4() argument
102 le32p_replace_bits((__le32 *)(cmd) + 5, value, GENMASK(7, 0)); in FWCMD_SET_ADDR_SMA4()
105 static inline void FWCMD_SET_ADDR_SMA5(void *cmd, u32 value) in FWCMD_SET_ADDR_SMA5() argument
107 le32p_replace_bits((__le32 *)(cmd) + 5, value, GENMASK(15, 8)); in FWCMD_SET_ADDR_SMA5()
110 static inline void FWCMD_SET_ADDR_TMA0(void *cmd, u32 value) in FWCMD_SET_ADDR_TMA0() argument
112 le32p_replace_bits((__le32 *)(cmd) + 5, value, GENMASK(23, 16)); in FWCMD_SET_ADDR_TMA0()
115 static inline void FWCMD_SET_ADDR_TMA1(void *cmd, u32 value) in FWCMD_SET_ADDR_TMA1() argument
117 le32p_replace_bits((__le32 *)(cmd) + 5, value, GENMASK(31, 24)); in FWCMD_SET_ADDR_TMA1()
120 static inline void FWCMD_SET_ADDR_TMA2(void *cmd, u32 value) in FWCMD_SET_ADDR_TMA2() argument
122 le32p_replace_bits((__le32 *)(cmd) + 6, value, GENMASK(7, 0)); in FWCMD_SET_ADDR_TMA2()
125 static inline void FWCMD_SET_ADDR_TMA3(void *cmd, u32 value) in FWCMD_SET_ADDR_TMA3() argument
127 le32p_replace_bits((__le32 *)(cmd) + 6, value, GENMASK(15, 8)); in FWCMD_SET_ADDR_TMA3()
130 static inline void FWCMD_SET_ADDR_TMA4(void *cmd, u32 value) in FWCMD_SET_ADDR_TMA4() argument
132 le32p_replace_bits((__le32 *)(cmd) + 6, value, GENMASK(23, 16)); in FWCMD_SET_ADDR_TMA4()
135 static inline void FWCMD_SET_ADDR_TMA5(void *cmd, u32 value) in FWCMD_SET_ADDR_TMA5() argument
137 le32p_replace_bits((__le32 *)(cmd) + 6, value, GENMASK(31, 24)); in FWCMD_SET_ADDR_TMA5()
140 static inline void FWCMD_SET_ADDR_MACID(void *cmd, u32 value) in FWCMD_SET_ADDR_MACID() argument
142 le32p_replace_bits((__le32 *)(cmd) + 8, value, GENMASK(7, 0)); in FWCMD_SET_ADDR_MACID()
145 static inline void FWCMD_SET_ADDR_PORT_INT(void *cmd, u32 value) in FWCMD_SET_ADDR_PORT_INT() argument
147 le32p_replace_bits((__le32 *)(cmd) + 8, value, GENMASK(10, 8)); in FWCMD_SET_ADDR_PORT_INT()
150 static inline void FWCMD_SET_ADDR_TSF_SYNC(void *cmd, u32 value) in FWCMD_SET_ADDR_TSF_SYNC() argument
152 le32p_replace_bits((__le32 *)(cmd) + 8, value, GENMASK(13, 11)); in FWCMD_SET_ADDR_TSF_SYNC()
155 static inline void FWCMD_SET_ADDR_TF_TRS(void *cmd, u32 value) in FWCMD_SET_ADDR_TF_TRS() argument
157 le32p_replace_bits((__le32 *)(cmd) + 8, value, BIT(14)); in FWCMD_SET_ADDR_TF_TRS()
160 static inline void FWCMD_SET_ADDR_LSIG_TXOP(void *cmd, u32 value) in FWCMD_SET_ADDR_LSIG_TXOP() argument
162 le32p_replace_bits((__le32 *)(cmd) + 8, value, BIT(15)); in FWCMD_SET_ADDR_LSIG_TXOP()
165 static inline void FWCMD_SET_ADDR_TGT_IND(void *cmd, u32 value) in FWCMD_SET_ADDR_TGT_IND() argument
167 le32p_replace_bits((__le32 *)(cmd) + 8, value, GENMASK(26, 24)); in FWCMD_SET_ADDR_TGT_IND()
170 static inline void FWCMD_SET_ADDR_FRM_TGT_IND(void *cmd, u32 value) in FWCMD_SET_ADDR_FRM_TGT_IND() argument
172 le32p_replace_bits((__le32 *)(cmd) + 8, value, GENMASK(29, 27)); in FWCMD_SET_ADDR_FRM_TGT_IND()
175 static inline void FWCMD_SET_ADDR_AID12(void *cmd, u32 value) in FWCMD_SET_ADDR_AID12() argument
177 le32p_replace_bits((__le32 *)(cmd) + 9, value, GENMASK(11, 0)); in FWCMD_SET_ADDR_AID12()
180 static inline void FWCMD_SET_ADDR_AID12_0(void *cmd, u32 value) in FWCMD_SET_ADDR_AID12_0() argument
182 le32p_replace_bits((__le32 *)(cmd) + 9, value, GENMASK(7, 0)); in FWCMD_SET_ADDR_AID12_0()
185 static inline void FWCMD_SET_ADDR_AID12_1(void *cmd, u32 value) in FWCMD_SET_ADDR_AID12_1() argument
187 le32p_replace_bits((__le32 *)(cmd) + 9, value, GENMASK(11, 8)); in FWCMD_SET_ADDR_AID12_1()
190 static inline void FWCMD_SET_ADDR_WOL_PATTERN(void *cmd, u32 value) in FWCMD_SET_ADDR_WOL_PATTERN() argument
192 le32p_replace_bits((__le32 *)(cmd) + 9, value, BIT(12)); in FWCMD_SET_ADDR_WOL_PATTERN()
195 static inline void FWCMD_SET_ADDR_WOL_UC(void *cmd, u32 value) in FWCMD_SET_ADDR_WOL_UC() argument
197 le32p_replace_bits((__le32 *)(cmd) + 9, value, BIT(13)); in FWCMD_SET_ADDR_WOL_UC()
200 static inline void FWCMD_SET_ADDR_WOL_MAGIC(void *cmd, u32 value) in FWCMD_SET_ADDR_WOL_MAGIC() argument
202 le32p_replace_bits((__le32 *)(cmd) + 9, value, BIT(14)); in FWCMD_SET_ADDR_WOL_MAGIC()
205 static inline void FWCMD_SET_ADDR_WAPI(void *cmd, u32 value) in FWCMD_SET_ADDR_WAPI() argument
207 le32p_replace_bits((__le32 *)(cmd) + 9, value, BIT(15)); in FWCMD_SET_ADDR_WAPI()
210 static inline void FWCMD_SET_ADDR_SEC_ENT_MODE(void *cmd, u32 value) in FWCMD_SET_ADDR_SEC_ENT_MODE() argument
212 le32p_replace_bits((__le32 *)(cmd) + 9, value, GENMASK(17, 16)); in FWCMD_SET_ADDR_SEC_ENT_MODE()
215 static inline void FWCMD_SET_ADDR_SEC_ENT0_KEYID(void *cmd, u32 value) in FWCMD_SET_ADDR_SEC_ENT0_KEYID() argument
217 le32p_replace_bits((__le32 *)(cmd) + 9, value, GENMASK(19, 18)); in FWCMD_SET_ADDR_SEC_ENT0_KEYID()
220 static inline void FWCMD_SET_ADDR_SEC_ENT1_KEYID(void *cmd, u32 value) in FWCMD_SET_ADDR_SEC_ENT1_KEYID() argument
222 le32p_replace_bits((__le32 *)(cmd) + 9, value, GENMASK(21, 20)); in FWCMD_SET_ADDR_SEC_ENT1_KEYID()
225 static inline void FWCMD_SET_ADDR_SEC_ENT2_KEYID(void *cmd, u32 value) in FWCMD_SET_ADDR_SEC_ENT2_KEYID() argument
227 le32p_replace_bits((__le32 *)(cmd) + 9, value, GENMASK(23, 22)); in FWCMD_SET_ADDR_SEC_ENT2_KEYID()
230 static inline void FWCMD_SET_ADDR_SEC_ENT3_KEYID(void *cmd, u32 value) in FWCMD_SET_ADDR_SEC_ENT3_KEYID() argument
232 le32p_replace_bits((__le32 *)(cmd) + 9, value, GENMASK(25, 24)); in FWCMD_SET_ADDR_SEC_ENT3_KEYID()
235 static inline void FWCMD_SET_ADDR_SEC_ENT4_KEYID(void *cmd, u32 value) in FWCMD_SET_ADDR_SEC_ENT4_KEYID() argument
237 le32p_replace_bits((__le32 *)(cmd) + 9, value, GENMASK(27, 26)); in FWCMD_SET_ADDR_SEC_ENT4_KEYID()
240 static inline void FWCMD_SET_ADDR_SEC_ENT5_KEYID(void *cmd, u32 value) in FWCMD_SET_ADDR_SEC_ENT5_KEYID() argument
242 le32p_replace_bits((__le32 *)(cmd) + 9, value, GENMASK(29, 28)); in FWCMD_SET_ADDR_SEC_ENT5_KEYID()
245 static inline void FWCMD_SET_ADDR_SEC_ENT6_KEYID(void *cmd, u32 value) in FWCMD_SET_ADDR_SEC_ENT6_KEYID() argument
247 le32p_replace_bits((__le32 *)(cmd) + 9, value, GENMASK(31, 30)); in FWCMD_SET_ADDR_SEC_ENT6_KEYID()
250 static inline void FWCMD_SET_ADDR_SEC_ENT_VALID(void *cmd, u32 value) in FWCMD_SET_ADDR_SEC_ENT_VALID() argument
252 le32p_replace_bits((__le32 *)(cmd) + 10, value, GENMASK(7, 0)); in FWCMD_SET_ADDR_SEC_ENT_VALID()
255 static inline void FWCMD_SET_ADDR_SEC_ENT0(void *cmd, u32 value) in FWCMD_SET_ADDR_SEC_ENT0() argument
257 le32p_replace_bits((__le32 *)(cmd) + 10, value, GENMASK(15, 8)); in FWCMD_SET_ADDR_SEC_ENT0()
260 static inline void FWCMD_SET_ADDR_SEC_ENT1(void *cmd, u32 value) in FWCMD_SET_ADDR_SEC_ENT1() argument
262 le32p_replace_bits((__le32 *)(cmd) + 10, value, GENMASK(23, 16)); in FWCMD_SET_ADDR_SEC_ENT1()
265 static inline void FWCMD_SET_ADDR_SEC_ENT2(void *cmd, u32 value) in FWCMD_SET_ADDR_SEC_ENT2() argument
267 le32p_replace_bits((__le32 *)(cmd) + 10, value, GENMASK(31, 24)); in FWCMD_SET_ADDR_SEC_ENT2()
270 static inline void FWCMD_SET_ADDR_SEC_ENT3(void *cmd, u32 value) in FWCMD_SET_ADDR_SEC_ENT3() argument
272 le32p_replace_bits((__le32 *)(cmd) + 11, value, GENMASK(7, 0)); in FWCMD_SET_ADDR_SEC_ENT3()
275 static inline void FWCMD_SET_ADDR_SEC_ENT4(void *cmd, u32 value) in FWCMD_SET_ADDR_SEC_ENT4() argument
277 le32p_replace_bits((__le32 *)(cmd) + 11, value, GENMASK(15, 8)); in FWCMD_SET_ADDR_SEC_ENT4()
280 static inline void FWCMD_SET_ADDR_SEC_ENT5(void *cmd, u32 value) in FWCMD_SET_ADDR_SEC_ENT5() argument
282 le32p_replace_bits((__le32 *)(cmd) + 11, value, GENMASK(23, 16)); in FWCMD_SET_ADDR_SEC_ENT5()
285 static inline void FWCMD_SET_ADDR_SEC_ENT6(void *cmd, u32 value) in FWCMD_SET_ADDR_SEC_ENT6() argument
287 le32p_replace_bits((__le32 *)(cmd) + 11, value, GENMASK(31, 24)); in FWCMD_SET_ADDR_SEC_ENT6()
290 static inline void FWCMD_SET_ADDR_BSSID_IDX(void *cmd, u32 value) in FWCMD_SET_ADDR_BSSID_IDX() argument
292 le32p_replace_bits((__le32 *)(cmd) + 12, value, GENMASK(7, 0)); in FWCMD_SET_ADDR_BSSID_IDX()
295 static inline void FWCMD_SET_ADDR_BSSID_OFFSET(void *cmd, u32 value) in FWCMD_SET_ADDR_BSSID_OFFSET() argument
297 le32p_replace_bits((__le32 *)(cmd) + 12, value, GENMASK(15, 8)); in FWCMD_SET_ADDR_BSSID_OFFSET()
300 static inline void FWCMD_SET_ADDR_BSSID_LEN(void *cmd, u32 value) in FWCMD_SET_ADDR_BSSID_LEN() argument
302 le32p_replace_bits((__le32 *)(cmd) + 12, value, GENMASK(23, 16)); in FWCMD_SET_ADDR_BSSID_LEN()
305 static inline void FWCMD_SET_ADDR_BSSID_VALID(void *cmd, u32 value) in FWCMD_SET_ADDR_BSSID_VALID() argument
307 le32p_replace_bits((__le32 *)(cmd) + 13, value, BIT(0)); in FWCMD_SET_ADDR_BSSID_VALID()
310 static inline void FWCMD_SET_ADDR_BSSID_BB_SEL(void *cmd, u32 value) in FWCMD_SET_ADDR_BSSID_BB_SEL() argument
312 le32p_replace_bits((__le32 *)(cmd) + 13, value, BIT(1)); in FWCMD_SET_ADDR_BSSID_BB_SEL()
315 static inline void FWCMD_SET_ADDR_BSSID_MASK(void *cmd, u32 value) in FWCMD_SET_ADDR_BSSID_MASK() argument
317 le32p_replace_bits((__le32 *)(cmd) + 13, value, GENMASK(7, 2)); in FWCMD_SET_ADDR_BSSID_MASK()
320 static inline void FWCMD_SET_ADDR_BSSID_BSS_COLOR(void *cmd, u32 value) in FWCMD_SET_ADDR_BSSID_BSS_COLOR() argument
322 le32p_replace_bits((__le32 *)(cmd) + 13, value, GENMASK(13, 8)); in FWCMD_SET_ADDR_BSSID_BSS_COLOR()
325 static inline void FWCMD_SET_ADDR_BSSID_BSSID0(void *cmd, u32 value) in FWCMD_SET_ADDR_BSSID_BSSID0() argument
327 le32p_replace_bits((__le32 *)(cmd) + 13, value, GENMASK(23, 16)); in FWCMD_SET_ADDR_BSSID_BSSID0()
330 static inline void FWCMD_SET_ADDR_BSSID_BSSID1(void *cmd, u32 value) in FWCMD_SET_ADDR_BSSID_BSSID1() argument
332 le32p_replace_bits((__le32 *)(cmd) + 13, value, GENMASK(31, 24)); in FWCMD_SET_ADDR_BSSID_BSSID1()
335 static inline void FWCMD_SET_ADDR_BSSID_BSSID2(void *cmd, u32 value) in FWCMD_SET_ADDR_BSSID_BSSID2() argument
337 le32p_replace_bits((__le32 *)(cmd) + 14, value, GENMASK(7, 0)); in FWCMD_SET_ADDR_BSSID_BSSID2()
340 static inline void FWCMD_SET_ADDR_BSSID_BSSID3(void *cmd, u32 value) in FWCMD_SET_ADDR_BSSID_BSSID3() argument
342 le32p_replace_bits((__le32 *)(cmd) + 14, value, GENMASK(15, 8)); in FWCMD_SET_ADDR_BSSID_BSSID3()
345 static inline void FWCMD_SET_ADDR_BSSID_BSSID4(void *cmd, u32 value) in FWCMD_SET_ADDR_BSSID_BSSID4() argument
347 le32p_replace_bits((__le32 *)(cmd) + 14, value, GENMASK(23, 16)); in FWCMD_SET_ADDR_BSSID_BSSID4()
350 static inline void FWCMD_SET_ADDR_BSSID_BSSID5(void *cmd, u32 value) in FWCMD_SET_ADDR_BSSID_BSSID5() argument
352 le32p_replace_bits((__le32 *)(cmd) + 14, value, GENMASK(31, 24)); in FWCMD_SET_ADDR_BSSID_BSSID5()
371 const u8 *scan_mac_addr, u8 *cmd);
375 u8 *cmd);
378 struct rtw89_sta *rtwsta, u8 *cmd);