Lines Matching defs:mask
143 int dma_supported(struct device *dev, u64 mask);
144 int dma_set_mask(struct device *dev, u64 mask);
145 int dma_set_coherent_mask(struct device *dev, u64 mask);
228 static inline int dma_supported(struct device *dev, u64 mask)
232 static inline int dma_set_mask(struct device *dev, u64 mask)
236 static inline int dma_set_coherent_mask(struct device *dev, u64 mask)
403 * Set both the DMA mask and the coherent DMA mask to the same thing.
405 * as the DMA API guarantees that the coherent DMA mask can be set to
406 * the same or smaller than the streaming DMA mask.
408 static inline int dma_set_mask_and_coherent(struct device *dev, u64 mask)
410 int rc = dma_set_mask(dev, mask);
412 dma_set_coherent_mask(dev, mask);
421 static inline int dma_coerce_mask_and_coherent(struct device *dev, u64 mask)
424 return dma_set_mask_and_coherent(dev, mask);
431 * Return %true if the devices DMA mask is too small to address all memory in
484 static inline int dma_set_seg_boundary(struct device *dev, unsigned long mask)
487 dev->dma_parms->segment_boundary_mask = mask;