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

/linux-4.1.27/include/linux/
H A Diommu-common.h45 unsigned int align_order);
/linux-4.1.27/mm/
H A Dcma.c57 int align_order) cma_bitmap_aligned_mask()
59 if (align_order <= cma->order_per_bit) cma_bitmap_aligned_mask()
61 return (1UL << (align_order - cma->order_per_bit)) - 1; cma_bitmap_aligned_mask()
69 int align_order) cma_bitmap_aligned_offset()
71 if (align_order <= cma->order_per_bit) cma_bitmap_aligned_offset()
74 return (ALIGN(cma->base_pfn, (1UL << align_order)) cma_bitmap_aligned_offset()
56 cma_bitmap_aligned_mask(const struct cma *cma, int align_order) cma_bitmap_aligned_mask() argument
68 cma_bitmap_aligned_offset(const struct cma *cma, int align_order) cma_bitmap_aligned_offset() argument
/linux-4.1.27/lib/
H A Diommu-common.c106 unsigned int align_order) iommu_tbl_range_alloc()
120 if (align_order > 0) iommu_tbl_range_alloc()
121 align_mask = 0xffffffffffffffffl >> (64 - align_order); iommu_tbl_range_alloc()
101 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) iommu_tbl_range_alloc() argument
/linux-4.1.27/arch/powerpc/kernel/
H A Diommu.c181 unsigned int align_order) iommu_range_alloc()
193 align_mask = 0xffffffffffffffffl >> (64 - align_order); iommu_range_alloc()
309 unsigned long mask, unsigned int align_order, iommu_alloc()
316 entry = iommu_range_alloc(dev, tbl, npages, NULL, mask, align_order); iommu_alloc()
176 iommu_range_alloc(struct device *dev, struct iommu_table *tbl, unsigned long npages, unsigned long *handle, unsigned long mask, unsigned int align_order) iommu_range_alloc() argument
306 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, struct dma_attrs *attrs) iommu_alloc() argument
/linux-4.1.27/drivers/pci/
H A Dpci.c4351 int seg, bus, slot, func, align_order, count; pci_specified_resource_alignment() local
4359 if (sscanf(p, "%d%n", &align_order, &count) == 1 && pci_specified_resource_alignment()
4363 align_order = -1; pci_specified_resource_alignment()
4381 if (align_order == -1) pci_specified_resource_alignment()
4384 align = 1 << align_order; pci_specified_resource_alignment()

Completed in 219 milliseconds