Home
last modified time | relevance | path

Searched defs:sg (Results 1 – 25 of 123) sorted by relevance

12345

/linux-2.4.37.9/arch/sparc64/kernel/
Diommu_common.c15 static int verify_lengths(struct scatterlist *sg, int nents, int npages) in verify_lengths()
60 struct scatterlist *sg = *__sg; in verify_one_map() local
144 static int verify_maps(struct scatterlist *sg, int nents, iopte_t *iopte) in verify_maps()
176 void verify_sglist(struct scatterlist *sg, int nents, iopte_t *iopte, int npages) in verify_sglist()
198 unsigned long prepare_sg(struct scatterlist *sg, int nents) in prepare_sg()
/linux-2.4.37.9/include/asm-parisc/
Dscatterlist.h25 #define sg_virt_addr(sg) (((sg)->address) ? ((sg)->address) : \ argument
28 #define sg_dma_address(sg) ((sg)->iova) argument
29 #define sg_dma_len(sg) ((sg)->iova_length) argument
/linux-2.4.37.9/include/asm-sh64/
Dpci.h158 static inline int pci_map_sg(struct pci_dev *hwdev, struct scatterlist *sg, in pci_map_sg()
184 static inline void pci_unmap_sg(struct pci_dev *hwdev, struct scatterlist *sg, in pci_unmap_sg()
230 struct scatterlist *sg, in pci_dma_sync_sg()
267 #define sg_dma_address(sg) ((sg)->dma_address) argument
268 #define sg_dma_len(sg) ((sg)->length) argument
/linux-2.4.37.9/arch/x86_64/kernel/
Dpci-dma.c28 int pci_map_sg(struct pci_dev *hwdev, struct scatterlist *sg, in pci_map_sg()
62 void pci_unmap_sg(struct pci_dev *dev, struct scatterlist *sg, in pci_unmap_sg()
/linux-2.4.37.9/include/asm-arm/
Dscatterlist.h21 #define sg_dma_address(sg) ((sg)->dma_address) argument
22 #define sg_dma_len(sg) ((sg)->length) argument
Dpci.h157 pci_map_sg(struct pci_dev *hwdev, struct scatterlist *sg, int nents, int direction) in pci_map_sg()
182 pci_unmap_sg(struct pci_dev *hwdev, struct scatterlist *sg, int nents, int direction) in pci_unmap_sg()
219 pci_dma_sync_sg(struct pci_dev *hwdev, struct scatterlist *sg, int nelems, int direction) in pci_dma_sync_sg()
/linux-2.4.37.9/include/asm-i386/
Dpci.h148 static inline int pci_map_sg(struct pci_dev *hwdev, struct scatterlist *sg, in pci_map_sg()
179 static inline void pci_unmap_sg(struct pci_dev *hwdev, struct scatterlist *sg, in pci_unmap_sg()
212 struct scatterlist *sg, in pci_dma_sync_sg()
273 #define sg_dma_address(sg) ((sg)->dma_address) argument
274 #define sg_dma_len(sg) ((sg)->length) argument
/linux-2.4.37.9/include/asm-sh/
Dpci.h156 static inline int pci_map_sg(struct pci_dev *hwdev, struct scatterlist *sg, in pci_map_sg()
175 static inline void pci_unmap_sg(struct pci_dev *hwdev, struct scatterlist *sg, in pci_unmap_sg()
210 struct scatterlist *sg, in pci_dma_sync_sg()
249 #define sg_dma_address(sg) (virt_to_bus((sg)->address)) argument
250 #define sg_dma_len(sg) ((sg)->length) argument
/linux-2.4.37.9/include/asm-ppc/
Dscatterlist.h27 #define sg_dma_address(sg) ((sg)->dma_address) argument
28 #define sg_dma_len(sg) ((sg)->dma_length) argument
/linux-2.4.37.9/include/asm-sparc/
Dscatterlist.h23 #define sg_dma_address(sg) ((sg)->dvma_address) argument
24 #define sg_dma_len(sg) ((sg)->dvma_length) argument
/linux-2.4.37.9/include/asm-alpha/
Dscatterlist.h21 #define sg_dma_address(sg) ((sg)->dma_address) argument
22 #define sg_dma_len(sg) ((sg)->dma_length) argument
/linux-2.4.37.9/include/asm-sparc64/
Dscatterlist.h23 #define sg_dma_address(sg) ((sg)->dma_address) argument
24 #define sg_dma_len(sg) ((sg)->dma_length) argument
/linux-2.4.37.9/include/asm-mips/
Dpci.h183 static inline int pci_map_sg(struct pci_dev *hwdev, struct scatterlist *sg, in pci_map_sg()
218 static inline void pci_unmap_sg(struct pci_dev *hwdev, struct scatterlist *sg, in pci_unmap_sg()
272 struct scatterlist *sg, in pci_dma_sync_sg()
359 #define sg_dma_address(sg) ((sg)->dma_address) argument
360 #define sg_dma_len(sg) ((sg)->length) argument
/linux-2.4.37.9/include/asm-mips64/
Dpci.h183 static inline int pci_map_sg(struct pci_dev *hwdev, struct scatterlist *sg, in pci_map_sg()
218 static inline void pci_unmap_sg(struct pci_dev *hwdev, struct scatterlist *sg, in pci_unmap_sg()
272 struct scatterlist *sg, in pci_dma_sync_sg()
359 #define sg_dma_address(sg) ((sg)->dma_address) argument
360 #define sg_dma_len(sg) ((sg)->length) argument
/linux-2.4.37.9/crypto/
Dscatterwalk.h21 struct scatterlist *sg; member
31 static inline struct scatterlist *sg_next(struct scatterlist *sg) in sg_next()
Ddigest.c27 struct scatterlist *sg, unsigned int nsg) in update()
70 struct scatterlist *sg, unsigned int nsg, u8 *out) in digest()
Dhmac.c82 struct scatterlist *sg, unsigned int nsg) in crypto_hmac_update()
123 struct scatterlist *sg, unsigned int nsg, u8 *out) in crypto_hmac()
Dtcrypt.c84 struct scatterlist sg[8]; in test_hash() local
176 struct scatterlist sg[8]; in test_hmac() local
268 struct scatterlist sg[8]; in test_cipher() local
/linux-2.4.37.9/arch/sparc/mm/
Diommu.c168 static void iommu_get_scsi_sgl_noflush(struct scatterlist *sg, int sz, struct sbus_bus *sbus) in iommu_get_scsi_sgl_noflush()
177 static void iommu_get_scsi_sgl_gflush(struct scatterlist *sg, int sz, struct sbus_bus *sbus) in iommu_get_scsi_sgl_gflush()
187 static void iommu_get_scsi_sgl_pflush(struct scatterlist *sg, int sz, struct sbus_bus *sbus) in iommu_get_scsi_sgl_pflush()
210 static void iommu_release_scsi_sgl(struct scatterlist *sg, int sz, struct sbus_bus *sbus) in iommu_release_scsi_sgl()
/linux-2.4.37.9/arch/sparc/kernel/
Dioport.c418 int sbus_map_sg(struct sbus_dev *sdev, struct scatterlist *sg, int n, int direction) in sbus_map_sg()
429 void sbus_unmap_sg(struct sbus_dev *sdev, struct scatterlist *sg, int n, int direction) in sbus_unmap_sg()
456 void sbus_dma_sync_sg(struct sbus_dev *sdev, struct scatterlist *sg, int n, int direction) in sbus_dma_sync_sg()
619 int pci_map_sg(struct pci_dev *hwdev, struct scatterlist *sg, int nents, in pci_map_sg()
639 void pci_unmap_sg(struct pci_dev *hwdev, struct scatterlist *sg, int nents, in pci_unmap_sg()
680 void pci_dma_sync_sg(struct pci_dev *hwdev, struct scatterlist *sg, int nents, int direction) in pci_dma_sync_sg()
/linux-2.4.37.9/include/asm-x86_64/
Dpci.h129 struct scatterlist *sg, in pci_dma_sync_sg()
218 struct scatterlist *sg, in pci_dma_sync_sg()
288 #define sg_dma_address(sg) ((sg)->dma_address) argument
289 #define sg_dma_len(sg) ((sg)->length) argument
/linux-2.4.37.9/arch/ia64/lib/
Dswiotlb.c33 #define SG_ENT_VIRT_ADDRESS(sg) ((sg)->address ? (sg)->address \ argument
418 swiotlb_map_sg (struct pci_dev *hwdev, struct scatterlist *sg, int nelems, int direction) in swiotlb_map_sg()
446 swiotlb_unmap_sg (struct pci_dev *hwdev, struct scatterlist *sg, int nelems, int direction) in swiotlb_unmap_sg()
469 swiotlb_sync_sg (struct pci_dev *hwdev, struct scatterlist *sg, int nelems, int direction) in swiotlb_sync_sg()
/linux-2.4.37.9/arch/ia64/sn/io/machvec/
Dpci_dma.c261 sn_pci_map_sg(struct pci_dev *hwdev, struct scatterlist *sg, int nents, int direction) in sn_pci_map_sg()
356 sn_pci_unmap_sg(struct pci_dev *hwdev, struct scatterlist *sg, int nents, int direction) in sn_pci_unmap_sg()
535 sn_pci_dma_sync_sg(struct pci_dev *hwdev, struct scatterlist *sg, int nents, int direction) in sn_pci_dma_sync_sg()
/linux-2.4.37.9/include/asm-ppc64/
Dpci.h97 struct scatterlist *sg, in pci_dma_sync_sg()
126 #define sg_dma_address(sg) ((sg)->dma_address) argument
127 #define sg_dma_len(sg) ((sg)->dma_length) argument
/linux-2.4.37.9/arch/arm/mach-sa1100/
Dsa1111-pcibuf.c304 sa1111_map_sg(struct scatterlist *sg, int nents, int direction) in sa1111_map_sg()
312 sa1111_unmap_sg(struct scatterlist *sg, int nents, int direction) in sa1111_unmap_sg()
363 sa1111_dma_sync_sg(struct scatterlist *sg, int nelems, int direction) in sa1111_dma_sync_sg()

12345