Lines Matching +full:3 +full:x
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
90 #define PACKET_TYPE3 3
92 #define CP_PACKET_GET_TYPE(h) (((h) >> 30) & 3)
111 /* Packet 3 types */
114 #define PACKET3_BASE_INDEX(x) ((x) << 0) argument
115 #define CE_PARTITION_BASE 3
142 #define WRITE_DATA_DST_SEL(x) ((x) << 8) argument
146 * 3 - gds
152 #define WRITE_DATA_CACHE_POLICY(x) ((x) << 25) argument
156 #define WRITE_DATA_ENGINE_SEL(x) ((x) << 30) argument
165 # define PACKET3_SEM_CLIENT_CODE ((x) << 24) /* 0 = CP, 1 = CB, 2 = DB */
169 #define WAIT_REG_MEM_FUNCTION(x) ((x) << 0) argument
173 * 3 - ==
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
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
232 * 3 - SAMPLE_STREAMOUTSTAT*
244 #define EOP_CACHE_POLICY(x) ((x) << 25) argument
250 #define DATA_SEL(x) ((x) << 29) argument
254 * 3 - send 64bit GPU counter value
257 #define INT_SEL(x) ((x) << 24) argument
262 #define DST_SEL(x) ((x) << 16) argument
270 # define PACKET3_PREAMBLE_END_CLEAR_STATE (3 << 28)
274 * 3. SRC_ADDR_LO or DATA [31:0]
281 # define PACKET3_DMA_DATA_ENGINE(x) ((x) << 0) argument
285 # define PACKET3_DMA_DATA_SRC_CACHE_POLICY(x) ((x) << 13) argument
291 # define PACKET3_DMA_DATA_DST_SEL(x) ((x) << 20) argument
294 * 3 - DST_ADDR using L2
296 # define PACKET3_DMA_DATA_DST_CACHE_POLICY(x) ((x) << 25) argument
302 # define PACKET3_DMA_DATA_SRC_SEL(x) ((x) << 29) argument
306 * 3 - SRC_ADDR using L2
311 # define PACKET3_DMA_DATA_CMD_SRC_SWAP(x) ((x) << 22) argument
315 * 3 - 8 in 64
317 # define PACKET3_DMA_DATA_CMD_DST_SWAP(x) ((x) << 24) argument
321 * 3 - 8 in 64
366 # define FRAME_CMD(x) ((x) << 28) argument
368 * x=0: tmz_begin
369 * x=1: tmz_end
374 * 3. QUEUE_MASK_LO [31:0]
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
387 * 3. CONTROL2
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
409 * 3. CONTROL2
415 # define PACKET3_UNMAP_QUEUES_ACTION(x) ((x) << 0) argument
419 * 3 - PREEMPT_QUEUES_NO_UNMAP
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
439 * 3. CONTROL2
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
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
512 #define SE_PAIR_YSEL(x) ((x) << 4) argument