Lines Matching defs:x

30 #define   S_SQ_CF_WORD0_ADDR(x)                                      (((unsigned)(x) & 0xFFFFFF) <<…  argument
31 #define G_SQ_CF_WORD0_ADDR(x) (((x) >> 0) & 0xFFFFFF) argument
33 #define S_SQ_CF_WORD0_JUMPTABLE_SEL(x) (((unsigned)(x) & 0x7) << 24) argument
34 #define G_SQ_CF_WORD0_JUMPTABLE_SEL(x) (((x) >> 24) & 0x7) argument
37 #define S_SQ_CF_WORD1_POP_COUNT(x) (((unsigned)(x) & 0x7) << 0) argument
38 #define G_SQ_CF_WORD1_POP_COUNT(x) (((x) >> 0) & 0x7) argument
40 #define S_SQ_CF_WORD1_CF_CONST(x) (((unsigned)(x) & 0x1F) << 3) argument
41 #define G_SQ_CF_WORD1_CF_CONST(x) (((x) >> 3) & 0x1F) argument
43 #define S_SQ_CF_WORD1_COND(x) (((unsigned)(x) & 0x3) << 8) argument
44 #define G_SQ_CF_WORD1_COND(x) (((x) >> 8) & 0x3) argument
46 #define S_SQ_CF_WORD1_COUNT(x) (((unsigned)(x) & 0x3f) << 10) argument
47 #define G_SQ_CF_WORD1_COUNT(x) (((x) >> 10) & 0x3f) argument
49 #define S_SQ_CF_WORD1_VALID_PIXEL_MODE(x) (((unsigned)(x) & 0x1) << 20) argument
50 #define G_SQ_CF_WORD1_VALID_PIXEL_MODE(x) (((x) >> 20) & 0x1) argument
52 #define S_SQ_CF_WORD1_END_OF_PROGRAM(x) (((unsigned)(x) & 0x1) << 21) argument
53 #define G_SQ_CF_WORD1_END_OF_PROGRAM(x) (((x) >> 21) & 0x1) argument
56 #define S_SQ_CF_WORD1_CF_INST(x) (((unsigned)(x) & 0xFF) << 22) argument
57 #define G_SQ_CF_WORD1_CF_INST(x) (((x) >> 22) & 0xFF) argument
60 #define S_SQ_CF_WORD1_WHOLE_QUAD_MODE(x) (((unsigned)(x) & 0x1) << 30) argument
61 #define G_SQ_CF_WORD1_WHOLE_QUAD_MODE(x) (((x) >> 30) & 0x1) argument
63 #define S_SQ_CF_WORD1_BARRIER(x) (((unsigned)(x) & 0x1) << 31) argument
64 #define G_SQ_CF_WORD1_BARRIER(x) (((x) >> 31) & 0x1) argument
69 #define S_SQ_CF_ALU_WORD0_ADDR(x) (((unsigned)(x) & 0x3FFFFF) <<… argument
70 #define G_SQ_CF_ALU_WORD0_ADDR(x) (((x) >> 0) & 0x3FFFFF) argument
72 #define S_SQ_CF_ALU_WORD0_KCACHE_BANK0(x) (((unsigned)(x) & 0xF) << 22) argument
73 #define G_SQ_CF_ALU_WORD0_KCACHE_BANK0(x) (((x) >> 22) & 0xF) argument
75 #define S_SQ_CF_ALU_WORD0_KCACHE_BANK1(x) (((unsigned)(x) & 0xF) << 26) argument
76 #define G_SQ_CF_ALU_WORD0_KCACHE_BANK1(x) (((x) >> 26) & 0xF) argument
78 #define S_SQ_CF_ALU_WORD0_KCACHE_MODE0(x) (((unsigned)(x) & 0x3) << 30) argument
79 #define G_SQ_CF_ALU_WORD0_KCACHE_MODE0(x) (((x) >> 30) & 0x3) argument
86 #define S_SQ_CF_ALU_WORD1_KCACHE_MODE1(x) (((unsigned)(x) & 0x3) << 0) argument
87 #define G_SQ_CF_ALU_WORD1_KCACHE_MODE1(x) (((x) >> 0) & 0x3) argument
89 #define S_SQ_CF_ALU_WORD1_KCACHE_ADDR0(x) (((unsigned)(x) & 0xFF) << 2) argument
90 #define G_SQ_CF_ALU_WORD1_KCACHE_ADDR0(x) (((x) >> 2) & 0xFF) argument
92 #define S_SQ_CF_ALU_WORD1_KCACHE_ADDR1(x) (((unsigned)(x) & 0xFF) << 10) argument
93 #define G_SQ_CF_ALU_WORD1_KCACHE_ADDR1(x) (((x) >> 10) & 0xFF) argument
95 #define S_SQ_CF_ALU_WORD1_COUNT(x) (((unsigned)(x) & 0x7F) << 18) argument
96 #define G_SQ_CF_ALU_WORD1_COUNT(x) (((x) >> 18) & 0x7F) argument
98 #define S_SQ_CF_ALU_WORD1_ALT_CONST(x) (((unsigned)(x) & 0x1) << 25) argument
99 #define G_SQ_CF_ALU_WORD1_ALT_CONST(x) (((x) >> 25) & 0x1) argument
101 #define S_SQ_CF_ALU_WORD1_CF_INST(x) (((unsigned)(x) & 0xF) << 26) argument
102 #define G_SQ_CF_ALU_WORD1_CF_INST(x) (((x) >> 26) & 0xF) argument
104 #define S_SQ_CF_ALU_WORD1_WHOLE_QUAD_MODE(x) (((unsigned)(x) & 0x1) << 30) argument
105 #define G_SQ_CF_ALU_WORD1_WHOLE_QUAD_MODE(x) (((x) >> 30) & 0x1) argument
107 #define S_SQ_CF_ALU_WORD1_BARRIER(x) (((unsigned)(x) & 0x1) << 31) argument
108 #define G_SQ_CF_ALU_WORD1_BARRIER(x) (((x) >> 31) & 0x1) argument
112 #define S_SQ_CF_ALU_WORD0_EXT_KCACHE_BANK_INDEX_MODE0(x) (((unsigned)(x) & 0x3) << 4) argument
113 #define G_SQ_CF_ALU_WORD0_EXT_KCACHE_BANK_INDEX_MODE0(x) (((x) >> 4) & 0x3) argument
118 #define S_SQ_CF_ALU_WORD0_EXT_KCACHE_BANK_INDEX_MODE1(x) (((unsigned)(x) & 0x3) << 6) argument
119 #define G_SQ_CF_ALU_WORD0_EXT_KCACHE_BANK_INDEX_MODE1(x) (((x) >> 6) & 0x3) argument
121 #define S_SQ_CF_ALU_WORD0_EXT_KCACHE_BANK_INDEX_MODE2(x) (((unsigned)(x) & 0x3) << 8) argument
122 #define G_SQ_CF_ALU_WORD0_EXT_KCACHE_BANK_INDEX_MODE2(x) (((x) >> 8) & 0x3) argument
124 #define S_SQ_CF_ALU_WORD0_EXT_KCACHE_BANK_INDEX_MODE3(x) (((unsigned)(x) & 0x3) << 10) argument
125 #define G_SQ_CF_ALU_WORD0_EXT_KCACHE_BANK_INDEX_MODE3(x) (((x) >> 10) & 0x3) argument
127 #define S_SQ_CF_ALU_WORD0_EXT_KCACHE_BANK2(x) (((unsigned)(x) & 0xF) << 22) argument
128 #define G_SQ_CF_ALU_WORD0_EXT_KCACHE_BANK2(x) (((x) >> 22) & 0xF) argument
130 #define S_SQ_CF_ALU_WORD0_EXT_KCACHE_BANK3(x) (((unsigned)(x) & 0xF) << 26) argument
131 #define G_SQ_CF_ALU_WORD0_EXT_KCACHE_BANK3(x) (((x) >> 26) & 0xF) argument
133 #define S_SQ_CF_ALU_WORD0_EXT_KCACHE_MODE2(x) (((unsigned)(x) & 0x3) << 30) argument
134 #define G_SQ_CF_ALU_WORD0_EXT_KCACHE_MODE2(x) (((x) >> 30) & 0x3) argument
138 #define S_SQ_CF_ALU_WORD1_EXT_KCACHE_MODE3(x) (((unsigned)(x) & 0x3) << 0) argument
139 #define G_SQ_CF_ALU_WORD1_EXT_KCACHE_MODE3(x) (((x) >> 0) & 0x3) argument
141 #define S_SQ_CF_ALU_WORD1_EXT_KCACHE_ADDR2(x) (((unsigned)(x) & 0xFF) << 2) argument
142 #define G_SQ_CF_ALU_WORD1_EXT_KCACHE_ADDR2(x) (((x) >> 2) & 0xFF) argument
144 #define S_SQ_CF_ALU_WORD1_EXT_KCACHE_ADDR3(x) (((unsigned)(x) & 0xFF) << 10) argument
145 #define G_SQ_CF_ALU_WORD1_EXT_KCACHE_ADDR3(x) (((x) >> 10) & 0xFF) argument
147 #define S_SQ_CF_ALU_WORD1_EXT_CF_INST(x) (((unsigned)(x) & 0xF) << 26) argument
148 #define G_SQ_CF_ALU_WORD1_EXT_CF_INST(x) (((x) >> 26) & 0xF) argument
150 #define S_SQ_CF_ALU_WORD1_EXT_BARRIER(x) (((unsigned)(x) & 0x1) << 31) argument
151 #define G_SQ_CF_ALU_WORD1_EXT_BARRIER(x) (((x) >> 31) & 0x1) argument
156 #define S_SQ_CF_ALLOC_EXPORT_WORD0_ARRAY_BASE(x) (((unsigned)(x) & 0x1FFF) << 0) argument
157 #define G_SQ_CF_ALLOC_EXPORT_WORD0_ARRAY_BASE(x) (((x) >> 0) & 0x1FFF) argument
159 #define S_SQ_CF_ALLOC_EXPORT_WORD0_TYPE(x) (((unsigned)(x) & 0x3) << 13) argument
160 #define G_SQ_CF_ALLOC_EXPORT_WORD0_TYPE(x) (((x) >> 13) & 0x3) argument
166 #define S_SQ_CF_ALLOC_EXPORT_WORD0_RW_GPR(x) (((unsigned)(x) & 0x7F) << 15) argument
167 #define G_SQ_CF_ALLOC_EXPORT_WORD0_RW_GPR(x) (((x) >> 15) & 0x7F) argument
169 #define S_SQ_CF_ALLOC_EXPORT_WORD0_RW_REL(x) (((unsigned)(x) & 0x1) << 22) argument
170 #define G_SQ_CF_ALLOC_EXPORT_WORD0_RW_REL(x) (((x) >> 22) & 0x1) argument
172 #define S_SQ_CF_ALLOC_EXPORT_WORD0_INDEX_GPR(x) (((unsigned)(x) & 0x7F) << 23) argument
173 #define G_SQ_CF_ALLOC_EXPORT_WORD0_INDEX_GPR(x) (((x) >> 23) & 0x7F) argument
175 #define S_SQ_CF_ALLOC_EXPORT_WORD0_ELEM_SIZE(x) (((unsigned)(x) & 0x3) << 30) argument
176 #define G_SQ_CF_ALLOC_EXPORT_WORD0_ELEM_SIZE(x) (((x) >> 30) & 0x3) argument
181 #define S_SQ_CF_ALLOC_EXPORT_WORD0_RAT_RAT_ID(x) (((x) & 0xF) << 0) argument
182 #define G_SQ_CF_ALLOC_EXPORT_WORD0_RAT_RAT_ID(x) (((x) >> 0) & 0xF) argument
184 #define S_SQ_CF_ALLOC_EXPORT_WORD0_RAT_RAT_INST(x) (((x) & 0x3F) << 4) argument
185 #define G_SQ_CF_ALLOC_EXPORT_WORD0_RAT_RAT_INST(x) (((x) >> 4) & 0x3F) argument
187 #define S_SQ_CF_ALLOC_EXPORT_WORD0_RAT_RAT_INDEX_MODE(x) (((x) & 0x3) << 11) argument
188 #define G_SQ_CF_ALLOC_EXPORT_WORD0_RAT_RAT_INDEX_MODE(x) (((x) >> 11) & 0x3) argument
192 #define S_SQ_CF_ALLOC_EXPORT_WORD1_BURST_COUNT(x) (((unsigned)(x) & 0xF) << 16) argument
193 #define G_SQ_CF_ALLOC_EXPORT_WORD1_BURST_COUNT(x) (((x) >> 16) & 0xF) argument
195 #define S_SQ_CF_ALLOC_EXPORT_WORD1_VALID_PIXEL_MODE(x) (((unsigned)(x) & 0x1) << 20) argument
196 #define G_SQ_CF_ALLOC_EXPORT_WORD1_VALID_PIXEL_MODE(x) (((x) >> 20) & 0x1) argument
198 #define S_SQ_CF_ALLOC_EXPORT_WORD1_END_OF_PROGRAM(x) (((unsigned)(x) & 0x1) << 21) argument
199 #define G_SQ_CF_ALLOC_EXPORT_WORD1_END_OF_PROGRAM(x) (((x) >> 21) & 0x1) argument
201 #define S_SQ_CF_ALLOC_EXPORT_WORD1_CF_INST(x) (((unsigned)(x) & 0xFF) << 22) argument
202 #define G_SQ_CF_ALLOC_EXPORT_WORD1_CF_INST(x) (((x) >> 22) & 0xFF) argument
205 #define S_SQ_CF_ALLOC_EXPORT_WORD1_MARK(x) (((unsigned)(x) & 0x1) << 30) argument
206 #define G_SQ_CF_ALLOC_EXPORT_WORD1_MARK(x) (((x) >> 30) & 0x1) argument
208 #define S_SQ_CF_ALLOC_EXPORT_WORD1_BARRIER(x) (((unsigned)(x) & 0x1) << 31) argument
209 #define G_SQ_CF_ALLOC_EXPORT_WORD1_BARRIER(x) (((x) >> 31) & 0x1) argument
214 #define S_SQ_CF_ALLOC_EXPORT_WORD1_BUF_ARRAY_SIZE(x) (((unsigned)(x) & 0xFFF) << 0) argument
215 #define G_SQ_CF_ALLOC_EXPORT_WORD1_BUF_ARRAY_SIZE(x) (((x) >> 0) & 0xFFF) argument
217 #define S_SQ_CF_ALLOC_EXPORT_WORD1_BUF_COMP_MASK(x) (((unsigned)(x) & 0xF) << 12) argument
218 #define G_SQ_CF_ALLOC_EXPORT_WORD1_BUF_COMP_MASK(x) (((x) >> 12) & 0xF) argument
221 #define S_SQ_CF_ALLOC_EXPORT_WORD1_SWIZ_SEL_X(x) (((unsigned)(x) & 0x7) << 0) argument
222 #define G_SQ_CF_ALLOC_EXPORT_WORD1_SWIZ_SEL_X(x) (((x) >> 0) & 0x7) argument
224 #define S_SQ_CF_ALLOC_EXPORT_WORD1_SWIZ_SEL_Y(x) (((unsigned)(x) & 0x7) << 3) argument
225 #define G_SQ_CF_ALLOC_EXPORT_WORD1_SWIZ_SEL_Y(x) (((x) >> 3) & 0x7) argument
227 #define S_SQ_CF_ALLOC_EXPORT_WORD1_SWIZ_SEL_Z(x) (((unsigned)(x) & 0x7) << 6) argument
228 #define G_SQ_CF_ALLOC_EXPORT_WORD1_SWIZ_SEL_Z(x) (((x) >> 6) & 0x7) argument
230 #define S_SQ_CF_ALLOC_EXPORT_WORD1_SWIZ_SEL_W(x) (((unsigned)(x) & 0x7) << 9) argument
231 #define G_SQ_CF_ALLOC_EXPORT_WORD1_SWIZ_SEL_W(x) (((x) >> 9) & 0x7) argument
236 #define S_SQ_ALU_WORD0_SRC0_SEL(x) (((unsigned)(x) & 0x1FF) << 0) argument
237 #define G_SQ_ALU_WORD0_SRC0_SEL(x) (((x) >> 0) & 0x1FF) argument
260 #define S_SQ_ALU_WORD0_SRC0_REL(x) (((unsigned)(x) & 0x1) << 9) argument
261 #define G_SQ_ALU_WORD0_SRC0_REL(x) (((x) >> 9) & 0x1) argument
263 #define S_SQ_ALU_WORD0_SRC0_CHAN(x) (((unsigned)(x) & 0x3) << 10) argument
264 #define G_SQ_ALU_WORD0_SRC0_CHAN(x) (((x) >> 10) & 0x3) argument
266 #define S_SQ_ALU_WORD0_SRC0_NEG(x) (((unsigned)(x) & 0x1) << 12) argument
267 #define G_SQ_ALU_WORD0_SRC0_NEG(x) (((x) >> 12) & 0x1) argument
269 #define S_SQ_ALU_WORD0_SRC1_SEL(x) (((unsigned)(x) & 0x1FF) << 13) argument
270 #define G_SQ_ALU_WORD0_SRC1_SEL(x) (((x) >> 13) & 0x1FF) argument
272 #define S_SQ_ALU_WORD0_SRC1_REL(x) (((unsigned)(x) & 0x1) << 22) argument
273 #define G_SQ_ALU_WORD0_SRC1_REL(x) (((x) >> 22) & 0x1) argument
275 #define S_SQ_ALU_WORD0_SRC1_CHAN(x) (((unsigned)(x) & 0x3) << 23) argument
276 #define G_SQ_ALU_WORD0_SRC1_CHAN(x) (((x) >> 23) & 0x3) argument
278 #define S_SQ_ALU_WORD0_SRC1_NEG(x) (((unsigned)(x) & 0x1) << 25) argument
279 #define G_SQ_ALU_WORD0_SRC1_NEG(x) (((x) >> 25) & 0x1) argument
281 #define S_SQ_ALU_WORD0_INDEX_MODE(x) (((unsigned)(x) & 0x7) << 26) argument
282 #define G_SQ_ALU_WORD0_INDEX_MODE(x) (((x) >> 26) & 0x7) argument
284 #define S_SQ_ALU_WORD0_PRED_SEL(x) (((unsigned)(x) & 0x3) << 29) argument
285 #define G_SQ_ALU_WORD0_PRED_SEL(x) (((x) >> 29) & 0x3) argument
287 #define S_SQ_ALU_WORD0_LAST(x) (((unsigned)(x) & 0x1) << 31) argument
288 #define G_SQ_ALU_WORD0_LAST(x) (((x) >> 31) & 0x1) argument
292 #define S_SQ_ALU_WORD1_ENCODING(x) (((unsigned)(x) & 0x7) << 15) argument
293 #define G_SQ_ALU_WORD1_ENCODING(x) (((x) >> 15) & 0x7) argument
295 #define S_SQ_ALU_WORD1_BANK_SWIZZLE(x) (((unsigned)(x) & 0x7) << 18) argument
296 #define G_SQ_ALU_WORD1_BANK_SWIZZLE(x) (((x) >> 18) & 0x7) argument
298 #define S_SQ_ALU_WORD1_DST_GPR(x) (((unsigned)(x) & 0x7F) << 21) argument
299 #define G_SQ_ALU_WORD1_DST_GPR(x) (((x) >> 21) & 0x7F) argument
301 #define S_SQ_ALU_WORD1_DST_REL(x) (((unsigned)(x) & 0x1) << 28) argument
302 #define G_SQ_ALU_WORD1_DST_REL(x) (((x) >> 28) & 0x1) argument
304 #define S_SQ_ALU_WORD1_DST_CHAN(x) (((unsigned)(x) & 0x3) << 29) argument
305 #define G_SQ_ALU_WORD1_DST_CHAN(x) (((x) >> 29) & 0x3) argument
307 #define S_SQ_ALU_WORD1_CLAMP(x) (((unsigned)(x) & 0x1) << 31) argument
308 #define G_SQ_ALU_WORD1_CLAMP(x) (((x) >> 31) & 0x1) argument
312 #define S_SQ_ALU_WORD1_OP2_SRC0_ABS(x) (((unsigned)(x) & 0x1) << 0) argument
313 #define G_SQ_ALU_WORD1_OP2_SRC0_ABS(x) (((x) >> 0) & 0x1) argument
315 #define S_SQ_ALU_WORD1_OP2_SRC1_ABS(x) (((unsigned)(x) & 0x1) << 1) argument
316 #define G_SQ_ALU_WORD1_OP2_SRC1_ABS(x) (((x) >> 1) & 0x1) argument
318 #define S_SQ_ALU_WORD1_OP2_UPDATE_EXECUTE_MASK(x) (((unsigned)(x) & 0x1) << 2) argument
319 #define G_SQ_ALU_WORD1_OP2_UPDATE_EXECUTE_MASK(x) (((x) >> 2) & 0x1) argument
321 #define S_SQ_ALU_WORD1_OP2_UPDATE_PRED(x) (((unsigned)(x) & 0x1) << 3) argument
322 #define G_SQ_ALU_WORD1_OP2_UPDATE_PRED(x) (((x) >> 3) & 0x1) argument
324 #define S_SQ_ALU_WORD1_OP2_WRITE_MASK(x) (((unsigned)(x) & 0x1) << 4) argument
325 #define G_SQ_ALU_WORD1_OP2_WRITE_MASK(x) (((x) >> 4) & 0x1) argument
327 #define S_SQ_ALU_WORD1_OP2_OMOD(x) (((unsigned)(x) & 0x3) << 5) argument
328 #define G_SQ_ALU_WORD1_OP2_OMOD(x) (((x) >> 5) & 0x3) argument
330 #define S_SQ_ALU_WORD1_OP2_ALU_INST(x) (((unsigned)(x) & 0x7FF) << 7) argument
331 #define G_SQ_ALU_WORD1_OP2_ALU_INST(x) (((x) >> 7) & 0x7FF) argument
335 #define S_SQ_ALU_WORD1_OP3_SRC2_SEL(x) (((unsigned)(x) & 0x1FF) << 0) argument
336 #define G_SQ_ALU_WORD1_OP3_SRC2_SEL(x) (((x) >> 0) & 0x1FF) argument
338 #define S_SQ_ALU_WORD1_OP3_SRC2_REL(x) (((unsigned)(x) & 0x1) << 9) argument
339 #define G_SQ_ALU_WORD1_OP3_SRC2_REL(x) (((x) >> 9) & 0x1) argument
341 #define S_SQ_ALU_WORD1_OP3_SRC2_CHAN(x) (((unsigned)(x) & 0x3) << 10) argument
342 #define G_SQ_ALU_WORD1_OP3_SRC2_CHAN(x) (((x) >> 10) & 0x3) argument
344 #define S_SQ_ALU_WORD1_OP3_SRC2_NEG(x) (((unsigned)(x) & 0x1) << 12) argument
345 #define G_SQ_ALU_WORD1_OP3_SRC2_NEG(x) (((x) >> 12) & 0x1) argument
347 #define S_SQ_ALU_WORD1_OP3_ALU_INST(x) (((unsigned)(x) & 0x1F) << 13) argument
348 #define G_SQ_ALU_WORD1_OP3_ALU_INST(x) (((x) >> 13) & 0x1F) argument
353 #define S_SQ_VTX_WORD0_VTX_INST(x) (((unsigned)(x) & 0x1F) << 0) argument
354 #define G_SQ_VTX_WORD0_VTX_INST(x) (((x) >> 0) & 0x1F) argument
356 #define S_SQ_VTX_WORD0_FETCH_TYPE(x) (((unsigned)(x) & 0x3) << 5) argument
357 #define G_SQ_VTX_WORD0_FETCH_TYPE(x) (((x) >> 5) & 0x3) argument
359 #define S_SQ_VTX_WORD0_FETCH_WHOLE_QUAD(x) (((unsigned)(x) & 0x1) << 7) argument
360 #define G_SQ_VTX_WORD0_FETCH_WHOLE_QUAD(x) (((x) >> 7) & 0x1) argument
362 #define S_SQ_VTX_WORD0_BUFFER_ID(x) (((unsigned)(x) & 0xFF) << 8) argument
363 #define G_SQ_VTX_WORD0_BUFFER_ID(x) (((x) >> 8) & 0xFF) argument
365 #define S_SQ_VTX_WORD0_SRC_GPR(x) (((unsigned)(x) & 0x7F) << 16) argument
366 #define G_SQ_VTX_WORD0_SRC_GPR(x) (((x) >> 16) & 0x7F) argument
368 #define S_SQ_VTX_WORD0_SRC_REL(x) (((unsigned)(x) & 0x1) << 23) argument
369 #define G_SQ_VTX_WORD0_SRC_REL(x) (((x) >> 23) & 0x1) argument
371 #define S_SQ_VTX_WORD0_SRC_SEL_X(x) (((unsigned)(x) & 0x3) << 24) argument
372 #define G_SQ_VTX_WORD0_SRC_SEL_X(x) (((x) >> 24) & 0x3) argument
374 #define S_SQ_VTX_WORD0_MEGA_FETCH_COUNT(x) (((unsigned)(x) & 0x3F) << 26) argument
375 #define G_SQ_VTX_WORD0_MEGA_FETCH_COUNT(x) (((x) >> 26) & 0x3F) argument
379 #define S_SQ_VTX_WORD1_DST_SEL_X(x) (((unsigned)(x) & 0x7) << 9) argument
380 #define G_SQ_VTX_WORD1_DST_SEL_X(x) (((x) >> 9) & 0x7) argument
382 #define S_SQ_VTX_WORD1_DST_SEL_Y(x) (((unsigned)(x) & 0x7) << 12) argument
383 #define G_SQ_VTX_WORD1_DST_SEL_Y(x) (((x) >> 12) & 0x7) argument
385 #define S_SQ_VTX_WORD1_DST_SEL_Z(x) (((unsigned)(x) & 0x7) << 15) argument
386 #define G_SQ_VTX_WORD1_DST_SEL_Z(x) (((x) >> 15) & 0x7) argument
388 #define S_SQ_VTX_WORD1_DST_SEL_W(x) (((unsigned)(x) & 0x7) << 18) argument
389 #define G_SQ_VTX_WORD1_DST_SEL_W(x) (((x) >> 18) & 0x7) argument
391 #define S_SQ_VTX_WORD1_USE_CONST_FIELDS(x) (((unsigned)(x) & 0x1) << 21) argument
392 #define G_SQ_VTX_WORD1_USE_CONST_FIELDS(x) (((x) >> 21) & 0x1) argument
394 #define S_SQ_VTX_WORD1_DATA_FORMAT(x) (((unsigned)(x) & 0x3F) << 22) argument
395 #define G_SQ_VTX_WORD1_DATA_FORMAT(x) (((x) >> 22) & 0x3F) argument
397 #define S_SQ_VTX_WORD1_NUM_FORMAT_ALL(x) (((unsigned)(x) & 0x3) << 28) argument
398 #define G_SQ_VTX_WORD1_NUM_FORMAT_ALL(x) (((x) >> 28) & 0x3) argument
400 #define S_SQ_VTX_WORD1_FORMAT_COMP_ALL(x) (((unsigned)(x) & 0x1) << 30) argument
401 #define G_SQ_VTX_WORD1_FORMAT_COMP_ALL(x) (((x) >> 30) & 0x1) argument
403 #define S_SQ_VTX_WORD1_SRF_MODE_ALL(x) (((unsigned)(x) & 0x1) << 31) argument
404 #define G_SQ_VTX_WORD1_SRF_MODE_ALL(x) (((x) >> 31) & 0x1) argument
408 #define S_SQ_VTX_WORD1_GPR_DST_GPR(x) (((unsigned)(x) & 0x7F) << 0) argument
409 #define G_SQ_VTX_WORD1_GPR_DST_GPR(x) (((x) >> 0) & 0x7F) argument
411 #define S_SQ_VTX_WORD1_GPR_DST_REL(x) (((unsigned)(x) & 0x1) << 7) argument
412 #define G_SQ_VTX_WORD1_GPR_DST_REL(x) (((x) >> 7) & 0x1) argument
415 #define S_SQ_VTX_WORD1_SEM_SEMANTIC_ID(x) (((unsigned)(x) & 0xFF) << 0) argument
416 #define G_SQ_VTX_WORD1_SEM_SEMANTIC_ID(x) (((x) >> 0) & 0xFF) argument
419 #define S_SQ_VTX_WORD2_OFFSET(x) (((unsigned)(x) & 0xFFFF) << 0) argument
420 #define G_SQ_VTX_WORD2_OFFSET(x) (((x) >> 0) & 0xFFFF) argument
422 #define S_SQ_VTX_WORD2_ENDIAN_SWAP(x) (((unsigned)(x) & 0x3) << 16) argument
423 #define G_SQ_VTX_WORD2_ENDIAN_SWAP(x) (((x) >> 16) & 0x3) argument
425 #define S_SQ_VTX_WORD2_CONST_BUF_NO_STRIDE(x) (((unsigned)(x) & 0x1) << 18) argument
426 #define G_SQ_VTX_WORD2_CONST_BUF_NO_STRIDE(x) (((x) >> 18) & 0x1) argument
428 #define S_SQ_VTX_WORD2_MEGA_FETCH(x) (((unsigned)(x) & 0x1) << 19) argument
429 #define G_SQ_VTX_WORD2_MEGA_FETCH(x) (((x) >> 19) & 0x1) argument
431 #define S_SQ_VTX_WORD2_ALT_CONST(x) (((unsigned)(x) & 0x1) << 20) argument
432 #define G_SQ_VTX_WORD2_ALT_CONST(x) (((x) >> 20) & 0x1) argument
434 #define S_SQ_VTX_WORD2_BIM(x) (((unsigned)(x) & 0x3) << 21) argument
435 #define G_SQ_VTX_WORD2_BIM(x) (((x) >> 21) & 0x3) argument
440 #define S_SQ_TEX_WORD0_TEX_INST(x) (((unsigned)(x) & 0x1F) << 0) argument
441 #define G_SQ_TEX_WORD0_TEX_INST(x) (((x) >> 0) & 0x1F) argument
443 #define S_SQ_TEX_WORD0_INST_MOD(x) (((unsigned)(x) & 0x3) << 5) argument
444 #define G_SQ_TEX_WORD0_INST_MOD(x) (((x) >> 5) & 0x3) argument
446 #define S_SQ_TEX_WORD0_FETCH_WHOLE_QUAD(x) (((unsigned)(x) & 0x1) << 7) argument
447 #define G_SQ_TEX_WORD0_FETCH_WHOLE_QUAD(x) (((x) >> 7) & 0x1) argument
449 #define S_SQ_TEX_WORD0_RESOURCE_ID(x) (((unsigned)(x) & 0xFF) << 8) argument
450 #define G_SQ_TEX_WORD0_RESOURCE_ID(x) (((x) >> 8) & 0xFF) argument
452 #define S_SQ_TEX_WORD0_SRC_GPR(x) (((unsigned)(x) & 0x7F) << 16) argument
453 #define G_SQ_TEX_WORD0_SRC_GPR(x) (((x) >> 16) & 0x7F) argument
455 #define S_SQ_TEX_WORD0_SRC_REL(x) (((unsigned)(x) & 0x1) << 23) argument
456 #define G_SQ_TEX_WORD0_SRC_REL(x) (((x) >> 23) & 0x1) argument
458 #define S_SQ_TEX_WORD0_ALT_CONST(x) (((unsigned)(x) & 0x1) << 24) argument
459 #define G_SQ_TEX_WORD0_ALT_CONST(x) (((x) >> 24) & 0x1) argument
461 #define S_SQ_TEX_WORD0_RIM(x) (((unsigned)(x) & 0x3) << 25) argument
462 #define G_SQ_TEX_WORD0_RIM(x) (((x) >> 25) & 0x3) argument
464 #define S_SQ_TEX_WORD0_SIM(x) (((unsigned)(x) & 0x3) << 27) argument
465 #define G_SQ_TEX_WORD0_SIM(x) (((x) >> 27) & 0x3) argument
468 #define S_SQ_TEX_WORD1_DST_GPR(x) (((unsigned)(x) & 0x7F) << 0) argument
469 #define G_SQ_TEX_WORD1_DST_GPR(x) (((x) >> 0) & 0x7F) argument
471 #define S_SQ_TEX_WORD1_DST_REL(x) (((unsigned)(x) & 0x1) << 7) argument
472 #define G_SQ_TEX_WORD1_DST_REL(x) (((x) >> 7) & 0x1) argument
474 #define S_SQ_TEX_WORD1_DST_SEL_X(x) (((unsigned)(x) & 0x7) << 9) argument
475 #define G_SQ_TEX_WORD1_DST_SEL_X(x) (((x) >> 9) & 0x7) argument
477 #define S_SQ_TEX_WORD1_DST_SEL_Y(x) (((unsigned)(x) & 0x7) << 12) argument
478 #define G_SQ_TEX_WORD1_DST_SEL_Y(x) (((x) >> 12) & 0x7) argument
480 #define S_SQ_TEX_WORD1_DST_SEL_Z(x) (((unsigned)(x) & 0x7) << 15) argument
481 #define G_SQ_TEX_WORD1_DST_SEL_Z(x) (((x) >> 15) & 0x7) argument
483 #define S_SQ_TEX_WORD1_DST_SEL_W(x) (((unsigned)(x) & 0x7) << 18) argument
484 #define G_SQ_TEX_WORD1_DST_SEL_W(x) (((x) >> 18) & 0x7) argument
486 #define S_SQ_TEX_WORD1_LOD_BIAS(x) (((unsigned)(x) & 0x7F) << 21) argument
487 #define G_SQ_TEX_WORD1_LOD_BIAS(x) (((x) >> 21) & 0x7F) argument
489 #define S_SQ_TEX_WORD1_COORD_TYPE_X(x) (((unsigned)(x) & 0x1) << 28) argument
490 #define G_SQ_TEX_WORD1_COORD_TYPE_X(x) (((x) >> 28) & 0x1) argument
494 #define S_SQ_TEX_WORD1_COORD_TYPE_Y(x) (((unsigned)(x) & 0x1) << 29) argument
495 #define G_SQ_TEX_WORD1_COORD_TYPE_Y(x) (((x) >> 29) & 0x1) argument
497 #define S_SQ_TEX_WORD1_COORD_TYPE_Z(x) (((unsigned)(x) & 0x1) << 30) argument
498 #define G_SQ_TEX_WORD1_COORD_TYPE_Z(x) (((x) >> 30) & 0x1) argument
500 #define S_SQ_TEX_WORD1_COORD_TYPE_W(x) (((unsigned)(x) & 0x1) << 31) argument
501 #define G_SQ_TEX_WORD1_COORD_TYPE_W(x) (((x) >> 31) & 0x1) argument
504 #define S_SQ_TEX_WORD2_OFFSET_X(x) (((unsigned)(x) & 0x1F) << 0) argument
505 #define G_SQ_TEX_WORD2_OFFSET_X(x) (((x) >> 0) & 0x1F) argument
507 #define S_SQ_TEX_WORD2_OFFSET_Y(x) (((unsigned)(x) & 0x1F) << 5) argument
508 #define G_SQ_TEX_WORD2_OFFSET_Y(x) (((x) >> 5) & 0x1F) argument
510 #define S_SQ_TEX_WORD2_OFFSET_Z(x) (((unsigned)(x) & 0x1F) << 10) argument
511 #define G_SQ_TEX_WORD2_OFFSET_Z(x) (((x) >> 10) & 0x1F) argument
513 #define S_SQ_TEX_WORD2_SAMPLER_ID(x) (((unsigned)(x) & 0x1F) << 15) argument
514 #define G_SQ_TEX_WORD2_SAMPLER_ID(x) (((x) >> 15) & 0x1F) argument
516 #define S_SQ_TEX_WORD2_SRC_SEL_X(x) (((unsigned)(x) & 0x7) << 20) argument
517 #define G_SQ_TEX_WORD2_SRC_SEL_X(x) (((x) >> 20) & 0x7) argument
519 #define S_SQ_TEX_WORD2_SRC_SEL_Y(x) (((unsigned)(x) & 0x7) << 23) argument
520 #define G_SQ_TEX_WORD2_SRC_SEL_Y(x) (((x) >> 23) & 0x7) argument
522 #define S_SQ_TEX_WORD2_SRC_SEL_Z(x) (((unsigned)(x) & 0x7) << 26) argument
523 #define G_SQ_TEX_WORD2_SRC_SEL_Z(x) (((x) >> 26) & 0x7) argument
525 #define S_SQ_TEX_WORD2_SRC_SEL_W(x) (((unsigned)(x) & 0x7) << 29) argument
526 #define G_SQ_TEX_WORD2_SRC_SEL_W(x) (((x) >> 29) & 0x7) argument
530 #define S_SQ_MEM_GDS_WORD0_MEM_INST(x) (((unsigned)(x) & 0x1f) << 0) argument
531 #define S_SQ_MEM_GDS_WORD0_MEM_OP(x) (((unsigned)(x) & 0x7) << 8) argument
532 #define S_SQ_MEM_GDS_WORD0_SRC_GPR(x) (((unsigned)(x) & 0x7f) << 11) argument
533 #define S_SQ_MEM_GDS_WORD0_SRC_REL(x) (((unsigned)(x) & 0x3) << 18) argument
534 #define S_SQ_MEM_GDS_WORD0_SRC_SEL_X(x) (((unsigned)(x) & 0x7) << 20) argument
535 #define S_SQ_MEM_GDS_WORD0_SRC_SEL_Y(x) (((unsigned)(x) & 0x7) << 23) argument
536 #define S_SQ_MEM_GDS_WORD0_SRC_SEL_Z(x) (((unsigned)(x) & 0x7) << 26) argument
539 #define S_SQ_MEM_GDS_WORD1_DST_GPR(x) (((unsigned)(x) & 0x7f) << 0) argument
540 #define S_SQ_MEM_GDS_WORD1_DST_REL(x) (((unsigned)(x) & 0x3) << 7) argument
541 #define S_SQ_MEM_GDS_WORD1_GDS_OP(x) (((unsigned)(x) & 0x3f) << 9) argument
542 #define S_SQ_MEM_GDS_WORD1_SRC_GPR(x) (((unsigned)(x) & 0x7f) << 16) argument
543 #define S_SQ_MEM_GDS_WORD1_UAV_INDEX_MODE(x) (((unsigned)(x) & 0x3) << 24) argument
544 #define S_SQ_MEM_GDS_WORD1_UAV_ID(x) (((unsigned)(x) & 0xf) << 26) argument
545 #define S_SQ_MEM_GDS_WORD1_ALLOC_CONSUME(x) (((unsigned)(x) & 0x1) << 30) argument
546 #define S_SQ_MEM_GDS_WORD1_BCAST_FIRST_REQ(x) (((unsigned)(x) & 0x1) << 31) argument
549 #define S_SQ_MEM_GDS_WORD2_DST_SEL_X(x) (((unsigned)(x) & 0x7) << 0) argument
550 #define S_SQ_MEM_GDS_WORD2_DST_SEL_Y(x) (((unsigned)(x) & 0x7) << 3) argument
551 #define S_SQ_MEM_GDS_WORD2_DST_SEL_Z(x) (((unsigned)(x) & 0x7) << 6) argument
552 #define S_SQ_MEM_GDS_WORD2_DST_SEL_W(x) (((unsigned)(x) & 0x7) << 9) argument
555 #define S_SQ_ALU_WORD0_LDS_IDX_OP_IDX_OFFSET_4(x) (((unsigned)(x) & 0x1) << 12) argument
556 #define S_SQ_ALU_WORD0_LDS_IDX_OP_IDX_OFFSET_5(x) (((unsigned)(x) & 0x1) << 25) argument
559 #define S_SQ_ALU_WORD1_LDS_IDX_OP_IDX_OFFSET_1(x) (((unsigned)(x) & 0x1) << 12) argument
562 #define S_SQ_ALU_WORD1_LDS_IDX_OP_LDS_OP(x) (((unsigned)(x) & 0x3f) << 21) argument
563 #define S_SQ_ALU_WORD1_LDS_IDX_OP_IDX_OFFSET_0(x) (((unsigned)(x) & 0x1) << 27) argument
566 #define S_SQ_ALU_WORD1_LDS_IDX_OP_IDX_OFFSET_2(x) (((unsigned)(x) & 0x1) << 28) argument
568 #define S_SQ_ALU_WORD1_LDS_IDX_OP_IDX_OFFSET_3(x) (((unsigned)(x) & 0x1) << 31) argument