Lines Matching refs:nents

911 int arm_dma_map_sg(struct device *dev, struct scatterlist *sg, int nents,  in arm_dma_map_sg()  argument
918 for_each_sg(sg, s, nents, i) { in arm_dma_map_sg()
927 return nents; in arm_dma_map_sg()
945 void arm_dma_unmap_sg(struct device *dev, struct scatterlist *sg, int nents, in arm_dma_unmap_sg() argument
953 for_each_sg(sg, s, nents, i) in arm_dma_unmap_sg()
965 int nents, enum dma_data_direction dir) in arm_dma_sync_sg_for_cpu() argument
971 for_each_sg(sg, s, nents, i) in arm_dma_sync_sg_for_cpu()
984 int nents, enum dma_data_direction dir) in arm_dma_sync_sg_for_device() argument
990 for_each_sg(sg, s, nents, i) in arm_dma_sync_sg_for_device()
1548 static int __iommu_map_sg(struct device *dev, struct scatterlist *sg, int nents, in __iommu_map_sg() argument
1558 for (i = 1; i < nents; i++) { in __iommu_map_sg()
1607 int nents, enum dma_data_direction dir, struct dma_attrs *attrs) in arm_coherent_iommu_map_sg() argument
1609 return __iommu_map_sg(dev, sg, nents, dir, attrs, true); in arm_coherent_iommu_map_sg()
1625 int nents, enum dma_data_direction dir, struct dma_attrs *attrs) in arm_iommu_map_sg() argument
1627 return __iommu_map_sg(dev, sg, nents, dir, attrs, false); in arm_iommu_map_sg()
1631 int nents, enum dma_data_direction dir, struct dma_attrs *attrs, in __iommu_unmap_sg() argument
1637 for_each_sg(sg, s, nents, i) { in __iommu_unmap_sg()
1659 int nents, enum dma_data_direction dir, struct dma_attrs *attrs) in arm_coherent_iommu_unmap_sg() argument
1661 __iommu_unmap_sg(dev, sg, nents, dir, attrs, true); in arm_coherent_iommu_unmap_sg()
1674 void arm_iommu_unmap_sg(struct device *dev, struct scatterlist *sg, int nents, in arm_iommu_unmap_sg() argument
1677 __iommu_unmap_sg(dev, sg, nents, dir, attrs, false); in arm_iommu_unmap_sg()
1688 int nents, enum dma_data_direction dir) in arm_iommu_sync_sg_for_cpu() argument
1693 for_each_sg(sg, s, nents, i) in arm_iommu_sync_sg_for_cpu()
1706 int nents, enum dma_data_direction dir) in arm_iommu_sync_sg_for_device() argument
1711 for_each_sg(sg, s, nents, i) in arm_iommu_sync_sg_for_device()