Lines Matching refs:swp
23 struct qbman_swp *swp; member
39 struct qbman_swp *swp; /* portal used to issue VDQCR */ member
131 obj->swp = qbman_swp_init(&obj->swp_desc); in dpaa2_io_create()
133 if (!obj->swp) { in dpaa2_io_create()
144 qbman_swp_interrupt_set_trigger(obj->swp, in dpaa2_io_create()
146 qbman_swp_interrupt_clear_status(obj->swp, 0xffffffff); in dpaa2_io_create()
148 qbman_swp_push_set(obj->swp, 0, 1); in dpaa2_io_create()
194 struct qbman_swp *swp; in dpaa2_io_irq() local
197 swp = obj->swp; in dpaa2_io_irq()
198 status = qbman_swp_interrupt_read_status(swp); in dpaa2_io_irq()
202 dq = qbman_swp_dqrr_next(swp); in dpaa2_io_irq()
214 qbman_swp_dqrr_consume(swp, dq); in dpaa2_io_irq()
218 dq = qbman_swp_dqrr_next(swp); in dpaa2_io_irq()
221 qbman_swp_interrupt_clear_status(swp, status); in dpaa2_io_irq()
222 qbman_swp_interrupt_set_inhibit(swp, 0); in dpaa2_io_irq()
282 return qbman_swp_CDAN_set_context_enable(d->swp, in dpaa2_io_service_register()
306 qbman_swp_CDAN_disable(d->swp, (u16)ctx->id); in dpaa2_io_service_deregister()
340 err = qbman_swp_CDAN_enable(d->swp, (u16)ctx->id); in dpaa2_io_service_rearm()
342 err = qbman_swp_fq_schedule(d->swp, ctx->id); in dpaa2_io_service_rearm()
371 s->swp = d->swp; in dpaa2_io_service_pull_fq()
372 err = qbman_swp_pull(d->swp, &pd); in dpaa2_io_service_pull_fq()
374 s->swp = NULL; in dpaa2_io_service_pull_fq()
403 s->swp = d->swp; in dpaa2_io_service_pull_channel()
404 err = qbman_swp_pull(d->swp, &pd); in dpaa2_io_service_pull_channel()
406 s->swp = NULL; in dpaa2_io_service_pull_channel()
435 return qbman_swp_enqueue(d->swp, &ed, fd); in dpaa2_io_service_enqueue_fq()
465 return qbman_swp_enqueue_multiple(d->swp, &ed, fd, 0, nb); in dpaa2_io_service_enqueue_multiple_fq()
504 ret = qbman_swp_enqueue_multiple_desc(d->swp, &ed[0], fd, nb); in dpaa2_io_service_enqueue_multiple_desc_fq()
536 return qbman_swp_enqueue(d->swp, &ed, fd); in dpaa2_io_service_enqueue_qd()
563 return qbman_swp_release(d->swp, &rd, buffers, num_buffers); in dpaa2_io_service_release()
591 err = qbman_swp_acquire(d->swp, bpid, buffers, num_buffers); in dpaa2_io_service_acquire()
688 match = qbman_result_has_new_result(s->swp, ret); in dpaa2_io_store_next()
731 struct qbman_swp *swp; in dpaa2_io_query_fq_count() local
739 swp = d->swp; in dpaa2_io_query_fq_count()
741 ret = qbman_fq_query_state(swp, fqid, &state); in dpaa2_io_query_fq_count()
764 struct qbman_swp *swp; in dpaa2_io_query_bp_count() local
772 swp = d->swp; in dpaa2_io_query_bp_count()
774 ret = qbman_bp_query(swp, bpid, &state); in dpaa2_io_query_bp_count()