Lines Matching refs:nelems
389 int nelems, enum dma_data_direction dir, in xen_swiotlb_map_sg_attrs() argument
397 for_each_sg(sgl, sg, nelems, i) { in xen_swiotlb_map_sg_attrs()
421 return nelems; in xen_swiotlb_map_sg_attrs()
426 xen_swiotlb_map_sg(struct device *hwdev, struct scatterlist *sgl, int nelems, in xen_swiotlb_map_sg() argument
429 return xen_swiotlb_map_sg_attrs(hwdev, sgl, nelems, dir, NULL); in xen_swiotlb_map_sg()
439 int nelems, enum dma_data_direction dir, in xen_swiotlb_unmap_sg_attrs() argument
447 for_each_sg(sgl, sg, nelems, i) in xen_swiotlb_unmap_sg_attrs()
454 xen_swiotlb_unmap_sg(struct device *hwdev, struct scatterlist *sgl, int nelems, in xen_swiotlb_unmap_sg() argument
457 return xen_swiotlb_unmap_sg_attrs(hwdev, sgl, nelems, dir, NULL); in xen_swiotlb_unmap_sg()
470 int nelems, enum dma_data_direction dir, in xen_swiotlb_sync_sg() argument
476 for_each_sg(sgl, sg, nelems, i) in xen_swiotlb_sync_sg()
483 int nelems, enum dma_data_direction dir) in xen_swiotlb_sync_sg_for_cpu() argument
485 xen_swiotlb_sync_sg(hwdev, sg, nelems, dir, SYNC_FOR_CPU); in xen_swiotlb_sync_sg_for_cpu()
491 int nelems, enum dma_data_direction dir) in xen_swiotlb_sync_sg_for_device() argument
493 xen_swiotlb_sync_sg(hwdev, sg, nelems, dir, SYNC_FOR_DEVICE); in xen_swiotlb_sync_sg_for_device()