Home
last modified time | relevance | path

Searched refs:qbman_swp (Results 1 – 9 of 9) sorted by relevance

/openbmc/linux/drivers/soc/fsl/dpio/
H A Dqbman-portal.h20 struct qbman_swp;
116 struct qbman_swp { struct
170 int (*qbman_swp_enqueue_ptr)(struct qbman_swp *s, argument
189 int (*qbman_swp_release_ptr)(struct qbman_swp *s,
196 void qbman_swp_finish(struct qbman_swp *p);
243 void *qbman_swp_mc_start(struct qbman_swp *p);
245 void *qbman_swp_mc_result(struct qbman_swp *p);
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()
608 int qbman_bp_query(struct qbman_swp *s, u16 bpid,
[all …]
H A Dqbman-portal.c125 static int qbman_swp_pull_direct(struct qbman_swp *s,
127 static int qbman_swp_pull_mem_back(struct qbman_swp *s,
143 int (*qbman_swp_enqueue_ptr)(struct qbman_swp *s,
168 int (*qbman_swp_release_ptr)(struct qbman_swp *s,
371 void qbman_swp_finish(struct qbman_swp *p) in qbman_swp_finish()
448 void *qbman_swp_mc_start(struct qbman_swp *p) in qbman_swp_mc_start()
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()
1451 int qbman_swp_release_direct(struct qbman_swp *s, in qbman_swp_release_direct()
[all …]
H A Ddpio-service.c24 struct qbman_swp *swp;
48 struct qbman_swp *swp; /* portal used to issue VDQCR */
230 struct qbman_swp *swp; in dpaa2_io_irq()
769 struct qbman_swp *swp; in dpaa2_io_query_fq_count()
802 struct qbman_swp *swp; in dpaa2_io_query_bp_count()
830 struct qbman_swp *swp = d->swp; in dpaa2_io_set_irq_coalescing()
844 struct qbman_swp *swp = d->swp; in dpaa2_io_get_irq_coalescing()
/openbmc/u-boot/include/fsl-mc/
H A Dfsl_qbman_portal.h13 struct qbman_swp *qbman_swp_init(const struct qbman_swp_desc *);
62 int qbman_swp_pull(struct qbman_swp *, struct qbman_pull_desc *);
71 const struct ldpaa_dq *qbman_swp_dqrr_next(struct qbman_swp *);
73 void qbman_swp_dqrr_consume(struct qbman_swp *, const struct ldpaa_dq *);
94 int qbman_dq_entry_has_newtoken(struct qbman_swp *,
149 int qbman_swp_enqueue(struct qbman_swp *, const struct qbman_eq_desc *,
165 int qbman_swp_release(struct qbman_swp *, const struct qbman_release_desc *,
172 int qbman_swp_acquire(struct qbman_swp *, uint32_t bpid, uint64_t *buffers,
H A Dfsl_qbman_base.h32 struct qbman_swp;
H A Dfsl_mc_private.h47 struct qbman_swp *sw_portal; /** SW portal object */
/openbmc/u-boot/drivers/net/fsl-mc/dpio/
H A Dqbman_portal.h24 struct qbman_swp { struct
88 void *qbman_swp_mc_start(struct qbman_swp *p); argument
89 void qbman_swp_mc_submit(struct qbman_swp *p, void *cmd, uint32_t cmd_verb);
90 void *qbman_swp_mc_result(struct qbman_swp *p);
93 static inline void *qbman_swp_mc_complete(struct qbman_swp *swp, void *cmd, in qbman_swp_mc_complete()
H A Dqbman_portal.c64 struct qbman_swp *qbman_swp_init(const struct qbman_swp_desc *d) in qbman_swp_init()
67 struct qbman_swp *p = malloc(sizeof(struct qbman_swp)); in qbman_swp_init()
115 void *qbman_swp_mc_start(struct qbman_swp *p) in qbman_swp_mc_start()
131 void qbman_swp_mc_submit(struct qbman_swp *p, void *cmd, uint32_t cmd_verb) in qbman_swp_mc_submit()
151 void *qbman_swp_mc_result(struct qbman_swp *p) in qbman_swp_mc_result()
234 int qbman_swp_enqueue(struct qbman_swp *s, const struct qbman_eq_desc *d, in qbman_swp_enqueue()
325 int qbman_swp_pull(struct qbman_swp *s, struct qbman_pull_desc *d) in qbman_swp_pull()
369 const struct ldpaa_dq *qbman_swp_dqrr_next(struct qbman_swp *s) in qbman_swp_dqrr_next()
417 void qbman_swp_dqrr_consume(struct qbman_swp *s, const struct ldpaa_dq *dq) in qbman_swp_dqrr_consume()
433 int qbman_dq_entry_has_newtoken(struct qbman_swp *s, in qbman_dq_entry_has_newtoken()
[all …]
/openbmc/u-boot/drivers/net/ldpaa_eth/
H A Dldpaa_eth.c220 struct qbman_swp *swp = dflt_dpio->sw_portal; in ldpaa_eth_rx()
274 struct qbman_swp *swp = dflt_dpio->sw_portal; in ldpaa_eth_pull_dequeue_rx()
332 struct qbman_swp *swp = dflt_dpio->sw_portal; in ldpaa_eth_tx()