/arch/arm64/mm/ |
D | dma-mapping.c | 227 int nelems, enum dma_data_direction dir, in __swiotlb_map_sg_attrs() argument 233 ret = swiotlb_map_sg_attrs(dev, sgl, nelems, dir, attrs); in __swiotlb_map_sg_attrs() 243 struct scatterlist *sgl, int nelems, in __swiotlb_unmap_sg_attrs() argument 251 for_each_sg(sgl, sg, nelems, i) in __swiotlb_unmap_sg_attrs() 254 swiotlb_unmap_sg_attrs(dev, sgl, nelems, dir, attrs); in __swiotlb_unmap_sg_attrs() 276 struct scatterlist *sgl, int nelems, in __swiotlb_sync_sg_for_cpu() argument 283 for_each_sg(sgl, sg, nelems, i) in __swiotlb_sync_sg_for_cpu() 286 swiotlb_sync_sg_for_cpu(dev, sgl, nelems, dir); in __swiotlb_sync_sg_for_cpu() 290 struct scatterlist *sgl, int nelems, in __swiotlb_sync_sg_for_device() argument 296 swiotlb_sync_sg_for_device(dev, sgl, nelems, dir); in __swiotlb_sync_sg_for_device() [all …]
|
/arch/powerpc/kernel/ |
D | dma-iommu.c | 60 int nelems, enum dma_data_direction direction, in dma_iommu_map_sg() argument 63 return ppc_iommu_map_sg(dev, get_iommu_table_base(dev), sglist, nelems, in dma_iommu_map_sg() 68 int nelems, enum dma_data_direction direction, in dma_iommu_unmap_sg() argument 71 ppc_iommu_unmap_sg(get_iommu_table_base(dev), sglist, nelems, in dma_iommu_unmap_sg()
|
D | iommu.c | 432 struct scatterlist *sglist, int nelems, in ppc_iommu_map_sg() argument 445 if ((nelems == 0) || !tbl) in ppc_iommu_map_sg() 450 incount = nelems; in ppc_iommu_map_sg() 456 DBG("sg mapping %d elements:\n", nelems); in ppc_iommu_map_sg() 459 for_each_sg(sglist, s, nelems, i) { in ppc_iommu_map_sg() 557 for_each_sg(sglist, s, nelems, i) { in ppc_iommu_map_sg() 576 int nelems, enum dma_data_direction direction, in ppc_iommu_unmap_sg() argument 587 while (nelems--) { in ppc_iommu_unmap_sg()
|
D | vio.c | 554 int nelems, enum dma_data_direction direction, in vio_dma_iommu_map_sg() argument 564 for_each_sg(sglist, sgl, nelems, count) in vio_dma_iommu_map_sg() 572 ret = dma_iommu_ops.map_sg(dev, sglist, nelems, direction, attrs); in vio_dma_iommu_map_sg() 589 struct scatterlist *sglist, int nelems, in vio_dma_iommu_unmap_sg() argument 600 for_each_sg(sglist, sgl, nelems, count) in vio_dma_iommu_unmap_sg() 603 dma_iommu_ops.unmap_sg(dev, sglist, nelems, direction, attrs); in vio_dma_iommu_unmap_sg()
|
/arch/tile/kernel/ |
D | pci-dma.c | 281 struct scatterlist *sglist, int nelems, in tile_dma_sync_sg_for_cpu() argument 288 WARN_ON(nelems == 0 || sglist->length == 0); in tile_dma_sync_sg_for_cpu() 290 for_each_sg(sglist, sg, nelems, i) { in tile_dma_sync_sg_for_cpu() 297 struct scatterlist *sglist, int nelems, in tile_dma_sync_sg_for_device() argument 304 WARN_ON(nelems == 0 || sglist->length == 0); in tile_dma_sync_sg_for_device() 306 for_each_sg(sglist, sg, nelems, i) { in tile_dma_sync_sg_for_device() 467 int nelems, in tile_pci_dma_sync_sg_for_cpu() argument 474 WARN_ON(nelems == 0 || sglist->length == 0); in tile_pci_dma_sync_sg_for_cpu() 476 for_each_sg(sglist, sg, nelems, i) { in tile_pci_dma_sync_sg_for_cpu() 484 int nelems, in tile_pci_dma_sync_sg_for_device() argument [all …]
|
/arch/nios2/mm/ |
D | dma-mapping.c | 161 void dma_sync_sg_for_cpu(struct device *dev, struct scatterlist *sg, int nelems, in dma_sync_sg_for_cpu() argument 169 for_each_sg(sg, sg, nelems, i) in dma_sync_sg_for_cpu() 175 int nelems, enum dma_data_direction direction) in dma_sync_sg_for_device() argument 182 for_each_sg(sg, sg, nelems, i) in dma_sync_sg_for_device()
|
/arch/parisc/include/asm/ |
D | dma-mapping.h | 20 …void (*dma_sync_sg_for_cpu)(struct device *dev, struct scatterlist *sg, int nelems, enum dma_data_… 21 …void (*dma_sync_sg_for_device)(struct device *dev, struct scatterlist *sg, int nelems, enum dma_da… 160 dma_sync_sg_for_cpu(struct device *dev, struct scatterlist *sg, int nelems, in dma_sync_sg_for_cpu() argument 164 hppa_dma_ops->dma_sync_sg_for_cpu(dev, sg, nelems, direction); in dma_sync_sg_for_cpu() 168 dma_sync_sg_for_device(struct device *dev, struct scatterlist *sg, int nelems, in dma_sync_sg_for_device() argument 172 hppa_dma_ops->dma_sync_sg_for_device(dev, sg, nelems, direction); in dma_sync_sg_for_device()
|
/arch/metag/include/asm/ |
D | dma-mapping.h | 137 dma_sync_sg_for_cpu(struct device *dev, struct scatterlist *sglist, int nelems, in dma_sync_sg_for_cpu() argument 143 for_each_sg(sglist, sg, nelems, i) in dma_sync_sg_for_cpu() 149 int nelems, enum dma_data_direction direction) in dma_sync_sg_for_device() argument 154 for_each_sg(sglist, sg, nelems, i) in dma_sync_sg_for_device()
|
/arch/arc/include/asm/ |
D | dma-mapping.h | 160 dma_sync_sg_for_cpu(struct device *dev, struct scatterlist *sglist, int nelems, in dma_sync_sg_for_cpu() argument 166 for_each_sg(sglist, sg, nelems, i) in dma_sync_sg_for_cpu() 172 int nelems, enum dma_data_direction dir) in dma_sync_sg_for_device() argument 177 for_each_sg(sglist, sg, nelems, i) in dma_sync_sg_for_device()
|
/arch/sh/kernel/ |
D | dma-nommu.c | 55 int nelems, enum dma_data_direction dir) in nommu_sync_sg() argument 60 for_each_sg(sg, s, nelems, i) in nommu_sync_sg()
|
/arch/blackfin/kernel/ |
D | dma-mapping.c | 132 int nelems, enum dma_data_direction direction) in dma_sync_sg_for_device() argument 137 for_each_sg(sg_list, sg, nelems, i) { in dma_sync_sg_for_device()
|
/arch/sparc/kernel/ |
D | iommu.c | 433 int nelems, enum dma_data_direction direction, in dma_4u_map_sg() argument 450 if (nelems == 0 || !iommu) in dma_4u_map_sg() 468 incount = nelems; in dma_4u_map_sg() 478 for_each_sg(sglist, s, nelems, i) { in dma_4u_map_sg() 557 for_each_sg(sglist, s, nelems, i) { in dma_4u_map_sg() 609 int nelems, enum dma_data_direction direction, in dma_4u_unmap_sg() argument 627 while (nelems--) { in dma_4u_unmap_sg() 699 struct scatterlist *sglist, int nelems, in dma_4u_sync_sg_for_cpu() argument 731 for_each_sg(sglist, sg, nelems, i) { in dma_4u_sync_sg_for_cpu()
|
D | pci_sun4v.c | 324 int nelems, enum dma_data_direction direction, in dma_4v_map_sg() argument 340 if (nelems == 0 || !iommu) in dma_4v_map_sg() 349 incount = nelems; in dma_4v_map_sg() 363 for_each_sg(sglist, s, nelems, i) { in dma_4v_map_sg() 446 for_each_sg(sglist, s, nelems, i) { in dma_4v_map_sg() 468 int nelems, enum dma_data_direction direction, in dma_4v_unmap_sg() argument 486 while (nelems--) { in dma_4v_unmap_sg()
|
/arch/frv/include/asm/ |
D | dma-mapping.h | 85 void dma_sync_sg_for_cpu(struct device *dev, struct scatterlist *sg, int nelems, in dma_sync_sg_for_cpu() argument 91 void dma_sync_sg_for_device(struct device *dev, struct scatterlist *sg, int nelems, in dma_sync_sg_for_device() argument
|
/arch/mn10300/include/asm/ |
D | dma-mapping.h | 124 int nelems, enum dma_data_direction direction) in dma_sync_sg_for_cpu() argument 130 int nelems, enum dma_data_direction direction) in dma_sync_sg_for_device() argument
|
/arch/cris/include/asm/ |
D | dma-mapping.h | 113 dma_sync_sg_for_cpu(struct device *dev, struct scatterlist *sg, int nelems, in dma_sync_sg_for_cpu() argument 119 dma_sync_sg_for_device(struct device *dev, struct scatterlist *sg, int nelems, in dma_sync_sg_for_device() argument
|
/arch/nios2/include/asm/ |
D | dma-mapping.h | 97 int nelems, enum dma_data_direction direction); 99 int nelems, enum dma_data_direction direction);
|
/arch/mips/mm/ |
D | dma-default.c | 366 struct scatterlist *sglist, int nelems, in mips_dma_sync_sg_for_cpu() argument 373 for_each_sg(sglist, sg, nelems, i) { in mips_dma_sync_sg_for_cpu() 382 struct scatterlist *sglist, int nelems, in mips_dma_sync_sg_for_device() argument 389 for_each_sg(sglist, sg, nelems, i) { in mips_dma_sync_sg_for_device()
|
/arch/x86/kernel/ |
D | pci-nommu.c | 85 struct scatterlist *sg, int nelems, in nommu_sync_sg_for_device() argument
|
D | amd_gart_64.c | 335 int nelems, struct scatterlist *sout, in __dma_map_cont() argument 346 for_each_sg(start, s, nelems, i) { in __dma_map_cont() 373 dma_map_cont(struct device *dev, struct scatterlist *start, int nelems, in dma_map_cont() argument 377 BUG_ON(nelems != 1); in dma_map_cont() 382 return __dma_map_cont(dev, start, nelems, sout, pages); in dma_map_cont()
|
D | pci-calgary_64.c | 342 int nelems,enum dma_data_direction dir, in calgary_unmap_sg() argument 352 for_each_sg(sglist, s, nelems, i) { in calgary_unmap_sg() 366 int nelems, enum dma_data_direction dir, in calgary_map_sg() argument 376 for_each_sg(sg, s, nelems, i) { in calgary_map_sg() 397 return nelems; in calgary_map_sg() 399 calgary_unmap_sg(dev, sg, nelems, dir, NULL); in calgary_map_sg() 400 for_each_sg(sg, s, nelems, i) { in calgary_map_sg()
|
/arch/powerpc/include/asm/ |
D | iommu.h | 248 struct scatterlist *sglist, int nelems, 254 int nelems,
|
/arch/mips/cavium-octeon/ |
D | dma-octeon.c | 153 struct scatterlist *sg, int nelems, enum dma_data_direction direction) in octeon_dma_sync_sg_for_device() argument 155 swiotlb_sync_sg_for_device(dev, sg, nelems, direction); in octeon_dma_sync_sg_for_device()
|
/arch/ia64/sn/pci/ |
D | pci_dma.c | 337 int nelems, enum dma_data_direction dir) in sn_dma_sync_sg_for_cpu() argument 343 int nelems, enum dma_data_direction dir) in sn_dma_sync_sg_for_device() argument
|