Searched refs:max_dma (Results 1 – 4 of 4) sorted by relevance
249 unsigned long max_dma = min; in zone_sizes_init() local255 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()
256 dma_addr_t max_dma = pdev ? pdev->dma_mask : ISA_DMA_MASK; in pci_map_single_1() local268 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() argument569 && 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() local686 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 …]
178 unsigned long max_dma; in paging_init() local183 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()
595 unsigned long max_dma; in paging_init() local601 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()