Home
last modified time | relevance | path

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

/linux-6.15/drivers/iommu/
H A Drockchip-iommu.c77 #define SPAGE_SIZE (1 << SPAGE_ORDER) macro
712 if (size > SPAGE_SIZE) in rk_iommu_zap_iova_first_last()
714 SPAGE_SIZE); in rk_iommu_zap_iova_first_last()
759 unsigned int pte_total = size / SPAGE_SIZE; in rk_iommu_unmap_iova()
773 return pte_count * SPAGE_SIZE; in rk_iommu_unmap_iova()
794 paddr += SPAGE_SIZE; in rk_iommu_map_iova()
811 pte_count * SPAGE_SIZE); in rk_iommu_map_iova()
813 iova += pte_count * SPAGE_SIZE; in rk_iommu_map_iova()
1072 SPAGE_SIZE, DMA_TO_DEVICE); in rk_iommu_domain_alloc_paging()
1109 SPAGE_SIZE, DMA_TO_DEVICE); in rk_iommu_domain_free()
[all …]
H A Dexynos-iommu.c38 #define SPAGE_SIZE (1 << SPAGE_ORDER) macro
42 #define SPAGE_MASK (~(SPAGE_SIZE - 1))
104 #define spage_offs(iova) (iova & (SPAGE_SIZE - 1))
107 #define NUM_LV2ENTRIES (SECT_SIZE / SPAGE_SIZE)
122 #define SPAGES_PER_LPAGE (LPAGE_SIZE / SPAGE_SIZE)
462 iova += SPAGE_SIZE; in __sysmmu_tlb_invalidate_entry()
713 num_inv = min_t(unsigned int, size / SPAGE_SIZE, 64); in sysmmu_tlb_invalidate_entry()
1175 if (size == SPAGE_SIZE) { in lv2set_page()
1329 size = SPAGE_SIZE; in exynos_iommu_unmap()
1335 size = SPAGE_SIZE; in exynos_iommu_unmap()
[all …]
H A Dsun50i-iommu.c98 #define SPAGE_SIZE 4096 macro
342 sun50i_iommu_zap_iova(iommu, iova + SPAGE_SIZE); in sun50i_iommu_zap_range()
343 if (size > SPAGE_SIZE) { in sun50i_iommu_zap_range()
345 sun50i_iommu_zap_iova(iommu, iova + size + SPAGE_SIZE); in sun50i_iommu_zap_range()
874 sun50i_iommu_zap_range(iommu, iova, SPAGE_SIZE); in sun50i_iommu_report_fault()