Home
last modified time | relevance | path

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

12

/include/linux/
Dscatterlist.h34 #define sg_dma_address(sg) ((sg)->dma_address) argument
37 #define sg_dma_len(sg) ((sg)->dma_length) argument
39 #define sg_dma_len(sg) ((sg)->length) argument
72 #define sg_is_chain(sg) ((sg)->page_link & SG_CHAIN) argument
73 #define sg_is_last(sg) ((sg)->page_link & SG_END) argument
74 #define sg_chain_ptr(sg) \ argument
87 static inline void sg_assign_page(struct scatterlist *sg, struct page *page) in sg_assign_page()
116 static inline void sg_set_page(struct scatterlist *sg, struct page *page, in sg_set_page()
124 static inline struct page *sg_page(struct scatterlist *sg) in sg_page()
139 static inline void sg_set_buf(struct scatterlist *sg, const void *buf, in sg_set_buf()
[all …]
Dpci-p2pdma.h87 struct scatterlist *sg, int nents, enum dma_data_direction dir, in pci_p2pdma_map_sg_attrs()
93 struct scatterlist *sg, int nents, enum dma_data_direction dir, in pci_p2pdma_unmap_sg_attrs()
122 static inline int pci_p2pdma_map_sg(struct device *dev, struct scatterlist *sg, in pci_p2pdma_map_sg()
129 struct scatterlist *sg, int nents, enum dma_data_direction dir) in pci_p2pdma_unmap_sg()
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.h99 static inline void debug_dma_map_sg(struct device *dev, struct scatterlist *sg, in debug_dma_map_sg()
145 struct scatterlist *sg, in debug_dma_sync_sg_for_cpu()
151 struct scatterlist *sg, in debug_dma_sync_sg_for_device()
Ddma-mapping.h311 static inline int dma_map_sg_attrs(struct device *dev, struct scatterlist *sg, in dma_map_sg_attrs()
329 static inline void dma_unmap_sg_attrs(struct device *dev, struct scatterlist *sg, in dma_unmap_sg_attrs()
408 dma_sync_sg_for_cpu(struct device *dev, struct scatterlist *sg, in dma_sync_sg_for_cpu()
422 dma_sync_sg_for_device(struct device *dev, struct scatterlist *sg, in dma_sync_sg_for_device()
479 static inline int dma_map_sg_attrs(struct device *dev, struct scatterlist *sg, in dma_map_sg_attrs()
485 struct scatterlist *sg, int nents, enum dma_data_direction dir, in dma_unmap_sg_attrs()
508 struct scatterlist *sg, int nelems, enum dma_data_direction dir) in dma_sync_sg_for_cpu()
512 struct scatterlist *sg, int nelems, enum dma_data_direction dir) in dma_sync_sg_for_device()
Dnvme-fc-driver.h620 struct scatterlist *sg; member
Dskmsg.h44 struct sk_msg_sg sg; member
Dmemstick.h243 struct scatterlist sg; member
/include/soc/fsl/
Ddpaa2-fd.h309 static inline dma_addr_t dpaa2_sg_get_addr(const struct dpaa2_sg_entry *sg) in dpaa2_sg_get_addr()
319 static inline void dpaa2_sg_set_addr(struct dpaa2_sg_entry *sg, dma_addr_t addr) in dpaa2_sg_set_addr()
324 static inline bool dpaa2_sg_short_len(const struct dpaa2_sg_entry *sg) in dpaa2_sg_short_len()
336 static inline u32 dpaa2_sg_get_len(const struct dpaa2_sg_entry *sg) in dpaa2_sg_get_len()
349 static inline void dpaa2_sg_set_len(struct dpaa2_sg_entry *sg, u32 len) in dpaa2_sg_set_len()
360 static inline u16 dpaa2_sg_get_offset(const struct dpaa2_sg_entry *sg) in dpaa2_sg_get_offset()
370 static inline void dpaa2_sg_set_offset(struct dpaa2_sg_entry *sg, in dpaa2_sg_set_offset()
384 dpaa2_sg_get_format(const struct dpaa2_sg_entry *sg) in dpaa2_sg_get_format()
395 static inline void dpaa2_sg_set_format(struct dpaa2_sg_entry *sg, in dpaa2_sg_set_format()
408 static inline u16 dpaa2_sg_get_bpid(const struct dpaa2_sg_entry *sg) in dpaa2_sg_get_bpid()
[all …]
Dqman.h201 static inline dma_addr_t qm_sg_addr(const struct qm_sg_entry *sg) in qm_sg_addr()
206 static inline u64 qm_sg_entry_get64(const struct qm_sg_entry *sg) in qm_sg_entry_get64()
211 static inline void qm_sg_entry_set64(struct qm_sg_entry *sg, u64 addr) in qm_sg_entry_set64()
217 static inline bool qm_sg_entry_is_final(const struct qm_sg_entry *sg) in qm_sg_entry_is_final()
222 static inline bool qm_sg_entry_is_ext(const struct qm_sg_entry *sg) in qm_sg_entry_is_ext()
227 static inline int qm_sg_entry_get_len(const struct qm_sg_entry *sg) in qm_sg_entry_get_len()
232 static inline void qm_sg_entry_set_len(struct qm_sg_entry *sg, int len) in qm_sg_entry_set_len()
237 static inline void qm_sg_entry_set_f(struct qm_sg_entry *sg, int len) in qm_sg_entry_set_f()
242 static inline int qm_sg_entry_get_off(const struct qm_sg_entry *sg) in qm_sg_entry_get_off()
/include/crypto/
Dscatterwalk.h20 struct scatterlist *sg, int num) in scatterwalk_crypto_chain()
65 struct scatterlist *sg) in scatterwalk_start()
Dif_alg.h60 struct scatterlist sg[ALG_MAX_PAGES + 1]; member
69 struct scatterlist sg[0]; /* Array of SGs forming the SGL */ member
Dalgapi.h84 struct scatterlist *sg; member
/include/drm/ttm/
Dttm_tt.h111 struct sg_table *sg; /* for SG objects via dma-buf */ member
Dttm_bo_api.h231 struct sg_table *sg; member
/include/linux/spi/
Dspi-mem.h306 struct sg_table *sg) in spi_controller_dma_map_mem_op_data()
314 struct sg_table *sg) in spi_controller_dma_unmap_mem_op_data()
/include/linux/dma/
Dipu-dma.h146 struct scatterlist *sg; /* scatterlist for this */ member
160 struct scatterlist *sg[2]; /* scatterlist elements in buffer-0 and -1 */ member
/include/scsi/
Dscsi_cmnd.h203 #define scsi_for_each_sg(cmd, sg, nseg, __i) \ argument
307 #define scsi_for_each_prot_sg(cmd, sg, nseg, __i) \ argument
Dlibiscsi_tcp.h36 struct scatterlist *sg; member
/include/linux/mtd/
Dubi.h128 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.h27 struct scatterlist *sg; member
/include/linux/mmc/
Dcore.h142 struct scatterlist *sg; /* I/O scatter list */ member
/include/drm/
Ddrm_device.h359 struct drm_sg_mem *sg; member
/include/linux/sched/
Dtopology.h174 struct sched_group *__percpu *sg; member

12