Lines Matching refs:nctx
2822 err = dpaa2_io_service_rearm(NULL, &fq->nctx);
2832 static void dpaa2_switch_fqdan_cb(struct dpaa2_io_notification_ctx *nctx)
2836 fq = container_of(nctx, struct dpaa2_switch_fq, nctx);
2844 struct dpaa2_io_notification_ctx *nctx;
2848 nctx = ðsw->fq[i].nctx;
2854 nctx->is_cdan = 0;
2855 nctx->id = ethsw->fq[i].fqid;
2856 nctx->desired_cpu = DPAA2_IO_ANY_CPU;
2857 nctx->cb = dpaa2_switch_fqdan_cb;
2858 err = dpaa2_io_service_register(NULL, nctx, ethsw->dev);
2867 queue_cfg.dest_cfg.dest_id = nctx->dpio_id;
2869 queue_cfg.user_ctx = nctx->qman64;
2882 dpaa2_io_service_deregister(NULL, nctx, ethsw->dev);
2885 dpaa2_io_service_deregister(NULL, ðsw->fq[j].nctx,
2896 dpaa2_io_service_deregister(NULL, ðsw->fq[i].nctx,