Home
last modified time | relevance | path

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

/drivers/iommu/
Drockchip-iommu.c74 #define SPAGE_SIZE (1 << SPAGE_ORDER) macro
367 for (iova = iova_start; iova < iova_end; iova += SPAGE_SIZE) in rk_iommu_zap_lines()
707 rk_iommu_zap_iova(rk_domain, iova, SPAGE_SIZE); in rk_iommu_zap_iova_first_last()
708 if (size > SPAGE_SIZE) in rk_iommu_zap_iova_first_last()
709 rk_iommu_zap_iova(rk_domain, iova + size - SPAGE_SIZE, in rk_iommu_zap_iova_first_last()
710 SPAGE_SIZE); in rk_iommu_zap_iova_first_last()
733 pt_dma = dma_map_single(dma_dev, page_table, SPAGE_SIZE, DMA_TO_DEVICE); in rk_dte_get_page_table()
755 unsigned int pte_total = size / SPAGE_SIZE; in rk_iommu_unmap_iova()
769 return pte_count * SPAGE_SIZE; in rk_iommu_unmap_iova()
777 unsigned int pte_total = size / SPAGE_SIZE; in rk_iommu_map_iova()
[all …]
Dexynos-iommu.c35 #define SPAGE_SIZE (1 << SPAGE_ORDER) macro
39 #define SPAGE_MASK (~(SPAGE_SIZE - 1))
101 #define spage_offs(iova) (iova & (SPAGE_SIZE - 1))
104 #define NUM_LV2ENTRIES (SECT_SIZE / SPAGE_SIZE)
119 #define SPAGES_PER_LPAGE (LPAGE_SIZE / SPAGE_SIZE)
322 iova += SPAGE_SIZE; in __sysmmu_tlb_invalidate_entry()
331 writel((iova & SPAGE_MASK) + (num_inv - 1) * SPAGE_SIZE, in __sysmmu_tlb_invalidate_entry()
1006 if (size == SPAGE_SIZE) { in lv2set_page()
1158 size = SPAGE_SIZE; in exynos_iommu_unmap()
1164 size = SPAGE_SIZE; in exynos_iommu_unmap()
[all …]