Searched refs:max_direct_dma_addr (Results 1 – 4 of 4) sorted by relevance
29 u64 end, mask, max_direct_dma_addr = dev->archdata.max_direct_dma_addr; in swiotlb_powerpc_get_required() local32 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()
36 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()
10 if (sd->max_direct_dma_addr && addr + size > sd->max_direct_dma_addr) in dma_capable()
37 dma_addr_t max_direct_dma_addr; member