Lines Matching refs:qbman_swp

20 struct qbman_swp;
114 struct qbman_swp { struct
163 int (*qbman_swp_enqueue_ptr)(struct qbman_swp *s, argument
167 int (*qbman_swp_enqueue_multiple_ptr)(struct qbman_swp *s,
173 int (*qbman_swp_enqueue_multiple_desc_ptr)(struct qbman_swp *s,
178 int (*qbman_swp_pull_ptr)(struct qbman_swp *s, struct qbman_pull_desc *d);
180 const struct dpaa2_dq *(*qbman_swp_dqrr_next_ptr)(struct qbman_swp *s);
182 int (*qbman_swp_release_ptr)(struct qbman_swp *s,
188 struct qbman_swp *qbman_swp_init(const struct qbman_swp_desc *d);
189 void qbman_swp_finish(struct qbman_swp *p);
190 u32 qbman_swp_interrupt_read_status(struct qbman_swp *p);
191 void qbman_swp_interrupt_clear_status(struct qbman_swp *p, u32 mask);
192 u32 qbman_swp_interrupt_get_trigger(struct qbman_swp *p);
193 void qbman_swp_interrupt_set_trigger(struct qbman_swp *p, u32 mask);
194 int qbman_swp_interrupt_get_inhibit(struct qbman_swp *p);
195 void qbman_swp_interrupt_set_inhibit(struct qbman_swp *p, int inhibit);
197 void qbman_swp_push_get(struct qbman_swp *p, u8 channel_idx, int *enabled);
198 void qbman_swp_push_set(struct qbman_swp *p, u8 channel_idx, int enable);
212 void qbman_swp_dqrr_consume(struct qbman_swp *s, const struct dpaa2_dq *dq);
214 int qbman_result_has_new_result(struct qbman_swp *p, const struct dpaa2_dq *dq);
228 int qbman_swp_acquire(struct qbman_swp *s, u16 bpid, u64 *buffers,
230 int qbman_swp_alt_fq_state(struct qbman_swp *s, u32 fqid,
232 int qbman_swp_CDAN_set(struct qbman_swp *s, u16 channelid,
236 void *qbman_swp_mc_start(struct qbman_swp *p);
237 void qbman_swp_mc_submit(struct qbman_swp *p, void *cmd, u8 cmd_verb);
238 void *qbman_swp_mc_result(struct qbman_swp *p);
249 qbman_swp_enqueue(struct qbman_swp *s, const struct qbman_eq_desc *d, in qbman_swp_enqueue()
267 qbman_swp_enqueue_multiple(struct qbman_swp *s, in qbman_swp_enqueue_multiple()
287 qbman_swp_enqueue_multiple_desc(struct qbman_swp *s, in qbman_swp_enqueue_multiple_desc()
400 static inline int qbman_swp_fq_schedule(struct qbman_swp *s, u32 fqid) in qbman_swp_fq_schedule()
418 static inline int qbman_swp_fq_force(struct qbman_swp *s, u32 fqid) in qbman_swp_fq_force()
432 static inline int qbman_swp_fq_xon(struct qbman_swp *s, u32 fqid) in qbman_swp_fq_xon()
452 static inline int qbman_swp_fq_xoff(struct qbman_swp *s, u32 fqid) in qbman_swp_fq_xoff()
478 static inline int qbman_swp_CDAN_set_context(struct qbman_swp *s, u16 channelid, in qbman_swp_CDAN_set_context()
493 static inline int qbman_swp_CDAN_enable(struct qbman_swp *s, u16 channelid) in qbman_swp_CDAN_enable()
507 static inline int qbman_swp_CDAN_disable(struct qbman_swp *s, u16 channelid) in qbman_swp_CDAN_disable()
522 static inline int qbman_swp_CDAN_set_context_enable(struct qbman_swp *s, in qbman_swp_CDAN_set_context_enable()
532 static inline void *qbman_swp_mc_complete(struct qbman_swp *swp, void *cmd, in qbman_swp_mc_complete()
569 int qbman_fq_query_state(struct qbman_swp *s, u32 fqid,
601 int qbman_bp_query(struct qbman_swp *s, u16 bpid,
615 static inline int qbman_swp_release(struct qbman_swp *s, in qbman_swp_release()
632 static inline int qbman_swp_pull(struct qbman_swp *s, in qbman_swp_pull()
646 static inline const struct dpaa2_dq *qbman_swp_dqrr_next(struct qbman_swp *s) in qbman_swp_dqrr_next()