Home
last modified time | relevance | path

Searched refs:heap_id (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/gpu/drm/panthor/
H A Dpanthor_heap.c375 u32 heap_id = (u32)offset / panthor_heap_ctx_stride(pool->ptdev); in panthor_heap_return_chunk() local
380 if (offset > U32_MAX || heap_id >= MAX_HEAPS_PER_POOL) in panthor_heap_return_chunk()
384 heap = xa_load(&pool->xa, heap_id); in panthor_heap_return_chunk()
439 u32 heap_id = (u32)offset / panthor_heap_ctx_stride(pool->ptdev); in panthor_heap_grow() local
444 if (offset > U32_MAX || heap_id >= MAX_HEAPS_PER_POOL) in panthor_heap_grow()
448 heap = xa_load(&pool->xa, heap_id); in panthor_heap_grow()
/linux/drivers/gpu/drm/imagination/
H A Dpvr_vm.c1118 for (u32 heap_id = 0; heap_id < ARRAY_SIZE(pvr_heaps); heap_id++) { in pvr_find_heap_containing() local
1120 if (heap_id == DRM_PVR_HEAP_RGNHDR && in pvr_find_heap_containing()
1125 if (pvr_heap_contains_range(&pvr_heaps[heap_id], start, end)) in pvr_find_heap_containing()
1126 return &pvr_heaps[heap_id]; in pvr_find_heap_containing()
/linux/drivers/tee/optee/
H A Dsmc_abi.c1708 enum tee_dma_heap_id heap_id = TEE_DMA_HEAP_SECURE_VIDEO_PLAY; in optee_protmem_pool_init() local
1718 pool = optee_protmem_alloc_dyn_pool(optee, heap_id); in optee_protmem_pool_init()
1722 rc = tee_device_register_dma_heap(optee->teedev, heap_id, pool); in optee_protmem_pool_init()