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
249 #define DATA_SEL(x) ((x) << 29) argument
252 * 2 - send 64bit data
256 #define INT_SEL(x) ((x) << 24) argument
259 * 2 - interrupt when data write is confirmed
261 #define DST_SEL(x) ((x) << 16) argument
268 # define PACKET3_PREAMBLE_BEGIN_CLEAR_STATE (2 << 28)
272 * 2. CONTROL
280 # define PACKET3_DMA_DATA_ENGINE(x) ((x) << 0) argument
284 # define PACKET3_DMA_DATA_SRC_CACHE_POLICY(x) ((x) << 13) argument
287 * 2 - Bypass
290 # define PACKET3_DMA_DATA_DST_SEL(x) ((x) << 20) argument
295 # define PACKET3_DMA_DATA_DST_CACHE_POLICY(x) ((x) << 25) argument
298 * 2 - Bypass
301 # define PACKET3_DMA_DATA_SRC_SEL(x) ((x) << 29) argument
304 * 2 - DATA
310 # define PACKET3_DMA_DATA_CMD_SRC_SWAP(x) ((x) << 22) argument
313 * 2 - 8 in 32
316 # define PACKET3_DMA_DATA_CMD_DST_SWAP(x) ((x) << 24) argument
319 * 2 - 8 in 32
365 # define FRAME_CMD(x) ((x) << 28) argument
367 * x=0: tmz_begin
368 * x=1: tmz_end
372 * 2. CONTROL
380 # define PACKET3_SET_RESOURCES_VMID_MASK(x) ((x) << 0) argument
381 # define PACKET3_SET_RESOURCES_UNMAP_LATENTY(x) ((x) << 16) argument
382 # define PACKET3_SET_RESOURCES_QUEUE_TYPE(x) ((x) << 29) argument
385 * 2. CONTROL
393 # define PACKET3_MAP_QUEUES_QUEUE_SEL(x) ((x) << 4) argument
394 # define PACKET3_MAP_QUEUES_VMID(x) ((x) << 8) argument
395 # define PACKET3_MAP_QUEUES_QUEUE_TYPE(x) ((x) << 21) argument
396 # define PACKET3_MAP_QUEUES_ALLOC_FORMAT(x) ((x) << 24) argument
397 # define PACKET3_MAP_QUEUES_ENGINE_SEL(x) ((x) << 26) argument
398 # define PACKET3_MAP_QUEUES_NUM_QUEUES(x) ((x) << 29) argument
400 # define PACKET3_MAP_QUEUES_CHECK_DISABLE(x) ((x) << 1) argument
401 # define PACKET3_MAP_QUEUES_DOORBELL_OFFSET(x) ((x) << 2) argument
402 # define PACKET3_MAP_QUEUES_QUEUE(x) ((x) << 26) argument
403 # define PACKET3_MAP_QUEUES_PIPE(x) ((x) << 29) argument
404 # define PACKET3_MAP_QUEUES_ME(x) ((x) << 31) argument
407 * 2. CONTROL
414 # define PACKET3_UNMAP_QUEUES_ACTION(x) ((x) << 0) argument
417 * 2 - DISABLE_PROCESS_QUEUES
420 # define PACKET3_UNMAP_QUEUES_QUEUE_SEL(x) ((x) << 4) argument
421 # define PACKET3_UNMAP_QUEUES_ENGINE_SEL(x) ((x) << 26) argument
422 # define PACKET3_UNMAP_QUEUES_NUM_QUEUES(x) ((x) << 29) argument
424 # define PACKET3_UNMAP_QUEUES_PASID(x) ((x) << 0) argument
426 # define PACKET3_UNMAP_QUEUES_DOORBELL_OFFSET0(x) ((x) << 2) argument
428 # define PACKET3_UNMAP_QUEUES_DOORBELL_OFFSET1(x) ((x) << 2) argument
430 # define PACKET3_UNMAP_QUEUES_RB_WPTR(x) ((x) << 0) argument
432 # define PACKET3_UNMAP_QUEUES_DOORBELL_OFFSET2(x) ((x) << 2) argument
434 # define PACKET3_UNMAP_QUEUES_DOORBELL_OFFSET3(x) ((x) << 2) argument
437 * 2. CONTROL
445 # define PACKET3_QUERY_STATUS_CONTEXT_ID(x) ((x) << 0) argument
446 # define PACKET3_QUERY_STATUS_INTERRUPT_SEL(x) ((x) << 28) argument
447 # define PACKET3_QUERY_STATUS_COMMAND(x) ((x) << 30) argument
449 # define PACKET3_QUERY_STATUS_PASID(x) ((x) << 0) argument
451 # define PACKET3_QUERY_STATUS_DOORBELL_OFFSET(x) ((x) << 2) argument
452 # define PACKET3_QUERY_STATUS_ENG_SEL(x) ((x) << 25) argument
479 #define RB_MAP_PKR0(x) ((x) << 0) argument
481 #define RB_MAP_PKR1(x) ((x) << 2) argument
482 #define RB_MAP_PKR1_MASK (0x3 << 2)
483 #define RB_XSEL2(x) ((x) << 4) argument
487 #define PKR_MAP(x) ((x) << 8) argument
489 #define PKR_XSEL(x) ((x) << 10) argument
491 #define PKR_YSEL(x) ((x) << 12) argument
493 #define SC_MAP(x) ((x) << 16) argument
495 #define SC_XSEL(x) ((x) << 18) argument
497 #define SC_YSEL(x) ((x) << 20) argument
499 #define SE_MAP(x) ((x) << 24) argument
501 #define SE_XSEL(x) ((x) << 26) argument
503 #define SE_YSEL(x) ((x) << 28) argument
507 #define SE_PAIR_MAP(x) ((x) << 0) argument
509 #define SE_PAIR_XSEL(x) ((x) << 2) argument
510 #define SE_PAIR_XSEL_MASK (0x3 << 2)
511 #define SE_PAIR_YSEL(x) ((x) << 4) argument