Searched refs:max_dma (Results 1 – 4 of 4) sorted by relevance
68 unsigned long max_dma; in zone_sizes_init() local74 max_dma = virt_to_phys((char *)MAX_DMA_ADDRESS) >> PAGE_SHIFT; in zone_sizes_init()77 if (low < max_dma){ in zone_sizes_init()82 zones_size[ZONE_NORMAL] = low - max_dma; in zone_sizes_init()
254 dma_addr_t max_dma = pdev ? pdev->dma_mask : ISA_DMA_MASK; in pci_map_single_1() local266 if (paddr + size + __direct_map_base - 1 <= max_dma in pci_map_single_1()296 if (!arena || arena->dma_base + arena->size - 1 > max_dma) in pci_map_single_1()555 dma_addr_t max_dma, int dac_allowed) in sg_fill() argument567 && paddr + size + __direct_map_base - 1 <= max_dma in sg_fill()604 return sg_fill(dev, leader, end, out, arena, max_dma, dac_allowed); in sg_fill()659 dma_addr_t max_dma; in alpha_pci_map_sg() local685 max_dma = pdev ? pdev->dma_mask : ISA_DMA_MASK; in alpha_pci_map_sg()687 if (!arena || arena->dma_base + arena->size - 1 > max_dma) in alpha_pci_map_sg()690 max_dma = -1; in alpha_pci_map_sg()[all …]
308 unsigned long max_dma; in paging_init() local316 max_dma = virt_to_phys((void *) MAX_DMA_ADDRESS) >> PAGE_SHIFT; in paging_init()317 max_zone_pfns[ZONE_DMA] = max_dma; in paging_init()
755 unsigned long max_dma; in paging_init() local761 max_dma = virt_to_phys((void *) MAX_DMA_ADDRESS) >> PAGE_SHIFT; in paging_init()789 max_zone_pfns[ZONE_DMA] = max_dma; in paging_init()