Lines Matching refs:qbman_swp
99 static int qbman_swp_enqueue_direct(struct qbman_swp *s,
102 static int qbman_swp_enqueue_mem_back(struct qbman_swp *s,
105 static int qbman_swp_enqueue_multiple_direct(struct qbman_swp *s,
110 static int qbman_swp_enqueue_multiple_mem_back(struct qbman_swp *s,
116 qbman_swp_enqueue_multiple_desc_direct(struct qbman_swp *s,
121 int qbman_swp_enqueue_multiple_desc_mem_back(struct qbman_swp *s,
125 static int qbman_swp_pull_direct(struct qbman_swp *s,
127 static int qbman_swp_pull_mem_back(struct qbman_swp *s,
130 const struct dpaa2_dq *qbman_swp_dqrr_next_direct(struct qbman_swp *s);
131 const struct dpaa2_dq *qbman_swp_dqrr_next_mem_back(struct qbman_swp *s);
133 static int qbman_swp_release_direct(struct qbman_swp *s,
137 static int qbman_swp_release_mem_back(struct qbman_swp *s,
143 int (*qbman_swp_enqueue_ptr)(struct qbman_swp *s,
148 int (*qbman_swp_enqueue_multiple_ptr)(struct qbman_swp *s,
156 (*qbman_swp_enqueue_multiple_desc_ptr)(struct qbman_swp *s,
162 int (*qbman_swp_pull_ptr)(struct qbman_swp *s, struct qbman_pull_desc *d)
165 const struct dpaa2_dq *(*qbman_swp_dqrr_next_ptr)(struct qbman_swp *s)
168 int (*qbman_swp_release_ptr)(struct qbman_swp *s,
176 static inline u32 qbman_read_register(struct qbman_swp *p, u32 offset) in qbman_read_register()
181 static inline void qbman_write_register(struct qbman_swp *p, u32 offset, in qbman_write_register()
187 static inline void *qbman_get_cmd(struct qbman_swp *p, u32 offset) in qbman_get_cmd()
247 struct qbman_swp *qbman_swp_init(const struct qbman_swp_desc *d) in qbman_swp_init()
249 struct qbman_swp *p = kzalloc(sizeof(*p), GFP_KERNEL); in qbman_swp_init()
371 void qbman_swp_finish(struct qbman_swp *p) in qbman_swp_finish()
382 u32 qbman_swp_interrupt_read_status(struct qbman_swp *p) in qbman_swp_interrupt_read_status()
392 void qbman_swp_interrupt_clear_status(struct qbman_swp *p, u32 mask) in qbman_swp_interrupt_clear_status()
403 u32 qbman_swp_interrupt_get_trigger(struct qbman_swp *p) in qbman_swp_interrupt_get_trigger()
413 void qbman_swp_interrupt_set_trigger(struct qbman_swp *p, u32 mask) in qbman_swp_interrupt_set_trigger()
424 int qbman_swp_interrupt_get_inhibit(struct qbman_swp *p) in qbman_swp_interrupt_get_inhibit()
434 void qbman_swp_interrupt_set_inhibit(struct qbman_swp *p, int inhibit) in qbman_swp_interrupt_set_inhibit()
448 void *qbman_swp_mc_start(struct qbman_swp *p) in qbman_swp_mc_start()
460 void qbman_swp_mc_submit(struct qbman_swp *p, void *cmd, u8 cmd_verb) in qbman_swp_mc_submit()
478 void *qbman_swp_mc_result(struct qbman_swp *p) in qbman_swp_mc_result()
593 int qbman_swp_enqueue_direct(struct qbman_swp *s, in qbman_swp_enqueue_direct()
619 int qbman_swp_enqueue_mem_back(struct qbman_swp *s, in qbman_swp_enqueue_mem_back()
645 int qbman_swp_enqueue_multiple_direct(struct qbman_swp *s, in qbman_swp_enqueue_multiple_direct()
728 int qbman_swp_enqueue_multiple_mem_back(struct qbman_swp *s, in qbman_swp_enqueue_multiple_mem_back()
806 int qbman_swp_enqueue_multiple_desc_direct(struct qbman_swp *s, in qbman_swp_enqueue_multiple_desc_direct()
876 int qbman_swp_enqueue_multiple_desc_mem_back(struct qbman_swp *s, in qbman_swp_enqueue_multiple_desc_mem_back()
942 void qbman_swp_push_get(struct qbman_swp *s, u8 channel_idx, int *enabled) in qbman_swp_push_get()
956 void qbman_swp_push_set(struct qbman_swp *s, u8 channel_idx, int enable) in qbman_swp_push_set()
1100 int qbman_swp_pull_direct(struct qbman_swp *s, struct qbman_pull_desc *d) in qbman_swp_pull_direct()
1136 int qbman_swp_pull_mem_back(struct qbman_swp *s, struct qbman_pull_desc *d) in qbman_swp_pull_mem_back()
1174 const struct dpaa2_dq *qbman_swp_dqrr_next_direct(struct qbman_swp *s) in qbman_swp_dqrr_next_direct()
1266 const struct dpaa2_dq *qbman_swp_dqrr_next_mem_back(struct qbman_swp *s) in qbman_swp_dqrr_next_mem_back()
1356 void qbman_swp_dqrr_consume(struct qbman_swp *s, const struct dpaa2_dq *dq) in qbman_swp_dqrr_consume()
1378 int qbman_result_has_new_result(struct qbman_swp *s, const struct dpaa2_dq *dq) in qbman_result_has_new_result()
1451 int qbman_swp_release_direct(struct qbman_swp *s, in qbman_swp_release_direct()
1493 int qbman_swp_release_mem_back(struct qbman_swp *s, in qbman_swp_release_mem_back()
1551 int qbman_swp_acquire(struct qbman_swp *s, u16 bpid, u64 *buffers, in qbman_swp_acquire()
1613 int qbman_swp_alt_fq_state(struct qbman_swp *s, u32 fqid, in qbman_swp_alt_fq_state()
1666 int qbman_swp_CDAN_set(struct qbman_swp *s, u16 channelid, in qbman_swp_CDAN_set()
1717 int qbman_fq_query_state(struct qbman_swp *s, u32 fqid, in qbman_fq_query_state()
1766 int qbman_bp_query(struct qbman_swp *s, u16 bpid, in qbman_bp_query()
1810 int qbman_swp_set_irq_coalescing(struct qbman_swp *p, u32 irq_threshold, in qbman_swp_set_irq_coalescing()
1846 void qbman_swp_get_irq_coalescing(struct qbman_swp *p, u32 *irq_threshold, in qbman_swp_get_irq_coalescing()