Searched refs:align_order (Results 1 - 5 of 5) sorted by relevance

/linux-master/arch/sparc/include/asm/
H A Diommu-common.h47 unsigned int align_order);
/linux-master/arch/sparc/kernel/
H A Diommu-common.c102 unsigned int align_order)
116 if (align_order > 0)
117 align_mask = ~0ul >> (BITS_PER_LONG - align_order);
97 iommu_tbl_range_alloc(struct device *dev, struct iommu_map_table *iommu, unsigned long npages, unsigned long *handle, unsigned long mask, unsigned int align_order) argument
/linux-master/mm/
H A Dcma.c54 unsigned int align_order)
56 if (align_order <= cma->order_per_bit)
58 return (1UL << (align_order - cma->order_per_bit)) - 1;
62 * Find the offset of the base PFN from the specified align_order.
66 unsigned int align_order)
68 return (cma->base_pfn & ((1UL << align_order) - 1))
53 cma_bitmap_aligned_mask(const struct cma *cma, unsigned int align_order) argument
65 cma_bitmap_aligned_offset(const struct cma *cma, unsigned int align_order) argument
/linux-master/arch/powerpc/kernel/
H A Diommu.c219 unsigned int align_order)
230 align_mask = (1ull << align_order) - 1;
349 unsigned long mask, unsigned int align_order,
356 entry = iommu_range_alloc(dev, tbl, npages, NULL, mask, align_order);
214 iommu_range_alloc(struct device *dev, struct iommu_table *tbl, unsigned long npages, unsigned long *handle, unsigned long mask, unsigned int align_order) argument
346 iommu_alloc(struct device *dev, struct iommu_table *tbl, void *page, unsigned int npages, enum dma_data_direction direction, unsigned long mask, unsigned int align_order, unsigned long attrs) argument
/linux-master/drivers/pci/
H A Dpci.c6453 int align_order, count; local
6470 if (sscanf(p, "%d%n", &align_order, &count) == 1 &&
6473 if (align_order > 63) {
6475 align_order);
6476 align_order = PAGE_SHIFT;
6479 align_order = PAGE_SHIFT;
6485 align = 1ULL << align_order;

Completed in 167 milliseconds