• 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
64 #define S_SQ_CF_WORD1_COUNT_3(x) (((unsigned)(x) & 0x1) << 19) argument
65 #define G_SQ_CF_WORD1_COUNT_3(x) (((x) >> 19) & 0x1) argument
68 #define S_SQ_CF_ALU_WORD0_ADDR(x) (((unsigned)(x) & 0x3FFFFF) <<… argument
69 #define G_SQ_CF_ALU_WORD0_ADDR(x) (((x) >> 0) & 0x3FFFFF) argument
71 #define S_SQ_CF_ALU_WORD0_KCACHE_BANK0(x) (((unsigned)(x) & 0xF) << 22) argument
72 #define G_SQ_CF_ALU_WORD0_KCACHE_BANK0(x) (((x) >> 22) & 0xF) argument
74 #define S_SQ_CF_ALU_WORD0_KCACHE_BANK1(x) (((unsigned)(x) & 0xF) << 26) argument
75 #define G_SQ_CF_ALU_WORD0_KCACHE_BANK1(x) (((x) >> 26) & 0xF) argument
77 #define S_SQ_CF_ALU_WORD0_KCACHE_MODE0(x) (((unsigned)(x) & 0x3) << 30) argument
78 #define G_SQ_CF_ALU_WORD0_KCACHE_MODE0(x) (((x) >> 30) & 0x3) argument
81 #define S_SQ_CF_ALU_WORD1_KCACHE_MODE1(x) (((unsigned)(x) & 0x3) << 0) argument
82 #define G_SQ_CF_ALU_WORD1_KCACHE_MODE1(x) (((x) >> 0) & 0x3) argument
84 #define S_SQ_CF_ALU_WORD1_KCACHE_ADDR0(x) (((unsigned)(x) & 0xFF) << 2) argument
85 #define G_SQ_CF_ALU_WORD1_KCACHE_ADDR0(x) (((x) >> 2) & 0xFF) argument
87 #define S_SQ_CF_ALU_WORD1_KCACHE_ADDR1(x) (((unsigned)(x) & 0xFF) << 10) argument
88 #define G_SQ_CF_ALU_WORD1_KCACHE_ADDR1(x) (((x) >> 10) & 0xFF) argument
90 #define S_SQ_CF_ALU_WORD1_COUNT(x) (((unsigned)(x) & 0x7F) << 18) argument
91 #define G_SQ_CF_ALU_WORD1_COUNT(x) (((x) >> 18) & 0x7F) argument
93 #define S_SQ_CF_ALU_WORD1_USES_WATERFALL(x) (((unsigned)(x) & 0x1) << 25) argument
94 #define G_SQ_CF_ALU_WORD1_USES_WATERFALL(x) (((x) >> 25) & 0x1) argument
96 #define S_SQ_CF_ALU_WORD1_CF_INST(x) (((unsigned)(x) & 0xF) << 26) argument
97 #define G_SQ_CF_ALU_WORD1_CF_INST(x) (((x) >> 26) & 0xF) argument
99 #define S_SQ_CF_ALU_WORD1_WHOLE_QUAD_MODE(x) (((unsigned)(x) & 0x1) << 30) argument
100 #define G_SQ_CF_ALU_WORD1_WHOLE_QUAD_MODE(x) (((x) >> 30) & 0x1) argument
102 #define S_SQ_CF_ALU_WORD1_BARRIER(x) (((unsigned)(x) & 0x1) << 31) argument
103 #define G_SQ_CF_ALU_WORD1_BARRIER(x) (((x) >> 31) & 0x1) argument
105 #define S_SQ_CF_ALU_WORD1_ALT_CONST(x) (((unsigned)(x) & 0x1) << 25) argument
106 #define G_SQ_CF_ALU_WORD1_ALT_CONST(x) (((x) >> 25) & 0x1) argument
109 #define S_SQ_CF_ALLOC_EXPORT_WORD0_ARRAY_BASE(x) (((unsigned)(x) & 0x1FFF) << 0) argument
110 #define G_SQ_CF_ALLOC_EXPORT_WORD0_ARRAY_BASE(x) (((x) >> 0) & 0x1FFF) argument
112 #define S_SQ_CF_ALLOC_EXPORT_WORD0_TYPE(x) (((unsigned)(x) & 0x3) << 13) argument
113 #define G_SQ_CF_ALLOC_EXPORT_WORD0_TYPE(x) (((x) >> 13) & 0x3) argument
119 #define S_SQ_CF_ALLOC_EXPORT_WORD0_RW_GPR(x) (((unsigned)(x) & 0x7F) << 15) argument
120 #define G_SQ_CF_ALLOC_EXPORT_WORD0_RW_GPR(x) (((x) >> 15) & 0x7F) argument
122 #define S_SQ_CF_ALLOC_EXPORT_WORD0_RW_REL(x) (((unsigned)(x) & 0x1) << 22) argument
123 #define G_SQ_CF_ALLOC_EXPORT_WORD0_RW_REL(x) (((x) >> 22) & 0x1) argument
125 #define S_SQ_CF_ALLOC_EXPORT_WORD0_INDEX_GPR(x) (((unsigned)(x) & 0x7F) << 23) argument
126 #define G_SQ_CF_ALLOC_EXPORT_WORD0_INDEX_GPR(x) (((x) >> 23) & 0x7F) argument
128 #define S_SQ_CF_ALLOC_EXPORT_WORD0_ELEM_SIZE(x) (((unsigned)(x) & 0x3) << 30) argument
129 #define G_SQ_CF_ALLOC_EXPORT_WORD0_ELEM_SIZE(x) (((x) >> 30) & 0x3) argument
132 #define S_SQ_CF_ALLOC_EXPORT_WORD1_BURST_COUNT(x) (((unsigned)(x) & 0xF) << 17) argument
133 #define G_SQ_CF_ALLOC_EXPORT_WORD1_BURST_COUNT(x) (((x) >> 17) & 0xF) argument
135 #define S_SQ_CF_ALLOC_EXPORT_WORD1_END_OF_PROGRAM(x) (((unsigned)(x) & 0x1) << 21) argument
136 #define G_SQ_CF_ALLOC_EXPORT_WORD1_END_OF_PROGRAM(x) (((x) >> 21) & 0x1) argument
138 #define S_SQ_CF_ALLOC_EXPORT_WORD1_VALID_PIXEL_MODE(x) (((unsigned)(x) & 0x1) << 22) argument
139 #define G_SQ_CF_ALLOC_EXPORT_WORD1_VALID_PIXEL_MODE(x) (((x) >> 22) & 0x1) argument
141 #define S_SQ_CF_ALLOC_EXPORT_WORD1_CF_INST(x) (((unsigned)(x) & 0x7F) << 23) argument
142 #define G_SQ_CF_ALLOC_EXPORT_WORD1_CF_INST(x) (((x) >> 23) & 0x7F) argument
144 #define S_SQ_CF_ALLOC_EXPORT_WORD1_WHOLE_QUAD_MODE(x) (((unsigned)(x) & 0x1) << 30) argument
145 #define G_SQ_CF_ALLOC_EXPORT_WORD1_WHOLE_QUAD_MODE(x) (((x) >> 30) & 0x1) argument
147 #define S_SQ_CF_ALLOC_EXPORT_WORD1_BARRIER(x) (((unsigned)(x) & 0x1) << 31) argument
148 #define G_SQ_CF_ALLOC_EXPORT_WORD1_BARRIER(x) (((x) >> 31) & 0x1) argument
151 #define S_SQ_CF_ALLOC_EXPORT_WORD1_BUF_ARRAY_SIZE(x) (((unsigned)(x) & 0xFFF) << 0) argument
152 #define G_SQ_CF_ALLOC_EXPORT_WORD1_BUF_ARRAY_SIZE(x) (((x) >> 0) & 0xFFF) argument
154 #define S_SQ_CF_ALLOC_EXPORT_WORD1_BUF_COMP_MASK(x) (((unsigned)(x) & 0xF) << 12) argument
155 #define G_SQ_CF_ALLOC_EXPORT_WORD1_BUF_COMP_MASK(x) (((x) >> 12) & 0xF) argument
158 #define S_SQ_CF_ALLOC_EXPORT_WORD1_SWIZ_SEL_X(x) (((unsigned)(x) & 0x7) << 0) argument
159 #define G_SQ_CF_ALLOC_EXPORT_WORD1_SWIZ_SEL_X(x) (((x) >> 0) & 0x7) argument
161 #define S_SQ_CF_ALLOC_EXPORT_WORD1_SWIZ_SEL_Y(x) (((unsigned)(x) & 0x7) << 3) argument
162 #define G_SQ_CF_ALLOC_EXPORT_WORD1_SWIZ_SEL_Y(x) (((x) >> 3) & 0x7) argument
164 #define S_SQ_CF_ALLOC_EXPORT_WORD1_SWIZ_SEL_Z(x) (((unsigned)(x) & 0x7) << 6) argument
165 #define G_SQ_CF_ALLOC_EXPORT_WORD1_SWIZ_SEL_Z(x) (((x) >> 6) & 0x7) argument
167 #define S_SQ_CF_ALLOC_EXPORT_WORD1_SWIZ_SEL_W(x) (((unsigned)(x) & 0x7) << 9) argument
168 #define G_SQ_CF_ALLOC_EXPORT_WORD1_SWIZ_SEL_W(x) (((x) >> 9) & 0x7) argument
171 #define S_SQ_ALU_WORD0_SRC0_SEL(x) (((unsigned)(x) & 0x1FF) << 0) argument
172 #define G_SQ_ALU_WORD0_SRC0_SEL(x) (((x) >> 0) & 0x1FF) argument
174 #define S_SQ_ALU_WORD0_SRC0_REL(x) (((unsigned)(x) & 0x1) << 9) argument
175 #define G_SQ_ALU_WORD0_SRC0_REL(x) (((x) >> 9) & 0x1) argument
177 #define S_SQ_ALU_WORD0_SRC0_CHAN(x) (((unsigned)(x) & 0x3) << 10) argument
178 #define G_SQ_ALU_WORD0_SRC0_CHAN(x) (((x) >> 10) & 0x3) argument
180 #define S_SQ_ALU_WORD0_SRC0_NEG(x) (((unsigned)(x) & 0x1) << 12) argument
181 #define G_SQ_ALU_WORD0_SRC0_NEG(x) (((x) >> 12) & 0x1) argument
183 #define S_SQ_ALU_WORD0_SRC1_SEL(x) (((unsigned)(x) & 0x1FF) << 13) argument
184 #define G_SQ_ALU_WORD0_SRC1_SEL(x) (((x) >> 13) & 0x1FF) argument
186 #define S_SQ_ALU_WORD0_SRC1_REL(x) (((unsigned)(x) & 0x1) << 22) argument
187 #define G_SQ_ALU_WORD0_SRC1_REL(x) (((x) >> 22) & 0x1) argument
189 #define S_SQ_ALU_WORD0_SRC1_CHAN(x) (((unsigned)(x) & 0x3) << 23) argument
190 #define G_SQ_ALU_WORD0_SRC1_CHAN(x) (((x) >> 23) & 0x3) argument
192 #define S_SQ_ALU_WORD0_SRC1_NEG(x) (((unsigned)(x) & 0x1) << 25) argument
193 #define G_SQ_ALU_WORD0_SRC1_NEG(x) (((x) >> 25) & 0x1) argument
195 #define S_SQ_ALU_WORD0_INDEX_MODE(x) (((unsigned)(x) & 0x7) << 26) argument
196 #define G_SQ_ALU_WORD0_INDEX_MODE(x) (((x) >> 26) & 0x7) argument
198 #define S_SQ_ALU_WORD0_PRED_SEL(x) (((unsigned)(x) & 0x3) << 29) argument
199 #define G_SQ_ALU_WORD0_PRED_SEL(x) (((x) >> 29) & 0x3) argument
201 #define S_SQ_ALU_WORD0_LAST(x) (((unsigned)(x) & 0x1) << 31) argument
202 #define G_SQ_ALU_WORD0_LAST(x) (((x) >> 31) & 0x1) argument
205 #define S_SQ_ALU_WORD1_ENCODING(x) (((unsigned)(x) & 0x7) << 15) argument
206 #define G_SQ_ALU_WORD1_ENCODING(x) (((x) >> 15) & 0x7) argument
208 #define S_SQ_ALU_WORD1_BANK_SWIZZLE(x) (((unsigned)(x) & 0x7) << 18) argument
209 #define G_SQ_ALU_WORD1_BANK_SWIZZLE(x) (((x) >> 18) & 0x7) argument
211 #define S_SQ_ALU_WORD1_DST_GPR(x) (((unsigned)(x) & 0x7F) << 21) argument
212 #define G_SQ_ALU_WORD1_DST_GPR(x) (((x) >> 21) & 0x7F) argument
214 #define S_SQ_ALU_WORD1_DST_REL(x) (((unsigned)(x) & 0x1) << 28) argument
215 #define G_SQ_ALU_WORD1_DST_REL(x) (((x) >> 28) & 0x1) argument
217 #define S_SQ_ALU_WORD1_DST_CHAN(x) (((unsigned)(x) & 0x3) << 29) argument
218 #define G_SQ_ALU_WORD1_DST_CHAN(x) (((x) >> 29) & 0x3) argument
220 #define S_SQ_ALU_WORD1_CLAMP(x) (((unsigned)(x) & 0x1) << 31) argument
221 #define G_SQ_ALU_WORD1_CLAMP(x) (((x) >> 31) & 0x1) argument
224 #define S_SQ_ALU_WORD1_OP2_SRC0_ABS(x) (((unsigned)(x) & 0x1) << 0) argument
225 #define G_SQ_ALU_WORD1_OP2_SRC0_ABS(x) (((x) >> 0) & 0x1) argument
227 #define S_SQ_ALU_WORD1_OP2_SRC1_ABS(x) (((unsigned)(x) & 0x1) << 1) argument
228 #define G_SQ_ALU_WORD1_OP2_SRC1_ABS(x) (((x) >> 1) & 0x1) argument
230 #define S_SQ_ALU_WORD1_OP2_UPDATE_EXECUTE_MASK(x) (((unsigned)(x) & 0x1) << 2) argument
231 #define G_SQ_ALU_WORD1_OP2_UPDATE_EXECUTE_MASK(x) (((x) >> 2) & 0x1) argument
233 #define S_SQ_ALU_WORD1_OP2_UPDATE_PRED(x) (((unsigned)(x) & 0x1) << 3) argument
234 #define G_SQ_ALU_WORD1_OP2_UPDATE_PRED(x) (((x) >> 3) & 0x1) argument
236 #define S_SQ_ALU_WORD1_OP2_WRITE_MASK(x) (((unsigned)(x) & 0x1) << 4) argument
237 #define G_SQ_ALU_WORD1_OP2_WRITE_MASK(x) (((x) >> 4) & 0x1) argument
239 #define S_SQ_ALU_WORD1_OP2_OMOD(x) (((unsigned)(x) & 0x3) << 5) argument
240 #define G_SQ_ALU_WORD1_OP2_OMOD(x) (((x) >> 5) & 0x3) argument
242 #define S_SQ_ALU_WORD1_OP2_ALU_INST(x) (((unsigned)(x) & 0x7FF) << 7) argument
243 #define G_SQ_ALU_WORD1_OP2_ALU_INST(x) (((x) >> 7) & 0x7FF) argument
351 #define S_SQ_ALU_WORD1_OP3_SRC2_SEL(x) (((unsigned)(x) & 0x1FF) << 0) argument
352 #define G_SQ_ALU_WORD1_OP3_SRC2_SEL(x) (((x) >> 0) & 0x1FF) argument
354 #define S_SQ_ALU_WORD1_OP3_SRC2_REL(x) (((unsigned)(x) & 0x1) << 9) argument
355 #define G_SQ_ALU_WORD1_OP3_SRC2_REL(x) (((x) >> 9) & 0x1) argument
357 #define S_SQ_ALU_WORD1_OP3_SRC2_CHAN(x) (((unsigned)(x) & 0x3) << 10) argument
358 #define G_SQ_ALU_WORD1_OP3_SRC2_CHAN(x) (((x) >> 10) & 0x3) argument
360 #define S_SQ_ALU_WORD1_OP3_SRC2_NEG(x) (((unsigned)(x) & 0x1) << 12) argument
361 #define G_SQ_ALU_WORD1_OP3_SRC2_NEG(x) (((x) >> 12) & 0x1) argument
363 #define S_SQ_ALU_WORD1_OP3_ALU_INST(x) (((unsigned)(x) & 0x1F) << 13) argument
364 #define G_SQ_ALU_WORD1_OP3_ALU_INST(x) (((x) >> 13) & 0x1F) argument
385 #define S_SQ_VTX_WORD0_VTX_INST(x) (((unsigned)(x) & 0x1F) << 0) argument
386 #define G_SQ_VTX_WORD0_VTX_INST(x) (((x) >> 0) & 0x1F) argument
388 #define S_SQ_VTX_WORD0_FETCH_TYPE(x) (((unsigned)(x) & 0x3) << 5) argument
389 #define G_SQ_VTX_WORD0_FETCH_TYPE(x) (((x) >> 5) & 0x3) argument
391 #define S_SQ_VTX_WORD0_FETCH_WHOLE_QUAD(x) (((unsigned)(x) & 0x1) << 7) argument
392 #define G_SQ_VTX_WORD0_FETCH_WHOLE_QUAD(x) (((x) >> 7) & 0x1) argument
394 #define S_SQ_VTX_WORD0_BUFFER_ID(x) (((unsigned)(x) & 0xFF) << 8) argument
395 #define G_SQ_VTX_WORD0_BUFFER_ID(x) (((x) >> 8) & 0xFF) argument
397 #define S_SQ_VTX_WORD0_SRC_GPR(x) (((unsigned)(x) & 0x7F) << 16) argument
398 #define G_SQ_VTX_WORD0_SRC_GPR(x) (((x) >> 16) & 0x7F) argument
400 #define S_SQ_VTX_WORD0_SRC_REL(x) (((unsigned)(x) & 0x1) << 23) argument
401 #define G_SQ_VTX_WORD0_SRC_REL(x) (((x) >> 23) & 0x1) argument
403 #define S_SQ_VTX_WORD0_SRC_SEL_X(x) (((unsigned)(x) & 0x3) << 24) argument
404 #define G_SQ_VTX_WORD0_SRC_SEL_X(x) (((x) >> 24) & 0x3) argument
406 #define S_SQ_VTX_WORD0_MEGA_FETCH_COUNT(x) (((unsigned)(x) & 0x3F) << 26) argument
407 #define G_SQ_VTX_WORD0_MEGA_FETCH_COUNT(x) (((x) >> 26) & 0x3F) argument
410 #define S_SQ_VTX_WORD1_DST_SEL_X(x) (((unsigned)(x) & 0x7) << 9) argument
411 #define G_SQ_VTX_WORD1_DST_SEL_X(x) (((x) >> 9) & 0x7) argument
413 #define S_SQ_VTX_WORD1_DST_SEL_Y(x) (((unsigned)(x) & 0x7) << 12) argument
414 #define G_SQ_VTX_WORD1_DST_SEL_Y(x) (((x) >> 12) & 0x7) argument
416 #define S_SQ_VTX_WORD1_DST_SEL_Z(x) (((unsigned)(x) & 0x7) << 15) argument
417 #define G_SQ_VTX_WORD1_DST_SEL_Z(x) (((x) >> 15) & 0x7) argument
419 #define S_SQ_VTX_WORD1_DST_SEL_W(x) (((unsigned)(x) & 0x7) << 18) argument
420 #define G_SQ_VTX_WORD1_DST_SEL_W(x) (((x) >> 18) & 0x7) argument
422 #define S_SQ_VTX_WORD1_USE_CONST_FIELDS(x) (((unsigned)(x) & 0x1) << 21) argument
423 #define G_SQ_VTX_WORD1_USE_CONST_FIELDS(x) (((x) >> 21) & 0x1) argument
425 #define S_SQ_VTX_WORD1_DATA_FORMAT(x) (((unsigned)(x) & 0x3F) << 22) argument
426 #define G_SQ_VTX_WORD1_DATA_FORMAT(x) (((x) >> 22) & 0x3F) argument
428 #define S_SQ_VTX_WORD1_NUM_FORMAT_ALL(x) (((unsigned)(x) & 0x3) << 28) argument
429 #define G_SQ_VTX_WORD1_NUM_FORMAT_ALL(x) (((x) >> 28) & 0x3) argument
431 #define S_SQ_VTX_WORD1_FORMAT_COMP_ALL(x) (((unsigned)(x) & 0x1) << 30) argument
432 #define G_SQ_VTX_WORD1_FORMAT_COMP_ALL(x) (((x) >> 30) & 0x1) argument
434 #define S_SQ_VTX_WORD1_SRF_MODE_ALL(x) (((unsigned)(x) & 0x1) << 31) argument
435 #define G_SQ_VTX_WORD1_SRF_MODE_ALL(x) (((x) >> 31) & 0x1) argument
438 #define S_SQ_VTX_WORD1_GPR_DST_GPR(x) (((unsigned)(x) & 0x7F) << 0) argument
439 #define G_SQ_VTX_WORD1_GPR_DST_GPR(x) (((x) >> 0) & 0x7F) argument
441 #define S_SQ_VTX_WORD1_GPR_DST_REL(x) (((unsigned)(x) & 0x1) << 7) argument
442 #define G_SQ_VTX_WORD1_GPR_DST_REL(x) (((x) >> 7) & 0x1) argument
445 #define S_SQ_VTX_WORD1_SEM_SEMANTIC_ID(x) (((unsigned)(x) & 0xFF) << 0) argument
446 #define G_SQ_VTX_WORD1_SEM_SEMANTIC_ID(x) (((x) >> 0) & 0xFF) argument
449 #define S_SQ_VTX_WORD2_OFFSET(x) (((unsigned)(x) & 0xFFFF) << 0) argument
450 #define G_SQ_VTX_WORD2_OFFSET(x) (((x) >> 0) & 0xFFFF) argument
452 #define S_SQ_VTX_WORD2_ENDIAN_SWAP(x) (((unsigned)(x) & 0x3) << 16) argument
453 #define G_SQ_VTX_WORD2_ENDIAN_SWAP(x) (((x) >> 16) & 0x3) argument
455 #define S_SQ_VTX_WORD2_CONST_BUF_NO_STRIDE(x) (((unsigned)(x) & 0x1) << 18) argument
456 #define G_SQ_VTX_WORD2_CONST_BUF_NO_STRIDE(x) (((x) >> 18) & 0x1) argument
458 #define S_SQ_VTX_WORD2_MEGA_FETCH(x) (((unsigned)(x) & 0x1) << 19) argument
459 #define G_SQ_VTX_WORD2_MEGA_FETCH(x) (((x) >> 19) & 0x1) argument
461 #define S_SQ_VTX_WORD2_ALT_CONST(x) (((unsigned)(x) & 0x1) << 20) argument
462 #define G_SQ_VTX_WORD2_ALT_CONST(x) (((x) >> 20) & 0x1) argument
465 #define S_SQ_TEX_WORD0_TEX_INST(x) (((unsigned)(x) & 0x1F) << 0) argument
466 #define G_SQ_TEX_WORD0_TEX_INST(x) (((x) >> 0) & 0x1F) argument
468 #define S_SQ_TEX_WORD0_BC_FRAC_MODE(x) (((unsigned)(x) & 0x1) << 5) argument
469 #define G_SQ_TEX_WORD0_BC_FRAC_MODE(x) (((x) >> 5) & 0x1) argument
471 #define S_SQ_TEX_WORD0_FETCH_WHOLE_QUAD(x) (((unsigned)(x) & 0x1) << 7) argument
472 #define G_SQ_TEX_WORD0_FETCH_WHOLE_QUAD(x) (((x) >> 7) & 0x1) argument
474 #define S_SQ_TEX_WORD0_RESOURCE_ID(x) (((unsigned)(x) & 0xFF) << 8) argument
475 #define G_SQ_TEX_WORD0_RESOURCE_ID(x) (((x) >> 8) & 0xFF) argument
477 #define S_SQ_TEX_WORD0_SRC_GPR(x) (((unsigned)(x) & 0x7F) << 16) argument
478 #define G_SQ_TEX_WORD0_SRC_GPR(x) (((x) >> 16) & 0x7F) argument
480 #define S_SQ_TEX_WORD0_SRC_REL(x) (((unsigned)(x) & 0x1) << 23) argument
481 #define G_SQ_TEX_WORD0_SRC_REL(x) (((x) >> 23) & 0x1) argument
483 #define S_SQ_TEX_WORD0_ALT_CONST(x) (((unsigned)(x) & 0x1) << 24) argument
484 #define G_SQ_TEX_WORD0_ALT_CONST(x) (((x) >> 24) & 0x1) argument
487 #define S_SQ_TEX_WORD1_DST_GPR(x) (((unsigned)(x) & 0x7F) << 0) argument
488 #define G_SQ_TEX_WORD1_DST_GPR(x) (((x) >> 0) & 0x7F) argument
490 #define S_SQ_TEX_WORD1_DST_REL(x) (((unsigned)(x) & 0x1) << 7) argument
491 #define G_SQ_TEX_WORD1_DST_REL(x) (((x) >> 7) & 0x1) argument
493 #define S_SQ_TEX_WORD1_DST_SEL_X(x) (((unsigned)(x) & 0x7) << 9) argument
494 #define G_SQ_TEX_WORD1_DST_SEL_X(x) (((x) >> 9) & 0x7) argument
496 #define S_SQ_TEX_WORD1_DST_SEL_Y(x) (((unsigned)(x) & 0x7) << 12) argument
497 #define G_SQ_TEX_WORD1_DST_SEL_Y(x) (((x) >> 12) & 0x7) argument
499 #define S_SQ_TEX_WORD1_DST_SEL_Z(x) (((unsigned)(x) & 0x7) << 15) argument
500 #define G_SQ_TEX_WORD1_DST_SEL_Z(x) (((x) >> 15) & 0x7) argument
502 #define S_SQ_TEX_WORD1_DST_SEL_W(x) (((unsigned)(x) & 0x7) << 18) argument
503 #define G_SQ_TEX_WORD1_DST_SEL_W(x) (((x) >> 18) & 0x7) argument
505 #define S_SQ_TEX_WORD1_LOD_BIAS(x) (((unsigned)(x) & 0x7F) << 21) argument
506 #define G_SQ_TEX_WORD1_LOD_BIAS(x) (((x) >> 21) & 0x7F) argument
508 #define S_SQ_TEX_WORD1_COORD_TYPE_X(x) (((unsigned)(x) & 0x1) << 28) argument
509 #define G_SQ_TEX_WORD1_COORD_TYPE_X(x) (((x) >> 28) & 0x1) argument
511 #define S_SQ_TEX_WORD1_COORD_TYPE_Y(x) (((unsigned)(x) & 0x1) << 29) argument
512 #define G_SQ_TEX_WORD1_COORD_TYPE_Y(x) (((x) >> 29) & 0x1) argument
514 #define S_SQ_TEX_WORD1_COORD_TYPE_Z(x) (((unsigned)(x) & 0x1) << 30) argument
515 #define G_SQ_TEX_WORD1_COORD_TYPE_Z(x) (((x) >> 30) & 0x1) argument
517 #define S_SQ_TEX_WORD1_COORD_TYPE_W(x) (((unsigned)(x) & 0x1) << 31) argument
518 #define G_SQ_TEX_WORD1_COORD_TYPE_W(x) (((x) >> 31) & 0x1) argument
521 #define S_SQ_TEX_WORD2_OFFSET_X(x) (((unsigned)(x) & 0x1F) << 0) argument
522 #define G_SQ_TEX_WORD2_OFFSET_X(x) (((x) >> 0) & 0x1F) argument
524 #define S_SQ_TEX_WORD2_OFFSET_Y(x) (((unsigned)(x) & 0x1F) << 5) argument
525 #define G_SQ_TEX_WORD2_OFFSET_Y(x) (((x) >> 5) & 0x1F) argument
527 #define S_SQ_TEX_WORD2_OFFSET_Z(x) (((unsigned)(x) & 0x1F) << 10) argument
528 #define G_SQ_TEX_WORD2_OFFSET_Z(x) (((x) >> 10) & 0x1F) argument
530 #define S_SQ_TEX_WORD2_SAMPLER_ID(x) (((unsigned)(x) & 0x1F) << 15) argument
531 #define G_SQ_TEX_WORD2_SAMPLER_ID(x) (((x) >> 15) & 0x1F) argument
533 #define S_SQ_TEX_WORD2_SRC_SEL_X(x) (((unsigned)(x) & 0x7) << 20) argument
534 #define G_SQ_TEX_WORD2_SRC_SEL_X(x) (((x) >> 20) & 0x7) argument
536 #define S_SQ_TEX_WORD2_SRC_SEL_Y(x) (((unsigned)(x) & 0x7) << 23) argument
537 #define G_SQ_TEX_WORD2_SRC_SEL_Y(x) (((x) >> 23) & 0x7) argument
539 #define S_SQ_TEX_WORD2_SRC_SEL_Z(x) (((unsigned)(x) & 0x7) << 26) argument
540 #define G_SQ_TEX_WORD2_SRC_SEL_Z(x) (((x) >> 26) & 0x7) argument
542 #define S_SQ_TEX_WORD2_SRC_SEL_W(x) (((unsigned)(x) & 0x7) << 29) argument
543 #define G_SQ_TEX_WORD2_SRC_SEL_W(x) (((x) >> 29) & 0x7) argument
547 #define S_SQ_MEM_RD_WORD0_MEM_INST(x) (((x) & 0x1F) << 0) argument
548 #define S_SQ_MEM_RD_WORD0_ELEM_SIZE(x) (((x) & 0x3) << 5) argument
549 #define S_SQ_MEM_RD_WORD0_FETCH_WHOLE_QUAD(x) (((x) & 0x1) << 7) argument
550 #define S_SQ_MEM_RD_WORD0_MEM_OP(x) (((x) & 0x7) << 8) argument
551 #define S_SQ_MEM_RD_WORD0_UNCACHED(x) (((x) & 0x1) << 11) argument
552 #define S_SQ_MEM_RD_WORD0_INDEXED(x) (((x) & 0x1) << 12) argument
553 #define S_SQ_MEM_RD_WORD0_SRC_SEL_Y(x) (((x) & 0x3) << 13) argument
554 #define S_SQ_MEM_RD_WORD0_SRC_GPR(x) (((x) & 0x7F) << 16) argument
555 #define S_SQ_MEM_RD_WORD0_SRC_REL(x) (((x) & 0x1) << 23) argument
556 #define S_SQ_MEM_RD_WORD0_SRC_SEL_X(x) (((x) & 0x3) << 24) argument
557 #define S_SQ_MEM_RD_WORD0_BURST_COUNT(x) (((x) & 0xF) << 26) argument
558 #define S_SQ_MEM_RD_WORD0_LDS_REQ(x) (((x) & 0x1) << 30) argument
559 #define S_SQ_MEM_RD_WORD0_COALESCED_READ(x) (((x) & 0x1) << 31) argument
561 #define S_SQ_MEM_RD_WORD1_DST_GPR(x) (((x) & 0x7f) << 0) argument
562 #define S_SQ_MEM_RD_WORD1_DST_REL(x) (((x) & 0x1) << 7) argument
563 #define S_SQ_MEM_RD_WORD1_DST_SEL_X(x) (((x) & 0x7) << 9) argument
564 #define S_SQ_MEM_RD_WORD1_DST_SEL_Y(x) (((x) & 0x7) << 12) argument
565 #define S_SQ_MEM_RD_WORD1_DST_SEL_Z(x) (((x) & 0x7) << 15) argument
566 #define S_SQ_MEM_RD_WORD1_DST_SEL_W(x) (((x) & 0x7) << 18) argument
567 #define S_SQ_MEM_RD_WORD1_DATA_FORMAT(x) (((x) & 0x3F) << 22) argument
568 #define S_SQ_MEM_RD_WORD1_NUM_FORMAT_ALL(x) (((x) & 0x3) << 28) argument
569 #define S_SQ_MEM_RD_WORD1_FORMAT_COMP_ALL(x) (((x) & 0x1) << 30) argument
570 #define S_SQ_MEM_RD_WORD1_SRF_MODE_ALL(x) (((x) & 0x1) << 31) argument
572 #define S_SQ_MEM_RD_WORD2_ARRAY_BASE(x) (((x) & 0x1FFF) << 0) argument
573 #define S_SQ_MEM_RD_WORD2_ENDIAN_SWAP(x) (((x) & 0x3) << 16) argument
574 #define S_SQ_MEM_RD_WORD2_ARRAY_SIZE(x) (((x) & 0xFFF) << 20) argument