Home
last modified time | relevance | path

Searched refs:nctx (Results 1 - 25 of 32) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/crypto/cavium/nitrox/
H A Dnitrox_aead.c38 struct nitrox_crypto_ctx *nctx = crypto_aead_ctx(aead); in nitrox_aes_gcm_setkey() local
47 fctx = nctx->u.fctx; in nitrox_aes_gcm_setkey()
62 struct nitrox_crypto_ctx *nctx = crypto_aead_ctx(aead); in nitrox_aead_setauthsize() local
63 struct flexi_crypto_context *fctx = nctx->u.fctx; in nitrox_aead_setauthsize()
217 struct nitrox_crypto_ctx *nctx = crypto_aead_ctx(aead); in nitrox_aes_gcm_enc() local
220 struct flexi_crypto_context *fctx = nctx->u.fctx; in nitrox_aes_gcm_enc()
235 rctx->ctx_handle = nctx->u.ctx_handle; in nitrox_aes_gcm_enc()
244 return nitrox_process_se_request(nctx->ndev, creq, nitrox_aead_callback, in nitrox_aes_gcm_enc()
251 struct nitrox_crypto_ctx *nctx = crypto_aead_ctx(aead); in nitrox_aes_gcm_dec() local
254 struct flexi_crypto_context *fctx = nctx in nitrox_aes_gcm_dec()
284 struct nitrox_crypto_ctx *nctx = crypto_aead_ctx(aead); nitrox_aead_init() local
309 struct nitrox_crypto_ctx *nctx = crypto_aead_ctx(aead); nitrox_gcm_common_init() local
344 struct nitrox_crypto_ctx *nctx = crypto_aead_ctx(aead); nitrox_aead_exit() local
363 struct nitrox_crypto_ctx *nctx = crypto_aead_ctx(aead); nitrox_rfc4106_setkey() local
444 struct nitrox_crypto_ctx *nctx = crypto_aead_ctx(aead); nitrox_rfc4106_enc() local
476 struct nitrox_crypto_ctx *nctx = crypto_aead_ctx(aead); nitrox_rfc4106_dec() local
[all...]
H A 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 in nitrox_cbc_init()
149 struct nitrox_crypto_ctx *nctx = crypto_skcipher_ctx(tfm); nitrox_skcipher_exit() local
170 struct nitrox_crypto_ctx *nctx = crypto_tfm_ctx(tfm); nitrox_skcipher_setkey() local
250 struct nitrox_crypto_ctx *nctx = crypto_skcipher_ctx(cipher); nitrox_skcipher_crypt() local
341 struct nitrox_crypto_ctx *nctx = crypto_tfm_ctx(tfm); nitrox_aes_xts_setkey() local
366 struct nitrox_crypto_ctx *nctx = crypto_tfm_ctx(tfm); nitrox_aes_ctr_rfc3686_setkey() local
[all...]
/kernel/linux/linux-6.6/drivers/crypto/cavium/nitrox/
H A 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 in nitrox_aes_gcm_dec()
283 struct nitrox_crypto_ctx *nctx = crypto_aead_ctx(aead); nitrox_aead_init() local
308 struct nitrox_crypto_ctx *nctx = crypto_aead_ctx(aead); nitrox_gcm_common_init() local
343 struct nitrox_crypto_ctx *nctx = crypto_aead_ctx(aead); nitrox_aead_exit() local
362 struct nitrox_crypto_ctx *nctx = crypto_aead_ctx(aead); nitrox_rfc4106_setkey() local
443 struct nitrox_crypto_ctx *nctx = crypto_aead_ctx(aead); nitrox_rfc4106_enc() local
475 struct nitrox_crypto_ctx *nctx = crypto_aead_ctx_dma(aead); nitrox_rfc4106_dec() local
[all...]
H A 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 in nitrox_cbc_init()
149 struct nitrox_crypto_ctx *nctx = crypto_skcipher_ctx(tfm); nitrox_skcipher_exit() local
170 struct nitrox_crypto_ctx *nctx = crypto_tfm_ctx(tfm); nitrox_skcipher_setkey() local
250 struct nitrox_crypto_ctx *nctx = crypto_skcipher_ctx(cipher); nitrox_skcipher_crypt() local
340 struct nitrox_crypto_ctx *nctx = crypto_skcipher_ctx(cipher); nitrox_aes_xts_setkey() local
364 struct nitrox_crypto_ctx *nctx = crypto_skcipher_ctx(cipher); nitrox_aes_ctr_rfc3686_setkey() local
[all...]
/kernel/linux/linux-5.10/drivers/dma/fsl-dpaa2-qdma/
H A Ddpaa2-qdma.c394 struct dpaa2_qdma_priv_per_prio, nctx); in dpaa2_qdma_fqdan_cb()
469 ppriv->nctx.is_cdan = 0; in dpaa2_qdma_dpio_setup()
470 ppriv->nctx.desired_cpu = DPAA2_IO_ANY_CPU; in dpaa2_qdma_dpio_setup()
471 ppriv->nctx.id = ppriv->rsp_fqid; in dpaa2_qdma_dpio_setup()
472 ppriv->nctx.cb = dpaa2_qdma_fqdan_cb; in dpaa2_qdma_dpio_setup()
473 err = dpaa2_io_service_register(NULL, &ppriv->nctx, dev); in dpaa2_qdma_dpio_setup()
492 dpaa2_io_service_deregister(NULL, &ppriv->nctx, dev); in dpaa2_qdma_dpio_setup()
496 dpaa2_io_service_deregister(NULL, &ppriv->nctx, dev); in dpaa2_qdma_dpio_setup()
521 dpaa2_io_service_deregister(NULL, &ppriv->nctx, dev); in dpaa2_dpdmai_dpio_free()
541 rx_queue_cfg.user_ctx = ppriv->nctx in dpaa2_dpdmai_bind()
[all...]
H A Ddpaa2-qdma.h135 struct dpaa2_io_notification_ctx nctx; member
/kernel/linux/linux-6.6/drivers/dma/fsl-dpaa2-qdma/
H A Ddpaa2-qdma.c393 struct dpaa2_qdma_priv_per_prio, nctx); in dpaa2_qdma_fqdan_cb()
468 ppriv->nctx.is_cdan = 0; in dpaa2_qdma_dpio_setup()
469 ppriv->nctx.desired_cpu = DPAA2_IO_ANY_CPU; in dpaa2_qdma_dpio_setup()
470 ppriv->nctx.id = ppriv->rsp_fqid; in dpaa2_qdma_dpio_setup()
471 ppriv->nctx.cb = dpaa2_qdma_fqdan_cb; in dpaa2_qdma_dpio_setup()
472 err = dpaa2_io_service_register(NULL, &ppriv->nctx, dev); in dpaa2_qdma_dpio_setup()
491 dpaa2_io_service_deregister(NULL, &ppriv->nctx, dev); in dpaa2_qdma_dpio_setup()
495 dpaa2_io_service_deregister(NULL, &ppriv->nctx, dev); in dpaa2_qdma_dpio_setup()
520 dpaa2_io_service_deregister(NULL, &ppriv->nctx, dev); in dpaa2_dpdmai_dpio_free()
540 rx_queue_cfg.user_ctx = ppriv->nctx in dpaa2_dpdmai_bind()
[all...]
H A Ddpaa2-qdma.h135 struct dpaa2_io_notification_ctx nctx; member
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/dpaa2/
H A Ddpaa2-eth.c1567 err = dpaa2_io_service_rearm(ch->dpio, &ch->nctx); in dpaa2_eth_poll()
1571 ch->nctx.desired_cpu); in dpaa2_eth_poll()
2524 ch = container_of(ctx, struct dpaa2_eth_channel, nctx); in dpaa2_eth_cdan_cb()
2634 struct dpaa2_io_notification_ctx *nctx; in dpaa2_eth_setup_dpio() local
2663 nctx = &channel->nctx; in dpaa2_eth_setup_dpio()
2664 nctx->is_cdan = 1; in dpaa2_eth_setup_dpio()
2665 nctx->cb = dpaa2_eth_cdan_cb; in dpaa2_eth_setup_dpio()
2666 nctx->id = channel->ch_id; in dpaa2_eth_setup_dpio()
2667 nctx in dpaa2_eth_setup_dpio()
[all...]
H A Ddpaa2-eth-debugfs.c109 ch->nctx.desired_cpu, in dpaa2_dbg_ch_show()
H A Ddpaa2-eth.h447 struct dpaa2_io_notification_ctx nctx; member
/kernel/linux/linux-5.10/drivers/crypto/caam/
H A Dcaamalg_qi2.h79 * @nctx: notification context of response FQ
90 struct dpaa2_io_notification_ctx nctx; member
H A Dcaamalg_qi2.c4659 static void dpaa2_caam_fqdan_cb(struct dpaa2_io_notification_ctx *nctx) in dpaa2_caam_fqdan_cb() argument
4663 ppriv = container_of(nctx, struct dpaa2_caam_priv_per_cpu, nctx); in dpaa2_caam_fqdan_cb()
4670 struct dpaa2_io_notification_ctx *nctx; in dpaa2_dpseci_dpio_setup() local
4677 nctx = &ppriv->nctx; in dpaa2_dpseci_dpio_setup()
4678 nctx->is_cdan = 0; in dpaa2_dpseci_dpio_setup()
4679 nctx->id = ppriv->rsp_fqid; in dpaa2_dpseci_dpio_setup()
4680 nctx->desired_cpu = cpu; in dpaa2_dpseci_dpio_setup()
4681 nctx in dpaa2_dpseci_dpio_setup()
[all...]
/kernel/linux/linux-6.6/drivers/crypto/caam/
H A Dcaamalg_qi2.h77 * @nctx: notification context of response FQ
88 struct dpaa2_io_notification_ctx nctx; member
H A Dcaamalg_qi2.c4671 static void dpaa2_caam_fqdan_cb(struct dpaa2_io_notification_ctx *nctx) in dpaa2_caam_fqdan_cb() argument
4675 ppriv = container_of(nctx, struct dpaa2_caam_priv_per_cpu, nctx); in dpaa2_caam_fqdan_cb()
4682 struct dpaa2_io_notification_ctx *nctx; in dpaa2_dpseci_dpio_setup() local
4689 nctx = &ppriv->nctx; in dpaa2_dpseci_dpio_setup()
4690 nctx->is_cdan = 0; in dpaa2_dpseci_dpio_setup()
4691 nctx->id = ppriv->rsp_fqid; in dpaa2_dpseci_dpio_setup()
4692 nctx->desired_cpu = cpu; in dpaa2_dpseci_dpio_setup()
4693 nctx in dpaa2_dpseci_dpio_setup()
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/freescale/dpaa2/
H A Ddpaa2-switch.c2822 err = dpaa2_io_service_rearm(NULL, &fq->nctx); in dpaa2_switch_poll()
2832 static void dpaa2_switch_fqdan_cb(struct dpaa2_io_notification_ctx *nctx) in dpaa2_switch_fqdan_cb() argument
2836 fq = container_of(nctx, struct dpaa2_switch_fq, nctx); in dpaa2_switch_fqdan_cb()
2844 struct dpaa2_io_notification_ctx *nctx; in dpaa2_switch_setup_dpio() local
2848 nctx = &ethsw->fq[i].nctx; in dpaa2_switch_setup_dpio()
2854 nctx->is_cdan = 0; in dpaa2_switch_setup_dpio()
2855 nctx->id = ethsw->fq[i].fqid; in dpaa2_switch_setup_dpio()
2856 nctx in dpaa2_switch_setup_dpio()
[all...]
H A Ddpaa2-eth.c2018 err = dpaa2_io_service_rearm(ch->dpio, &ch->nctx); in dpaa2_eth_poll()
2022 ch->nctx.desired_cpu); in dpaa2_eth_poll()
3040 ch = container_of(ctx, struct dpaa2_eth_channel, nctx); in dpaa2_eth_cdan_cb()
3156 struct dpaa2_io_notification_ctx *nctx; in dpaa2_eth_setup_dpio() local
3187 nctx = &channel->nctx; in dpaa2_eth_setup_dpio()
3188 nctx->is_cdan = 1; in dpaa2_eth_setup_dpio()
3189 nctx->cb = dpaa2_eth_cdan_cb; in dpaa2_eth_setup_dpio()
3190 nctx->id = channel->ch_id; in dpaa2_eth_setup_dpio()
3191 nctx in dpaa2_eth_setup_dpio()
[all...]
H A Ddpaa2-switch.h97 struct dpaa2_io_notification_ctx nctx; member
H A Ddpaa2-eth-debugfs.c109 ch->nctx.desired_cpu, in dpaa2_dbg_ch_show()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gem/selftests/
H A Di915_gem_context.c38 const unsigned int nctx = 1024; in live_nop_switch() local
62 ctx = kcalloc(nctx, sizeof(*ctx), GFP_KERNEL); in live_nop_switch()
68 for (n = 0; n < nctx; n++) { in live_nop_switch()
82 for (n = 0; n < nctx; n++) { in live_nop_switch()
98 pr_err("Failed to populated %d contexts\n", nctx); in live_nop_switch()
109 nctx, engine->name, ktime_to_ns(times[1] - times[0])); in live_nop_switch()
123 this = igt_request_alloc(ctx[n % nctx], engine); in live_nop_switch()
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/gem/selftests/
H A 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()
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/gt/
H A Dselftest_execlists.c3714 unsigned int nctx, in nop_virtual_engine()
3726 GEM_BUG_ON(!nctx || nctx > ARRAY_SIZE(ve)); in nop_virtual_engine()
3728 for (n = 0; n < nctx; n++) { in nop_virtual_engine()
3732 nctx = n; in nop_virtual_engine()
3739 nctx = n; in nop_virtual_engine()
3752 for (nc = 0; nc < nctx; nc++) { in nop_virtual_engine()
3770 for (nc = 0; nc < nctx; nc++) { in nop_virtual_engine()
3787 for (nc = 0; nc < nctx; nc++) { in nop_virtual_engine()
3808 for (nc = 0; nc < nctx; n in nop_virtual_engine()
3711 nop_virtual_engine(struct intel_gt *gt, struct intel_engine_cs **siblings, unsigned int nsibling, unsigned int nctx, unsigned int flags) nop_virtual_engine() argument
[all...]
/kernel/linux/linux-6.6/drivers/gpio/
H A Dgpio-tangier.c432 size_t nctx = DIV_ROUND_UP(info->ngpio, 32); in devm_tng_gpio_probe() local
436 gpio->ctx = devm_kcalloc(dev, nctx, sizeof(*gpio->ctx), GFP_KERNEL); in devm_tng_gpio_probe()
/kernel/linux/linux-6.6/crypto/
H A Dshash.c451 struct crypto_shash **nctx = crypto_ahash_ctx(nhash); in crypto_clone_shash_ops_async() local
461 *nctx = shash; in crypto_clone_shash_ops_async()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gt/
H A Dselftest_lrc.c3684 unsigned int nctx, in nop_virtual_engine()
3696 GEM_BUG_ON(!nctx || nctx > ARRAY_SIZE(ve)); in nop_virtual_engine()
3698 for (n = 0; n < nctx; n++) { in nop_virtual_engine()
3702 nctx = n; in nop_virtual_engine()
3709 nctx = n; in nop_virtual_engine()
3722 for (nc = 0; nc < nctx; nc++) { in nop_virtual_engine()
3740 for (nc = 0; nc < nctx; nc++) { in nop_virtual_engine()
3757 for (nc = 0; nc < nctx; nc++) { in nop_virtual_engine()
3778 for (nc = 0; nc < nctx; n in nop_virtual_engine()
3681 nop_virtual_engine(struct intel_gt *gt, struct intel_engine_cs **siblings, unsigned int nsibling, unsigned int nctx, unsigned int flags) nop_virtual_engine() argument
[all...]

Completed in 51 milliseconds

12