Home
last modified time | relevance | path

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

/Linux-v4.19/arch/powerpc/kernel/
Ddma-swiotlb.c29 u64 end, mask, max_direct_dma_addr = dev->archdata.max_direct_dma_addr; in swiotlb_powerpc_get_required() local
32 if (max_direct_dma_addr && end > max_direct_dma_addr) in swiotlb_powerpc_get_required()
33 end = max_direct_dma_addr; in swiotlb_powerpc_get_required()
73 sd->max_direct_dma_addr = in pci_dma_dev_setup_swiotlb()
88 sd->max_direct_dma_addr = 0; in ppc_swiotlb_bus_notify()
Ddma.c36 if (sd->max_direct_dma_addr && dev->dma_ops == &powerpc_swiotlb_dma_ops) in get_pfn_limit()
37 pfn = min_t(u64, pfn, sd->max_direct_dma_addr >> PAGE_SHIFT); in get_pfn_limit()
/Linux-v4.19/arch/powerpc/include/asm/
Ddma-direct.h10 if (sd->max_direct_dma_addr && addr + size > sd->max_direct_dma_addr) in dma_capable()
Ddevice.h37 dma_addr_t max_direct_dma_addr; member