nctx 4626 drivers/crypto/caam/caamalg_qi2.c static void dpaa2_caam_fqdan_cb(struct dpaa2_io_notification_ctx *nctx) nctx 4630 drivers/crypto/caam/caamalg_qi2.c ppriv = container_of(nctx, struct dpaa2_caam_priv_per_cpu, nctx); nctx 4637 drivers/crypto/caam/caamalg_qi2.c struct dpaa2_io_notification_ctx *nctx; nctx 4644 drivers/crypto/caam/caamalg_qi2.c nctx = &ppriv->nctx; nctx 4645 drivers/crypto/caam/caamalg_qi2.c nctx->is_cdan = 0; nctx 4646 drivers/crypto/caam/caamalg_qi2.c nctx->id = ppriv->rsp_fqid; nctx 4647 drivers/crypto/caam/caamalg_qi2.c nctx->desired_cpu = cpu; nctx 4648 drivers/crypto/caam/caamalg_qi2.c nctx->cb = dpaa2_caam_fqdan_cb; nctx 4652 drivers/crypto/caam/caamalg_qi2.c err = dpaa2_io_service_register(ppriv->dpio, nctx, dev); nctx 4655 drivers/crypto/caam/caamalg_qi2.c nctx->cb = NULL; nctx 4683 drivers/crypto/caam/caamalg_qi2.c if (!ppriv->nctx.cb) nctx 4685 drivers/crypto/caam/caamalg_qi2.c dpaa2_io_service_deregister(ppriv->dpio, &ppriv->nctx, dev); nctx 4705 drivers/crypto/caam/caamalg_qi2.c dpaa2_io_service_deregister(ppriv->dpio, &ppriv->nctx, nctx 4730 drivers/crypto/caam/caamalg_qi2.c rx_queue_cfg.dest_cfg.dest_id = ppriv->nctx.dpio_id; nctx 4736 drivers/crypto/caam/caamalg_qi2.c rx_queue_cfg.user_ctx = ppriv->nctx.qman64; nctx 4872 drivers/crypto/caam/caamalg_qi2.c err = dpaa2_io_service_rearm(ppriv->dpio, &ppriv->nctx); nctx 89 drivers/crypto/caam/caamalg_qi2.h struct dpaa2_io_notification_ctx nctx; nctx 38 drivers/crypto/cavium/nitrox/nitrox_aead.c struct nitrox_crypto_ctx *nctx = crypto_aead_ctx(aead); nctx 49 drivers/crypto/cavium/nitrox/nitrox_aead.c fctx = nctx->u.fctx; nctx 64 drivers/crypto/cavium/nitrox/nitrox_aead.c struct nitrox_crypto_ctx *nctx = crypto_aead_ctx(aead); nctx 65 drivers/crypto/cavium/nitrox/nitrox_aead.c struct flexi_crypto_context *fctx = nctx->u.fctx; nctx 192 drivers/crypto/cavium/nitrox/nitrox_aead.c struct nitrox_crypto_ctx *nctx = crypto_aead_ctx(aead); nctx 195 drivers/crypto/cavium/nitrox/nitrox_aead.c struct flexi_crypto_context *fctx = nctx->u.fctx; nctx 207 drivers/crypto/cavium/nitrox/nitrox_aead.c rctx->ctx_handle = nctx->u.ctx_handle; nctx 216 drivers/crypto/cavium/nitrox/nitrox_aead.c return nitrox_process_se_request(nctx->ndev, creq, nitrox_aead_callback, nctx 223 drivers/crypto/cavium/nitrox/nitrox_aead.c struct nitrox_crypto_ctx *nctx = crypto_aead_ctx(aead); nctx 226 drivers/crypto/cavium/nitrox/nitrox_aead.c struct flexi_crypto_context *fctx = nctx->u.fctx; nctx 238 drivers/crypto/cavium/nitrox/nitrox_aead.c rctx->ctx_handle = nctx->u.ctx_handle; nctx 247 drivers/crypto/cavium/nitrox/nitrox_aead.c return nitrox_process_se_request(nctx->ndev, creq, nitrox_aead_callback, nctx 253 drivers/crypto/cavium/nitrox/nitrox_aead.c struct nitrox_crypto_ctx *nctx = crypto_aead_ctx(aead); nctx 257 drivers/crypto/cavium/nitrox/nitrox_aead.c nctx->ndev = nitrox_get_first_device(); nctx 258 drivers/crypto/cavium/nitrox/nitrox_aead.c if (!nctx->ndev) nctx 262 drivers/crypto/cavium/nitrox/nitrox_aead.c chdr = crypto_alloc_context(nctx->ndev); nctx 264 drivers/crypto/cavium/nitrox/nitrox_aead.c nitrox_put_device(nctx->ndev); nctx 267 drivers/crypto/cavium/nitrox/nitrox_aead.c nctx->chdr = chdr; nctx 268 drivers/crypto/cavium/nitrox/nitrox_aead.c nctx->u.ctx_handle = (uintptr_t)((u8 *)chdr->vaddr + nctx 270 drivers/crypto/cavium/nitrox/nitrox_aead.c nctx->u.fctx->flags.f = 0; nctx 278 drivers/crypto/cavium/nitrox/nitrox_aead.c struct nitrox_crypto_ctx *nctx = crypto_aead_ctx(aead); nctx 285 drivers/crypto/cavium/nitrox/nitrox_aead.c flags = &nctx->u.fctx->flags; nctx 313 drivers/crypto/cavium/nitrox/nitrox_aead.c struct nitrox_crypto_ctx *nctx = crypto_aead_ctx(aead); nctx 316 drivers/crypto/cavium/nitrox/nitrox_aead.c if (nctx->u.ctx_handle) { nctx 317 drivers/crypto/cavium/nitrox/nitrox_aead.c struct flexi_crypto_context *fctx = nctx->u.fctx; nctx 321 drivers/crypto/cavium/nitrox/nitrox_aead.c crypto_free_context((void *)nctx->chdr); nctx 323 drivers/crypto/cavium/nitrox/nitrox_aead.c nitrox_put_device(nctx->ndev); nctx 325 drivers/crypto/cavium/nitrox/nitrox_aead.c nctx->u.ctx_handle = 0; nctx 326 drivers/crypto/cavium/nitrox/nitrox_aead.c nctx->ndev = NULL; nctx 332 drivers/crypto/cavium/nitrox/nitrox_aead.c struct nitrox_crypto_ctx *nctx = crypto_aead_ctx(aead); nctx 333 drivers/crypto/cavium/nitrox/nitrox_aead.c struct flexi_crypto_context *fctx = nctx->u.fctx; nctx 413 drivers/crypto/cavium/nitrox/nitrox_aead.c struct nitrox_crypto_ctx *nctx = crypto_aead_ctx(aead); nctx 426 drivers/crypto/cavium/nitrox/nitrox_aead.c aead_rctx->ctx_handle = nctx->u.ctx_handle; nctx 438 drivers/crypto/cavium/nitrox/nitrox_aead.c return nitrox_process_se_request(nctx->ndev, creq, nctx 445 drivers/crypto/cavium/nitrox/nitrox_aead.c struct nitrox_crypto_ctx *nctx = crypto_aead_ctx(aead); nctx 459 drivers/crypto/cavium/nitrox/nitrox_aead.c aead_rctx->ctx_handle = nctx->u.ctx_handle; nctx 471 drivers/crypto/cavium/nitrox/nitrox_aead.c return nitrox_process_se_request(nctx->ndev, creq, nctx 52 drivers/crypto/cavium/nitrox/nitrox_skcipher.c struct nitrox_crypto_ctx *nctx = crypto_skcipher_ctx(tfm); nctx 56 drivers/crypto/cavium/nitrox/nitrox_skcipher.c nctx->ndev = nitrox_get_first_device(); nctx 57 drivers/crypto/cavium/nitrox/nitrox_skcipher.c if (!nctx->ndev) nctx 61 drivers/crypto/cavium/nitrox/nitrox_skcipher.c chdr = crypto_alloc_context(nctx->ndev); nctx 63 drivers/crypto/cavium/nitrox/nitrox_skcipher.c nitrox_put_device(nctx->ndev); nctx 66 drivers/crypto/cavium/nitrox/nitrox_skcipher.c nctx->chdr = chdr; nctx 67 drivers/crypto/cavium/nitrox/nitrox_skcipher.c nctx->u.ctx_handle = (uintptr_t)((u8 *)chdr->vaddr + nctx 76 drivers/crypto/cavium/nitrox/nitrox_skcipher.c struct nitrox_crypto_ctx *nctx = crypto_skcipher_ctx(tfm); nctx 79 drivers/crypto/cavium/nitrox/nitrox_skcipher.c if (nctx->u.ctx_handle) { nctx 80 drivers/crypto/cavium/nitrox/nitrox_skcipher.c struct flexi_crypto_context *fctx = nctx->u.fctx; nctx 84 drivers/crypto/cavium/nitrox/nitrox_skcipher.c crypto_free_context((void *)nctx->chdr); nctx 86 drivers/crypto/cavium/nitrox/nitrox_skcipher.c nitrox_put_device(nctx->ndev); nctx 88 drivers/crypto/cavium/nitrox/nitrox_skcipher.c nctx->u.ctx_handle = 0; nctx 89 drivers/crypto/cavium/nitrox/nitrox_skcipher.c nctx->ndev = NULL; nctx 97 drivers/crypto/cavium/nitrox/nitrox_skcipher.c struct nitrox_crypto_ctx *nctx = crypto_tfm_ctx(tfm); nctx 111 drivers/crypto/cavium/nitrox/nitrox_skcipher.c fctx = nctx->u.fctx; nctx 207 drivers/crypto/cavium/nitrox/nitrox_skcipher.c struct nitrox_crypto_ctx *nctx = crypto_skcipher_ctx(cipher); nctx 229 drivers/crypto/cavium/nitrox/nitrox_skcipher.c creq->ctx_handle = nctx->u.ctx_handle; nctx 243 drivers/crypto/cavium/nitrox/nitrox_skcipher.c return nitrox_process_se_request(nctx->ndev, creq, nctx 278 drivers/crypto/cavium/nitrox/nitrox_skcipher.c struct nitrox_crypto_ctx *nctx = crypto_tfm_ctx(tfm); nctx 294 drivers/crypto/cavium/nitrox/nitrox_skcipher.c fctx = nctx->u.fctx; nctx 305 drivers/crypto/cavium/nitrox/nitrox_skcipher.c struct nitrox_crypto_ctx *nctx = crypto_tfm_ctx(tfm); nctx 312 drivers/crypto/cavium/nitrox/nitrox_skcipher.c fctx = nctx->u.fctx; nctx 30 drivers/gpu/drm/i915/gem/selftests/i915_gem_context.c const unsigned int nctx = 1024; nctx 57 drivers/gpu/drm/i915/gem/selftests/i915_gem_context.c ctx = kcalloc(nctx, sizeof(*ctx), GFP_KERNEL); nctx 63 drivers/gpu/drm/i915/gem/selftests/i915_gem_context.c for (n = 0; n < nctx; n++) { nctx 77 drivers/gpu/drm/i915/gem/selftests/i915_gem_context.c for (n = 0; n < nctx; n++) { nctx 86 drivers/gpu/drm/i915/gem/selftests/i915_gem_context.c pr_err("Failed to populated %d contexts\n", nctx); nctx 95 drivers/gpu/drm/i915/gem/selftests/i915_gem_context.c nctx, engine->name, ktime_to_ns(times[1] - times[0])); nctx 106 drivers/gpu/drm/i915/gem/selftests/i915_gem_context.c rq = igt_request_alloc(ctx[n % nctx], engine); nctx 1674 drivers/gpu/drm/i915/gt/selftest_lrc.c unsigned int nctx, nctx 1687 drivers/gpu/drm/i915/gt/selftest_lrc.c GEM_BUG_ON(!nctx || nctx > ARRAY_SIZE(ctx)); nctx 1689 drivers/gpu/drm/i915/gt/selftest_lrc.c for (n = 0; n < nctx; n++) { nctx 1693 drivers/gpu/drm/i915/gt/selftest_lrc.c nctx = n; nctx 1702 drivers/gpu/drm/i915/gt/selftest_lrc.c nctx = n; nctx 1710 drivers/gpu/drm/i915/gt/selftest_lrc.c nctx = n; nctx 1723 drivers/gpu/drm/i915/gt/selftest_lrc.c for (nc = 0; nc < nctx; nc++) { nctx 1737 drivers/gpu/drm/i915/gt/selftest_lrc.c for (nc = 0; nc < nctx; nc++) { nctx 1750 drivers/gpu/drm/i915/gt/selftest_lrc.c for (nc = 0; nc < nctx; nc++) { nctx 1780 drivers/gpu/drm/i915/gt/selftest_lrc.c nctx, ve[0]->engine->name, ktime_to_ns(times[0]), nctx 1787 drivers/gpu/drm/i915/gt/selftest_lrc.c for (nc = 0; nc < nctx; nc++) { nctx 137 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-debugfs.c ch->nctx.desired_cpu, nctx 1164 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c err = dpaa2_io_service_rearm(ch->dpio, &ch->nctx); nctx 1168 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c ch->nctx.desired_cpu); nctx 2036 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c ch = container_of(ctx, struct dpaa2_eth_channel, nctx); nctx 2154 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c struct dpaa2_io_notification_ctx *nctx; nctx 2183 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c nctx = &channel->nctx; nctx 2184 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c nctx->is_cdan = 1; nctx 2185 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c nctx->cb = cdan_cb; nctx 2186 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c nctx->id = channel->ch_id; nctx 2187 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c nctx->desired_cpu = i; nctx 2191 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c err = dpaa2_io_service_register(channel->dpio, nctx, dev); nctx 2204 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c dpcon_notif_cfg.dpio_id = nctx->dpio_id; nctx 2206 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c dpcon_notif_cfg.user_ctx = nctx->qman64; nctx 2231 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c dpaa2_io_service_deregister(channel->dpio, nctx, dev); nctx 2238 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c nctx = &channel->nctx; nctx 2239 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c dpaa2_io_service_deregister(channel->dpio, nctx, dev); nctx 2266 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c dpaa2_io_service_deregister(ch->dpio, &ch->nctx, dev); nctx 2278 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c if (priv->channel[i]->nctx.desired_cpu == cpu) nctx 329 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h struct dpaa2_io_notification_ctx nctx;