Lines Matching +full:2 +full:x

28 #define SDMA_MAX_INSTANCE 2
70 #define PIPEID(x) ((x) << 0) argument
71 #define MEID(x) ((x) << 2) argument
72 #define VMID(x) ((x) << 4) argument
73 #define QUEUEID(x) ((x) << 8) argument
89 #define PACKET_TYPE2 2
114 #define PACKET3_BASE_INDEX(x) ((x) << 0) argument
142 #define WRITE_DATA_DST_SEL(x) ((x) << 8) argument
145 * 2 - gl2
152 #define WRITE_DATA_CACHE_POLICY(x) ((x) << 25) argument
156 #define WRITE_DATA_ENGINE_SEL(x) ((x) << 30) argument
159 * 2 - ce
165 # define PACKET3_SEM_CLIENT_CODE ((x) << 24) /* 0 = CP, 1 = CB, 2 = DB */
169 #define WAIT_REG_MEM_FUNCTION(x) ((x) << 0) argument
172 * 2 - <=
178 #define WAIT_REG_MEM_MEM_SPACE(x) ((x) << 4) argument
182 #define WAIT_REG_MEM_OPERATION(x) ((x) << 6) argument
186 #define WAIT_REG_MEM_ENGINE(x) ((x) << 8) argument
193 #define INDIRECT_BUFFER_CACHE_POLICY(x) ((x) << 28) argument
196 * 2 - Bypass
198 #define INDIRECT_BUFFER_PRE_ENB(x) ((x) << 21) argument
227 #define EVENT_TYPE(x) ((x) << 0) argument
228 #define EVENT_INDEX(x) ((x) << 8) argument
231 * 2 - SAMPLE_PIPELINESTAT
244 #define EOP_CACHE_POLICY(x) ((x) << 25) argument
247 * 2 - Bypass
250 #define DATA_SEL(x) ((x) << 29) argument
253 * 2 - send 64bit data
257 #define INT_SEL(x) ((x) << 24) argument
260 * 2 - interrupt when data write is confirmed
262 #define DST_SEL(x) ((x) << 16) argument
269 # define PACKET3_PREAMBLE_BEGIN_CLEAR_STATE (2 << 28)
273 * 2. CONTROL
281 # define PACKET3_DMA_DATA_ENGINE(x) ((x) << 0) argument
285 # define PACKET3_DMA_DATA_SRC_CACHE_POLICY(x) ((x) << 13) argument
288 * 2 - Bypass
291 # define PACKET3_DMA_DATA_DST_SEL(x) ((x) << 20) argument
296 # define PACKET3_DMA_DATA_DST_CACHE_POLICY(x) ((x) << 25) argument
299 * 2 - Bypass
302 # define PACKET3_DMA_DATA_SRC_SEL(x) ((x) << 29) argument
305 * 2 - DATA
311 # define PACKET3_DMA_DATA_CMD_SRC_SWAP(x) ((x) << 22) argument
314 * 2 - 8 in 32
317 # define PACKET3_DMA_DATA_CMD_DST_SWAP(x) ((x) << 24) argument
320 * 2 - 8 in 32
366 # define FRAME_CMD(x) ((x) << 28) argument
368 * x=0: tmz_begin
369 * x=1: tmz_end
373 * 2. CONTROL
381 # define PACKET3_SET_RESOURCES_VMID_MASK(x) ((x) << 0) argument
382 # define PACKET3_SET_RESOURCES_UNMAP_LATENTY(x) ((x) << 16) argument
383 # define PACKET3_SET_RESOURCES_QUEUE_TYPE(x) ((x) << 29) argument
386 * 2. CONTROL
394 # define PACKET3_MAP_QUEUES_QUEUE_SEL(x) ((x) << 4) argument
395 # define PACKET3_MAP_QUEUES_VMID(x) ((x) << 8) argument
396 # define PACKET3_MAP_QUEUES_QUEUE_TYPE(x) ((x) << 21) argument
397 # define PACKET3_MAP_QUEUES_ALLOC_FORMAT(x) ((x) << 24) argument
398 # define PACKET3_MAP_QUEUES_ENGINE_SEL(x) ((x) << 26) argument
399 # define PACKET3_MAP_QUEUES_NUM_QUEUES(x) ((x) << 29) argument
401 # define PACKET3_MAP_QUEUES_CHECK_DISABLE(x) ((x) << 1) argument
402 # define PACKET3_MAP_QUEUES_DOORBELL_OFFSET(x) ((x) << 2) argument
403 # define PACKET3_MAP_QUEUES_QUEUE(x) ((x) << 26) argument
404 # define PACKET3_MAP_QUEUES_PIPE(x) ((x) << 29) argument
405 # define PACKET3_MAP_QUEUES_ME(x) ((x) << 31) argument
408 * 2. CONTROL
415 # define PACKET3_UNMAP_QUEUES_ACTION(x) ((x) << 0) argument
418 * 2 - DISABLE_PROCESS_QUEUES
421 # define PACKET3_UNMAP_QUEUES_QUEUE_SEL(x) ((x) << 4) argument
422 # define PACKET3_UNMAP_QUEUES_ENGINE_SEL(x) ((x) << 26) argument
423 # define PACKET3_UNMAP_QUEUES_NUM_QUEUES(x) ((x) << 29) argument
425 # define PACKET3_UNMAP_QUEUES_PASID(x) ((x) << 0) argument
427 # define PACKET3_UNMAP_QUEUES_DOORBELL_OFFSET0(x) ((x) << 2) argument
429 # define PACKET3_UNMAP_QUEUES_DOORBELL_OFFSET1(x) ((x) << 2) argument
431 # define PACKET3_UNMAP_QUEUES_RB_WPTR(x) ((x) << 0) argument
433 # define PACKET3_UNMAP_QUEUES_DOORBELL_OFFSET2(x) ((x) << 2) argument
435 # define PACKET3_UNMAP_QUEUES_DOORBELL_OFFSET3(x) ((x) << 2) argument
438 * 2. CONTROL
446 # define PACKET3_QUERY_STATUS_CONTEXT_ID(x) ((x) << 0) argument
447 # define PACKET3_QUERY_STATUS_INTERRUPT_SEL(x) ((x) << 28) argument
448 # define PACKET3_QUERY_STATUS_COMMAND(x) ((x) << 30) argument
450 # define PACKET3_QUERY_STATUS_PASID(x) ((x) << 0) argument
452 # define PACKET3_QUERY_STATUS_DOORBELL_OFFSET(x) ((x) << 2) argument
453 # define PACKET3_QUERY_STATUS_ENG_SEL(x) ((x) << 25) argument
480 #define RB_MAP_PKR0(x) ((x) << 0) argument
482 #define RB_MAP_PKR1(x) ((x) << 2) argument
483 #define RB_MAP_PKR1_MASK (0x3 << 2)
484 #define RB_XSEL2(x) ((x) << 4) argument
488 #define PKR_MAP(x) ((x) << 8) argument
490 #define PKR_XSEL(x) ((x) << 10) argument
492 #define PKR_YSEL(x) ((x) << 12) argument
494 #define SC_MAP(x) ((x) << 16) argument
496 #define SC_XSEL(x) ((x) << 18) argument
498 #define SC_YSEL(x) ((x) << 20) argument
500 #define SE_MAP(x) ((x) << 24) argument
502 #define SE_XSEL(x) ((x) << 26) argument
504 #define SE_YSEL(x) ((x) << 28) argument
508 #define SE_PAIR_MAP(x) ((x) << 0) argument
510 #define SE_PAIR_XSEL(x) ((x) << 2) argument
511 #define SE_PAIR_XSEL_MASK (0x3 << 2)
512 #define SE_PAIR_YSEL(x) ((x) << 4) argument