Lines Matching refs:qbman_swp
20 struct qbman_swp;
116 struct qbman_swp { struct
170 int (*qbman_swp_enqueue_ptr)(struct qbman_swp *s, argument
174 int (*qbman_swp_enqueue_multiple_ptr)(struct qbman_swp *s,
180 int (*qbman_swp_enqueue_multiple_desc_ptr)(struct qbman_swp *s,
185 int (*qbman_swp_pull_ptr)(struct qbman_swp *s, struct qbman_pull_desc *d);
187 const struct dpaa2_dq *(*qbman_swp_dqrr_next_ptr)(struct qbman_swp *s);
189 int (*qbman_swp_release_ptr)(struct qbman_swp *s,
195 struct qbman_swp *qbman_swp_init(const struct qbman_swp_desc *d);
196 void qbman_swp_finish(struct qbman_swp *p);
197 u32 qbman_swp_interrupt_read_status(struct qbman_swp *p);
198 void qbman_swp_interrupt_clear_status(struct qbman_swp *p, u32 mask);
199 u32 qbman_swp_interrupt_get_trigger(struct qbman_swp *p);
200 void qbman_swp_interrupt_set_trigger(struct qbman_swp *p, u32 mask);
201 int qbman_swp_interrupt_get_inhibit(struct qbman_swp *p);
202 void qbman_swp_interrupt_set_inhibit(struct qbman_swp *p, int inhibit);
204 void qbman_swp_push_get(struct qbman_swp *p, u8 channel_idx, int *enabled);
205 void qbman_swp_push_set(struct qbman_swp *p, u8 channel_idx, int enable);
219 void qbman_swp_dqrr_consume(struct qbman_swp *s, const struct dpaa2_dq *dq);
221 int qbman_result_has_new_result(struct qbman_swp *p, const struct dpaa2_dq *dq);
235 int qbman_swp_acquire(struct qbman_swp *s, u16 bpid, u64 *buffers,
237 int qbman_swp_alt_fq_state(struct qbman_swp *s, u32 fqid,
239 int qbman_swp_CDAN_set(struct qbman_swp *s, u16 channelid,
243 void *qbman_swp_mc_start(struct qbman_swp *p);
244 void qbman_swp_mc_submit(struct qbman_swp *p, void *cmd, u8 cmd_verb);
245 void *qbman_swp_mc_result(struct qbman_swp *p);
256 qbman_swp_enqueue(struct qbman_swp *s, const struct qbman_eq_desc *d, in qbman_swp_enqueue()
274 qbman_swp_enqueue_multiple(struct qbman_swp *s, in qbman_swp_enqueue_multiple()
294 qbman_swp_enqueue_multiple_desc(struct qbman_swp *s, in qbman_swp_enqueue_multiple_desc()
407 static inline int qbman_swp_fq_schedule(struct qbman_swp *s, u32 fqid) in qbman_swp_fq_schedule()
425 static inline int qbman_swp_fq_force(struct qbman_swp *s, u32 fqid) in qbman_swp_fq_force()
439 static inline int qbman_swp_fq_xon(struct qbman_swp *s, u32 fqid) in qbman_swp_fq_xon()
459 static inline int qbman_swp_fq_xoff(struct qbman_swp *s, u32 fqid) in qbman_swp_fq_xoff()
485 static inline int qbman_swp_CDAN_set_context(struct qbman_swp *s, u16 channelid, in qbman_swp_CDAN_set_context()
500 static inline int qbman_swp_CDAN_enable(struct qbman_swp *s, u16 channelid) in qbman_swp_CDAN_enable()
514 static inline int qbman_swp_CDAN_disable(struct qbman_swp *s, u16 channelid) in qbman_swp_CDAN_disable()
529 static inline int qbman_swp_CDAN_set_context_enable(struct qbman_swp *s, in qbman_swp_CDAN_set_context_enable()
539 static inline void *qbman_swp_mc_complete(struct qbman_swp *swp, void *cmd, in qbman_swp_mc_complete()
576 int qbman_fq_query_state(struct qbman_swp *s, u32 fqid,
608 int qbman_bp_query(struct qbman_swp *s, u16 bpid,
622 static inline int qbman_swp_release(struct qbman_swp *s, in qbman_swp_release()
639 static inline int qbman_swp_pull(struct qbman_swp *s, in qbman_swp_pull()
653 static inline const struct dpaa2_dq *qbman_swp_dqrr_next(struct qbman_swp *s) in qbman_swp_dqrr_next()
658 int qbman_swp_set_irq_coalescing(struct qbman_swp *p, u32 irq_threshold,
661 void qbman_swp_get_irq_coalescing(struct qbman_swp *p, u32 *irq_threshold,