Skip to content

Commit e5c748a

Browse files
horiagherbertx
authored andcommitted
soc/qman: add macros needed by caam/qi driver
A few other things need to be added in soc/qman, such that caam/qi won't open-code them. Signed-off-by: Horia Geantă <horia.geanta@nxp.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
1 parent 8496272 commit e5c748a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

include/soc/fsl/qman.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,7 @@ static inline void qm_fd_set_param(struct qm_fd *fd, enum qm_fd_format fmt,
168168
#define qm_fd_set_contig_big(fd, len) \
169169
qm_fd_set_param(fd, qm_fd_contig_big, 0, len)
170170
#define qm_fd_set_sg_big(fd, len) qm_fd_set_param(fd, qm_fd_sg_big, 0, len)
171+
#define qm_fd_set_compound(fd, len) qm_fd_set_param(fd, qm_fd_compound, 0, len)
171172

172173
static inline void qm_fd_clear_fd(struct qm_fd *fd)
173174
{
@@ -642,6 +643,7 @@ struct qm_mcc_initcgr {
642643
#define QM_CGR_WE_MODE 0x0001
643644

644645
#define QMAN_CGR_FLAG_USE_INIT 0x00000001
646+
#define QMAN_CGR_MODE_FRAME 0x00000001
645647

646648
/* Portal and Frame Queues */
647649
/* Represents a managed portal */

0 commit comments

Comments
 (0)