Lines Matching refs:ctx
205 struct dpaa2_io_notification_ctx *ctx;
209 ctx = (void *)(uintptr_t)q64;
210 ctx->cb(ctx);
243 * @ctx: the notification context.
259 struct dpaa2_io_notification_ctx *ctx,
265 d = service_select_by_cpu(d, ctx->desired_cpu);
273 ctx->dpio_id = d->dpio_desc.dpio_id;
274 ctx->qman64 = (u64)(uintptr_t)ctx;
275 ctx->dpio_private = d;
277 list_add(&ctx->node, &d->notifications);
281 if (ctx->is_cdan)
283 (u16)ctx->id,
284 ctx->qman64);
292 * @ctx: the notification context.
299 struct dpaa2_io_notification_ctx *ctx,
302 struct dpaa2_io *d = ctx->dpio_private;
305 if (ctx->is_cdan)
306 qbman_swp_CDAN_disable(d->swp, (u16)ctx->id);
309 list_del(&ctx->node);
318 * @ctx: the notification context.
329 struct dpaa2_io_notification_ctx *ctx)
334 d = service_select_by_cpu(d, ctx->desired_cpu);
339 if (ctx->is_cdan)
340 err = qbman_swp_CDAN_enable(d->swp, (u16)ctx->id);
342 err = qbman_swp_fq_schedule(d->swp, ctx->id);