Home
last modified time | relevance | path

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

/kernel/dma/
Dmapping.c140 return dma_go_direct(dev, *dev->dma_mask, ops); in dma_map_direct()
152 if (WARN_ON_ONCE(!dev->dma_mask)) in dma_map_page_attrs()
190 if (WARN_ON_ONCE(!dev->dma_mask)) in __dma_map_sg_attrs()
303 if (WARN_ON_ONCE(!dev->dma_mask)) in dma_map_resource()
764 if (!dev->dma_mask || !dma_supported(dev, mask)) in dma_set_mask()
768 *dev->dma_mask = mask; in dma_set_mask()
Ddirect.c48 static gfp_t dma_direct_optimal_gfp_mask(struct device *dev, u64 dma_mask, in dma_direct_optimal_gfp_mask() argument
51 u64 dma_limit = min_not_zero(dma_mask, dev->bus_dma_limit); in dma_direct_optimal_gfp_mask()
533 &dma_addr, size, *dev->dma_mask, dev->bus_dma_limit); in dma_direct_map_resource()
Ddirect.h105 &dma_addr, size, *dev->dma_mask, dev->bus_dma_limit); in dma_direct_map_page()
Dswiotlb.c927 &dma_addr, size, *dev->dma_mask, dev->bus_dma_limit); in swiotlb_map()