Home
last modified time | relevance | path

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

/linux-6.1.9/arch/alpha/kernel/
Dpci_iommu.c234 dma_addr_t max_dma = pdev ? pdev->dma_mask : ISA_DMA_MASK; in pci_map_single_1() local
246 if (paddr + size + __direct_map_base - 1 <= max_dma in pci_map_single_1()
276 if (!arena || arena->dma_base + arena->size - 1 > max_dma) in pci_map_single_1()
535 dma_addr_t max_dma, int dac_allowed) in sg_fill() argument
547 && paddr + size + __direct_map_base - 1 <= max_dma in sg_fill()
584 return sg_fill(dev, leader, end, out, arena, max_dma, dac_allowed); in sg_fill()
639 dma_addr_t max_dma; in alpha_pci_map_sg() local
666 max_dma = pdev ? pdev->dma_mask : ISA_DMA_MASK; in alpha_pci_map_sg()
668 if (!arena || arena->dma_base + arena->size - 1 > max_dma) in alpha_pci_map_sg()
671 max_dma = -1; in alpha_pci_map_sg()
[all …]
/linux-6.1.9/arch/ia64/mm/
Dcontig.c196 unsigned long max_dma; in paging_init() local
200 max_dma = virt_to_phys((void *) MAX_DMA_ADDRESS) >> PAGE_SHIFT; in paging_init()
201 max_zone_pfns[ZONE_DMA32] = max_dma; in paging_init()
Ddiscontig.c596 unsigned long max_dma; in paging_init() local
599 max_dma = virt_to_phys((void *) MAX_DMA_ADDRESS) >> PAGE_SHIFT; in paging_init()
604 max_zone_pfns[ZONE_DMA32] = max_dma; in paging_init()
/linux-6.1.9/drivers/thunderbolt/
Dusb4.c685 int max_usb3, min_dp_aux, min_dp_main, max_pcie, max_dma; in usb4_switch_credits_init() local
708 max_dma = -1; in usb4_switch_credits_init()
737 max_dma = value; in usb4_switch_credits_init()
753 if (!tb_route(sw) && max_dma < 0) { in usb4_switch_credits_init()
805 if (max_dma > 0) in usb4_switch_credits_init()
806 sw->max_dma_credits = max_dma; in usb4_switch_credits_init()
/linux-6.1.9/kernel/dma/
Ddirect.c42 u64 max_dma = phys_to_dma_direct(dev, phys); in dma_direct_get_required_mask() local
44 return (1ULL << (fls64(max_dma) - 1)) * 2 - 1; in dma_direct_get_required_mask()