Lines Matching refs:qm_sg_ptr
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()
42 return qm_sg_ptr - 1; in sg_to_qm_sg()
50 struct dpaa2_sg_entry *qm_sg_ptr, in sg_to_qm_sg_last() argument
53 qm_sg_ptr = sg_to_qm_sg(sg, len, qm_sg_ptr, offset); in sg_to_qm_sg_last()
54 dpaa2_sg_set_final(qm_sg_ptr, true); in sg_to_qm_sg_last()