Searched refs:sg (Results 1 - 25 of 283) sorted by relevance

1234567891011>>

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-parisc/
H A Dscatterlist.h18 #define sg_virt_addr(sg) ((unsigned long)(page_address(sg->page) + sg->offset))
19 #define sg_dma_address(sg) ((sg)->iova)
20 #define sg_dma_len(sg) ((sg)->iova_length)
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-blackfin/
H A Dscatterlist.h16 * You should only work with the number of sg entries pci_map_sg
17 * returns, or alternatively stop on the first sg_dma_len(sg) which
20 #define sg_address(sg) (page_address((sg)->page) + (sg)->offset)
21 #define sg_dma_address(sg) ((sg)->dma_address)
22 #define sg_dma_len(sg) ((sg)->length)
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-m68knommu/
H A Dscatterlist.h14 #define sg_address(sg) (page_address((sg)->page) + (sg)->offset)
15 #define sg_dma_address(sg) ((sg)->dma_address)
16 #define sg_dma_len(sg) ((sg)->length)
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-cris/
H A Dscatterlist.h14 #define sg_dma_address(sg) ((sg)->address)
15 #define sg_dma_len(sg) ((sg)->length)
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/
H A Dscatterlist.h8 static inline void sg_set_buf(struct scatterlist *sg, const void *buf, argument
11 sg->page = virt_to_page(buf);
12 sg->offset = offset_in_page(buf);
13 sg->length = buflen;
16 static inline void sg_init_one(struct scatterlist *sg, const void *buf, argument
19 memset(sg, 0, sizeof(*sg));
20 sg_set_buf(sg, buf, buflen);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-powerpc/
H A Dscatterlist.h29 * You should only work with the number of sg entries pci_map_sg
30 * returns, or alternatively stop on the first sg_dma_len(sg) which
33 #define sg_dma_address(sg) ((sg)->dma_address)
35 #define sg_dma_len(sg) ((sg)->dma_length)
37 #define sg_dma_len(sg) ((sg)->length)
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm/
H A Dscatterlist.h16 * You should only work with the number of sg entries pci_map_sg
17 * returns, or alternatively stop on the first sg_dma_len(sg) which
20 #define sg_dma_address(sg) ((sg)->dma_address)
21 #define sg_dma_len(sg) ((sg)->length)
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-mips/
H A Dscatterlist.h16 * You should only work with the number of sg entries pci_map_sg
17 * returns, or alternatively stop on the first sg_dma_len(sg) which
20 #define sg_dma_address(sg) ((sg)->dma_address)
21 #define sg_dma_len(sg) ((sg)->length)
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-sh/
H A Dscatterlist.h17 * You should only work with the number of sg entries pci_map_sg
18 * returns, or alternatively stop on the first sg_dma_len(sg) which
21 #define sg_dma_address(sg) ((sg)->dma_address)
22 #define sg_dma_len(sg) ((sg)->length)
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-sparc/
H A Dscatterlist.h17 #define sg_dma_address(sg) ((sg)->dvma_address)
18 #define sg_dma_len(sg) ((sg)->dvma_length)
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-sparc64/
H A Dscatterlist.h18 #define sg_dma_address(sg) ((sg)->dma_address)
19 #define sg_dma_len(sg) ((sg)->dma_length)
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-i386/
H A Dscatterlist.h15 * You should only work with the number of sg entries pci_map_sg
18 #define sg_dma_address(sg) ((sg)->dma_address)
19 #define sg_dma_len(sg) ((sg)->length)
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-ia64/
H A Dscatterlist.h30 #define sg_dma_len(sg) ((sg)->dma_length)
31 #define sg_dma_address(sg) ((sg)->dma_address)
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-m68k/
H A Dscatterlist.h17 #define sg_dma_address(sg) ((sg)->dma_address)
18 #define sg_dma_len(sg) ((sg)->length)
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-x86_64/
H A Dscatterlist.h18 * You should only work with the number of sg entries pci_map_sg
21 #define sg_dma_address(sg) ((sg)->dma_address)
22 #define sg_dma_len(sg) ((sg)->dma_length)
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-xtensa/
H A Dscatterlist.h26 * You should only work with the number of sg entries pci_map_sg
27 * returns, or alternatively stop on the first sg_dma_len(sg) which
30 #define sg_dma_address(sg) ((sg)->dma_address)
31 #define sg_dma_len(sg) ((sg)->length)
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++ ) {
61 BUG_ON(!sg->page);
63 sg->dma_address = page_to_phys(sg->page) + sg->offset;
64 consistent_sync(page_address(sg->page) + sg->offset,
65 sg->length, direction);
88 dma_unmap_sg(struct device *dev, struct scatterlist *sg, in argument
126 dma_sync_sg_for_cpu(struct device *dev, struct scatterlist *sg, int nelems, enum dma_data_direction dir) argument
136 dma_sync_sg_for_device(struct device *dev, struct scatterlist *sg, int nelems, enum dma_data_direction dir) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-alpha/
H A Dscatterlist.h17 #define sg_dma_address(sg) ((sg)->dma_address)
18 #define sg_dma_len(sg) ((sg)->dma_length)
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-arm/
H A Dscatterlist.h17 * You should only work with the number of sg entries pci_map_sg
18 * returns, or alternatively stop on the first sg_dma_len(sg) which
21 #define sg_dma_address(sg) ((sg)->dma_address)
22 #define sg_dma_len(sg) ((sg)->length)
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-arm26/
H A Dscatterlist.h17 * You should only work with the number of sg entries pci_map_sg
18 * returns, or alternatively stop on the first sg_dma_len(sg) which
21 #define sg_dma_address(sg) ((sg)->dma_address)
22 #define sg_dma_len(sg) ((sg)->length)
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-avr32/
H A Dscatterlist.h15 * You should only work with the number of sg entries pci_map_sg
18 #define sg_dma_address(sg) ((sg)->dma_address)
19 #define sg_dma_len(sg) ((sg)->length)
H A Ddma-mapping.h192 * @sg: list of buffers
212 dma_map_sg(struct device *dev, struct scatterlist *sg, int nents, argument
220 sg[i].dma_address = page_to_bus(sg[i].page) + sg[i].offset;
221 virt = page_address(sg[i].page) + sg[i].offset;
222 dma_cache_sync(dev, virt, sg[i].length, direction);
231 * @sg: list of buffers
240 dma_unmap_sg(struct device *dev, struct scatterlist *sg, in 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/sparc64/kernel/
H A Diommu_common.c10 * any time you make changes to the sg code below, run it for a while
15 static int verify_lengths(struct scatterlist *sg, int nents, int npages) argument
22 sg_len += sg[i].length;
25 for (i = 0; i < nents && sg[i].dma_length; i++)
26 dma_len += sg[i].dma_length;
29 printk("verify_lengths: Error, different, sg[%d] dma[%d]\n",
35 for (i = 0; i < nents && sg[i].dma_length; i++) {
38 start = sg[i].dma_address;
41 end = sg[i].dma_address + sg[
60 struct scatterlist *sg = *__sg; local
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...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/crypto/
H A Dscatterwalk.h23 static inline struct scatterlist *sg_next(struct scatterlist *sg) argument
25 return (++sg)->length ? sg : (void *)sg->page;
31 return !(((walk_in->sg->page - walk_out->sg->page) << PAGE_SHIFT) +
37 unsigned int len = walk->sg->offset + walk->sg->length - walk->offset;
63 return walk->sg->page + (walk->offset >> PAGE_SHIFT);
71 void scatterwalk_start(struct scatter_walk *walk, struct scatterlist *sg);
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/mips/mm/
H A Ddma-default.c166 dma_sync_high(struct scatterlist *sg, enum dma_data_direction direction) argument
175 nr_pages = (sg->length + sg->offset + PAGE_SIZE - 1) >> PAGE_SHIFT;
176 length_remain = sg->length;
178 for (i = 0, offset = sg->offset; i < nr_pages; i++, offset = 0) {
179 tmp_page = nth_page(sg->page, i);
192 int dma_map_sg(struct device *dev, struct scatterlist *sg, int nents, argument
199 for (i = 0; i < nents; i++, sg++) {
203 if (PageHighMem(sg->page)) {
204 dma_sync_high(sg, directio
258 dma_unmap_sg(struct device *dev, struct scatterlist *sg, int nhwentries, enum dma_data_direction direction) argument
349 dma_sync_sg_for_cpu(struct device *dev, struct scatterlist *sg, int nelems, enum dma_data_direction direction) argument
367 dma_sync_sg_for_device(struct device *dev, struct scatterlist *sg, int nelems, enum dma_data_direction direction) argument
[all...]

Completed in 180 milliseconds

1234567891011>>