Home
last modified time | relevance | path

Searched refs:nelems (Results 1 – 2 of 2) sorted by relevance

/lib/
Dswiotlb.c851 swiotlb_map_sg_attrs(struct device *hwdev, struct scatterlist *sgl, int nelems, in swiotlb_map_sg_attrs() argument
859 for_each_sg(sgl, sg, nelems, i) { in swiotlb_map_sg_attrs()
881 return nelems; in swiotlb_map_sg_attrs()
886 swiotlb_map_sg(struct device *hwdev, struct scatterlist *sgl, int nelems, in swiotlb_map_sg() argument
889 return swiotlb_map_sg_attrs(hwdev, sgl, nelems, dir, NULL); in swiotlb_map_sg()
899 int nelems, enum dma_data_direction dir, struct dma_attrs *attrs) in swiotlb_unmap_sg_attrs() argument
906 for_each_sg(sgl, sg, nelems, i) in swiotlb_unmap_sg_attrs()
913 swiotlb_unmap_sg(struct device *hwdev, struct scatterlist *sgl, int nelems, in swiotlb_unmap_sg() argument
916 return swiotlb_unmap_sg_attrs(hwdev, sgl, nelems, dir, NULL); in swiotlb_unmap_sg()
929 int nelems, enum dma_data_direction dir, in swiotlb_sync_sg() argument
[all …]
Ddma-debug.c1188 int nelems, int dir) in debug_dma_unmap_sg() argument
1196 for_each_sg(sglist, s, nelems, i) { in debug_dma_unmap_sg()
1205 .sg_call_ents = nelems, in debug_dma_unmap_sg()
1346 int nelems, int direction) in debug_dma_sync_sg_for_cpu() argument
1354 for_each_sg(sg, s, nelems, i) { in debug_dma_sync_sg_for_cpu()
1363 .sg_call_ents = nelems, in debug_dma_sync_sg_for_cpu()
1378 int nelems, int direction) in debug_dma_sync_sg_for_device() argument
1386 for_each_sg(sg, s, nelems, i) { in debug_dma_sync_sg_for_device()
1395 .sg_call_ents = nelems, in debug_dma_sync_sg_for_device()