/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/sparc64/kernel/ |
H A D | iommu_common.c | 15 static int verify_lengths(struct scatterlist *sg, int nents, int npages) argument 21 for (i = 0; i < nents; i++) 25 for (i = 0; i < nents && sg[i].dma_length; i++) 35 for (i = 0; i < nents && sg[i].dma_length; i++) { 58 static int verify_one_map(struct scatterlist *dma_sg, struct scatterlist **__sg, int nents, iopte_t **__iopte) argument 78 nents = -1; 88 nents = -1; 117 if (--nents <= 0) 126 nents = -1; 137 return nents; 140 verify_maps(struct scatterlist *sg, int nents, iopte_t *iopte) argument 172 verify_sglist(struct scatterlist *sg, int nents, iopte_t *iopte, int npages) argument 195 prepare_sg(struct scatterlist *sg, int nents) argument [all...] |
H A D | iommu_common.h | 38 extern void verify_sglist(struct scatterlist *sg, int nents, iopte_t *iopte, int npages); 48 extern unsigned long prepare_sg(struct scatterlist *sg, int nents);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/parisc/ |
H A D | iommu-helpers.h | 5 * @nents: The number of entries in the scatter/gather list. 12 iommu_fill_pdir(struct ioc *ioc, struct scatterlist *startsg, int nents, argument 27 while (nents-- > 0) { 31 DBG_RUN_SG(" %d : %08lx/%05x %08lx/%05x\n", nents, 98 iommu_coalesce_chunks(struct ioc *ioc, struct scatterlist *startsg, int nents, argument 105 while (nents > 0) { 122 while(--nents > 0) {
|
H A D | ccio-rm-dma.c | 114 static int ccio_map_sg(struct pci_dev *dev, struct scatterlist *sglist, int nents, int direction) argument 116 int tmp = nents; 119 while (nents) { 122 nents--; 130 static void ccio_unmap_sg(struct pci_dev *dev, struct scatterlist *sglist, int nents, int direction) argument
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-alpha/ |
H A D | dma-mapping.h | 21 #define dma_map_sg(dev, sg, nents, dir) \ 22 pci_map_sg(alpha_gendev_to_pci(dev), sg, nents, dir) 23 #define dma_unmap_sg(dev, sg, nents, dir) \ 24 pci_unmap_sg(alpha_gendev_to_pci(dev), sg, nents, dir) 35 int dma_map_sg(struct device *dev, struct scatterlist *sg, int nents, 46 #define dma_unmap_sg(dev, sg, nents, dir) ((void)0) 61 #define dma_sync_sg_for_cpu(dev, sg, nents, dir) ((void)0) 62 #define dma_sync_sg_for_device(dev, sg, nents, dir) ((void)0)
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/x86_64/kernel/ |
H A D | pci-nommu.c | 52 * used, at most nents. 58 int nents, int direction) 62 for (i = 0; i < nents; i++ ) { 70 return nents; 78 int nents, int dir) 57 nommu_map_sg(struct device *hwdev, struct scatterlist *sg, int nents, int direction) argument 77 nommu_unmap_sg(struct device *dev, struct scatterlist *sg, int nents, int dir) argument
|
H A D | pci-gart.c | 278 void gart_unmap_sg(struct device *dev, struct scatterlist *sg, int nents, int dir) argument 282 for (i = 0; i < nents; i++) { 292 int nents, int dir) 300 for (i = 0; i < nents; i++ ) { 308 nents = 0; 317 return nents; 376 int gart_map_sg(struct device *dev, struct scatterlist *sg, int nents, int dir) argument 384 if (nents == 0) 392 for (i = 0; i < nents; i++) { 423 if (out < nents) 291 dma_map_sg_nonforce(struct device *dev, struct scatterlist *sg, int nents, int dir) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-blackfin/ |
H A D | pci.h | 87 * used, at most nents. 93 int nents, int direction) 97 return nents; 105 int nents, int direction) 92 pci_map_sg(struct pci_dev *hwdev, struct scatterlist *sg, int nents, int direction) argument 104 pci_unmap_sg(struct pci_dev *hwdev, struct scatterlist *sg, int nents, int direction) argument
|
H A D | dma-mapping.h | 52 * used, at most nents. 57 extern int dma_map_sg(struct device *dev, struct scatterlist *sg, int nents,
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-avr32/ |
H A D | dma-mapping.h | 193 * @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 299 * @nents: number of buffers to map 310 int nents, enum dma_data_direction direction) 314 for (i = 0; i < nents; i++) { 322 int nents, enu 309 dma_sync_sg_for_cpu(struct device *dev, struct scatterlist *sg, int nents, enum dma_data_direction direction) argument 321 dma_sync_sg_for_device(struct device *dev, struct scatterlist *sg, int nents, enum dma_data_direction direction) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/ia64/hp/common/ |
H A D | hwsw_iommu.c | 120 hwsw_map_sg (struct device *dev, struct scatterlist *sglist, int nents, int dir) argument 123 return swiotlb_map_sg(dev, sglist, nents, dir); 125 return hwiommu_map_sg(dev, sglist, nents, dir); 129 hwsw_unmap_sg (struct device *dev, struct scatterlist *sglist, int nents, int dir) argument 132 return swiotlb_unmap_sg(dev, sglist, nents, dir); 134 return hwiommu_unmap_sg(dev, sglist, nents, dir);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/frv/mb93090-mb00/ |
H A D | pci-dma.c | 71 * used, at most nents. 76 int dma_map_sg(struct device *dev, struct scatterlist *sg, int nents, argument 88 for (i = 0; i < nents; i++) { 102 return nents;
|
H A D | pci-dma-nommu.c | 135 * used, at most nents. 140 int dma_map_sg(struct device *dev, struct scatterlist *sg, int nents, argument 145 for (i=0; i<nents; i++) 152 return nents;
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/infiniband/hw/ipath/ |
H A D | ipath_dma.c | 99 static int ipath_map_sg(struct ib_device *dev, struct scatterlist *sg, int nents, argument 104 int ret = nents; 108 for (i = 0; i < nents; i++) { 120 struct scatterlist *sg, int nents, 119 ipath_unmap_sg(struct ib_device *dev, struct scatterlist *sg, int nents, enum dma_data_direction direction) argument
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/infiniband/core/ |
H A D | umem.c | 50 chunk->nents, DMA_BIDIRECTIONAL); 51 for (i = 0; i < chunk->nents; ++i) { 147 chunk->nents = min_t(int, ret, IB_UMEM_MAX_PAGE_CHUNK); 148 for (i = 0; i < chunk->nents; ++i) { 156 chunk->nents, 159 for (i = 0; i < chunk->nents; ++i) 167 ret -= chunk->nents; 168 off += chunk->nents;
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-x86_64/ |
H A D | swiotlb.h | 35 int nents, int direction); 37 int nents, int direction);
|
H A D | dma-mapping.h | 46 int nents, int direction); 48 struct scatterlist *sg, int nents, 167 dma_map_sg(struct device *hwdev, struct scatterlist *sg, int nents, int direction) argument 170 return dma_ops->map_sg(hwdev, sg, nents, direction); 174 dma_unmap_sg(struct device *hwdev, struct scatterlist *sg, int nents, argument 178 dma_ops->unmap_sg(hwdev, sg, nents, direction);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-arm/ |
H A D | dma-mapping.h | 240 * @nents: number of buffers to map 253 * used, at most nents. 260 dma_map_sg(struct device *dev, struct scatterlist *sg, int nents, argument 265 for (i = 0; i < nents; i++, sg++) { 275 return nents; 285 * @nents: number of buffers to map 294 dma_unmap_sg(struct device *dev, struct scatterlist *sg, int nents, argument 348 * @nents: number of buffers to map 359 dma_sync_sg_for_cpu(struct device *dev, struct scatterlist *sg, int nents, argument 364 for (i = 0; i < nents; 372 dma_sync_sg_for_device(struct device *dev, struct scatterlist *sg, int nents, enum dma_data_direction dir) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/m68k/kernel/ |
H A D | dma.c | 87 void dma_sync_sg_for_device(struct device *dev, struct scatterlist *sg, int nents, argument 92 for (i = 0; i < nents; sg++, i++) 118 int dma_map_sg(struct device *dev, struct scatterlist *sg, int nents, argument 123 for (i = 0; i < nents; sg++, i++) { 127 return nents;
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/alpha/kernel/ |
H A D | pci-noop.c | 136 pci_map_sg(struct pci_dev *pdev, struct scatterlist *sg, int nents, argument 143 pci_unmap_sg(struct pci_dev *pdev, struct scatterlist *sg, int nents, argument 175 dma_map_sg(struct device *dev, struct scatterlist *sg, int nents, argument 180 for (i = 0; i < nents; i++ ) { 189 return nents;
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-powerpc/ |
H A D | dma-mapping.h | 60 int nents, enum dma_data_direction direction); 62 int nents, enum dma_data_direction direction); 165 int nents, enum dma_data_direction direction) 170 return dma_ops->map_sg(dev, sg, nents, direction); 272 dma_map_sg(struct device *dev, struct scatterlist *sg, int nents, argument 279 for (i = 0; i < nents; i++, sg++) { 285 return nents; 289 #define dma_unmap_sg(dev, sg, nents, dir) ((void)0) 310 struct scatterlist *sg, int nents, 317 for (i = 0; i < nents; 164 dma_map_sg(struct device *dev, struct scatterlist *sg, int nents, enum dma_data_direction direction) argument 309 dma_sync_sg_for_cpu(struct device *dev, struct scatterlist *sg, int nents, enum dma_data_direction direction) argument 321 dma_sync_sg_for_device(struct device *dev, struct scatterlist *sg, int nents, enum dma_data_direction direction) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/powerpc/kernel/ |
H A D | dma_64.c | 158 int nents, enum dma_data_direction direction) 162 for (i = 0; i < nents; i++, sg++) { 168 return nents; 172 int nents, enum dma_data_direction direction) 157 dma_direct_map_sg(struct device *dev, struct scatterlist *sg, int nents, enum dma_data_direction direction) argument 171 dma_direct_unmap_sg(struct device *dev, struct scatterlist *sg, int nents, enum dma_data_direction direction) argument
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/rdma/ |
H A D | ib_umem.h | 56 int nents; member in struct:ib_umem_chunk
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-generic/ |
H A D | pci-dma-compat.h | 61 int nents, int direction) 63 return dma_map_sg(hwdev == NULL ? NULL : &hwdev->dev, sg, nents, (enum dma_data_direction)direction); 68 int nents, int direction) 70 dma_unmap_sg(hwdev == NULL ? NULL : &hwdev->dev, sg, nents, (enum dma_data_direction)direction); 60 pci_map_sg(struct pci_dev *hwdev, struct scatterlist *sg, int nents, int direction) argument 67 pci_unmap_sg(struct pci_dev *hwdev, struct scatterlist *sg, int nents, int direction) argument
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-i386/ |
H A D | dma-mapping.h | 38 dma_map_sg(struct device *dev, struct scatterlist *sg, int nents, argument 44 WARN_ON(nents == 0 || sg[0].length == 0); 46 for (i = 0; i < nents; i++ ) { 53 return nents;
|