Home
last modified time | relevance | path

Searched refs:granule (Results 1 – 8 of 8) sorted by relevance

/linux-4.4.14/include/linux/
Diova.h31 unsigned long granule; /* pfn granularity for this domain */ member
43 return __ffs(iovad->granule); in iova_shift()
48 return iovad->granule - 1; in iova_mask()
58 return ALIGN(size, iovad->granule); in iova_align()
84 void init_iova_domain(struct iova_domain *iovad, unsigned long granule,
/linux-4.4.14/drivers/iommu/
Diova.c25 init_iova_domain(struct iova_domain *iovad, unsigned long granule, in init_iova_domain() argument
33 BUG_ON((granule > PAGE_SIZE) || !is_power_of_2(granule)); in init_iova_domain()
38 iovad->granule = granule; in init_iova_domain()
Dio-pgtable-arm.c580 unsigned long granule; in arm_lpae_restrict_pgsizes() local
590 granule = PAGE_SIZE; in arm_lpae_restrict_pgsizes()
592 granule = 1UL << __fls(cfg->pgsize_bitmap & ~PAGE_MASK); in arm_lpae_restrict_pgsizes()
594 granule = 1UL << __ffs(cfg->pgsize_bitmap & PAGE_MASK); in arm_lpae_restrict_pgsizes()
596 granule = 0; in arm_lpae_restrict_pgsizes()
598 switch (granule) { in arm_lpae_restrict_pgsizes()
Ddma-iommu.c117 if (1UL << order != iovad->granule || in iommu_dma_init_domain()
/linux-4.4.14/Documentation/ia64/
Daliasing.txt65 identity mapping only when the entire granule supports cacheable
68 Therefore, kern_memmap contains only full granule-sized regions that
148 If the EFI memory map reports that the entire granule supports
152 If the granule contains non-WB memory, but we can cover the
180 which uses a granule-sized UC mapping. This granule will cover some
212 at 0xA0000 prevents use of a WB granule. The UC mapping causes
/linux-4.4.14/arch/ia64/
DKconfig.debug14 Select "16MB" for a small granule size.
15 Select "64MB" for a large granule size. This is the current default.
/linux-4.4.14/Documentation/
Dnommu-mmap.txt119 granule but will only discard the excess if appropriately configured as
/linux-4.4.14/arch/arm64/
DKconfig411 Page size (translation granule) configuration.