Home
last modified time | relevance | path

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

/drivers/iommu/
Drockchip-iommu.c76 #define SPAGE_SIZE (1 << SPAGE_ORDER) macro
309 for (iova = iova_start; iova < iova_end; iova += SPAGE_SIZE) in rk_iommu_zap_lines()
649 rk_iommu_zap_iova(rk_domain, iova, SPAGE_SIZE); in rk_iommu_zap_iova_first_last()
650 if (size > SPAGE_SIZE) in rk_iommu_zap_iova_first_last()
651 rk_iommu_zap_iova(rk_domain, iova + size - SPAGE_SIZE, in rk_iommu_zap_iova_first_last()
652 SPAGE_SIZE); in rk_iommu_zap_iova_first_last()
675 pt_dma = dma_map_single(dma_dev, page_table, SPAGE_SIZE, DMA_TO_DEVICE); in rk_dte_get_page_table()
698 unsigned int pte_total = size / SPAGE_SIZE; in rk_iommu_unmap_iova()
712 return pte_count * SPAGE_SIZE; in rk_iommu_unmap_iova()
720 unsigned int pte_total = size / SPAGE_SIZE; in rk_iommu_map_iova()
[all …]
Dexynos-iommu.c37 #define SPAGE_SIZE (1 << SPAGE_ORDER) macro
41 #define SPAGE_MASK (~(SPAGE_SIZE - 1))
103 #define spage_offs(iova) (iova & (SPAGE_SIZE - 1))
106 #define NUM_LV2ENTRIES (SECT_SIZE / SPAGE_SIZE)
121 #define SPAGES_PER_LPAGE (LPAGE_SIZE / SPAGE_SIZE)
324 iova += SPAGE_SIZE; in __sysmmu_tlb_invalidate_entry()
333 writel((iova & SPAGE_MASK) + (num_inv - 1) * SPAGE_SIZE, in __sysmmu_tlb_invalidate_entry()
1017 if (size == SPAGE_SIZE) { in lv2set_page()
1169 size = SPAGE_SIZE; in exynos_iommu_unmap()
1175 size = SPAGE_SIZE; in exynos_iommu_unmap()
[all …]