Lines Matching refs:nents
21 struct scatterlist *sgl, int nents, enum dma_data_direction dir) in dma_noncoherent_sync_sg_for_device() argument
26 for_each_sg(sgl, sg, nents, i) in dma_noncoherent_sync_sg_for_device()
44 int nents, enum dma_data_direction dir, unsigned long attrs) in dma_noncoherent_map_sg() argument
46 nents = dma_direct_map_sg(dev, sgl, nents, dir, attrs); in dma_noncoherent_map_sg()
47 if (nents > 0 && !(attrs & DMA_ATTR_SKIP_CPU_SYNC)) in dma_noncoherent_map_sg()
48 dma_noncoherent_sync_sg_for_device(dev, sgl, nents, dir); in dma_noncoherent_map_sg()
49 return nents; in dma_noncoherent_map_sg()
62 struct scatterlist *sgl, int nents, enum dma_data_direction dir) in dma_noncoherent_sync_sg_for_cpu() argument
67 for_each_sg(sgl, sg, nents, i) in dma_noncoherent_sync_sg_for_cpu()
80 int nents, enum dma_data_direction dir, unsigned long attrs) in dma_noncoherent_unmap_sg() argument
83 dma_noncoherent_sync_sg_for_cpu(dev, sgl, nents, dir); in dma_noncoherent_unmap_sg()