Home
last modified time | relevance | path

Searched refs:PT_SIZE (Results 1 – 2 of 2) sorted by relevance

/drivers/gpu/drm/etnaviv/
Detnaviv_iommu.c16 #define PT_SIZE SZ_2M macro
17 #define PT_ENTRIES (PT_SIZE / sizeof(u32))
39 dma_free_wc(context->global->dev, PT_SIZE, v1_context->pgtable_cpu, in etnaviv_iommuv1_free()
78 return PT_SIZE; in etnaviv_iommuv1_dump_size()
86 memcpy(buf, v1_context->pgtable_cpu, PT_SIZE); in etnaviv_iommuv1_dump()
152 v1_context->pgtable_cpu = dma_alloc_wc(global->dev, PT_SIZE, in etnaviv_iommuv1_context_alloc()
/drivers/iommu/
Dsun50i-iommu.c94 #define PT_SIZE (NUM_PT_ENTRIES * PT_ENTRY_SIZE) macro
460 pt_dma = dma_map_single(iommu->dev, page_table, PT_SIZE, DMA_TO_DEVICE); in sun50i_iommu_alloc_page_table()
478 dma_unmap_single(iommu->dev, pt_phys, PT_SIZE, DMA_TO_DEVICE); in sun50i_iommu_free_page_table()
921 PT_SIZE, PT_SIZE, in sun50i_iommu_probe()