Searched refs:nents (Results 1 - 25 of 35) sorted by relevance

12

/arch/c6x/kernel/
H A Ddma.c65 int nents, enum dma_data_direction dir)
70 for_each_sg(sglist, sg, nents, i)
74 debug_dma_map_sg(dev, sglist, nents, nents, dir);
76 return nents;
82 int nents, enum dma_data_direction dir)
87 for_each_sg(sglist, sg, nents, i)
90 debug_dma_unmap_sg(dev, sglist, nents, dir);
115 int nents, enum dma_data_direction dir)
120 for_each_sg(sglist, sg, nents,
64 dma_map_sg(struct device *dev, struct scatterlist *sglist, int nents, enum dma_data_direction dir) argument
81 dma_unmap_sg(struct device *dev, struct scatterlist *sglist, int nents, enum dma_data_direction dir) argument
114 dma_sync_sg_for_cpu(struct device *dev, struct scatterlist *sglist, int nents, enum dma_data_direction dir) argument
129 dma_sync_sg_for_device(struct device *dev, struct scatterlist *sglist, int nents, enum dma_data_direction dir) argument
[all...]
/arch/microblaze/kernel/
H A Ddma.c72 int nents, enum dma_data_direction direction,
79 for_each_sg(sgl, sg, nents, i) {
85 return nents;
89 int nents, enum dma_data_direction direction,
154 struct scatterlist *sgl, int nents,
162 for_each_sg(sgl, sg, nents, i)
168 struct scatterlist *sgl, int nents,
176 for_each_sg(sgl, sg, nents, i)
71 dma_direct_map_sg(struct device *dev, struct scatterlist *sgl, int nents, enum dma_data_direction direction, struct dma_attrs *attrs) argument
88 dma_direct_unmap_sg(struct device *dev, struct scatterlist *sg, int nents, enum dma_data_direction direction, struct dma_attrs *attrs) argument
153 dma_direct_sync_sg_for_cpu(struct device *dev, struct scatterlist *sgl, int nents, enum dma_data_direction direction) argument
167 dma_direct_sync_sg_for_device(struct device *dev, struct scatterlist *sgl, int nents, enum dma_data_direction direction) argument
/arch/sh/kernel/
H A Ddma-nommu.c27 int nents, enum dma_data_direction dir,
33 WARN_ON(nents == 0 || sg[0].length == 0);
35 for_each_sg(sg, s, nents, i) {
44 return nents;
26 nommu_map_sg(struct device *dev, struct scatterlist *sg, int nents, enum dma_data_direction dir, struct dma_attrs *attrs) argument
/arch/x86/kernel/
H A Dpci-nommu.c52 * used, at most nents.
58 int nents, enum dma_data_direction dir,
64 WARN_ON(nents == 0 || sg[0].length == 0);
66 for_each_sg(sg, s, nents, i) {
74 return nents;
57 nommu_map_sg(struct device *hwdev, struct scatterlist *sg, int nents, enum dma_data_direction dir, struct dma_attrs *attrs) argument
H A Damd_gart_64.c288 static void gart_unmap_sg(struct device *dev, struct scatterlist *sg, int nents, argument
294 for_each_sg(sg, s, nents, i) {
303 int nents, int dir)
312 for_each_sg(sg, s, nents, i) {
320 nents = 0;
330 return nents;
389 static int gart_map_sg(struct device *dev, struct scatterlist *sg, int nents, argument
398 if (nents == 0)
412 for_each_sg(sg, s, nents, i) {
452 if (out < nents) {
302 dma_map_sg_nonforce(struct device *dev, struct scatterlist *sg, int nents, int dir) argument
[all...]
/arch/avr32/include/asm/
H A Ddma-mapping.h193 * @nents: number of buffers to map
206 * used, at most nents.
212 dma_map_sg(struct device *dev, struct scatterlist *sg, int nents, argument
217 for (i = 0; i < nents; i++) {
225 return nents;
232 * @nents: number of buffers to map
303 * @nents: number of buffers to map
314 int nents, enum dma_data_direction direction)
325 int nents, enum dma_data_direction direction)
329 for (i = 0; i < nents;
313 dma_sync_sg_for_cpu(struct device *dev, struct scatterlist *sg, int nents, enum dma_data_direction direction) argument
324 dma_sync_sg_for_device(struct device *dev, struct scatterlist *sg, int nents, enum dma_data_direction direction) argument
[all...]
/arch/frv/mb93090-mb00/
H A Dpci-dma.c53 int dma_map_sg(struct device *dev, struct scatterlist *sg, int nents, argument
64 for (i = 0; i < nents; i++) {
78 return nents;
H A Dpci-dma-nommu.c121 int dma_map_sg(struct device *dev, struct scatterlist *sg, int nents, argument
126 for (i=0; i<nents; i++)
132 return nents;
/arch/c6x/include/asm/
H A Ddma-mapping.h45 int nents, enum dma_data_direction direction);
48 int nents, enum dma_data_direction direction);
79 int nents, enum dma_data_direction dir);
82 int nents, enum dma_data_direction dir);
/arch/openrisc/include/asm/
H A Ddma-mapping.h50 int nents, enum dma_data_direction dir,
53 int nents, enum dma_data_direction dir,
107 int nents, enum dma_data_direction dir)
112 for_each_sg(sg, s, nents, i)
115 ents = or1k_map_sg(dev, sg, nents, dir, NULL);
116 debug_dma_map_sg(dev, sg, nents, ents, dir);
122 int nents, enum dma_data_direction dir)
125 debug_dma_unmap_sg(dev, sg, nents, dir);
126 or1k_unmap_sg(dev, sg, nents, dir, NULL);
106 dma_map_sg(struct device *dev, struct scatterlist *sg, int nents, enum dma_data_direction dir) argument
121 dma_unmap_sg(struct device *dev, struct scatterlist *sg, int nents, enum dma_data_direction dir) argument
/arch/m68k/kernel/
H A Ddma_mm.c89 void dma_sync_sg_for_device(struct device *dev, struct scatterlist *sg, int nents, argument
94 for (i = 0; i < nents; sg++, i++)
120 int dma_map_sg(struct device *dev, struct scatterlist *sg, int nents, argument
125 for (i = 0; i < nents; sg++, i++) {
129 return nents;
/arch/openrisc/kernel/
H A Ddma.c158 int nents, enum dma_data_direction dir,
164 for_each_sg(sg, s, nents, i) {
169 return nents;
173 int nents, enum dma_data_direction dir,
179 for_each_sg(sg, s, nents, i) {
157 or1k_map_sg(struct device *dev, struct scatterlist *sg, int nents, enum dma_data_direction dir, struct dma_attrs *attrs) argument
172 or1k_unmap_sg(struct device *dev, struct scatterlist *sg, int nents, enum dma_data_direction dir, struct dma_attrs *attrs) argument
/arch/hexagon/kernel/
H A Ddma.c106 int nents, enum dma_data_direction dir,
112 WARN_ON(nents == 0 || sg[0].length == 0);
114 for_each_sg(sg, s, nents, i) {
125 return nents;
105 hexagon_map_sg(struct device *hwdev, struct scatterlist *sg, int nents, enum dma_data_direction dir, struct dma_attrs *attrs) argument
/arch/mn10300/include/asm/
H A Ddma-mapping.h51 int dma_map_sg(struct device *dev, struct scatterlist *sglist, int nents, argument
58 WARN_ON(nents == 0 || sglist[0].length == 0);
60 for_each_sg(sglist, sg, nents, i) {
67 return nents;
/arch/powerpc/kernel/
H A Ddma.c69 int nents, enum dma_data_direction direction,
75 for_each_sg(sgl, sg, nents, i) {
81 return nents;
85 int nents, enum dma_data_direction direction,
136 struct scatterlist *sgl, int nents,
142 for_each_sg(sgl, sg, nents, i)
68 dma_direct_map_sg(struct device *dev, struct scatterlist *sgl, int nents, enum dma_data_direction direction, struct dma_attrs *attrs) argument
84 dma_direct_unmap_sg(struct device *dev, struct scatterlist *sg, int nents, enum dma_data_direction direction, struct dma_attrs *attrs) argument
135 dma_direct_sync_sg(struct device *dev, struct scatterlist *sgl, int nents, enum dma_data_direction direction) argument
/arch/arm/mm/
H A Ddma-mapping.c587 * @nents: number of buffers to map
599 int dma_map_sg(struct device *dev, struct scatterlist *sg, int nents, argument
607 for_each_sg(sg, s, nents, i) {
613 debug_dma_map_sg(dev, sg, nents, nents, dir);
614 return nents;
627 * @nents: number of buffers to unmap (same as was passed to dma_map_sg)
633 void dma_unmap_sg(struct device *dev, struct scatterlist *sg, int nents, argument
639 debug_dma_unmap_sg(dev, sg, nents, dir);
641 for_each_sg(sg, s, nents,
653 dma_sync_sg_for_cpu(struct device *dev, struct scatterlist *sg, int nents, enum dma_data_direction dir) argument
679 dma_sync_sg_for_device(struct device *dev, struct scatterlist *sg, int nents, enum dma_data_direction dir) argument
[all...]
/arch/alpha/kernel/
H A Dpci-noop.c141 static int alpha_noop_map_sg(struct device *dev, struct scatterlist *sgl, int nents, argument
147 for_each_sg(sgl, sg, nents, i) {
156 return nents;
/arch/blackfin/include/asm/
H A Ddma-mapping.h99 extern int dma_map_sg(struct device *dev, struct scatterlist *sg, int nents,
140 dma_sync_sg_for_cpu(struct device *dev, struct scatterlist *sg, int nents, argument
148 int nents, enum dma_data_direction dir);
/arch/blackfin/kernel/
H A Ddma-mapping.c125 dma_map_sg(struct device *dev, struct scatterlist *sg, int nents, argument
130 for (i = 0; i < nents; i++, sg++) {
135 return nents;
/arch/xtensa/include/asm/
H A Ddma-mapping.h53 dma_map_sg(struct device *dev, struct scatterlist *sg, int nents, argument
60 for (i = 0; i < nents; i++, sg++ ) {
67 return nents;
/arch/tile/kernel/
H A Dpci-dma.c134 int dma_map_sg(struct device *dev, struct scatterlist *sglist, int nents, argument
142 WARN_ON(nents == 0 || sglist->length == 0);
144 for_each_sg(sglist, sg, nents, i) {
149 return nents;
/arch/ia64/hp/common/
H A Dsba_iommu.c390 * @nents: number of entries in SG list
395 sba_dump_sg( struct ioc *ioc, struct scatterlist *startsg, int nents) argument
397 while (nents-- > 0) {
398 printk(KERN_DEBUG " %d : DMA %08lx/%05x CPU %p\n", nents,
406 sba_check_sg( struct ioc *ioc, struct scatterlist *startsg, int nents) argument
409 int the_nents = nents;
413 sba_dump_sg(NULL, startsg, nents);
1219 * @nents: number of entries in startsg list
1229 int nents)
1236 while (nents
1226 sba_fill_pdir( struct ioc *ioc, struct scatterlist *startsg, int nents) argument
1322 sba_coalesce_chunks(struct ioc *ioc, struct device *dev, struct scatterlist *startsg, int nents) argument
1458 sba_map_sg_attrs(struct device *dev, struct scatterlist *sglist, int nents, enum dma_data_direction dir, struct dma_attrs *attrs) argument
1554 sba_unmap_sg_attrs(struct device *dev, struct scatterlist *sglist, int nents, enum dma_data_direction dir, struct dma_attrs *attrs) argument
[all...]
/arch/parisc/kernel/
H A Dpci-dma.c478 static int pa11_dma_map_sg(struct device *dev, struct scatterlist *sglist, int nents, enum dma_data_direction direction) argument
484 for (i = 0; i < nents; i++, sglist++ ) {
490 return nents;
493 static void pa11_dma_unmap_sg(struct device *dev, struct scatterlist *sglist, int nents, enum dma_data_direction direction) argument
504 for (i = 0; i < nents; i++, sglist++ )
523 static void pa11_dma_sync_sg_for_cpu(struct device *dev, struct scatterlist *sglist, int nents, enum dma_data_direction direction) argument
529 for (i = 0; i < nents; i++, sglist++ )
533 static void pa11_dma_sync_sg_for_device(struct device *dev, struct scatterlist *sglist, int nents, enum dma_data_direction direction) argument
539 for (i = 0; i < nents; i++, sglist++ )
/arch/sparc/kernel/
H A Dioport.c553 * used, at most nents.
559 int nents, enum dma_data_direction dir,
566 for_each_sg(sgl, sg, nents, n) {
570 return nents;
578 int nents, enum dma_data_direction dir,
585 for_each_sg(sgl, sg, nents, n) {
624 int nents, enum dma_data_direction dir)
630 for_each_sg(sgl, sg, nents, n) {
637 int nents, enum dma_data_direction dir)
643 for_each_sg(sgl, sg, nents,
558 pci32_map_sg(struct device *device, struct scatterlist *sgl, int nents, enum dma_data_direction dir, struct dma_attrs *attrs) argument
577 pci32_unmap_sg(struct device *dev, struct scatterlist *sgl, int nents, enum dma_data_direction dir, struct dma_attrs *attrs) argument
623 pci32_sync_sg_for_cpu(struct device *dev, struct scatterlist *sgl, int nents, enum dma_data_direction dir) argument
636 pci32_sync_sg_for_device(struct device *device, struct scatterlist *sgl, int nents, enum dma_data_direction dir) argument
[all...]
/arch/cris/include/asm/
H A Ddma-mapping.h56 dma_map_sg(struct device *dev, struct scatterlist *sg, int nents, argument
60 return nents;

Completed in 489 milliseconds

12