Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/iommu/
Drockchip-iommu.c68 #define SPAGE_SIZE (1 << SPAGE_ORDER) macro
297 for (; iova < iova_end; iova += SPAGE_SIZE) in rk_iommu_zap_lines()
557 rk_iommu_zap_iova(rk_domain, iova, SPAGE_SIZE); in rk_iommu_zap_iova_first_last()
558 if (size > SPAGE_SIZE) in rk_iommu_zap_iova_first_last()
559 rk_iommu_zap_iova(rk_domain, iova + size - SPAGE_SIZE, in rk_iommu_zap_iova_first_last()
560 SPAGE_SIZE); in rk_iommu_zap_iova_first_last()
596 unsigned int pte_total = size / SPAGE_SIZE; in rk_iommu_unmap_iova()
610 return pte_count * SPAGE_SIZE; in rk_iommu_unmap_iova()
618 unsigned int pte_total = size / SPAGE_SIZE; in rk_iommu_map_iova()
631 paddr += SPAGE_SIZE; in rk_iommu_map_iova()
[all …]
Dexynos-iommu.c43 #define SPAGE_SIZE (1 << SPAGE_ORDER) macro
47 #define SPAGE_MASK (~(SPAGE_SIZE - 1))
71 #define spage_offs(iova) sysmmu_page_offset((iova), SPAGE_SIZE)
74 #define NUM_LV2ENTRIES (SECT_SIZE / SPAGE_SIZE)
88 #define SPAGES_PER_LPAGE (LPAGE_SIZE / SPAGE_SIZE)
292 iova += SPAGE_SIZE; in __sysmmu_tlb_invalidate_entry()
905 if (size == SPAGE_SIZE) { in lv2set_page()
1051 size = SPAGE_SIZE; in exynos_iommu_unmap()
1057 size = SPAGE_SIZE; in exynos_iommu_unmap()
1187 .pgsize_bitmap = SECT_SIZE | LPAGE_SIZE | SPAGE_SIZE,