Lines Matching +full:3 +full:x
35 #define PACKET_TYPE3 3
37 #define CP_PACKET_GET_TYPE(h) (((h) >> 30) & 3)
59 #define PACKETJ_CONDITION_CHECK3 3
68 #define PACKETJ_TYPE3 3
79 /* Packet 3 types */
82 #define PACKET3_BASE_INDEX(x) ((x) << 0) argument
83 #define CE_PARTITION_BASE 3
110 #define WRITE_DATA_DST_SEL(x) ((x) << 8) argument
114 * 3 - gds
120 #define WRITE_DATA_CACHE_POLICY(x) ((x) << 25) argument
124 #define WRITE_DATA_ENGINE_SEL(x) ((x) << 30) argument
136 #define WAIT_REG_MEM_FUNCTION(x) ((x) << 0) argument
140 * 3 - ==
145 #define WAIT_REG_MEM_MEM_SPACE(x) ((x) << 4) argument
149 #define WAIT_REG_MEM_OPERATION(x) ((x) << 6) argument
153 #define WAIT_REG_MEM_ENGINE(x) ((x) << 8) argument
159 #define INDIRECT_BUFFER_CACHE_POLICY(x) ((x) << 28) argument
164 #define INDIRECT_BUFFER_PRE_ENB(x) ((x) << 21) argument
169 #define EVENT_TYPE(x) ((x) << 0) argument
170 #define EVENT_INDEX(x) ((x) << 8) argument
174 * 3 - SAMPLE_STREAMOUTSTAT*
178 #define EVENT_TYPE(x) ((x) << 0) argument
179 #define EVENT_INDEX(x) ((x) << 8) argument
188 #define DATA_SEL(x) ((x) << 29) argument
192 * 3 - send 64bit GPU counter value
195 #define INT_SEL(x) ((x) << 24) argument
200 #define DST_SEL(x) ((x) << 16) argument
209 # define PACKET3_PREAMBLE_END_CLEAR_STATE (3 << 28)
213 * 3. SRC_ADDR_LO or DATA [31:0]
220 # define PACKET3_DMA_DATA_ENGINE(x) ((x) << 0) argument
224 # define PACKET3_DMA_DATA_SRC_CACHE_POLICY(x) ((x) << 13) argument
228 # define PACKET3_DMA_DATA_DST_SEL(x) ((x) << 20) argument
231 * 3 - DST_ADDR using L2
233 # define PACKET3_DMA_DATA_DST_CACHE_POLICY(x) ((x) << 25) argument
237 # define PACKET3_DMA_DATA_SRC_SEL(x) ((x) << 29) argument
241 * 3 - SRC_ADDR using L2
260 * 3. COHER_SIZE [31:0]
267 #define PACKET3_ACQUIRE_MEM_CP_COHER_CNTL_TC_NC_ACTION_ENA(x) ((x) << 3) argument
268 #define PACKET3_ACQUIRE_MEM_CP_COHER_CNTL_TC_WC_ACTION_ENA(x) ((x) << 4) argument
269 #define PACKET3_ACQUIRE_MEM_CP_COHER_CNTL_TC_INV_METADATA_ACTION_ENA(x) ((x) << 5) argument
270 #define PACKET3_ACQUIRE_MEM_CP_COHER_CNTL_TCL1_VOL_ACTION_ENA(x) ((x) << 15) argument
271 #define PACKET3_ACQUIRE_MEM_CP_COHER_CNTL_TC_WB_ACTION_ENA(x) ((x) << 18) argument
272 #define PACKET3_ACQUIRE_MEM_CP_COHER_CNTL_TCL1_ACTION_ENA(x) ((x) << 22) argument
273 #define PACKET3_ACQUIRE_MEM_CP_COHER_CNTL_TC_ACTION_ENA(x) ((x) << 23) argument
274 #define PACKET3_ACQUIRE_MEM_CP_COHER_CNTL_CB_ACTION_ENA(x) ((x) << 25) argument
275 #define PACKET3_ACQUIRE_MEM_CP_COHER_CNTL_DB_ACTION_ENA(x) ((x) << 26) argument
276 #define PACKET3_ACQUIRE_MEM_CP_COHER_CNTL_SH_KCACHE_ACTION_ENA(x) ((x) << 27) argument
277 #define PACKET3_ACQUIRE_MEM_CP_COHER_CNTL_SH_KCACHE_VOL_ACTION_ENA(x) ((x) << 28) argument
278 #define PACKET3_ACQUIRE_MEM_CP_COHER_CNTL_SH_ICACHE_ACTION_ENA(x) ((x) << 29) argument
279 #define PACKET3_ACQUIRE_MEM_CP_COHER_CNTL_SH_KCACHE_WB_ACTION_ENA(x) ((x) << 30) argument
313 # define FRAME_CMD(x) ((x) << 28) argument
315 * x=0: tmz_begin
316 * x=1: tmz_end
320 # define PACKET3_INVALIDATE_TLBS_DST_SEL(x) ((x) << 0) argument
321 # define PACKET3_INVALIDATE_TLBS_ALL_HUB(x) ((x) << 4) argument
322 # define PACKET3_INVALIDATE_TLBS_PASID(x) ((x) << 5) argument
323 # define PACKET3_INVALIDATE_TLBS_FLUSH_TYPE(x) ((x) << 29) argument
327 * 3. QUEUE_MASK_LO [31:0]
334 # define PACKET3_SET_RESOURCES_VMID_MASK(x) ((x) << 0) argument
335 # define PACKET3_SET_RESOURCES_UNMAP_LATENTY(x) ((x) << 16) argument
336 # define PACKET3_SET_RESOURCES_QUEUE_TYPE(x) ((x) << 29) argument
340 * 3. CONTROL2
347 # define PACKET3_MAP_QUEUES_QUEUE_SEL(x) ((x) << 4) argument
348 # define PACKET3_MAP_QUEUES_VMID(x) ((x) << 8) argument
349 # define PACKET3_MAP_QUEUES_QUEUE(x) ((x) << 13) argument
350 # define PACKET3_MAP_QUEUES_PIPE(x) ((x) << 16) argument
351 # define PACKET3_MAP_QUEUES_ME(x) ((x) << 18) argument
352 # define PACKET3_MAP_QUEUES_QUEUE_TYPE(x) ((x) << 21) argument
353 # define PACKET3_MAP_QUEUES_ALLOC_FORMAT(x) ((x) << 24) argument
354 # define PACKET3_MAP_QUEUES_ENGINE_SEL(x) ((x) << 26) argument
355 # define PACKET3_MAP_QUEUES_NUM_QUEUES(x) ((x) << 29) argument
357 # define PACKET3_MAP_QUEUES_CHECK_DISABLE(x) ((x) << 1) argument
358 # define PACKET3_MAP_QUEUES_DOORBELL_OFFSET(x) ((x) << 2) argument
362 * 3. CONTROL2
368 # define PACKET3_UNMAP_QUEUES_ACTION(x) ((x) << 0) argument
372 * 3 - PREEMPT_QUEUES_NO_UNMAP
374 # define PACKET3_UNMAP_QUEUES_QUEUE_SEL(x) ((x) << 4) argument
375 # define PACKET3_UNMAP_QUEUES_ENGINE_SEL(x) ((x) << 26) argument
376 # define PACKET3_UNMAP_QUEUES_NUM_QUEUES(x) ((x) << 29) argument
378 # define PACKET3_UNMAP_QUEUES_PASID(x) ((x) << 0) argument
380 # define PACKET3_UNMAP_QUEUES_DOORBELL_OFFSET0(x) ((x) << 2) argument
382 # define PACKET3_UNMAP_QUEUES_DOORBELL_OFFSET1(x) ((x) << 2) argument
384 # define PACKET3_UNMAP_QUEUES_RB_WPTR(x) ((x) << 0) argument
386 # define PACKET3_UNMAP_QUEUES_DOORBELL_OFFSET2(x) ((x) << 2) argument
388 # define PACKET3_UNMAP_QUEUES_DOORBELL_OFFSET3(x) ((x) << 2) argument
392 * 3. CONTROL2
399 # define PACKET3_QUERY_STATUS_CONTEXT_ID(x) ((x) << 0) argument
400 # define PACKET3_QUERY_STATUS_INTERRUPT_SEL(x) ((x) << 28) argument
401 # define PACKET3_QUERY_STATUS_COMMAND(x) ((x) << 30) argument
403 # define PACKET3_QUERY_STATUS_PASID(x) ((x) << 0) argument
405 # define PACKET3_QUERY_STATUS_DOORBELL_OFFSET(x) ((x) << 2) argument
406 # define PACKET3_QUERY_STATUS_ENG_SEL(x) ((x) << 25) argument