Lines Matching refs:qbman_swp

97 static int qbman_swp_enqueue_direct(struct qbman_swp *s,
100 static int qbman_swp_enqueue_mem_back(struct qbman_swp *s,
103 static int qbman_swp_enqueue_multiple_direct(struct qbman_swp *s,
108 static int qbman_swp_enqueue_multiple_mem_back(struct qbman_swp *s,
114 qbman_swp_enqueue_multiple_desc_direct(struct qbman_swp *s,
119 int qbman_swp_enqueue_multiple_desc_mem_back(struct qbman_swp *s,
123 static int qbman_swp_pull_direct(struct qbman_swp *s,
125 static int qbman_swp_pull_mem_back(struct qbman_swp *s,
128 const struct dpaa2_dq *qbman_swp_dqrr_next_direct(struct qbman_swp *s);
129 const struct dpaa2_dq *qbman_swp_dqrr_next_mem_back(struct qbman_swp *s);
131 static int qbman_swp_release_direct(struct qbman_swp *s,
135 static int qbman_swp_release_mem_back(struct qbman_swp *s,
141 int (*qbman_swp_enqueue_ptr)(struct qbman_swp *s,
146 int (*qbman_swp_enqueue_multiple_ptr)(struct qbman_swp *s,
154 (*qbman_swp_enqueue_multiple_desc_ptr)(struct qbman_swp *s,
160 int (*qbman_swp_pull_ptr)(struct qbman_swp *s, struct qbman_pull_desc *d)
163 const struct dpaa2_dq *(*qbman_swp_dqrr_next_ptr)(struct qbman_swp *s)
166 int (*qbman_swp_release_ptr)(struct qbman_swp *s,
174 static inline u32 qbman_read_register(struct qbman_swp *p, u32 offset) in qbman_read_register()
179 static inline void qbman_write_register(struct qbman_swp *p, u32 offset, in qbman_write_register()
185 static inline void *qbman_get_cmd(struct qbman_swp *p, u32 offset) in qbman_get_cmd()
245 struct qbman_swp *qbman_swp_init(const struct qbman_swp_desc *d) in qbman_swp_init()
247 struct qbman_swp *p = kzalloc(sizeof(*p), GFP_KERNEL); in qbman_swp_init()
366 void qbman_swp_finish(struct qbman_swp *p) in qbman_swp_finish()
377 u32 qbman_swp_interrupt_read_status(struct qbman_swp *p) in qbman_swp_interrupt_read_status()
387 void qbman_swp_interrupt_clear_status(struct qbman_swp *p, u32 mask) in qbman_swp_interrupt_clear_status()
398 u32 qbman_swp_interrupt_get_trigger(struct qbman_swp *p) in qbman_swp_interrupt_get_trigger()
408 void qbman_swp_interrupt_set_trigger(struct qbman_swp *p, u32 mask) in qbman_swp_interrupt_set_trigger()
419 int qbman_swp_interrupt_get_inhibit(struct qbman_swp *p) in qbman_swp_interrupt_get_inhibit()
429 void qbman_swp_interrupt_set_inhibit(struct qbman_swp *p, int inhibit) in qbman_swp_interrupt_set_inhibit()
443 void *qbman_swp_mc_start(struct qbman_swp *p) in qbman_swp_mc_start()
455 void qbman_swp_mc_submit(struct qbman_swp *p, void *cmd, u8 cmd_verb) in qbman_swp_mc_submit()
473 void *qbman_swp_mc_result(struct qbman_swp *p) in qbman_swp_mc_result()
588 int qbman_swp_enqueue_direct(struct qbman_swp *s, in qbman_swp_enqueue_direct()
614 int qbman_swp_enqueue_mem_back(struct qbman_swp *s, in qbman_swp_enqueue_mem_back()
640 int qbman_swp_enqueue_multiple_direct(struct qbman_swp *s, in qbman_swp_enqueue_multiple_direct()
723 int qbman_swp_enqueue_multiple_mem_back(struct qbman_swp *s, in qbman_swp_enqueue_multiple_mem_back()
804 int qbman_swp_enqueue_multiple_desc_direct(struct qbman_swp *s, in qbman_swp_enqueue_multiple_desc_direct()
874 int qbman_swp_enqueue_multiple_desc_mem_back(struct qbman_swp *s, in qbman_swp_enqueue_multiple_desc_mem_back()
940 void qbman_swp_push_get(struct qbman_swp *s, u8 channel_idx, int *enabled) in qbman_swp_push_get()
954 void qbman_swp_push_set(struct qbman_swp *s, u8 channel_idx, int enable) in qbman_swp_push_set()
1095 int qbman_swp_pull_direct(struct qbman_swp *s, struct qbman_pull_desc *d) in qbman_swp_pull_direct()
1131 int qbman_swp_pull_mem_back(struct qbman_swp *s, struct qbman_pull_desc *d) in qbman_swp_pull_mem_back()
1169 const struct dpaa2_dq *qbman_swp_dqrr_next_direct(struct qbman_swp *s) in qbman_swp_dqrr_next_direct()
1261 const struct dpaa2_dq *qbman_swp_dqrr_next_mem_back(struct qbman_swp *s) in qbman_swp_dqrr_next_mem_back()
1351 void qbman_swp_dqrr_consume(struct qbman_swp *s, const struct dpaa2_dq *dq) in qbman_swp_dqrr_consume()
1373 int qbman_result_has_new_result(struct qbman_swp *s, const struct dpaa2_dq *dq) in qbman_result_has_new_result()
1441 int qbman_swp_release_direct(struct qbman_swp *s, in qbman_swp_release_direct()
1483 int qbman_swp_release_mem_back(struct qbman_swp *s, in qbman_swp_release_mem_back()
1541 int qbman_swp_acquire(struct qbman_swp *s, u16 bpid, u64 *buffers, in qbman_swp_acquire()
1603 int qbman_swp_alt_fq_state(struct qbman_swp *s, u32 fqid, in qbman_swp_alt_fq_state()
1656 int qbman_swp_CDAN_set(struct qbman_swp *s, u16 channelid, in qbman_swp_CDAN_set()
1707 int qbman_fq_query_state(struct qbman_swp *s, u32 fqid, in qbman_fq_query_state()
1756 int qbman_bp_query(struct qbman_swp *s, u16 bpid, in qbman_bp_query()