Home
last modified time | relevance | path

Searched refs:nctx (Results 1 – 15 of 15) sorted by relevance

/linux-6.1.9/drivers/crypto/cavium/nitrox/
Dnitrox_aead.c37 struct nitrox_crypto_ctx *nctx = crypto_aead_ctx(aead); in nitrox_aes_gcm_setkey() local
46 fctx = nctx->u.fctx; in nitrox_aes_gcm_setkey()
61 struct nitrox_crypto_ctx *nctx = crypto_aead_ctx(aead); in nitrox_aead_setauthsize() local
62 struct flexi_crypto_context *fctx = nctx->u.fctx; in nitrox_aead_setauthsize()
216 struct nitrox_crypto_ctx *nctx = crypto_aead_ctx(aead); in nitrox_aes_gcm_enc() local
219 struct flexi_crypto_context *fctx = nctx->u.fctx; in nitrox_aes_gcm_enc()
234 rctx->ctx_handle = nctx->u.ctx_handle; in nitrox_aes_gcm_enc()
243 return nitrox_process_se_request(nctx->ndev, creq, nitrox_aead_callback, in nitrox_aes_gcm_enc()
250 struct nitrox_crypto_ctx *nctx = crypto_aead_ctx(aead); in nitrox_aes_gcm_dec() local
253 struct flexi_crypto_context *fctx = nctx->u.fctx; in nitrox_aes_gcm_dec()
[all …]
Dnitrox_skcipher.c110 struct nitrox_crypto_ctx *nctx = crypto_skcipher_ctx(tfm); in nitrox_skcipher_init() local
114 nctx->ndev = nitrox_get_first_device(); in nitrox_skcipher_init()
115 if (!nctx->ndev) in nitrox_skcipher_init()
119 chdr = crypto_alloc_context(nctx->ndev); in nitrox_skcipher_init()
121 nitrox_put_device(nctx->ndev); in nitrox_skcipher_init()
125 nctx->callback = nitrox_skcipher_callback; in nitrox_skcipher_init()
126 nctx->chdr = chdr; in nitrox_skcipher_init()
127 nctx->u.ctx_handle = (uintptr_t)((u8 *)chdr->vaddr + in nitrox_skcipher_init()
137 struct nitrox_crypto_ctx *nctx = crypto_skcipher_ctx(tfm); in nitrox_cbc_init() local
143 nctx->callback = nitrox_cbc_cipher_callback; in nitrox_cbc_init()
[all …]
/linux-6.1.9/drivers/dma/fsl-dpaa2-qdma/
Ddpaa2-qdma.c391 struct dpaa2_qdma_priv_per_prio, nctx); in dpaa2_qdma_fqdan_cb()
466 ppriv->nctx.is_cdan = 0; in dpaa2_qdma_dpio_setup()
467 ppriv->nctx.desired_cpu = DPAA2_IO_ANY_CPU; in dpaa2_qdma_dpio_setup()
468 ppriv->nctx.id = ppriv->rsp_fqid; in dpaa2_qdma_dpio_setup()
469 ppriv->nctx.cb = dpaa2_qdma_fqdan_cb; in dpaa2_qdma_dpio_setup()
470 err = dpaa2_io_service_register(NULL, &ppriv->nctx, dev); in dpaa2_qdma_dpio_setup()
489 dpaa2_io_service_deregister(NULL, &ppriv->nctx, dev); in dpaa2_qdma_dpio_setup()
493 dpaa2_io_service_deregister(NULL, &ppriv->nctx, dev); in dpaa2_qdma_dpio_setup()
518 dpaa2_io_service_deregister(NULL, &ppriv->nctx, dev); in dpaa2_dpdmai_dpio_free()
538 rx_queue_cfg.user_ctx = ppriv->nctx.qman64; in dpaa2_dpdmai_bind()
[all …]
Ddpaa2-qdma.h135 struct dpaa2_io_notification_ctx nctx; member
/linux-6.1.9/drivers/net/ethernet/freescale/dpaa2/
Ddpaa2-switch.c2809 err = dpaa2_io_service_rearm(NULL, &fq->nctx); in dpaa2_switch_poll()
2819 static void dpaa2_switch_fqdan_cb(struct dpaa2_io_notification_ctx *nctx) in dpaa2_switch_fqdan_cb() argument
2823 fq = container_of(nctx, struct dpaa2_switch_fq, nctx); in dpaa2_switch_fqdan_cb()
2831 struct dpaa2_io_notification_ctx *nctx; in dpaa2_switch_setup_dpio() local
2835 nctx = &ethsw->fq[i].nctx; in dpaa2_switch_setup_dpio()
2841 nctx->is_cdan = 0; in dpaa2_switch_setup_dpio()
2842 nctx->id = ethsw->fq[i].fqid; in dpaa2_switch_setup_dpio()
2843 nctx->desired_cpu = DPAA2_IO_ANY_CPU; in dpaa2_switch_setup_dpio()
2844 nctx->cb = dpaa2_switch_fqdan_cb; in dpaa2_switch_setup_dpio()
2845 err = dpaa2_io_service_register(NULL, nctx, ethsw->dev); in dpaa2_switch_setup_dpio()
[all …]
Ddpaa2-eth.c1886 err = dpaa2_io_service_rearm(ch->dpio, &ch->nctx); in dpaa2_eth_poll()
1890 ch->nctx.desired_cpu); in dpaa2_eth_poll()
2893 ch = container_of(ctx, struct dpaa2_eth_channel, nctx); in dpaa2_eth_cdan_cb()
3003 struct dpaa2_io_notification_ctx *nctx; in dpaa2_eth_setup_dpio() local
3032 nctx = &channel->nctx; in dpaa2_eth_setup_dpio()
3033 nctx->is_cdan = 1; in dpaa2_eth_setup_dpio()
3034 nctx->cb = dpaa2_eth_cdan_cb; in dpaa2_eth_setup_dpio()
3035 nctx->id = channel->ch_id; in dpaa2_eth_setup_dpio()
3036 nctx->desired_cpu = i; in dpaa2_eth_setup_dpio()
3040 err = dpaa2_io_service_register(channel->dpio, nctx, dev); in dpaa2_eth_setup_dpio()
[all …]
Ddpaa2-eth-debugfs.c109 ch->nctx.desired_cpu, in dpaa2_dbg_ch_show()
Ddpaa2-switch.h97 struct dpaa2_io_notification_ctx nctx; member
Ddpaa2-eth.h458 struct dpaa2_io_notification_ctx nctx; member
/linux-6.1.9/drivers/crypto/caam/
Dcaamalg_qi2.h90 struct dpaa2_io_notification_ctx nctx; member
Dcaamalg_qi2.c4661 static void dpaa2_caam_fqdan_cb(struct dpaa2_io_notification_ctx *nctx) in dpaa2_caam_fqdan_cb() argument
4665 ppriv = container_of(nctx, struct dpaa2_caam_priv_per_cpu, nctx); in dpaa2_caam_fqdan_cb()
4672 struct dpaa2_io_notification_ctx *nctx; in dpaa2_dpseci_dpio_setup() local
4679 nctx = &ppriv->nctx; in dpaa2_dpseci_dpio_setup()
4680 nctx->is_cdan = 0; in dpaa2_dpseci_dpio_setup()
4681 nctx->id = ppriv->rsp_fqid; in dpaa2_dpseci_dpio_setup()
4682 nctx->desired_cpu = cpu; in dpaa2_dpseci_dpio_setup()
4683 nctx->cb = dpaa2_caam_fqdan_cb; in dpaa2_dpseci_dpio_setup()
4687 err = dpaa2_io_service_register(ppriv->dpio, nctx, dev); in dpaa2_dpseci_dpio_setup()
4690 nctx->cb = NULL; in dpaa2_dpseci_dpio_setup()
[all …]
/linux-6.1.9/drivers/gpu/drm/i915/gem/selftests/
Di915_gem_context.c35 const unsigned int nctx = 1024; in live_nop_switch() local
59 ctx = kcalloc(nctx, sizeof(*ctx), GFP_KERNEL); in live_nop_switch()
65 for (n = 0; n < nctx; n++) { in live_nop_switch()
79 for (n = 0; n < nctx; n++) { in live_nop_switch()
95 pr_err("Failed to populated %d contexts\n", nctx); in live_nop_switch()
106 nctx, engine->name, ktime_to_ns(times[1] - times[0])); in live_nop_switch()
120 this = igt_request_alloc(ctx[n % nctx], engine); in live_nop_switch()
/linux-6.1.9/drivers/gpu/drm/i915/gt/
Dselftest_execlists.c3728 unsigned int nctx, in nop_virtual_engine() argument
3740 GEM_BUG_ON(!nctx || nctx > ARRAY_SIZE(ve)); in nop_virtual_engine()
3742 for (n = 0; n < nctx; n++) { in nop_virtual_engine()
3746 nctx = n; in nop_virtual_engine()
3753 nctx = n; in nop_virtual_engine()
3766 for (nc = 0; nc < nctx; nc++) { in nop_virtual_engine()
3784 for (nc = 0; nc < nctx; nc++) { in nop_virtual_engine()
3801 for (nc = 0; nc < nctx; nc++) { in nop_virtual_engine()
3822 for (nc = 0; nc < nctx; nc++) { in nop_virtual_engine()
3836 nctx, ve[0]->engine->name, ktime_to_ns(times[0]), in nop_virtual_engine()
[all …]
/linux-6.1.9/drivers/staging/media/atomisp/i2c/
Datomisp-mt9m114.c800 dev->nctx = 0x00; /* Set for context A */ in mt9m114_set_fmt()
806 dev->nctx = 0x01; /* set for context B */ in mt9m114_set_fmt()
Dmt9m114.h258 int nctx; member