• Home
  • Raw
  • Download

Lines Matching defs:x

30 #define   S_SQ_CF_WORD0_ADDR(x)                                      (((unsigned)(x) & 0xFFFFFFFF) …  argument
31 #define G_SQ_CF_WORD0_ADDR(x) (((x) >> 0) & 0xFFFFFFFF) argument
34 #define S_SQ_CF_WORD1_POP_COUNT(x) (((unsigned)(x) & 0x7) << 0) argument
35 #define G_SQ_CF_WORD1_POP_COUNT(x) (((x) >> 0) & 0x7) argument
37 #define S_SQ_CF_WORD1_CF_CONST(x) (((unsigned)(x) & 0x1F) << 3) argument
38 #define G_SQ_CF_WORD1_CF_CONST(x) (((x) >> 3) & 0x1F) argument
40 #define S_SQ_CF_WORD1_COND(x) (((unsigned)(x) & 0x3) << 8) argument
41 #define G_SQ_CF_WORD1_COND(x) (((x) >> 8) & 0x3) argument
43 #define S_SQ_CF_WORD1_COUNT(x) (((unsigned)(x) & 0x7) << 10) argument
44 #define G_SQ_CF_WORD1_COUNT(x) (((x) >> 10) & 0x7) argument
46 #define S_SQ_CF_WORD1_CALL_COUNT(x) (((unsigned)(x) & 0x3F) << 13) argument
47 #define G_SQ_CF_WORD1_CALL_COUNT(x) (((x) >> 13) & 0x3F) argument
49 #define S_SQ_CF_WORD1_END_OF_PROGRAM(x) (((unsigned)(x) & 0x1) << 21) argument
50 #define G_SQ_CF_WORD1_END_OF_PROGRAM(x) (((x) >> 21) & 0x1) argument
52 #define S_SQ_CF_WORD1_VALID_PIXEL_MODE(x) (((unsigned)(x) & 0x1) << 22) argument
53 #define G_SQ_CF_WORD1_VALID_PIXEL_MODE(x) (((x) >> 22) & 0x1) argument
55 #define S_SQ_CF_WORD1_CF_INST(x) (((unsigned)(x) & 0x7F) << 23) argument
56 #define G_SQ_CF_WORD1_CF_INST(x) (((x) >> 23) & 0x7F) argument
58 #define S_SQ_CF_WORD1_WHOLE_QUAD_MODE(x) (((unsigned)(x) & 0x1) << 30) argument
59 #define G_SQ_CF_WORD1_WHOLE_QUAD_MODE(x) (((x) >> 30) & 0x1) argument
61 #define S_SQ_CF_WORD1_BARRIER(x) (((unsigned)(x) & 0x1) << 31) argument
62 #define G_SQ_CF_WORD1_BARRIER(x) (((x) >> 31) & 0x1) argument
65 #define S_SQ_CF_ALU_WORD0_ADDR(x) (((unsigned)(x) & 0x3FFFFF) <<… argument
66 #define G_SQ_CF_ALU_WORD0_ADDR(x) (((x) >> 0) & 0x3FFFFF) argument
68 #define S_SQ_CF_ALU_WORD0_KCACHE_BANK0(x) (((unsigned)(x) & 0xF) << 22) argument
69 #define G_SQ_CF_ALU_WORD0_KCACHE_BANK0(x) (((x) >> 22) & 0xF) argument
71 #define S_SQ_CF_ALU_WORD0_KCACHE_BANK1(x) (((unsigned)(x) & 0xF) << 26) argument
72 #define G_SQ_CF_ALU_WORD0_KCACHE_BANK1(x) (((x) >> 26) & 0xF) argument
74 #define S_SQ_CF_ALU_WORD0_KCACHE_MODE0(x) (((unsigned)(x) & 0x3) << 30) argument
75 #define G_SQ_CF_ALU_WORD0_KCACHE_MODE0(x) (((x) >> 30) & 0x3) argument
82 #define S_SQ_CF_ALU_WORD1_KCACHE_MODE1(x) (((unsigned)(x) & 0x3) << 0) argument
83 #define G_SQ_CF_ALU_WORD1_KCACHE_MODE1(x) (((x) >> 0) & 0x3) argument
85 #define S_SQ_CF_ALU_WORD1_KCACHE_ADDR0(x) (((unsigned)(x) & 0xFF) << 2) argument
86 #define G_SQ_CF_ALU_WORD1_KCACHE_ADDR0(x) (((x) >> 2) & 0xFF) argument
88 #define S_SQ_CF_ALU_WORD1_KCACHE_ADDR1(x) (((unsigned)(x) & 0xFF) << 10) argument
89 #define G_SQ_CF_ALU_WORD1_KCACHE_ADDR1(x) (((x) >> 10) & 0xFF) argument
91 #define S_SQ_CF_ALU_WORD1_COUNT(x) (((unsigned)(x) & 0x7F) << 18) argument
92 #define G_SQ_CF_ALU_WORD1_COUNT(x) (((x) >> 18) & 0x7F) argument
94 #define S_SQ_CF_ALU_WORD1_USES_WATERFALL(x) (((unsigned)(x) & 0x1) << 25) argument
95 #define G_SQ_CF_ALU_WORD1_USES_WATERFALL(x) (((x) >> 25) & 0x1) argument
97 #define S_SQ_CF_ALU_WORD1_CF_INST(x) (((unsigned)(x) & 0xF) << 26) argument
98 #define G_SQ_CF_ALU_WORD1_CF_INST(x) (((x) >> 26) & 0xF) argument
100 #define S_SQ_CF_ALU_WORD1_WHOLE_QUAD_MODE(x) (((unsigned)(x) & 0x1) << 30) argument
101 #define G_SQ_CF_ALU_WORD1_WHOLE_QUAD_MODE(x) (((x) >> 30) & 0x1) argument
103 #define S_SQ_CF_ALU_WORD1_BARRIER(x) (((unsigned)(x) & 0x1) << 31) argument
104 #define G_SQ_CF_ALU_WORD1_BARRIER(x) (((x) >> 31) & 0x1) argument
107 #define S_SQ_CF_ALLOC_EXPORT_WORD0_ARRAY_BASE(x) (((unsigned)(x) & 0x1FFF) << 0) argument
108 #define G_SQ_CF_ALLOC_EXPORT_WORD0_ARRAY_BASE(x) (((x) >> 0) & 0x1FFF) argument
110 #define S_SQ_CF_ALLOC_EXPORT_WORD0_TYPE(x) (((unsigned)(x) & 0x3) << 13) argument
111 #define G_SQ_CF_ALLOC_EXPORT_WORD0_TYPE(x) (((x) >> 13) & 0x3) argument
121 #define S_SQ_CF_ALLOC_EXPORT_WORD0_RW_GPR(x) (((unsigned)(x) & 0x7F) << 15) argument
122 #define G_SQ_CF_ALLOC_EXPORT_WORD0_RW_GPR(x) (((x) >> 15) & 0x7F) argument
124 #define S_SQ_CF_ALLOC_EXPORT_WORD0_RW_REL(x) (((unsigned)(x) & 0x1) << 22) argument
125 #define G_SQ_CF_ALLOC_EXPORT_WORD0_RW_REL(x) (((x) >> 22) & 0x1) argument
127 #define S_SQ_CF_ALLOC_EXPORT_WORD0_INDEX_GPR(x) (((unsigned)(x) & 0x7F) << 23) argument
128 #define G_SQ_CF_ALLOC_EXPORT_WORD0_INDEX_GPR(x) (((x) >> 23) & 0x7F) argument
130 #define S_SQ_CF_ALLOC_EXPORT_WORD0_ELEM_SIZE(x) (((unsigned)(x) & 0x3) << 30) argument
131 #define G_SQ_CF_ALLOC_EXPORT_WORD0_ELEM_SIZE(x) (((x) >> 30) & 0x3) argument
134 #define S_SQ_CF_ALLOC_EXPORT_WORD1_BURST_COUNT(x) (((unsigned)(x) & 0xF) << 17) argument
135 #define G_SQ_CF_ALLOC_EXPORT_WORD1_BURST_COUNT(x) (((x) >> 17) & 0xF) argument
137 #define S_SQ_CF_ALLOC_EXPORT_WORD1_END_OF_PROGRAM(x) (((unsigned)(x) & 0x1) << 21) argument
138 #define G_SQ_CF_ALLOC_EXPORT_WORD1_END_OF_PROGRAM(x) (((x) >> 21) & 0x1) argument
140 #define S_SQ_CF_ALLOC_EXPORT_WORD1_VALID_PIXEL_MODE(x) (((unsigned)(x) & 0x1) << 22) argument
141 #define G_SQ_CF_ALLOC_EXPORT_WORD1_VALID_PIXEL_MODE(x) (((x) >> 22) & 0x1) argument
143 #define S_SQ_CF_ALLOC_EXPORT_WORD1_CF_INST(x) (((unsigned)(x) & 0x7F) << 23) argument
144 #define G_SQ_CF_ALLOC_EXPORT_WORD1_CF_INST(x) (((x) >> 23) & 0x7F) argument
147 #define S_SQ_CF_ALLOC_EXPORT_WORD1_WHOLE_QUAD_MODE(x) (((unsigned)(x) & 0x1) << 30) argument
148 #define G_SQ_CF_ALLOC_EXPORT_WORD1_WHOLE_QUAD_MODE(x) (((x) >> 30) & 0x1) argument
150 #define S_SQ_CF_ALLOC_EXPORT_WORD1_BARRIER(x) (((unsigned)(x) & 0x1) << 31) argument
151 #define G_SQ_CF_ALLOC_EXPORT_WORD1_BARRIER(x) (((x) >> 31) & 0x1) argument
154 #define S_SQ_CF_ALLOC_EXPORT_WORD1_BUF_ARRAY_SIZE(x) (((unsigned)(x) & 0xFFF) << 0) argument
155 #define G_SQ_CF_ALLOC_EXPORT_WORD1_BUF_ARRAY_SIZE(x) (((x) >> 0) & 0xFFF) argument
157 #define S_SQ_CF_ALLOC_EXPORT_WORD1_BUF_COMP_MASK(x) (((unsigned)(x) & 0xF) << 12) argument
158 #define G_SQ_CF_ALLOC_EXPORT_WORD1_BUF_COMP_MASK(x) (((x) >> 12) & 0xF) argument
161 #define S_SQ_CF_ALLOC_EXPORT_WORD1_SWIZ_SEL_X(x) (((unsigned)(x) & 0x7) << 0) argument
162 #define G_SQ_CF_ALLOC_EXPORT_WORD1_SWIZ_SEL_X(x) (((x) >> 0) & 0x7) argument
164 #define S_SQ_CF_ALLOC_EXPORT_WORD1_SWIZ_SEL_Y(x) (((unsigned)(x) & 0x7) << 3) argument
165 #define G_SQ_CF_ALLOC_EXPORT_WORD1_SWIZ_SEL_Y(x) (((x) >> 3) & 0x7) argument
167 #define S_SQ_CF_ALLOC_EXPORT_WORD1_SWIZ_SEL_Z(x) (((unsigned)(x) & 0x7) << 6) argument
168 #define G_SQ_CF_ALLOC_EXPORT_WORD1_SWIZ_SEL_Z(x) (((x) >> 6) & 0x7) argument
170 #define S_SQ_CF_ALLOC_EXPORT_WORD1_SWIZ_SEL_W(x) (((unsigned)(x) & 0x7) << 9) argument
171 #define G_SQ_CF_ALLOC_EXPORT_WORD1_SWIZ_SEL_W(x) (((x) >> 9) & 0x7) argument
174 #define S_SQ_ALU_WORD0_SRC0_SEL(x) (((unsigned)(x) & 0x1FF) << 0) argument
175 #define G_SQ_ALU_WORD0_SRC0_SEL(x) (((x) >> 0) & 0x1FF) argument
216 #define S_SQ_ALU_WORD0_SRC0_REL(x) (((unsigned)(x) & 0x1) << 9) argument
217 #define G_SQ_ALU_WORD0_SRC0_REL(x) (((x) >> 9) & 0x1) argument
219 #define S_SQ_ALU_WORD0_SRC0_CHAN(x) (((unsigned)(x) & 0x3) << 10) argument
220 #define G_SQ_ALU_WORD0_SRC0_CHAN(x) (((x) >> 10) & 0x3) argument
222 #define S_SQ_ALU_WORD0_SRC0_NEG(x) (((unsigned)(x) & 0x1) << 12) argument
223 #define G_SQ_ALU_WORD0_SRC0_NEG(x) (((x) >> 12) & 0x1) argument
225 #define S_SQ_ALU_WORD0_SRC1_SEL(x) (((unsigned)(x) & 0x1FF) << 13) argument
226 #define G_SQ_ALU_WORD0_SRC1_SEL(x) (((x) >> 13) & 0x1FF) argument
228 #define S_SQ_ALU_WORD0_SRC1_REL(x) (((unsigned)(x) & 0x1) << 22) argument
229 #define G_SQ_ALU_WORD0_SRC1_REL(x) (((x) >> 22) & 0x1) argument
231 #define S_SQ_ALU_WORD0_SRC1_CHAN(x) (((unsigned)(x) & 0x3) << 23) argument
232 #define G_SQ_ALU_WORD0_SRC1_CHAN(x) (((x) >> 23) & 0x3) argument
234 #define S_SQ_ALU_WORD0_SRC1_NEG(x) (((unsigned)(x) & 0x1) << 25) argument
235 #define G_SQ_ALU_WORD0_SRC1_NEG(x) (((x) >> 25) & 0x1) argument
237 #define S_SQ_ALU_WORD0_INDEX_MODE(x) (((unsigned)(x) & 0x7) << 26) argument
238 #define G_SQ_ALU_WORD0_INDEX_MODE(x) (((x) >> 26) & 0x7) argument
240 #define S_SQ_ALU_WORD0_PRED_SEL(x) (((unsigned)(x) & 0x3) << 29) argument
241 #define G_SQ_ALU_WORD0_PRED_SEL(x) (((x) >> 29) & 0x3) argument
243 #define S_SQ_ALU_WORD0_LAST(x) (((unsigned)(x) & 0x1) << 31) argument
244 #define G_SQ_ALU_WORD0_LAST(x) (((x) >> 31) & 0x1) argument
247 #define S_SQ_ALU_WORD1_ENCODING(x) (((unsigned)(x) & 0x7) << 15) argument
248 #define G_SQ_ALU_WORD1_ENCODING(x) (((x) >> 15) & 0x7) argument
250 #define S_SQ_ALU_WORD1_BANK_SWIZZLE(x) (((unsigned)(x) & 0x7) << 18) argument
251 #define G_SQ_ALU_WORD1_BANK_SWIZZLE(x) (((x) >> 18) & 0x7) argument
253 #define S_SQ_ALU_WORD1_DST_GPR(x) (((unsigned)(x) & 0x7F) << 21) argument
254 #define G_SQ_ALU_WORD1_DST_GPR(x) (((x) >> 21) & 0x7F) argument
256 #define S_SQ_ALU_WORD1_DST_REL(x) (((unsigned)(x) & 0x1) << 28) argument
257 #define G_SQ_ALU_WORD1_DST_REL(x) (((x) >> 28) & 0x1) argument
259 #define S_SQ_ALU_WORD1_DST_CHAN(x) (((unsigned)(x) & 0x3) << 29) argument
260 #define G_SQ_ALU_WORD1_DST_CHAN(x) (((x) >> 29) & 0x3) argument
262 #define S_SQ_ALU_WORD1_CLAMP(x) (((unsigned)(x) & 0x1) << 31) argument
263 #define G_SQ_ALU_WORD1_CLAMP(x) (((x) >> 31) & 0x1) argument
266 #define S_SQ_ALU_WORD1_OP2_SRC0_ABS(x) (((unsigned)(x) & 0x1) << 0) argument
267 #define G_SQ_ALU_WORD1_OP2_SRC0_ABS(x) (((x) >> 0) & 0x1) argument
269 #define S_SQ_ALU_WORD1_OP2_SRC1_ABS(x) (((unsigned)(x) & 0x1) << 1) argument
270 #define G_SQ_ALU_WORD1_OP2_SRC1_ABS(x) (((x) >> 1) & 0x1) argument
272 #define S_SQ_ALU_WORD1_OP2_UPDATE_EXECUTE_MASK(x) (((unsigned)(x) & 0x1) << 2) argument
273 #define G_SQ_ALU_WORD1_OP2_UPDATE_EXECUTE_MASK(x) (((x) >> 2) & 0x1) argument
275 #define S_SQ_ALU_WORD1_OP2_UPDATE_PRED(x) (((unsigned)(x) & 0x1) << 3) argument
276 #define G_SQ_ALU_WORD1_OP2_UPDATE_PRED(x) (((x) >> 3) & 0x1) argument
278 #define S_SQ_ALU_WORD1_OP2_WRITE_MASK(x) (((unsigned)(x) & 0x1) << 4) argument
279 #define G_SQ_ALU_WORD1_OP2_WRITE_MASK(x) (((x) >> 4) & 0x1) argument
281 #define S_SQ_ALU_WORD1_OP2_FOG_MERGE(x) (((unsigned)(x) & 0x1) << 5) argument
282 #define G_SQ_ALU_WORD1_OP2_FOG_MERGE(x) (((x) >> 5) & 0x1) argument
284 #define S_SQ_ALU_WORD1_OP2_OMOD(x) (((unsigned)(x) & 0x3) << 6) argument
285 #define G_SQ_ALU_WORD1_OP2_OMOD(x) (((x) >> 6) & 0x3) argument
287 #define S_SQ_ALU_WORD1_OP2_ALU_INST(x) (((unsigned)(x) & 0x3FF) << 8) argument
288 #define G_SQ_ALU_WORD1_OP2_ALU_INST(x) (((x) >> 8) & 0x3FF) argument
291 #define S_SQ_ALU_WORD1_OP3_SRC2_SEL(x) (((unsigned)(x) & 0x1FF) << 0) argument
292 #define G_SQ_ALU_WORD1_OP3_SRC2_SEL(x) (((x) >> 0) & 0x1FF) argument
294 #define S_SQ_ALU_WORD1_OP3_SRC2_REL(x) (((unsigned)(x) & 0x1) << 9) argument
295 #define G_SQ_ALU_WORD1_OP3_SRC2_REL(x) (((x) >> 9) & 0x1) argument
297 #define S_SQ_ALU_WORD1_OP3_SRC2_CHAN(x) (((unsigned)(x) & 0x3) << 10) argument
298 #define G_SQ_ALU_WORD1_OP3_SRC2_CHAN(x) (((x) >> 10) & 0x3) argument
300 #define S_SQ_ALU_WORD1_OP3_SRC2_NEG(x) (((unsigned)(x) & 0x1) << 12) argument
301 #define G_SQ_ALU_WORD1_OP3_SRC2_NEG(x) (((x) >> 12) & 0x1) argument
303 #define S_SQ_ALU_WORD1_OP3_ALU_INST(x) (((unsigned)(x) & 0x1F) << 13) argument
304 #define G_SQ_ALU_WORD1_OP3_ALU_INST(x) (((x) >> 13) & 0x1F) argument
307 #define S_SQ_VTX_WORD0_VTX_INST(x) (((unsigned)(x) & 0x1F) << 0) argument
308 #define G_SQ_VTX_WORD0_VTX_INST(x) (((x) >> 0) & 0x1F) argument
310 #define S_SQ_VTX_WORD0_FETCH_TYPE(x) (((unsigned)(x) & 0x3) << 5) argument
311 #define G_SQ_VTX_WORD0_FETCH_TYPE(x) (((x) >> 5) & 0x3) argument
313 #define S_SQ_VTX_WORD0_FETCH_WHOLE_QUAD(x) (((unsigned)(x) & 0x1) << 7) argument
314 #define G_SQ_VTX_WORD0_FETCH_WHOLE_QUAD(x) (((x) >> 7) & 0x1) argument
316 #define S_SQ_VTX_WORD0_BUFFER_ID(x) (((unsigned)(x) & 0xFF) << 8) argument
317 #define G_SQ_VTX_WORD0_BUFFER_ID(x) (((x) >> 8) & 0xFF) argument
319 #define S_SQ_VTX_WORD0_SRC_GPR(x) (((unsigned)(x) & 0x7F) << 16) argument
320 #define G_SQ_VTX_WORD0_SRC_GPR(x) (((x) >> 16) & 0x7F) argument
322 #define S_SQ_VTX_WORD0_SRC_REL(x) (((unsigned)(x) & 0x1) << 23) argument
323 #define G_SQ_VTX_WORD0_SRC_REL(x) (((x) >> 23) & 0x1) argument
325 #define S_SQ_VTX_WORD0_SRC_SEL_X(x) (((unsigned)(x) & 0x3) << 24) argument
326 #define G_SQ_VTX_WORD0_SRC_SEL_X(x) (((x) >> 24) & 0x3) argument
328 #define S_SQ_VTX_WORD0_MEGA_FETCH_COUNT(x) (((unsigned)(x) & 0x3F) << 26) argument
329 #define G_SQ_VTX_WORD0_MEGA_FETCH_COUNT(x) (((x) >> 26) & 0x3F) argument
332 #define S_SQ_VTX_WORD1_DST_SEL_X(x) (((unsigned)(x) & 0x7) << 9) argument
333 #define G_SQ_VTX_WORD1_DST_SEL_X(x) (((x) >> 9) & 0x7) argument
335 #define S_SQ_VTX_WORD1_DST_SEL_Y(x) (((unsigned)(x) & 0x7) << 12) argument
336 #define G_SQ_VTX_WORD1_DST_SEL_Y(x) (((x) >> 12) & 0x7) argument
338 #define S_SQ_VTX_WORD1_DST_SEL_Z(x) (((unsigned)(x) & 0x7) << 15) argument
339 #define G_SQ_VTX_WORD1_DST_SEL_Z(x) (((x) >> 15) & 0x7) argument
341 #define S_SQ_VTX_WORD1_DST_SEL_W(x) (((unsigned)(x) & 0x7) << 18) argument
342 #define G_SQ_VTX_WORD1_DST_SEL_W(x) (((x) >> 18) & 0x7) argument
344 #define S_SQ_VTX_WORD1_USE_CONST_FIELDS(x) (((unsigned)(x) & 0x1) << 21) argument
345 #define G_SQ_VTX_WORD1_USE_CONST_FIELDS(x) (((x) >> 21) & 0x1) argument
347 #define S_SQ_VTX_WORD1_DATA_FORMAT(x) (((unsigned)(x) & 0x3F) << 22) argument
348 #define G_SQ_VTX_WORD1_DATA_FORMAT(x) (((x) >> 22) & 0x3F) argument
350 #define S_SQ_VTX_WORD1_NUM_FORMAT_ALL(x) (((unsigned)(x) & 0x3) << 28) argument
351 #define G_SQ_VTX_WORD1_NUM_FORMAT_ALL(x) (((x) >> 28) & 0x3) argument
353 #define S_SQ_VTX_WORD1_FORMAT_COMP_ALL(x) (((unsigned)(x) & 0x1) << 30) argument
354 #define G_SQ_VTX_WORD1_FORMAT_COMP_ALL(x) (((x) >> 30) & 0x1) argument
356 #define S_SQ_VTX_WORD1_SRF_MODE_ALL(x) (((unsigned)(x) & 0x1) << 31) argument
357 #define G_SQ_VTX_WORD1_SRF_MODE_ALL(x) (((x) >> 31) & 0x1) argument
360 #define S_SQ_VTX_WORD1_GPR_DST_GPR(x) (((unsigned)(x) & 0x7F) << 0) argument
361 #define G_SQ_VTX_WORD1_GPR_DST_GPR(x) (((x) >> 0) & 0x7F) argument
363 #define S_SQ_VTX_WORD1_GPR_DST_REL(x) (((unsigned)(x) & 0x1) << 7) argument
364 #define G_SQ_VTX_WORD1_GPR_DST_REL(x) (((x) >> 7) & 0x1) argument
367 #define S_SQ_VTX_WORD1_SEM_SEMANTIC_ID(x) (((unsigned)(x) & 0xFF) << 0) argument
368 #define G_SQ_VTX_WORD1_SEM_SEMANTIC_ID(x) (((x) >> 0) & 0xFF) argument
371 #define S_SQ_VTX_WORD2_OFFSET(x) (((unsigned)(x) & 0xFFFF) << 0) argument
372 #define G_SQ_VTX_WORD2_OFFSET(x) (((x) >> 0) & 0xFFFF) argument
374 #define S_SQ_VTX_WORD2_ENDIAN_SWAP(x) (((unsigned)(x) & 0x3) << 16) argument
375 #define G_SQ_VTX_WORD2_ENDIAN_SWAP(x) (((x) >> 16) & 0x3) argument
377 #define S_SQ_VTX_WORD2_CONST_BUF_NO_STRIDE(x) (((unsigned)(x) & 0x1) << 18) argument
378 #define G_SQ_VTX_WORD2_CONST_BUF_NO_STRIDE(x) (((x) >> 18) & 0x1) argument
380 #define S_SQ_VTX_WORD2_MEGA_FETCH(x) (((unsigned)(x) & 0x1) << 19) argument
381 #define G_SQ_VTX_WORD2_MEGA_FETCH(x) (((x) >> 19) & 0x1) argument
383 #define S_SQ_VTX_WORD2_ALT_CONST(x) (((unsigned)(x) & 0x1) << 20) argument
384 #define G_SQ_VTX_WORD2_ALT_CONST(x) (((x) >> 20) & 0x1) argument
387 #define S_SQ_TEX_WORD0_TEX_INST(x) (((unsigned)(x) & 0x1F) << 0) argument
388 #define G_SQ_TEX_WORD0_TEX_INST(x) (((x) >> 0) & 0x1F) argument
390 #define S_SQ_TEX_WORD0_BC_FRAC_MODE(x) (((unsigned)(x) & 0x1) << 5) argument
391 #define G_SQ_TEX_WORD0_BC_FRAC_MODE(x) (((x) >> 5) & 0x1) argument
393 #define EG_S_SQ_TEX_WORD0_INST_MOD(x) (((unsigned)(x) & 0x3) << 5) argument
394 #define EG_G_SQ_TEX_WORD0_INST_MOD(x) (((x) >> 5) & 0x3) argument
396 #define S_SQ_TEX_WORD0_FETCH_WHOLE_QUAD(x) (((unsigned)(x) & 0x1) << 7) argument
397 #define G_SQ_TEX_WORD0_FETCH_WHOLE_QUAD(x) (((x) >> 7) & 0x1) argument
399 #define S_SQ_TEX_WORD0_RESOURCE_ID(x) (((unsigned)(x) & 0xFF) << 8) argument
400 #define G_SQ_TEX_WORD0_RESOURCE_ID(x) (((x) >> 8) & 0xFF) argument
402 #define S_SQ_TEX_WORD0_SRC_GPR(x) (((unsigned)(x) & 0x7F) << 16) argument
403 #define G_SQ_TEX_WORD0_SRC_GPR(x) (((x) >> 16) & 0x7F) argument
405 #define S_SQ_TEX_WORD0_SRC_REL(x) (((unsigned)(x) & 0x1) << 23) argument
406 #define G_SQ_TEX_WORD0_SRC_REL(x) (((x) >> 23) & 0x1) argument
408 #define S_SQ_TEX_WORD0_ALT_CONST(x) (((unsigned)(x) & 0x1) << 24) argument
409 #define G_SQ_TEX_WORD0_ALT_CONST(x) (((x) >> 24) & 0x1) argument
412 #define S_SQ_TEX_WORD1_DST_GPR(x) (((unsigned)(x) & 0x7F) << 0) argument
413 #define G_SQ_TEX_WORD1_DST_GPR(x) (((x) >> 0) & 0x7F) argument
415 #define S_SQ_TEX_WORD1_DST_REL(x) (((unsigned)(x) & 0x1) << 7) argument
416 #define G_SQ_TEX_WORD1_DST_REL(x) (((x) >> 7) & 0x1) argument
418 #define S_SQ_TEX_WORD1_DST_SEL_X(x) (((unsigned)(x) & 0x7) << 9) argument
419 #define G_SQ_TEX_WORD1_DST_SEL_X(x) (((x) >> 9) & 0x7) argument
421 #define S_SQ_TEX_WORD1_DST_SEL_Y(x) (((unsigned)(x) & 0x7) << 12) argument
422 #define G_SQ_TEX_WORD1_DST_SEL_Y(x) (((x) >> 12) & 0x7) argument
424 #define S_SQ_TEX_WORD1_DST_SEL_Z(x) (((unsigned)(x) & 0x7) << 15) argument
425 #define G_SQ_TEX_WORD1_DST_SEL_Z(x) (((x) >> 15) & 0x7) argument
427 #define S_SQ_TEX_WORD1_DST_SEL_W(x) (((unsigned)(x) & 0x7) << 18) argument
428 #define G_SQ_TEX_WORD1_DST_SEL_W(x) (((x) >> 18) & 0x7) argument
430 #define S_SQ_TEX_WORD1_LOD_BIAS(x) (((unsigned)(x) & 0x7F) << 21) argument
431 #define G_SQ_TEX_WORD1_LOD_BIAS(x) (((x) >> 21) & 0x7F) argument
433 #define S_SQ_TEX_WORD1_COORD_TYPE_X(x) (((unsigned)(x) & 0x1) << 28) argument
434 #define G_SQ_TEX_WORD1_COORD_TYPE_X(x) (((x) >> 28) & 0x1) argument
438 #define S_SQ_TEX_WORD1_COORD_TYPE_Y(x) (((unsigned)(x) & 0x1) << 29) argument
439 #define G_SQ_TEX_WORD1_COORD_TYPE_Y(x) (((x) >> 29) & 0x1) argument
441 #define S_SQ_TEX_WORD1_COORD_TYPE_Z(x) (((unsigned)(x) & 0x1) << 30) argument
442 #define G_SQ_TEX_WORD1_COORD_TYPE_Z(x) (((x) >> 30) & 0x1) argument
444 #define S_SQ_TEX_WORD1_COORD_TYPE_W(x) (((unsigned)(x) & 0x1) << 31) argument
445 #define G_SQ_TEX_WORD1_COORD_TYPE_W(x) (((x) >> 31) & 0x1) argument
448 #define S_SQ_TEX_WORD2_OFFSET_X(x) (((unsigned)(x) & 0x1F) << 0) argument
449 #define G_SQ_TEX_WORD2_OFFSET_X(x) (((x) >> 0) & 0x1F) argument
451 #define S_SQ_TEX_WORD2_OFFSET_Y(x) (((unsigned)(x) & 0x1F) << 5) argument
452 #define G_SQ_TEX_WORD2_OFFSET_Y(x) (((x) >> 5) & 0x1F) argument
454 #define S_SQ_TEX_WORD2_OFFSET_Z(x) (((unsigned)(x) & 0x1F) << 10) argument
455 #define G_SQ_TEX_WORD2_OFFSET_Z(x) (((x) >> 10) & 0x1F) argument
457 #define S_SQ_TEX_WORD2_SAMPLER_ID(x) (((unsigned)(x) & 0x1F) << 15) argument
458 #define G_SQ_TEX_WORD2_SAMPLER_ID(x) (((x) >> 15) & 0x1F) argument
460 #define S_SQ_TEX_WORD2_SRC_SEL_X(x) (((unsigned)(x) & 0x7) << 20) argument
461 #define G_SQ_TEX_WORD2_SRC_SEL_X(x) (((x) >> 20) & 0x7) argument
463 #define S_SQ_TEX_WORD2_SRC_SEL_Y(x) (((unsigned)(x) & 0x7) << 23) argument
464 #define G_SQ_TEX_WORD2_SRC_SEL_Y(x) (((x) >> 23) & 0x7) argument
466 #define S_SQ_TEX_WORD2_SRC_SEL_Z(x) (((unsigned)(x) & 0x7) << 26) argument
467 #define G_SQ_TEX_WORD2_SRC_SEL_Z(x) (((x) >> 26) & 0x7) argument
469 #define S_SQ_TEX_WORD2_SRC_SEL_W(x) (((unsigned)(x) & 0x7) << 29) argument
470 #define G_SQ_TEX_WORD2_SRC_SEL_W(x) (((x) >> 29) & 0x7) argument