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

12

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/xen/
H A Dswiotlb-xen.h35 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);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/lua/source/src/
H A Dlfunc.h22 LUAI_FUNC Closure *luaF_newCclosure (lua_State *L, int nelems);
23 LUAI_FUNC Closure *luaF_newLclosure (lua_State *L, int nelems);
H A Dlmem.h40 #define luaM_growvector(L,v,nelems,size,t,limit,e) \
41 if ((nelems)+1 > (size)) \
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/powerpc/kernel/
H A Ddma-iommu.c57 int nelems, enum dma_data_direction direction,
60 return iommu_map_sg(dev, get_iommu_table_base(dev), sglist, nelems,
65 int nelems, enum dma_data_direction direction,
68 iommu_unmap_sg(get_iommu_table_base(dev), sglist, nelems, direction, local
56 dma_iommu_map_sg(struct device *dev, struct scatterlist *sglist, int nelems, enum dma_data_direction direction, struct dma_attrs *attrs) argument
64 dma_iommu_unmap_sg(struct device *dev, struct scatterlist *sglist, int nelems, enum dma_data_direction direction, struct dma_attrs *attrs) argument
H A Diommu.c260 struct scatterlist *sglist, int nelems,
274 if ((nelems == 0) || !tbl)
279 incount = nelems;
285 DBG("sg mapping %d elements:\n", nelems);
290 for_each_sg(sglist, s, nelems, i) {
389 for_each_sg(sglist, s, nelems, i) {
409 int nelems, enum dma_data_direction direction,
423 while (nelems--) {
259 iommu_map_sg(struct device *dev, struct iommu_table *tbl, struct scatterlist *sglist, int nelems, unsigned long mask, enum dma_data_direction direction, struct dma_attrs *attrs) argument
408 iommu_unmap_sg(struct iommu_table *tbl, struct scatterlist *sglist, int nelems, enum dma_data_direction direction, struct dma_attrs *attrs) argument
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/xen/
H A Dswiotlb-xen.c389 int nelems, enum dma_data_direction dir,
397 for_each_sg(sgl, sg, nelems, i) {
421 return nelems;
426 xen_swiotlb_map_sg(struct device *hwdev, struct scatterlist *sgl, int nelems, argument
429 return xen_swiotlb_map_sg_attrs(hwdev, sgl, nelems, dir, NULL);
439 int nelems, enum dma_data_direction dir,
447 for_each_sg(sgl, sg, nelems, i)
454 xen_swiotlb_unmap_sg(struct device *hwdev, struct scatterlist *sgl, int nelems, argument
457 return xen_swiotlb_unmap_sg_attrs(hwdev, sgl, nelems, dir, NULL);
470 int nelems, enu
388 xen_swiotlb_map_sg_attrs(struct device *hwdev, struct scatterlist *sgl, int nelems, enum dma_data_direction dir, struct dma_attrs *attrs) argument
438 xen_swiotlb_unmap_sg_attrs(struct device *hwdev, struct scatterlist *sgl, int nelems, enum dma_data_direction dir, struct dma_attrs *attrs) argument
469 xen_swiotlb_sync_sg(struct device *hwdev, struct scatterlist *sgl, int nelems, enum dma_data_direction dir, enum dma_sync_target target) argument
482 xen_swiotlb_sync_sg_for_cpu(struct device *hwdev, struct scatterlist *sg, int nelems, enum dma_data_direction dir) argument
490 xen_swiotlb_sync_sg_for_device(struct device *hwdev, struct scatterlist *sg, int nelems, enum dma_data_direction dir) argument
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/linux/
H A Ddma-debug.h49 int nelems, int dir);
78 int nelems, int direction);
82 int nelems, int direction);
121 int nelems, int dir)
165 int nelems, int direction)
171 int nelems, int direction)
119 debug_dma_unmap_sg(struct device *dev, struct scatterlist *sglist, int nelems, int dir) argument
163 debug_dma_sync_sg_for_cpu(struct device *dev, struct scatterlist *sg, int nelems, int direction) argument
169 debug_dma_sync_sg_for_device(struct device *dev, struct scatterlist *sg, int nelems, int direction) argument
H A Dswiotlb.h75 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);
/netgear-R7000-V1.0.7.12_1.2.5/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-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/asm-generic/
H A Dpci-dma-compat.h86 int nelems, int direction)
88 dma_sync_sg_for_cpu(hwdev == NULL ? NULL : &hwdev->dev, sg, nelems, (enum dma_data_direction)direction);
93 int nelems, int direction)
95 dma_sync_sg_for_device(hwdev == NULL ? NULL : &hwdev->dev, sg, nelems, (enum dma_data_direction)direction);
85 pci_dma_sync_sg_for_cpu(struct pci_dev *hwdev, struct scatterlist *sg, int nelems, int direction) argument
92 pci_dma_sync_sg_for_device(struct pci_dev *hwdev, struct scatterlist *sg, int nelems, int direction) argument
H A Ddma-mapping-common.h140 int nelems, enum dma_data_direction dir)
146 ops->sync_sg_for_cpu(dev, sg, nelems, dir);
147 debug_dma_sync_sg_for_cpu(dev, sg, nelems, dir);
152 int nelems, enum dma_data_direction dir)
158 ops->sync_sg_for_device(dev, sg, nelems, dir);
159 debug_dma_sync_sg_for_device(dev, sg, nelems, dir);
139 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-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/xtensa/include/asm/
H A Ddma-mapping.h125 dma_sync_sg_for_cpu(struct device *dev, struct scatterlist *sg, int nelems, argument
129 for (i = 0; i < nelems; i++, sg++)
134 dma_sync_sg_for_device(struct device *dev, struct scatterlist *sg, int nelems, argument
138 for (i = 0; i < nelems; i++, sg++)
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/sh/kernel/
H A Ddma-nommu.c55 int nelems, enum dma_data_direction dir)
60 for_each_sg(sg, s, nelems, i)
54 nommu_sync_sg(struct device *dev, struct scatterlist *sg, int nelems, enum dma_data_direction dir) argument
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/tile/include/asm/
H A Ddma-mapping.h47 int nelems, enum dma_data_direction);
49 int nelems, enum dma_data_direction);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/parisc/include/asm/
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-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/lib/
H A Dswiotlb.c800 swiotlb_map_sg_attrs(struct device *hwdev, struct scatterlist *sgl, int nelems, argument
808 for_each_sg(sgl, sg, nelems, i) {
830 return nelems;
835 swiotlb_map_sg(struct device *hwdev, struct scatterlist *sgl, int nelems, argument
838 return swiotlb_map_sg_attrs(hwdev, sgl, nelems, dir, NULL);
848 int nelems, enum dma_data_direction dir, struct dma_attrs *attrs)
855 for_each_sg(sgl, sg, nelems, i)
862 swiotlb_unmap_sg(struct device *hwdev, struct scatterlist *sgl, int nelems, argument
865 return swiotlb_unmap_sg_attrs(hwdev, sgl, nelems, dir, NULL);
878 int nelems, enu
847 swiotlb_unmap_sg_attrs(struct device *hwdev, struct scatterlist *sgl, int nelems, enum dma_data_direction dir, struct dma_attrs *attrs) argument
877 swiotlb_sync_sg(struct device *hwdev, struct scatterlist *sgl, int nelems, enum dma_data_direction dir, enum dma_sync_target target) argument
890 swiotlb_sync_sg_for_cpu(struct device *hwdev, struct scatterlist *sg, int nelems, enum dma_data_direction dir) argument
898 swiotlb_sync_sg_for_device(struct device *hwdev, struct scatterlist *sg, int nelems, enum dma_data_direction dir) argument
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/tile/kernel/
H A Dpci-dma.c199 void dma_sync_sg_for_cpu(struct device *dev, struct scatterlist *sg, int nelems, argument
203 WARN_ON(nelems == 0 || sg[0].length == 0);
211 int nelems, enum dma_data_direction direction)
217 WARN_ON(nelems == 0 || sglist->length == 0);
219 for_each_sg(sglist, sg, nelems, i) {
210 dma_sync_sg_for_device(struct device *dev, struct scatterlist *sglist, int nelems, enum dma_data_direction direction) argument
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/powerpc/include/asm/
H A Diommu.h93 struct scatterlist *sglist, int nelems,
97 int nelems, enum dma_data_direction direction,
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/mips/include/asm/
H A Ddma-mapping.h48 int nelems, enum dma_data_direction direction);
50 int nelems, enum dma_data_direction direction);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/frv/include/asm/
H A Ddma-mapping.h85 void dma_sync_sg_for_cpu(struct device *dev, struct scatterlist *sg, int nelems, argument
91 void dma_sync_sg_for_device(struct device *dev, struct scatterlist *sg, int nelems, argument
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/ia64/include/asm/
H A Dparavirt_patch.h113 unsigned long nelems,
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/mn10300/include/asm/
H A Ddma-mapping.h124 int nelems, enum dma_data_direction direction)
130 int nelems, enum dma_data_direction direction)
123 dma_sync_sg_for_cpu(struct device *dev, struct scatterlist *sg, int nelems, enum dma_data_direction direction) argument
129 dma_sync_sg_for_device(struct device *dev, struct scatterlist *sg, int nelems, enum dma_data_direction direction) argument
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/cris/include/asm/
H A Ddma-mapping.h113 dma_sync_sg_for_cpu(struct device *dev, struct scatterlist *sg, int nelems, argument
119 dma_sync_sg_for_device(struct device *dev, struct scatterlist *sg, int nelems, argument
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/blackfin/kernel/
H A Ddma-mapping.c139 int nelems, enum dma_data_direction direction)
143 for (i = 0; i < nelems; i++, sg++) {
138 dma_sync_sg_for_device(struct device *dev, struct scatterlist *sg, int nelems, enum dma_data_direction direction) argument
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/mips/mm/
H A Ddma-default.c328 void dma_sync_sg_for_cpu(struct device *dev, struct scatterlist *sg, int nelems, argument
336 for (i = 0; i < nelems; i++, sg++) {
345 void dma_sync_sg_for_device(struct device *dev, struct scatterlist *sg, int nelems, argument
353 for (i = 0; i < nelems; i++, sg++) {

Completed in 316 milliseconds

12