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

1234567

/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/asm-parisc/
H A Dscatterlist.h25 #define sg_virt_addr(sg) (((sg)->address) ? ((sg)->address) : \
26 ((sg)->page->virtual + (sg)->offset))
28 #define sg_dma_address(sg) ((sg)->iova)
29 #define sg_dma_len(sg) ((sg)->iova_length)
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/asm-parisc/
H A Dscatterlist.h25 #define sg_virt_addr(sg) (((sg)->address) ? ((sg)->address) : \
26 ((sg)->page->virtual + (sg)->offset))
28 #define sg_dma_address(sg) ((sg)->iova)
29 #define sg_dma_len(sg) ((sg)->iova_length)
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/asm-ppc/
H A Dscatterlist.h23 * You should only work with the number of sg entries pci_map_sg
24 * returns, or alternatively stop on the first sg_dma_len(sg) which
27 #define sg_dma_address(sg) ((sg)->dma_address)
28 #define sg_dma_len(sg) ((sg)->length)
H A Dpci.h153 static inline int pci_map_sg(struct pci_dev *hwdev, struct scatterlist *sg, argument
165 if (sg[i].address && sg[i].page)
167 else if (!sg[i].address && !sg[i].page)
170 if (sg[i].address)
171 sg[i].dma_address = virt_to_bus(sg[i].address);
173 sg[i].dma_address = page_to_bus(sg[
183 pci_unmap_sg(struct pci_dev *hwdev, struct scatterlist *sg, int nents, int direction) argument
215 pci_dma_sync_sg(struct pci_dev *hwdev, struct scatterlist *sg, int nelems, int direction) argument
[all...]
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/asm-sparc/
H A Dscatterlist.h23 #define sg_dma_address(sg) ((sg)->dvma_address)
24 #define sg_dma_len(sg) ((sg)->dvma_length)
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/asm-sparc64/
H A Dscatterlist.h23 #define sg_dma_address(sg) ((sg)->dma_address)
24 #define sg_dma_len(sg) ((sg)->dma_length)
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/asm-ppc/
H A Dscatterlist.h23 * You should only work with the number of sg entries pci_map_sg
24 * returns, or alternatively stop on the first sg_dma_len(sg) which
27 #define sg_dma_address(sg) ((sg)->dma_address)
28 #define sg_dma_len(sg) ((sg)->length)
H A Dpci.h153 static inline int pci_map_sg(struct pci_dev *hwdev, struct scatterlist *sg, argument
165 if (sg[i].address && sg[i].page)
167 else if (!sg[i].address && !sg[i].page)
170 if (sg[i].address)
171 sg[i].dma_address = virt_to_bus(sg[i].address);
173 sg[i].dma_address = page_to_bus(sg[
183 pci_unmap_sg(struct pci_dev *hwdev, struct scatterlist *sg, int nents, int direction) argument
215 pci_dma_sync_sg(struct pci_dev *hwdev, struct scatterlist *sg, int nelems, int direction) argument
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/asm-sparc/
H A Dscatterlist.h23 #define sg_dma_address(sg) ((sg)->dvma_address)
24 #define sg_dma_len(sg) ((sg)->dvma_length)
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/asm-sparc64/
H A Dscatterlist.h23 #define sg_dma_address(sg) ((sg)->dma_address)
24 #define sg_dma_len(sg) ((sg)->dma_length)
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/asm-alpha/
H A Dscatterlist.h21 #define sg_dma_address(sg) ((sg)->dma_address)
22 #define sg_dma_len(sg) ((sg)->dma_length)
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/asm-arm/
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)
H A Dpci.h131 pci_map_sg(struct pci_dev *hwdev, struct scatterlist *sg, int nents, int direction) argument
135 for (i = 0; i < nents; i++, sg++) {
136 consistent_sync(sg->address, sg->length, direction);
137 sg->dma_address = virt_to_bus(sg->address);
148 pci_unmap_sg(struct pci_dev *hwdev, struct scatterlist *sg, int nents, int direction) argument
175 pci_dma_sync_sg(struct pci_dev *hwdev, struct scatterlist *sg, int nelems, int direction) argument
179 for (i = 0; i < nelems; i++, sg++)
180 consistent_sync(sg
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/asm-alpha/
H A Dscatterlist.h21 #define sg_dma_address(sg) ((sg)->dma_address)
22 #define sg_dma_len(sg) ((sg)->dma_length)
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/asm-arm/
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)
/asus-wl-520gu-7.0.1.45/src/linux/linux/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
144 verify_maps(struct scatterlist *sg, int nents, iopte_t *iopte) argument
176 verify_sglist(struct scatterlist *sg, int nents, iopte_t *iopte, int npages) argument
198 prepare_sg(struct scatterlist *sg, int nents) argument
[all...]
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/asm-mips/
H A Dpci.h180 static inline int pci_map_sg(struct pci_dev *hwdev, struct scatterlist *sg, argument
188 for (i = 0; i < nents; i++, sg++) {
189 if (sg->address && sg->page)
191 else if (!sg->address && !sg->page)
194 if (sg->address) {
195 dma_cache_wback_inv((unsigned long)sg->address,
196 sg->length);
197 sg
214 pci_unmap_sg(struct pci_dev *hwdev, struct scatterlist *sg, int nents, int direction) argument
267 pci_dma_sync_sg(struct pci_dev *hwdev, struct scatterlist *sg, int nelems, int direction) argument
[all...]
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/asm-mips64/
H A Dpci.h185 static inline int pci_map_sg(struct pci_dev *hwdev, struct scatterlist *sg, argument
193 for (i = 0; i < nents; i++, sg++) {
194 if (sg->address && sg->page)
196 else if (!sg->address && !sg->page)
199 if (sg->address) {
200 dma_cache_wback_inv((unsigned long)sg->address,
201 sg->length);
202 sg
221 pci_unmap_sg(struct pci_dev *hwdev, struct scatterlist *sg, int nents, int direction) argument
274 pci_dma_sync_sg(struct pci_dev *hwdev, struct scatterlist *sg, int nelems, int direction) argument
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/asm-mips/
H A Dpci.h180 static inline int pci_map_sg(struct pci_dev *hwdev, struct scatterlist *sg, argument
188 for (i = 0; i < nents; i++, sg++) {
189 if (sg->address && sg->page)
191 else if (!sg->address && !sg->page)
194 if (sg->address) {
195 dma_cache_wback_inv((unsigned long)sg->address,
196 sg->length);
197 sg
214 pci_unmap_sg(struct pci_dev *hwdev, struct scatterlist *sg, int nents, int direction) argument
267 pci_dma_sync_sg(struct pci_dev *hwdev, struct scatterlist *sg, int nelems, int direction) argument
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/asm-mips64/
H A Dpci.h185 static inline int pci_map_sg(struct pci_dev *hwdev, struct scatterlist *sg, argument
193 for (i = 0; i < nents; i++, sg++) {
194 if (sg->address && sg->page)
196 else if (!sg->address && !sg->page)
199 if (sg->address) {
200 dma_cache_wback_inv((unsigned long)sg->address,
201 sg->length);
202 sg
221 pci_unmap_sg(struct pci_dev *hwdev, struct scatterlist *sg, int nents, int direction) argument
274 pci_dma_sync_sg(struct pci_dev *hwdev, struct scatterlist *sg, int nelems, int direction) argument
[all...]
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/asm/
H A Dpci.h180 static inline int pci_map_sg(struct pci_dev *hwdev, struct scatterlist *sg, argument
188 for (i = 0; i < nents; i++, sg++) {
189 if (sg->address && sg->page)
191 else if (!sg->address && !sg->page)
194 if (sg->address) {
195 dma_cache_wback_inv((unsigned long)sg->address,
196 sg->length);
197 sg
214 pci_unmap_sg(struct pci_dev *hwdev, struct scatterlist *sg, int nents, int direction) argument
267 pci_dma_sync_sg(struct pci_dev *hwdev, struct scatterlist *sg, int nelems, int direction) argument
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/asm/
H A Dpci.h180 static inline int pci_map_sg(struct pci_dev *hwdev, struct scatterlist *sg, argument
188 for (i = 0; i < nents; i++, sg++) {
189 if (sg->address && sg->page)
191 else if (!sg->address && !sg->page)
194 if (sg->address) {
195 dma_cache_wback_inv((unsigned long)sg->address,
196 sg->length);
197 sg
214 pci_unmap_sg(struct pci_dev *hwdev, struct scatterlist *sg, int nents, int direction) argument
267 pci_dma_sync_sg(struct pci_dev *hwdev, struct scatterlist *sg, int nelems, int direction) argument
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/ia64/lib/
H A Dswiotlb.c33 #define SG_ENT_VIRT_ADDRESS(sg) ((sg)->address ? (sg)->address \
34 : page_address((sg)->page) + (sg)->offset)
410 swiotlb_map_sg (struct pci_dev *hwdev, struct scatterlist *sg, int nelems, int direction) argument
418 for (i = 0; i < nelems; i++, sg++) {
419 sg->orig_address = SG_ENT_VIRT_ADDRESS(sg);
420 if ((SG_ENT_PHYS_ADDRESS(sg)
438 swiotlb_unmap_sg(struct pci_dev *hwdev, struct scatterlist *sg, int nelems, int direction) argument
466 swiotlb_sync_sg(struct pci_dev *hwdev, struct scatterlist *sg, int nelems, int direction) argument
479 swiotlb_dma_address(struct scatterlist *sg) argument
[all...]
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/asm-i386/
H A Dpci.h140 static inline int pci_map_sg(struct pci_dev *hwdev, struct scatterlist *sg, argument
152 if (sg[i].address && sg[i].page)
154 else if (!sg[i].address && !sg[i].page)
157 if (sg[i].address)
158 sg[i].dma_address = virt_to_bus(sg[i].address);
160 sg[i].dma_address = page_to_bus(sg[
171 pci_unmap_sg(struct pci_dev *hwdev, struct scatterlist *sg, int nents, int direction) argument
203 pci_dma_sync_sg(struct pci_dev *hwdev, struct scatterlist *sg, int nelems, int direction) argument
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/asm-i386/
H A Dpci.h140 static inline int pci_map_sg(struct pci_dev *hwdev, struct scatterlist *sg, argument
152 if (sg[i].address && sg[i].page)
154 else if (!sg[i].address && !sg[i].page)
157 if (sg[i].address)
158 sg[i].dma_address = virt_to_bus(sg[i].address);
160 sg[i].dma_address = page_to_bus(sg[
171 pci_unmap_sg(struct pci_dev *hwdev, struct scatterlist *sg, int nents, int direction) argument
203 pci_dma_sync_sg(struct pci_dev *hwdev, struct scatterlist *sg, int nelems, int direction) argument
[all...]

Completed in 178 milliseconds

1234567