Searched refs:nelems (Results 1 - 25 of 33) sorted by relevance

12

/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/arch/ia64/hp/common/
H A Dhwsw_iommu.c147 hwsw_sync_sg_for_cpu (struct device *dev, struct scatterlist *sg, int nelems, int dir) argument
150 swiotlb_sync_sg_for_cpu(dev, sg, nelems, dir);
152 hwiommu_sync_sg_for_cpu(dev, sg, nelems, dir);
165 hwsw_sync_sg_for_device (struct device *dev, struct scatterlist *sg, int nelems, int dir) argument
168 swiotlb_sync_sg_for_device(dev, sg, nelems, dir);
170 hwiommu_sync_sg_for_device(dev, sg, nelems, dir);
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/include/asm-x86_64/
H A Dswiotlb.h29 struct scatterlist *sg, int nelems,
32 struct scatterlist *sg, int nelems,
H A Ddma-mapping.h40 struct scatterlist *sg, int nelems,
43 struct scatterlist *sg, int nelems,
146 int nelems, int direction)
150 dma_ops->sync_sg_for_cpu(hwdev, sg, nelems, direction);
156 int nelems, int direction)
160 dma_ops->sync_sg_for_device(hwdev, sg, nelems, direction);
145 dma_sync_sg_for_cpu(struct device *hwdev, struct scatterlist *sg, int nelems, int direction) argument
155 dma_sync_sg_for_device(struct device *hwdev, struct scatterlist *sg, int nelems, int direction) argument
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/db-4.7.25.NC/db/
H A Ddb_meta.c208 u_int32_t nelems = 0; local
210 if ((ret = __memp_get_freelist(dbp->mpf, &nelems, &list)) != 0)
212 if (nelems != 0) {
214 memmove(list, &list[1], (nelems - 1) * sizeof(*list));
216 dbp->mpf, nelems - 1, &list)) != 0)
575 __db_freelist_sort(list, nelems)
577 u_int32_t nelems;
579 qsort(list, (size_t)nelems, sizeof(db_pglist_t), __db_pglistcmp);
607 u_int32_t nelems; local
614 nelems
709 u_int32_t nelems; local
[all...]
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/arch/powerpc/kernel/
H A Ddma_64.c69 int nelems, enum dma_data_direction direction)
71 return iommu_map_sg(dev->archdata.dma_data, sglist, nelems,
76 int nelems, enum dma_data_direction direction)
78 iommu_unmap_sg(dev->archdata.dma_data, sglist, nelems, direction);
68 dma_iommu_map_sg(struct device *dev, struct scatterlist *sglist, int nelems, enum dma_data_direction direction) argument
75 dma_iommu_unmap_sg(struct device *dev, struct scatterlist *sglist, int nelems, enum dma_data_direction direction) argument
H A Diommu.c275 int nelems, unsigned long mask,
286 if ((nelems == 0) || !tbl)
291 incount = nelems;
297 DBG("sg mapping %d elements:\n", nelems);
301 for (s = outs; nelems; nelems--, s++) {
406 int nelems, enum dma_data_direction direction)
417 while (nelems--) {
274 iommu_map_sg(struct iommu_table *tbl, struct scatterlist *sglist, int nelems, unsigned long mask, enum dma_data_direction direction) argument
405 iommu_unmap_sg(struct iommu_table *tbl, struct scatterlist *sglist, int nelems, enum dma_data_direction direction) argument
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/include/asm-xtensa/
H A Ddma-mapping.h126 dma_sync_sg_for_cpu(struct device *dev, struct scatterlist *sg, int nelems, argument
130 for (i = 0; i < nelems; i++, sg++)
136 dma_sync_sg_for_device(struct device *dev, struct scatterlist *sg, int nelems, argument
140 for (i = 0; i < nelems; i++, sg++)
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/include/asm-generic/
H A Dpci-dma-compat.h89 int nelems, int direction)
91 dma_sync_sg_for_cpu(hwdev == NULL ? NULL : &hwdev->dev, sg, nelems, (enum dma_data_direction)direction);
96 int nelems, int direction)
98 dma_sync_sg_for_device(hwdev == NULL ? NULL : &hwdev->dev, sg, nelems, (enum dma_data_direction)direction);
88 pci_dma_sync_sg_for_cpu(struct pci_dev *hwdev, struct scatterlist *sg, int nelems, int direction) argument
95 pci_dma_sync_sg_for_device(struct pci_dev *hwdev, struct scatterlist *sg, int nelems, int direction) argument
H A Ddma-mapping.h129 dma_sync_sg_for_cpu(struct device *dev, struct scatterlist *sg, int nelems, argument
134 pci_dma_sync_sg_for_cpu(to_pci_dev(dev), sg, nelems, (int)direction); local
138 dma_sync_sg_for_device(struct device *dev, struct scatterlist *sg, int nelems, argument
143 pci_dma_sync_sg_for_device(to_pci_dev(dev), sg, nelems, (int)direction); local
244 dma_sync_sg_for_cpu(struct device *dev, struct scatterlist *sg, int nelems, argument
251 dma_sync_sg_for_device(struct device *dev, struct scatterlist *sg, int nelems, argument
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/include/asm-powerpc/
H A Diommu.h84 int nelems, unsigned long mask,
87 int nelems, enum dma_data_direction direction);
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/include/asm-frv/
H A Dpci.h112 int nelems, int direction)
119 for (i = 0; i < nelems; i++)
110 pci_dma_sync_sg(struct pci_dev *hwdev, struct scatterlist *sg, int nelems, int direction) argument
H A Ddma-mapping.h126 void dma_sync_sg_for_cpu(struct device *dev, struct scatterlist *sg, int nelems, argument
132 void dma_sync_sg_for_device(struct device *dev, struct scatterlist *sg, int nelems, argument
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/include/asm-parisc/
H A Ddma-mapping.h20 void (*dma_sync_sg_for_cpu)(struct device *dev, struct scatterlist *sg, int nelems, enum dma_data_direction direction);
21 void (*dma_sync_sg_for_device)(struct device *dev, struct scatterlist *sg, int nelems, enum dma_data_direction direction);
155 dma_sync_sg_for_cpu(struct device *dev, struct scatterlist *sg, int nelems, argument
159 hppa_dma_ops->dma_sync_sg_for_cpu(dev, sg, nelems, direction);
163 dma_sync_sg_for_device(struct device *dev, struct scatterlist *sg, int nelems, argument
167 hppa_dma_ops->dma_sync_sg_for_device(dev, sg, nelems, direction);
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/include/asm-sh/
H A Ddma-mapping.h135 int nelems, enum dma_data_direction dir)
139 for (i = 0; i < nelems; i++) {
164 struct scatterlist *sg, int nelems,
167 dma_sync_sg(dev, sg, nelems, dir);
171 struct scatterlist *sg, int nelems,
174 dma_sync_sg(dev, sg, nelems, dir);
134 dma_sync_sg(struct device *dev, struct scatterlist *sg, int nelems, enum dma_data_direction dir) argument
163 dma_sync_sg_for_cpu(struct device *dev, struct scatterlist *sg, int nelems, enum dma_data_direction dir) argument
170 dma_sync_sg_for_device(struct device *dev, struct scatterlist *sg, int nelems, enum dma_data_direction dir) argument
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/include/asm-sh64/
H A Ddma-mapping.h117 int nelems, enum dma_data_direction dir)
121 for (i = 0; i < nelems; i++) {
145 struct scatterlist *sg, int nelems,
148 dma_sync_sg(dev, sg, nelems, dir);
152 struct scatterlist *sg, int nelems,
155 dma_sync_sg(dev, sg, nelems, dir);
116 dma_sync_sg(struct device *dev, struct scatterlist *sg, int nelems, enum dma_data_direction dir) argument
144 dma_sync_sg_for_cpu(struct device *dev, struct scatterlist *sg, int nelems, enum dma_data_direction dir) argument
151 dma_sync_sg_for_device(struct device *dev, struct scatterlist *sg, int nelems, enum dma_data_direction dir) argument
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/include/asm-sparc64/
H A Ddma-mapping.h125 dma_sync_sg_for_cpu(struct device *dev, struct scatterlist *sg, int nelems, argument
130 pci_dma_sync_sg_for_cpu(to_pci_dev(dev), sg, nelems, (int)direction); local
134 dma_sync_sg_for_device(struct device *dev, struct scatterlist *sg, int nelems, argument
139 pci_dma_sync_sg_for_device(to_pci_dev(dev), sg, nelems, (int)direction); local
242 dma_sync_sg_for_cpu(struct device *dev, struct scatterlist *sg, int nelems, argument
249 dma_sync_sg_for_device(struct device *dev, struct scatterlist *sg, int nelems, argument
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/include/asm-sparc/
H A Dpci.h132 extern void pci_dma_sync_sg_for_cpu(struct pci_dev *hwdev, struct scatterlist *sg, int nelems, int direction);
133 extern void pci_dma_sync_sg_for_device(struct pci_dev *hwdev, struct scatterlist *sg, int nelems, int direction);
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/include/asm-mips/
H A Ddma-mapping.h42 int nelems, enum dma_data_direction direction);
44 int nelems, enum dma_data_direction direction);
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/include/asm/
H A Ddma-mapping.h42 int nelems, enum dma_data_direction direction);
44 int nelems, enum dma_data_direction direction);
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/lib/
H A Dswiotlb.c671 swiotlb_map_sg(struct device *hwdev, struct scatterlist *sg, int nelems, argument
680 for (i = 0; i < nelems; i++, sg++) {
698 return nelems;
706 swiotlb_unmap_sg(struct device *hwdev, struct scatterlist *sg, int nelems, argument
713 for (i = 0; i < nelems; i++, sg++)
730 int nelems, int dir, int target)
736 for (i = 0; i < nelems; i++, sg++)
746 int nelems, int dir)
748 swiotlb_sync_sg(hwdev, sg, nelems, dir, SYNC_FOR_CPU);
753 int nelems, in
729 swiotlb_sync_sg(struct device *hwdev, struct scatterlist *sg, int nelems, int dir, int target) argument
745 swiotlb_sync_sg_for_cpu(struct device *hwdev, struct scatterlist *sg, int nelems, int dir) argument
752 swiotlb_sync_sg_for_device(struct device *hwdev, struct scatterlist *sg, int nelems, int dir) argument
[all...]
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/include/asm-blackfin/
H A Dpci.h139 struct scatterlist *sg, int nelems,
138 pci_dma_sync_sg(struct pci_dev *hwdev, struct scatterlist *sg, int nelems, int direction) argument
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/arch/sparc64/kernel/
H A Dpci_iommu.c470 int nused, int nelems, unsigned long iopte_protection)
473 struct scatterlist *sg_end = sg + nelems;
547 static int pci_4u_map_sg(struct pci_dev *pdev, struct scatterlist *sglist, int nelems, int direction) argument
558 if (nelems == 1) {
577 npages = prepare_sg(sglist, nelems);
597 used = nelems;
605 used = nelems - used;
615 fill_sg(base, sglist, used, nelems, iopte_protection);
618 verify_sglist(sglist, nelems, base, npages);
632 static void pci_4u_unmap_sg(struct pci_dev *pdev, struct scatterlist *sglist, int nelems, in argument
469 fill_sg(iopte_t *iopte, struct scatterlist *sg, int nused, int nelems, unsigned long iopte_protection) argument
728 pci_4u_dma_sync_sg_for_cpu(struct pci_dev *pdev, struct scatterlist *sglist, int nelems, int direction) argument
[all...]
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/arch/x86_64/kernel/
H A Dpci-calgary.c342 struct scatterlist *sglist, int nelems, int direction)
344 while (nelems--) {
359 int nelems, int direction)
369 __calgary_unmap_sg(tbl, sglist, nelems, direction);
375 struct scatterlist *sg, int nelems, int direction)
379 for (i = 0; i < nelems; i++ ) {
385 return nelems;
389 int nelems, int direction)
399 return calgary_nontranslate_map_sg(dev, sg, nelems, direction);
403 for (i = 0; i < nelems;
341 __calgary_unmap_sg(struct iommu_table *tbl, struct scatterlist *sglist, int nelems, int direction) argument
358 calgary_unmap_sg(struct device *dev, struct scatterlist *sglist, int nelems, int direction) argument
374 calgary_nontranslate_map_sg(struct device* dev, struct scatterlist *sg, int nelems, int direction) argument
388 calgary_map_sg(struct device *dev, struct scatterlist *sg, int nelems, int direction) argument
[all...]
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/include/asm-cris/
H A Ddma-mapping.h111 dma_sync_sg_for_cpu(struct device *dev, struct scatterlist *sg, int nelems, argument
117 dma_sync_sg_for_device(struct device *dev, struct scatterlist *sg, int nelems, argument
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/include/asm-i386/
H A Ddma-mapping.h108 dma_sync_sg_for_cpu(struct device *dev, struct scatterlist *sg, int nelems, argument
114 dma_sync_sg_for_device(struct device *dev, struct scatterlist *sg, int nelems, argument

Completed in 367 milliseconds

12