Searched refs:heap_id (Results 1 – 3 of 3) sorted by relevance
375 u32 heap_id = (u32)offset / panthor_heap_ctx_stride(pool->ptdev); in panthor_heap_return_chunk() local380 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() local444 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()
1118 for (u32 heap_id = 0; heap_id < ARRAY_SIZE(pvr_heaps); heap_id++) { in pvr_find_heap_containing() local1120 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()
1708 enum tee_dma_heap_id heap_id = TEE_DMA_HEAP_SECURE_VIDEO_PLAY; in optee_protmem_pool_init() local1718 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()