/linux-2.6.39/drivers/xen/ |
D | swiotlb-xen.c | 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 [all …]
|
/linux-2.6.39/include/linux/ |
D | dma-debug.h | 49 int nelems, int dir); 78 int nelems, int direction); 82 int nelems, int direction); 121 int nelems, int dir) in debug_dma_unmap_sg() argument 165 int nelems, int direction) in debug_dma_sync_sg_for_cpu() argument 171 int nelems, int direction) in debug_dma_sync_sg_for_device() argument
|
D | swiotlb.h | 75 swiotlb_map_sg_attrs(struct device *hwdev, struct scatterlist *sgl, int nelems, 80 int nelems, enum dma_data_direction dir, 89 int nelems, enum dma_data_direction dir); 97 int nelems, enum dma_data_direction dir);
|
/linux-2.6.39/include/xen/ |
D | swiotlb-xen.h | 35 int nelems, enum dma_data_direction dir, 40 int nelems, enum dma_data_direction dir, 49 int nelems, enum dma_data_direction dir); 57 int nelems, enum dma_data_direction dir);
|
/linux-2.6.39/arch/powerpc/kernel/ |
D | dma-iommu.c | 57 int nelems, enum dma_data_direction direction, in dma_iommu_map_sg() argument 60 return iommu_map_sg(dev, get_iommu_table_base(dev), sglist, nelems, in dma_iommu_map_sg() 65 int nelems, enum dma_data_direction direction, in dma_iommu_unmap_sg() argument 68 iommu_unmap_sg(get_iommu_table_base(dev), sglist, nelems, direction, in dma_iommu_unmap_sg()
|
D | iommu.c | 260 struct scatterlist *sglist, int nelems, in iommu_map_sg() argument 274 if ((nelems == 0) || !tbl) in iommu_map_sg() 279 incount = nelems; in iommu_map_sg() 285 DBG("sg mapping %d elements:\n", nelems); in iommu_map_sg() 290 for_each_sg(sglist, s, nelems, i) { in iommu_map_sg() 390 for_each_sg(sglist, s, nelems, i) { in iommu_map_sg() 410 int nelems, enum dma_data_direction direction, in iommu_unmap_sg() argument 424 while (nelems--) { in iommu_unmap_sg()
|
/linux-2.6.39/lib/ |
D | swiotlb.c | 802 swiotlb_map_sg_attrs(struct device *hwdev, struct scatterlist *sgl, int nelems, in swiotlb_map_sg_attrs() argument 810 for_each_sg(sgl, sg, nelems, i) { in swiotlb_map_sg_attrs() 832 return nelems; in swiotlb_map_sg_attrs() 837 swiotlb_map_sg(struct device *hwdev, struct scatterlist *sgl, int nelems, in swiotlb_map_sg() argument 840 return swiotlb_map_sg_attrs(hwdev, sgl, nelems, dir, NULL); in swiotlb_map_sg() 850 int nelems, enum dma_data_direction dir, struct dma_attrs *attrs) in swiotlb_unmap_sg_attrs() argument 857 for_each_sg(sgl, sg, nelems, i) in swiotlb_unmap_sg_attrs() 864 swiotlb_unmap_sg(struct device *hwdev, struct scatterlist *sgl, int nelems, in swiotlb_unmap_sg() argument 867 return swiotlb_unmap_sg_attrs(hwdev, sgl, nelems, dir, NULL); in swiotlb_unmap_sg() 880 int nelems, enum dma_data_direction dir, in swiotlb_sync_sg() argument [all …]
|
D | dma-debug.c | 1066 int nelems, int dir) in debug_dma_unmap_sg() argument 1074 for_each_sg(sglist, s, nelems, i) { in debug_dma_unmap_sg() 1083 .sg_call_ents = nelems, in debug_dma_unmap_sg() 1224 int nelems, int direction) in debug_dma_sync_sg_for_cpu() argument 1232 for_each_sg(sg, s, nelems, i) { in debug_dma_sync_sg_for_cpu() 1241 .sg_call_ents = nelems, in debug_dma_sync_sg_for_cpu() 1256 int nelems, int direction) in debug_dma_sync_sg_for_device() argument 1264 for_each_sg(sg, s, nelems, i) { in debug_dma_sync_sg_for_device() 1273 .sg_call_ents = nelems, in debug_dma_sync_sg_for_device()
|
/linux-2.6.39/include/asm-generic/ |
D | dma-mapping-common.h | 140 int nelems, enum dma_data_direction dir) in dma_sync_sg_for_cpu() argument 146 ops->sync_sg_for_cpu(dev, sg, nelems, dir); in dma_sync_sg_for_cpu() 147 debug_dma_sync_sg_for_cpu(dev, sg, nelems, dir); in dma_sync_sg_for_cpu() 152 int nelems, enum dma_data_direction dir) in dma_sync_sg_for_device() argument 158 ops->sync_sg_for_device(dev, sg, nelems, dir); in dma_sync_sg_for_device() 159 debug_dma_sync_sg_for_device(dev, sg, nelems, dir); in dma_sync_sg_for_device()
|
D | pci-dma-compat.h | 86 int nelems, int direction) in pci_dma_sync_sg_for_cpu() argument 88 …dma_sync_sg_for_cpu(hwdev == NULL ? NULL : &hwdev->dev, sg, nelems, (enum dma_data_direction)direc… in pci_dma_sync_sg_for_cpu() 93 int nelems, int direction) in pci_dma_sync_sg_for_device() argument 95 …dma_sync_sg_for_device(hwdev == NULL ? NULL : &hwdev->dev, sg, nelems, (enum dma_data_direction)di… in pci_dma_sync_sg_for_device()
|
/linux-2.6.39/arch/tile/kernel/ |
D | pci-dma.c | 199 void dma_sync_sg_for_cpu(struct device *dev, struct scatterlist *sg, int nelems, in dma_sync_sg_for_cpu() argument 203 WARN_ON(nelems == 0 || sg[0].length == 0); in dma_sync_sg_for_cpu() 211 int nelems, enum dma_data_direction direction) in dma_sync_sg_for_device() argument 217 WARN_ON(nelems == 0 || sglist->length == 0); in dma_sync_sg_for_device() 219 for_each_sg(sglist, sg, nelems, i) { in dma_sync_sg_for_device()
|
/linux-2.6.39/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… 155 dma_sync_sg_for_cpu(struct device *dev, struct scatterlist *sg, int nelems, in dma_sync_sg_for_cpu() argument 159 hppa_dma_ops->dma_sync_sg_for_cpu(dev, sg, nelems, direction); in dma_sync_sg_for_cpu() 163 dma_sync_sg_for_device(struct device *dev, struct scatterlist *sg, int nelems, in dma_sync_sg_for_device() argument 167 hppa_dma_ops->dma_sync_sg_for_device(dev, sg, nelems, direction); in dma_sync_sg_for_device()
|
/linux-2.6.39/arch/xtensa/include/asm/ |
D | dma-mapping.h | 125 dma_sync_sg_for_cpu(struct device *dev, struct scatterlist *sg, int nelems, in dma_sync_sg_for_cpu() argument 129 for (i = 0; i < nelems; i++, sg++) in dma_sync_sg_for_cpu() 134 dma_sync_sg_for_device(struct device *dev, struct scatterlist *sg, int nelems, in dma_sync_sg_for_device() argument 138 for (i = 0; i < nelems; i++, sg++) in dma_sync_sg_for_device()
|
/linux-2.6.39/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()
|
/linux-2.6.39/arch/mips/mm/ |
D | dma-default.c | 256 struct scatterlist *sg, int nelems, enum dma_data_direction direction) in mips_dma_sync_sg_for_cpu() argument 261 for (i = 0; i < nelems; i++, sg++) { in mips_dma_sync_sg_for_cpu() 269 struct scatterlist *sg, int nelems, enum dma_data_direction direction) in mips_dma_sync_sg_for_device() argument 274 for (i = 0; i < nelems; i++, sg++) { in mips_dma_sync_sg_for_device()
|
/linux-2.6.39/arch/tile/include/asm/ |
D | dma-mapping.h | 47 int nelems, enum dma_data_direction); 49 int nelems, enum dma_data_direction);
|
/linux-2.6.39/arch/powerpc/include/asm/ |
D | iommu.h | 93 struct scatterlist *sglist, int nelems, 97 int nelems, enum dma_data_direction direction,
|
/linux-2.6.39/arch/sparc/kernel/ |
D | iommu.c | 523 int nelems, enum dma_data_direction direction, in dma_4u_map_sg() argument 540 if (nelems == 0 || !iommu) in dma_4u_map_sg() 558 incount = nelems; in dma_4u_map_sg() 568 for_each_sg(sglist, s, nelems, i) { in dma_4u_map_sg() 646 for_each_sg(sglist, s, nelems, i) { in dma_4u_map_sg() 695 int nelems, enum dma_data_direction direction, in dma_4u_unmap_sg() argument 713 while (nelems--) { in dma_4u_unmap_sg() 783 struct scatterlist *sglist, int nelems, in dma_4u_sync_sg_for_cpu() argument 814 for_each_sg(sglist, sg, nelems, i) { in dma_4u_sync_sg_for_cpu()
|
D | pci_sun4v.c | 341 int nelems, enum dma_data_direction direction, in dma_4v_map_sg() argument 357 if (nelems == 0 || !iommu) in dma_4v_map_sg() 366 incount = nelems; in dma_4v_map_sg() 380 for_each_sg(sglist, s, nelems, i) { in dma_4v_map_sg() 463 for_each_sg(sglist, s, nelems, i) { in dma_4v_map_sg() 484 int nelems, enum dma_data_direction direction, in dma_4v_unmap_sg() argument 502 while (nelems--) { in dma_4v_unmap_sg()
|
/linux-2.6.39/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
|
/linux-2.6.39/arch/blackfin/kernel/ |
D | dma-mapping.c | 139 int nelems, enum dma_data_direction direction) in dma_sync_sg_for_device() argument 143 for (i = 0; i < nelems; i++, sg++) { in dma_sync_sg_for_device()
|
/linux-2.6.39/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
|
/linux-2.6.39/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
|
/linux-2.6.39/arch/x86/kernel/ |
D | pci-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()
|
/linux-2.6.39/arch/ia64/include/asm/ |
D | paravirt_patch.h | 113 unsigned long nelems,
|