Lines Matching refs:dma_mask
415 if (!dev || !dev->dma_mask) in check_device()
1539 unsigned int pages, u64 dma_mask) in dma_ops_alloc_iova() argument
1545 if (dma_mask > DMA_BIT_MASK(32)) in dma_ops_alloc_iova()
1550 pfn = alloc_iova_fast(&dma_dom->iovad, pages, IOVA_PFN(dma_mask)); in dma_ops_alloc_iova()
2379 u64 dma_mask) in __map_single() argument
2390 address = dma_ops_alloc_iova(dev, dma_dom, pages, dma_mask); in __map_single()
2474 u64 dma_mask; in map_page() local
2482 dma_mask = *dev->dma_mask; in map_page()
2485 return __map_single(dev, dma_dom, paddr, size, dir, dma_mask); in map_page()
2545 u64 dma_mask; in map_sg() local
2552 dma_mask = *dev->dma_mask; in map_sg()
2556 address = dma_ops_alloc_iova(dev, dma_dom, npages, dma_mask); in map_sg()
2644 u64 dma_mask = dev->coherent_dma_mask; in alloc_coherent() local
2659 dma_mask = dev->coherent_dma_mask; in alloc_coherent()
2674 if (!dma_mask) in alloc_coherent()
2675 dma_mask = *dev->dma_mask; in alloc_coherent()
2678 size, DMA_BIDIRECTIONAL, dma_mask); in alloc_coherent()