Searched refs:qm_sg_ptr (Results 1 – 2 of 2) sorted by relevance
/linux-6.1.9/drivers/crypto/caam/ |
D | sg_sw_qm.h | 13 static inline void __dma_to_qm_sg(struct qm_sg_entry *qm_sg_ptr, dma_addr_t dma, in __dma_to_qm_sg() argument 16 qm_sg_entry_set64(qm_sg_ptr, dma); in __dma_to_qm_sg() 17 qm_sg_ptr->__reserved2 = 0; in __dma_to_qm_sg() 18 qm_sg_ptr->bpid = 0; in __dma_to_qm_sg() 19 qm_sg_ptr->offset = cpu_to_be16(offset & QM_SG_OFF_MASK); in __dma_to_qm_sg() 22 static inline void dma_to_qm_sg_one(struct qm_sg_entry *qm_sg_ptr, in dma_to_qm_sg_one() argument 25 __dma_to_qm_sg(qm_sg_ptr, dma, offset); in dma_to_qm_sg_one() 26 qm_sg_entry_set_len(qm_sg_ptr, len); in dma_to_qm_sg_one() 29 static inline void dma_to_qm_sg_one_last(struct qm_sg_entry *qm_sg_ptr, in dma_to_qm_sg_one_last() argument 32 __dma_to_qm_sg(qm_sg_ptr, dma, offset); in dma_to_qm_sg_one_last() [all …]
|
D | sg_sw_qm2.h | 12 static inline void dma_to_qm_sg_one(struct dpaa2_sg_entry *qm_sg_ptr, in dma_to_qm_sg_one() argument 15 dpaa2_sg_set_addr(qm_sg_ptr, dma); in dma_to_qm_sg_one() 16 dpaa2_sg_set_format(qm_sg_ptr, dpaa2_sg_single); in dma_to_qm_sg_one() 17 dpaa2_sg_set_final(qm_sg_ptr, false); in dma_to_qm_sg_one() 18 dpaa2_sg_set_len(qm_sg_ptr, len); in dma_to_qm_sg_one() 19 dpaa2_sg_set_bpid(qm_sg_ptr, 0); in dma_to_qm_sg_one() 20 dpaa2_sg_set_offset(qm_sg_ptr, offset); in dma_to_qm_sg_one() 29 struct dpaa2_sg_entry *qm_sg_ptr, u16 offset) in sg_to_qm_sg() argument 36 dma_to_qm_sg_one(qm_sg_ptr, sg_dma_address(sg), ent_len, in sg_to_qm_sg() 38 qm_sg_ptr++; in sg_to_qm_sg() [all …]
|