Searched refs:sg (Results 51 - 75 of 283) sorted by relevance

1234567891011>>

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-generic/
H A Dpci-dma-compat.h60 pci_map_sg(struct pci_dev *hwdev, struct scatterlist *sg, argument
63 return dma_map_sg(hwdev == NULL ? NULL : &hwdev->dev, sg, nents, (enum dma_data_direction)direction);
67 pci_unmap_sg(struct pci_dev *hwdev, struct scatterlist *sg, argument
70 dma_unmap_sg(hwdev == NULL ? NULL : &hwdev->dev, sg, nents, (enum dma_data_direction)direction);
88 pci_dma_sync_sg_for_cpu(struct pci_dev *hwdev, struct scatterlist *sg, argument
91 dma_sync_sg_for_cpu(hwdev == NULL ? NULL : &hwdev->dev, sg, nelems, (enum dma_data_direction)direction);
95 pci_dma_sync_sg_for_device(struct pci_dev *hwdev, struct scatterlist *sg, argument
98 dma_sync_sg_for_device(hwdev == NULL ? NULL : &hwdev->dev, sg, nelems, (enum dma_data_direction)direction);
H A Ddma-mapping.h91 dma_map_sg(struct device *dev, struct scatterlist *sg, int nents, argument
96 return pci_map_sg(to_pci_dev(dev), sg, nents, (int)direction);
100 dma_unmap_sg(struct device *dev, struct scatterlist *sg, int nhwentries, argument
105 pci_unmap_sg(to_pci_dev(dev), sg, nhwentries, (int)direction); local
129 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
215 dma_map_sg(struct device *dev, struct scatterlist *sg, int nents, argument
223 dma_unmap_sg(struct device *dev, struct scatterlist *sg, in argument
244 dma_sync_sg_for_cpu(struct device *dev, struct scatterlist *sg, int nelems, enum dma_data_direction direction) argument
251 dma_sync_sg_for_device(struct device *dev, struct scatterlist *sg, int nelems, enum dma_data_direction direction) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-alpha/
H A Ddma-mapping.h21 #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/include/asm-arm/arch-imx/
H A Dimx-dma.h35 * @sg: pointer to the actual read/written chunk for scatter-gather emulation
52 struct scatterlist *sg; member in struct:imx_dma_channel
75 struct scatterlist *sg, unsigned int sgcount, unsigned int dma_length,
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-blackfin/
H A Ddma-mapping.h57 extern int dma_map_sg(struct device *dev, struct scatterlist *sg, int nents,
65 extern void dma_unmap_sg(struct device *dev, struct scatterlist *sg,
H A Dpci.h92 static inline int pci_map_sg(struct pci_dev *hwdev, struct scatterlist *sg, argument
104 static inline void pci_unmap_sg(struct pci_dev *hwdev, struct scatterlist *sg, argument
139 struct scatterlist *sg, int nelems,
138 pci_dma_sync_sg(struct pci_dev *hwdev, struct scatterlist *sg, int nelems, int direction) argument
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-frv/
H A Dpci.h111 struct scatterlist *sg,
120 frv_cache_wback_inv(sg_dma_address(&sg[i]),
121 sg_dma_address(&sg[i])+sg_dma_len(&sg[i]));
110 pci_dma_sync_sg(struct pci_dev *hwdev, struct scatterlist *sg, int nelems, int direction) argument
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-v850/
H A Dpci.h61 pci_map_sg (struct pci_dev *pdev, struct scatterlist *sg, int sg_len, int dir);
65 pci_unmap_sg (struct pci_dev *pdev, struct scatterlist *sg, int sg_len,
71 struct scatterlist *sg, int sg_len,
75 struct scatterlist *sg, int sg_len,
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/rxrpc/
H A Drxkad.c115 struct scatterlist sg[2]; local
138 memset(sg, 0, sizeof(sg));
139 sg_set_buf(&sg[0], &tmpbuf, sizeof(tmpbuf));
140 sg_set_buf(&sg[1], &tmpbuf, sizeof(tmpbuf));
141 crypto_blkcipher_encrypt_iv(&desc, &sg[0], &sg[1], sizeof(tmpbuf));
160 struct scatterlist sg[2]; local
183 memset(sg, 0, sizeof(sg));
208 struct scatterlist sg[16]; local
261 struct scatterlist sg[2]; local
335 struct scatterlist sg[2]; local
407 struct scatterlist _sg[4], *sg; local
489 struct scatterlist sg[2]; local
690 rxkad_sg_set_buf2(struct scatterlist sg[2], void *buf, size_t buflen) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-parisc/
H A Ddma-mapping.h16 int (*map_sg)(struct device *dev, struct scatterlist *sg, int nents, enum dma_data_direction direction);
17 void (*unmap_sg)(struct device *dev, struct scatterlist *sg, int nhwents, enum dma_data_direction direction);
20 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);
92 dma_map_sg(struct device *dev, struct scatterlist *sg, int nents, argument
95 return hppa_dma_ops->map_sg(dev, sg, nents, direction);
99 dma_unmap_sg(struct device *dev, struct scatterlist *sg, int nhwentries, argument
102 hppa_dma_ops->unmap_sg(dev, sg, nhwentries, 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, nelem
163 dma_sync_sg_for_device(struct device *dev, struct scatterlist *sg, int nelems, enum dma_data_direction direction) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-sparc64/
H A Ddma-mapping.h87 dma_map_sg(struct device *dev, struct scatterlist *sg, int nents, argument
92 return pci_map_sg(to_pci_dev(dev), sg, nents, (int)direction);
96 dma_unmap_sg(struct device *dev, struct scatterlist *sg, int nhwentries, argument
101 pci_unmap_sg(to_pci_dev(dev), sg, nhwentries, (int)direction); local
125 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
213 dma_map_sg(struct device *dev, struct scatterlist *sg, int nents, argument
221 dma_unmap_sg(struct device *dev, struct scatterlist *sg, in argument
242 dma_sync_sg_for_cpu(struct device *dev, struct scatterlist *sg, int nelems, enum dma_data_direction direction) argument
249 dma_sync_sg_for_device(struct device *dev, struct scatterlist *sg, int nelems, enum dma_data_direction direction) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-x86_64/
H A Ddma-mapping.h40 struct scatterlist *sg, int nelems,
43 struct scatterlist *sg, int nelems,
45 int (*map_sg)(struct device *hwdev, struct scatterlist *sg,
48 struct scatterlist *sg, int nents,
145 dma_sync_sg_for_cpu(struct device *hwdev, struct scatterlist *sg, argument
150 dma_ops->sync_sg_for_cpu(hwdev, sg, nelems, direction);
155 dma_sync_sg_for_device(struct device *hwdev, struct scatterlist *sg, argument
160 dma_ops->sync_sg_for_device(hwdev, sg, nelems, direction);
167 dma_map_sg(struct device *hwdev, struct scatterlist *sg, int nents, int direction) argument
170 return dma_ops->map_sg(hwdev, sg, nent
174 dma_unmap_sg(struct device *hwdev, struct scatterlist *sg, int nents, int direction) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/ieee80211/
H A Dieee80211_crypt_wep.c143 struct scatterlist sg; local
173 sg.page = virt_to_page(pos);
174 sg.offset = offset_in_page(pos);
175 sg.length = len + 4;
176 return crypto_blkcipher_encrypt(&desc, &sg, &sg, len + 4);
193 struct scatterlist sg; local
215 sg.page = virt_to_page(pos);
216 sg.offset = offset_in_page(pos);
217 sg
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/alpha/kernel/
H A Dpci_iommu.c256 assume it doesn't support sg mapping, and, since we tried to
261 printk(KERN_WARNING "pci_map_single: no HW sg\n");
290 DBGA2("pci_map_single: [%p,%lx] np %ld -> sg %lx from %p\n",
385 DBGA2("pci_unmap_single: sg [%lx,%lx] np %ld from %p\n",
417 with vmalloc and sg if we can't find contiguous memory. */
471 sg_classify(struct scatterlist *sg, struct scatterlist *end, int virt_ok)
477 leader = sg;
482 for (++sg; sg < end; ++sg) {
468 sg_classify(struct scatterlist *sg, struct scatterlist *end, int virt_ok) argument
516 struct scatterlist *sg; local
609 pci_map_sg(struct pci_dev *pdev, struct scatterlist *sg, int nents, int direction) argument
688 pci_unmap_sg(struct pci_dev *pdev, struct scatterlist *sg, int nents, int direction) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/sparc/kernel/
H A Dioport.c395 int sbus_map_sg(struct sbus_dev *sdev, struct scatterlist *sg, int n, int direction) argument
397 mmu_get_scsi_sgl(sg, n, sdev->bus);
402 void sbus_unmap_sg(struct sbus_dev *sdev, struct scatterlist *sg, int n, int direction) argument
404 mmu_release_scsi_sgl(sg, n, sdev->bus);
417 void sbus_dma_sync_sg_for_cpu(struct sbus_dev *sdev, struct scatterlist *sg, int n, int direction) argument
422 void sbus_dma_sync_sg_for_device(struct sbus_dev *sdev, struct scatterlist *sg, int n, int direction) argument
658 int pci_map_sg(struct pci_dev *hwdev, struct scatterlist *sg, int nents, argument
666 BUG_ON(page_address(sg->page) == NULL);
667 sg->dvma_address =
668 virt_to_phys(page_address(sg
679 pci_unmap_sg(struct pci_dev *hwdev, struct scatterlist *sg, int nents, int direction) argument
730 pci_dma_sync_sg_for_cpu(struct pci_dev *hwdev, struct scatterlist *sg, int nents, int direction) argument
746 pci_dma_sync_sg_for_device(struct pci_dev *hwdev, struct scatterlist *sg, int nents, int direction) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/spi/
H A Dspi_s3c24xx_gpio.c42 struct s3c2410_spigpio *sg = spidev_to_sg(dev); local
43 s3c2410_gpio_setpin(sg->info->pin_clk, on ? 1 : 0);
48 struct s3c2410_spigpio *sg = spidev_to_sg(dev); local
49 s3c2410_gpio_setpin(sg->info->pin_mosi, on ? 1 : 0);
54 struct s3c2410_spigpio *sg = spidev_to_sg(dev); local
55 return s3c2410_gpio_getpin(sg->info->pin_miso) ? 1 : 0;
91 struct s3c2410_spigpio *sg = spidev_to_sg(dev); local
93 if (sg->info && sg->info->chip_select)
94 (sg
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/sunrpc/auth_gss/
H A Dgss_spkm3_seal.c131 spkm3_checksummer(struct scatterlist *sg, void *data) argument
135 return crypto_hash_update(desc, sg, sg->length);
146 struct scatterlist sg[1]; local
175 sg_set_buf(sg, header, hdrlen);
176 crypto_hash_update(&desc, sg, sg->length);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/mac80211/
H A Dwep.c134 struct scatterlist sg; local
141 sg.page = virt_to_page(data);
142 sg.offset = offset_in_page(data);
143 sg.length = data_len + WEP_ICV_LEN;
144 crypto_blkcipher_encrypt(&desc, &sg, &sg, sg.length);
203 struct scatterlist sg; local
207 sg.page = virt_to_page(data);
208 sg
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/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-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/mmc/card/
H A Dqueue.c140 mq->sg = kmalloc(sizeof(struct scatterlist) * host->max_phys_segs,
142 if (!mq->sg) {
158 kfree(mq->sg);
159 mq->sg = NULL;
181 kfree(mq->sg);
182 mq->sg = NULL;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/x86_64/kernel/
H A Dpci-nommu.c57 int nommu_map_sg(struct device *hwdev, struct scatterlist *sg, argument
63 struct scatterlist *s = &sg[i];
77 void nommu_unmap_sg(struct device *dev, struct scatterlist *sg, argument
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/crypto/
H A Dtcrypt.c107 struct scatterlist sg[8]; local
142 sg_set_buf(&sg[0], hash_tv[i].plaintext, hash_tv[i].psize);
153 ret = crypto_hash_digest(&desc, sg, hash_tv[i].psize, result);
184 sg_set_buf(&sg[k], &xbuf[IDX[k]],
198 ret = crypto_hash_digest(&desc, sg, hash_tv[i].psize,
227 struct scatterlist sg[8]; local
292 sg_set_buf(&sg[0], cipher_tv[i].input,
295 ablkcipher_request_set_crypt(req, sg, sg,
320 q = kmap(sg[
412 struct scatterlist sg[1]; local
438 struct scatterlist sg[1]; local
568 struct scatterlist sg[1]; local
590 struct scatterlist sg[1]; local
624 struct scatterlist sg[1]; local
672 struct scatterlist sg[1]; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-um/
H A Ddma-mapping.h67 dma_map_sg(struct device *dev, struct scatterlist *sg, int nents, argument
75 dma_unmap_sg(struct device *dev, struct scatterlist *sg, int nhwentries, argument
89 dma_sync_sg(struct device *dev, struct scatterlist *sg, int nelems, argument
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/frv/mb93090-mb00/
H A Dpci-dma-nommu.c140 int dma_map_sg(struct device *dev, struct scatterlist *sg, int nents, argument
146 frv_cache_wback_inv(sg_dma_address(&sg[i]),
147 sg_dma_address(&sg[i]) + sg_dma_len(&sg[i]));
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/mmc/host/
H A Dmmci.h156 host->sg_ptr = data->sg;
169 struct scatterlist *sg = host->sg_ptr; local
172 return kmap_atomic(sg->page, KM_BIO_SRC_IRQ) + sg->offset;

Completed in 142 milliseconds

1234567891011>>