Home
last modified time | relevance | path

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

12

/include/linux/
Dscatterlist.h30 #define sg_dma_address(sg) ((sg)->dma_address) argument
33 #define sg_dma_len(sg) ((sg)->dma_length) argument
35 #define sg_dma_len(sg) ((sg)->length) argument
67 #define sg_is_chain(sg) ((sg)->page_link & 0x01) argument
68 #define sg_is_last(sg) ((sg)->page_link & 0x02) argument
69 #define sg_chain_ptr(sg) \ argument
82 static inline void sg_assign_page(struct scatterlist *sg, struct page *page) in sg_assign_page()
112 static inline void sg_set_page(struct scatterlist *sg, struct page *page, in sg_set_page()
120 static inline struct page *sg_page(struct scatterlist *sg) in sg_page()
136 static inline void sg_set_buf(struct scatterlist *sg, const void *buf, in sg_set_buf()
[all …]
Dpci-dma-compat.h65 pci_map_sg(struct pci_dev *hwdev, struct scatterlist *sg, in pci_map_sg()
72 pci_unmap_sg(struct pci_dev *hwdev, struct scatterlist *sg, in pci_unmap_sg()
93 pci_dma_sync_sg_for_cpu(struct pci_dev *hwdev, struct scatterlist *sg, in pci_dma_sync_sg_for_cpu()
100 pci_dma_sync_sg_for_device(struct pci_dev *hwdev, struct scatterlist *sg, in pci_dma_sync_sg_for_device()
Ddma-debug.h130 static inline void debug_dma_map_sg(struct device *dev, struct scatterlist *sg, in debug_dma_map_sg()
192 struct scatterlist *sg, in debug_dma_sync_sg_for_cpu()
198 struct scatterlist *sg, in debug_dma_sync_sg_for_device()
Ddma-mapping.h216 static inline int dma_map_sg_attrs(struct device *dev, struct scatterlist *sg, in dma_map_sg_attrs()
234 static inline void dma_unmap_sg_attrs(struct device *dev, struct scatterlist *sg, in dma_unmap_sg_attrs()
360 dma_sync_sg_for_cpu(struct device *dev, struct scatterlist *sg, in dma_sync_sg_for_cpu()
372 dma_sync_sg_for_device(struct device *dev, struct scatterlist *sg, in dma_sync_sg_for_device()
Diommu.h323 unsigned long iova, struct scatterlist *sg, in iommu_map_sg()
414 unsigned long iova, struct scatterlist *sg, in iommu_map_sg()
Dmemstick.h247 struct scatterlist sg; member
Drio.h512 struct scatterlist *sg; /* I/O scatter list */ member
/include/crypto/
Dscatterwalk.h25 struct scatterlist *sg, in scatterwalk_crypto_chain()
83 struct scatterlist *sg) in scatterwalk_start()
Dif_alg.h66 struct scatterlist sg[ALG_MAX_PAGES + 1]; member
Dalgapi.h80 struct scatterlist *sg; member
/include/soc/fsl/
Dqman.h197 static inline dma_addr_t qm_sg_addr(const struct qm_sg_entry *sg) in qm_sg_addr()
202 static inline u64 qm_sg_entry_get64(const struct qm_sg_entry *sg) in qm_sg_entry_get64()
207 static inline void qm_sg_entry_set64(struct qm_sg_entry *sg, u64 addr) in qm_sg_entry_set64()
213 static inline bool qm_sg_entry_is_final(const struct qm_sg_entry *sg) in qm_sg_entry_is_final()
218 static inline bool qm_sg_entry_is_ext(const struct qm_sg_entry *sg) in qm_sg_entry_is_ext()
223 static inline int qm_sg_entry_get_len(const struct qm_sg_entry *sg) in qm_sg_entry_get_len()
228 static inline void qm_sg_entry_set_len(struct qm_sg_entry *sg, int len) in qm_sg_entry_set_len()
233 static inline void qm_sg_entry_set_f(struct qm_sg_entry *sg, int len) in qm_sg_entry_set_f()
238 static inline int qm_sg_entry_get_off(const struct qm_sg_entry *sg) in qm_sg_entry_get_off()
/include/linux/dma/
Dipu-dma.h149 struct scatterlist *sg; /* scatterlist for this */ member
163 struct scatterlist *sg[2]; /* scatterlist elements in buffer-0 and -1 */ member
/include/scsi/
Dscsi_cmnd.h196 #define scsi_for_each_sg(cmd, sg, nseg, __i) \ argument
323 #define scsi_for_each_prot_sg(cmd, sg, nseg, __i) \ argument
Dlibiscsi_tcp.h47 struct scatterlist *sg; member
/include/linux/mtd/
Dubi.h141 struct scatterlist sg[UBI_MAX_SG_COUNT]; member
/include/linux/platform_data/
Ddma-ste-dma40.h184 struct scatterlist sg; in stedma40_slave_mem() local
/include/crypto/internal/
Dhash.h32 struct scatterlist *sg; member
/include/drm/ttm/
Dttm_bo_api.h225 struct sg_table *sg; member
Dttm_bo_driver.h121 struct sg_table *sg; /* for SG objects via dma-buf */ member
/include/linux/mmc/
Dcore.h127 struct scatterlist *sg; /* I/O scatter list */ member
Ddw_mmc.h158 struct scatterlist *sg; member
/include/linux/sunrpc/
Dsvc_rdma.h113 struct scatterlist *sg; member
/include/rdma/
Dib_verbs.h3030 struct scatterlist *sg, int nents, in ib_dma_map_sg()
3046 struct scatterlist *sg, int nents, in ib_dma_unmap_sg()
3056 struct scatterlist *sg, int nents, in ib_dma_map_sg_attrs()
3069 struct scatterlist *sg, int nents, in ib_dma_unmap_sg_attrs()
3089 struct scatterlist *sg) in ib_sg_dma_address()
3103 struct scatterlist *sg) in ib_sg_dma_len()
3343 ib_map_mr_sg_zbva(struct ib_mr *mr, struct scatterlist *sg, int sg_nents, in ib_map_mr_sg_zbva()
/include/linux/usb/
Dgadget.h98 struct scatterlist *sg; member
/include/drm/
DdrmP.h875 struct drm_sg_mem *sg; /**< Scatter gather memory */ member

12