Home
last modified time | relevance | path

Searched refs:max_dma (Results 1 – 4 of 4) sorted by relevance

/Linux-v4.19/arch/arm64/mm/
Dinit.c249 unsigned long max_dma = min; in zone_sizes_init() local
255 max_dma = PFN_DOWN(arm64_dma_phys_limit); in zone_sizes_init()
256 zone_size[ZONE_DMA32] = max_dma - min; in zone_sizes_init()
258 zone_size[ZONE_NORMAL] = max - max_dma; in zone_sizes_init()
270 if (start < max_dma) { in zone_sizes_init()
271 unsigned long dma_end = min(end, max_dma); in zone_sizes_init()
275 if (end > max_dma) { in zone_sizes_init()
277 unsigned long normal_start = max(start, max_dma); in zone_sizes_init()
/Linux-v4.19/arch/alpha/kernel/
Dpci_iommu.c256 dma_addr_t max_dma = pdev ? pdev->dma_mask : ISA_DMA_MASK; in pci_map_single_1() local
268 if (paddr + size + __direct_map_base - 1 <= max_dma in pci_map_single_1()
298 if (!arena || arena->dma_base + arena->size - 1 > max_dma) in pci_map_single_1()
557 dma_addr_t max_dma, int dac_allowed) in sg_fill() argument
569 && paddr + size + __direct_map_base - 1 <= max_dma in sg_fill()
606 return sg_fill(dev, leader, end, out, arena, max_dma, dac_allowed); in sg_fill()
661 dma_addr_t max_dma; in alpha_pci_map_sg() local
686 max_dma = pdev ? pdev->dma_mask : ISA_DMA_MASK; in alpha_pci_map_sg()
688 if (!arena || arena->dma_base + arena->size - 1 > max_dma) in alpha_pci_map_sg()
691 max_dma = -1; in alpha_pci_map_sg()
[all …]
/Linux-v4.19/arch/ia64/mm/
Dcontig.c178 unsigned long max_dma; in paging_init() local
183 max_dma = virt_to_phys((void *) MAX_DMA_ADDRESS) >> PAGE_SHIFT; in paging_init()
184 max_zone_pfns[ZONE_DMA32] = max_dma; in paging_init()
Ddiscontig.c595 unsigned long max_dma; in paging_init() local
601 max_dma = virt_to_phys((void *) MAX_DMA_ADDRESS) >> PAGE_SHIFT; in paging_init()
626 max_zone_pfns[ZONE_DMA32] = max_dma; in paging_init()