Searched refs:dma_coherent_ok (Results 1 – 2 of 2) sorted by relevance
/Linux-v4.19/kernel/dma/ |
D | direct.c | 54 static bool dma_coherent_ok(struct device *dev, phys_addr_t phys, size_t size) in dma_coherent_ok() function 83 if (page && !dma_coherent_ok(dev, page_to_phys(page), size)) { in dma_direct_alloc() 91 if (page && !dma_coherent_ok(dev, page_to_phys(page), size)) { in dma_direct_alloc()
|
D | swiotlb.c | 692 static inline bool dma_coherent_ok(struct device *dev, dma_addr_t addr, in dma_coherent_ok() function 718 if (!dma_coherent_ok(dev, *dma_handle, size)) in swiotlb_alloc_buffer()
|