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

1234567891011>>

/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/include/asm-generic/
H A Dscatterlist.h22 * You should only work with the number of sg entries pci_map_sg
23 * returns, or alternatively stop on the first sg_dma_len(sg) which
26 #define sg_dma_address(sg) ((sg)->dma_address)
29 #define sg_dma_len(sg) ((sg)->dma_length)
31 #define sg_dma_len(sg) ((sg)->length)
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/include/asm-generic/
H A Dscatterlist.h22 * You should only work with the number of sg entries pci_map_sg
23 * returns, or alternatively stop on the first sg_dma_len(sg) which
26 #define sg_dma_address(sg) ((sg)->dma_address)
29 #define sg_dma_len(sg) ((sg)->dma_length)
31 #define sg_dma_len(sg) ((sg)->length)
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/toolchains/hndtools-arm-linux-2.6.36-uclibc-4.5.3/usr/include/asm/test/
H A Dscatterlist.h22 * You should only work with the number of sg entries pci_map_sg
23 * returns, or alternatively stop on the first sg_dma_len(sg) which
26 #define sg_dma_address(sg) ((sg)->dma_address)
29 #define sg_dma_len(sg) ((sg)->dma_length)
31 #define sg_dma_len(sg) ((sg)->length)
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/toolchains/hndtools-arm-linux-2.6.36-uclibc-4.5.3/arm-linux/sysroot/usr/include/asm/test/
H A Dscatterlist.h22 * You should only work with the number of sg entries pci_map_sg
23 * returns, or alternatively stop on the first sg_dma_len(sg) which
26 #define sg_dma_address(sg) ((sg)->dma_address)
29 #define sg_dma_len(sg) ((sg)->dma_length)
31 #define sg_dma_len(sg) ((sg)->length)
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/toolchains/hndtools-arm-linux-2.6.36-uclibc-4.5.3/arm-brcm-linux-uclibcgnueabi/sysroot/usr/include/asm/test/
H A Dscatterlist.h22 * You should only work with the number of sg entries pci_map_sg
23 * returns, or alternatively stop on the first sg_dma_len(sg) which
26 #define sg_dma_address(sg) ((sg)->dma_address)
29 #define sg_dma_len(sg) ((sg)->dma_length)
31 #define sg_dma_len(sg) ((sg)->length)
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/arch/parisc/include/asm/
H A Dscatterlist.h8 #define sg_virt_addr(sg) ((unsigned long)sg_virt(sg))
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/arch/parisc/include/asm/
H A Dscatterlist.h8 #define sg_virt_addr(sg) ((unsigned long)sg_virt(sg))
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/include/linux/
H A Dscatterlist.h21 * information about the sg table as well. The two lower bits are reserved
24 * If bit 0 is set, then the page_link contains a pointer to the next sg
25 * table list. Otherwise the next entry is at sg + 1.
27 * If bit 1 is set, then this sg entry is the last element in a list.
37 * a valid sg entry, or whether it points to the start of a new scatterlist.
40 #define sg_is_chain(sg) ((sg)->page_link & 0x01)
41 #define sg_is_last(sg) ((sg)->page_link & 0x02)
42 #define sg_chain_ptr(sg) \
55 sg_assign_page(struct scatterlist *sg, struct page *page) argument
85 sg_set_page(struct scatterlist *sg, struct page *page, unsigned int len, unsigned int offset) argument
93 sg_page(struct scatterlist *sg) argument
109 sg_set_buf(struct scatterlist *sg, const void *buf, unsigned int buflen) argument
160 sg_mark_end(struct scatterlist *sg) argument
182 sg_phys(struct scatterlist *sg) argument
197 sg_virt(struct scatterlist *sg) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/include/linux/
H A Dscatterlist.h21 * information about the sg table as well. The two lower bits are reserved
24 * If bit 0 is set, then the page_link contains a pointer to the next sg
25 * table list. Otherwise the next entry is at sg + 1.
27 * If bit 1 is set, then this sg entry is the last element in a list.
37 * a valid sg entry, or whether it points to the start of a new scatterlist.
40 #define sg_is_chain(sg) ((sg)->page_link & 0x01)
41 #define sg_is_last(sg) ((sg)->page_link & 0x02)
42 #define sg_chain_ptr(sg) \
55 sg_assign_page(struct scatterlist *sg, struct page *page) argument
85 sg_set_page(struct scatterlist *sg, struct page *page, unsigned int len, unsigned int offset) argument
93 sg_page(struct scatterlist *sg) argument
109 sg_set_buf(struct scatterlist *sg, const void *buf, unsigned int buflen) argument
160 sg_mark_end(struct scatterlist *sg) argument
182 sg_phys(struct scatterlist *sg) argument
197 sg_virt(struct scatterlist *sg) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/samples/kfifo/
H A Ddma-example.c28 struct scatterlist sg[10]; local
64 sg_init_table(sg, ARRAY_SIZE(sg));
65 nents = kfifo_dma_in_prepare(&fifo, sg, ARRAY_SIZE(sg), FIFO_SIZE);
77 "sg[%d] -> "
79 i, sg[i].page_link, sg[i].offset, sg[i].length);
81 if (sg_is_last(&sg[
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/samples/kfifo/
H A Ddma-example.c28 struct scatterlist sg[10]; local
64 sg_init_table(sg, ARRAY_SIZE(sg));
65 nents = kfifo_dma_in_prepare(&fifo, sg, ARRAY_SIZE(sg), FIFO_SIZE);
77 "sg[%d] -> "
79 i, sg[i].page_link, sg[i].offset, sg[i].length);
81 if (sg_is_last(&sg[
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/crypto/
H A Dscatterwalk.c33 void scatterwalk_start(struct scatter_walk *walk, struct scatterlist *sg) argument
35 walk->sg = sg;
37 BUG_ON(!sg->length);
39 walk->offset = sg->offset;
56 page = sg_page(walk->sg) + ((walk->offset - 1) >> PAGE_SHIFT);
64 if (walk->offset >= walk->sg->offset + walk->sg->length)
65 scatterwalk_start(walk, scatterwalk_sg_next(walk->sg));
103 void scatterwalk_map_and_copy(void *buf, struct scatterlist *sg, argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/crypto/
H A Dscatterwalk.c33 void scatterwalk_start(struct scatter_walk *walk, struct scatterlist *sg) argument
35 walk->sg = sg;
37 BUG_ON(!sg->length);
39 walk->offset = sg->offset;
56 page = sg_page(walk->sg) + ((walk->offset - 1) >> PAGE_SHIFT);
64 if (walk->offset >= walk->sg->offset + walk->sg->length)
65 scatterwalk_start(walk, scatterwalk_sg_next(walk->sg));
103 void scatterwalk_map_and_copy(void *buf, struct scatterlist *sg, argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/sdparm-1.02/include/
H A Dsg_linux_inc.h23 #include "/usr/src/linux/include/scsi/sg.h"
27 #include <linux/../scsi/sg.h>
30 #include <scsi/sg.h>
43 Getting the correct include files for the sg interface can be an ordeal.
45 #include <scsi/sg.h>
49 agree with the kernel and version of sg driver that is running. Any
51 glibc 2.1's include files match the sg driver found in the lk 2.2
53 sg v3 interface will not be visible.
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/sdparm-1.02/include/
H A Dsg_linux_inc.h23 #include "/usr/src/linux/include/scsi/sg.h"
27 #include <linux/../scsi/sg.h>
30 #include <scsi/sg.h>
43 Getting the correct include files for the sg interface can be an ordeal.
45 #include <scsi/sg.h>
49 agree with the kernel and version of sg driver that is running. Any
51 glibc 2.1's include files match the sg driver found in the lk 2.2
53 sg v3 interface will not be visible.
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/sdparm-1.02/include/
H A Dsg_linux_inc.h23 #include "/usr/src/linux/include/scsi/sg.h"
27 #include <linux/../scsi/sg.h>
30 #include <scsi/sg.h>
43 Getting the correct include files for the sg interface can be an ordeal.
45 #include <scsi/sg.h>
49 agree with the kernel and version of sg driver that is running. Any
51 glibc 2.1's include files match the sg driver found in the lk 2.2
53 sg v3 interface will not be visible.
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/usb/storage/
H A Dprotocol.c138 struct scatterlist *sg = *sgptr; local
149 if (!sg)
150 sg = scsi_sglist(srb);
158 while (cnt < buflen && sg) {
159 struct page *page = sg_page(sg) +
160 ((sg->offset + *offset) >> PAGE_SHIFT);
161 unsigned int poff = (sg->offset + *offset) & (PAGE_SIZE-1);
162 unsigned int sglen = sg->length - *offset;
173 sg = sg_next(sg);
211 struct scatterlist *sg = NULL; local
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/usb/storage/
H A Dprotocol.c138 struct scatterlist *sg = *sgptr; local
149 if (!sg)
150 sg = scsi_sglist(srb);
158 while (cnt < buflen && sg) {
159 struct page *page = sg_page(sg) +
160 ((sg->offset + *offset) >> PAGE_SHIFT);
161 unsigned int poff = (sg->offset + *offset) & (PAGE_SIZE-1);
162 unsigned int sglen = sg->length - *offset;
173 sg = sg_next(sg);
211 struct scatterlist *sg = NULL; local
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/include/crypto/
H A Dscatterwalk.h63 static inline struct scatterlist *scatterwalk_sg_next(struct scatterlist *sg) argument
65 if (sg_is_last(sg))
68 return (++sg)->length ? sg : (void *)sg_page(sg);
74 return !(((sg_page(walk_in->sg) - sg_page(walk_out->sg)) << PAGE_SHIFT) +
80 unsigned int len = walk->sg->offset + walk->sg->length - walk->offset;
106 return sg_page(walk->sg)
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/include/crypto/
H A Dscatterwalk.h63 static inline struct scatterlist *scatterwalk_sg_next(struct scatterlist *sg) argument
65 if (sg_is_last(sg))
68 return (++sg)->length ? sg : (void *)sg_page(sg);
74 return !(((sg_page(walk_in->sg) - sg_page(walk_out->sg)) << PAGE_SHIFT) +
80 unsigned int len = walk->sg->offset + walk->sg->length - walk->offset;
106 return sg_page(walk->sg)
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/staging/rtl8192u/ieee80211/
H A Dscatterwalk.h21 struct scatterlist *sg; member in struct:scatter_walk
31 static inline struct scatterlist *sg_next(struct scatterlist *sg) argument
33 return sg + 1;
46 void scatterwalk_start(struct scatter_walk *walk, struct scatterlist *sg);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/arch/xtensa/include/asm/
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(sg));
63 sg->dma_address = sg_phys(sg);
64 consistent_sync(sg_virt(sg), sg->length, direction);
87 dma_unmap_sg(struct device *dev, struct scatterlist *sg, int nhwentries, argument
125 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, enum dma_data_direction dir) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/staging/rtl8192u/ieee80211/
H A Dscatterwalk.h21 struct scatterlist *sg; member in struct:scatter_walk
31 static inline struct scatterlist *sg_next(struct scatterlist *sg) argument
33 return sg + 1;
46 void scatterwalk_start(struct scatter_walk *walk, struct scatterlist *sg);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/arch/xtensa/include/asm/
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(sg));
63 sg->dma_address = sg_phys(sg);
64 consistent_sync(sg_virt(sg), sg->length, direction);
87 dma_unmap_sg(struct device *dev, struct scatterlist *sg, int nhwentries, argument
125 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, enum dma_data_direction dir) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/wpa_supplicant/wpa_supplicant/doc/
H A Dkerneldoc2doxygen.pl74 $t =~ s/struct wpa_supplicant/struct STRUCTwpa_supplicant/sg;
75 $t =~ s/ wpa_supplicant/ \%wpa_supplicant/sg;
76 $t =~ s/struct STRUCTwpa_supplicant/struct wpa_supplicant/sg;
89 $t =~ s/\n[\t ]*\*[\t ]*\@([^ :,]*)[:,]?[\t ]*/\n\\param $1 /sg;

Completed in 399 milliseconds

1234567891011>>