qm_sg_ptr 13 drivers/crypto/caam/sg_sw_qm.h static inline void __dma_to_qm_sg(struct qm_sg_entry *qm_sg_ptr, dma_addr_t dma, qm_sg_ptr 16 drivers/crypto/caam/sg_sw_qm.h qm_sg_entry_set64(qm_sg_ptr, dma); qm_sg_ptr 17 drivers/crypto/caam/sg_sw_qm.h qm_sg_ptr->__reserved2 = 0; qm_sg_ptr 18 drivers/crypto/caam/sg_sw_qm.h qm_sg_ptr->bpid = 0; qm_sg_ptr 19 drivers/crypto/caam/sg_sw_qm.h qm_sg_ptr->offset = cpu_to_be16(offset & QM_SG_OFF_MASK); qm_sg_ptr 22 drivers/crypto/caam/sg_sw_qm.h static inline void dma_to_qm_sg_one(struct qm_sg_entry *qm_sg_ptr, qm_sg_ptr 25 drivers/crypto/caam/sg_sw_qm.h __dma_to_qm_sg(qm_sg_ptr, dma, offset); qm_sg_ptr 26 drivers/crypto/caam/sg_sw_qm.h qm_sg_entry_set_len(qm_sg_ptr, len); qm_sg_ptr 29 drivers/crypto/caam/sg_sw_qm.h static inline void dma_to_qm_sg_one_last(struct qm_sg_entry *qm_sg_ptr, qm_sg_ptr 32 drivers/crypto/caam/sg_sw_qm.h __dma_to_qm_sg(qm_sg_ptr, dma, offset); qm_sg_ptr 33 drivers/crypto/caam/sg_sw_qm.h qm_sg_entry_set_f(qm_sg_ptr, len); qm_sg_ptr 36 drivers/crypto/caam/sg_sw_qm.h static inline void dma_to_qm_sg_one_ext(struct qm_sg_entry *qm_sg_ptr, qm_sg_ptr 39 drivers/crypto/caam/sg_sw_qm.h __dma_to_qm_sg(qm_sg_ptr, dma, offset); qm_sg_ptr 40 drivers/crypto/caam/sg_sw_qm.h qm_sg_ptr->cfg = cpu_to_be32(QM_SG_EXT | (len & QM_SG_LEN_MASK)); qm_sg_ptr 43 drivers/crypto/caam/sg_sw_qm.h static inline void dma_to_qm_sg_one_last_ext(struct qm_sg_entry *qm_sg_ptr, qm_sg_ptr 47 drivers/crypto/caam/sg_sw_qm.h __dma_to_qm_sg(qm_sg_ptr, dma, offset); qm_sg_ptr 48 drivers/crypto/caam/sg_sw_qm.h qm_sg_ptr->cfg = cpu_to_be32(QM_SG_EXT | QM_SG_FIN | qm_sg_ptr 58 drivers/crypto/caam/sg_sw_qm.h struct qm_sg_entry *qm_sg_ptr, u16 offset) qm_sg_ptr 65 drivers/crypto/caam/sg_sw_qm.h dma_to_qm_sg_one(qm_sg_ptr, sg_dma_address(sg), ent_len, qm_sg_ptr 67 drivers/crypto/caam/sg_sw_qm.h qm_sg_ptr++; qm_sg_ptr 71 drivers/crypto/caam/sg_sw_qm.h return qm_sg_ptr - 1; qm_sg_ptr 79 drivers/crypto/caam/sg_sw_qm.h struct qm_sg_entry *qm_sg_ptr, u16 offset) qm_sg_ptr 81 drivers/crypto/caam/sg_sw_qm.h qm_sg_ptr = sg_to_qm_sg(sg, len, qm_sg_ptr, offset); qm_sg_ptr 82 drivers/crypto/caam/sg_sw_qm.h qm_sg_entry_set_f(qm_sg_ptr, qm_sg_entry_get_len(qm_sg_ptr)); qm_sg_ptr 12 drivers/crypto/caam/sg_sw_qm2.h static inline void dma_to_qm_sg_one(struct dpaa2_sg_entry *qm_sg_ptr, qm_sg_ptr 15 drivers/crypto/caam/sg_sw_qm2.h dpaa2_sg_set_addr(qm_sg_ptr, dma); qm_sg_ptr 16 drivers/crypto/caam/sg_sw_qm2.h dpaa2_sg_set_format(qm_sg_ptr, dpaa2_sg_single); qm_sg_ptr 17 drivers/crypto/caam/sg_sw_qm2.h dpaa2_sg_set_final(qm_sg_ptr, false); qm_sg_ptr 18 drivers/crypto/caam/sg_sw_qm2.h dpaa2_sg_set_len(qm_sg_ptr, len); qm_sg_ptr 19 drivers/crypto/caam/sg_sw_qm2.h dpaa2_sg_set_bpid(qm_sg_ptr, 0); qm_sg_ptr 20 drivers/crypto/caam/sg_sw_qm2.h dpaa2_sg_set_offset(qm_sg_ptr, offset); qm_sg_ptr 29 drivers/crypto/caam/sg_sw_qm2.h struct dpaa2_sg_entry *qm_sg_ptr, u16 offset) qm_sg_ptr 36 drivers/crypto/caam/sg_sw_qm2.h dma_to_qm_sg_one(qm_sg_ptr, sg_dma_address(sg), ent_len, qm_sg_ptr 38 drivers/crypto/caam/sg_sw_qm2.h qm_sg_ptr++; qm_sg_ptr 42 drivers/crypto/caam/sg_sw_qm2.h return qm_sg_ptr - 1; qm_sg_ptr 50 drivers/crypto/caam/sg_sw_qm2.h struct dpaa2_sg_entry *qm_sg_ptr, qm_sg_ptr 53 drivers/crypto/caam/sg_sw_qm2.h qm_sg_ptr = sg_to_qm_sg(sg, len, qm_sg_ptr, offset); qm_sg_ptr 54 drivers/crypto/caam/sg_sw_qm2.h dpaa2_sg_set_final(qm_sg_ptr, true);