/linux-6.3-rc2/drivers/crypto/cavium/nitrox/ |
A D | nitrox_aead.c | 46 fctx = nctx->u.fctx; in nitrox_aes_gcm_setkey() 234 rctx->ctx_handle = nctx->u.ctx_handle; in nitrox_aes_gcm_enc() 288 if (!nctx->ndev) in nitrox_aead_init() 294 nitrox_put_device(nctx->ndev); in nitrox_aead_init() 297 nctx->chdr = chdr; in nitrox_aead_init() 300 nctx->u.fctx->flags.f = 0; in nitrox_aead_init() 315 flags = &nctx->u.fctx->flags; in nitrox_gcm_common_init() 346 if (nctx->u.ctx_handle) { in nitrox_aead_exit() 353 nitrox_put_device(nctx->ndev); in nitrox_aead_exit() 355 nctx->u.ctx_handle = 0; in nitrox_aead_exit() [all …]
|
A D | nitrox_skcipher.c | 115 if (!nctx->ndev) in nitrox_skcipher_init() 121 nitrox_put_device(nctx->ndev); in nitrox_skcipher_init() 126 nctx->chdr = chdr; in nitrox_skcipher_init() 152 if (nctx->u.ctx_handle) { in nitrox_skcipher_exit() 159 nitrox_put_device(nctx->ndev); in nitrox_skcipher_exit() 161 nctx->u.ctx_handle = 0; in nitrox_skcipher_exit() 162 nctx->ndev = NULL; in nitrox_skcipher_exit() 184 fctx = nctx->u.fctx; in nitrox_skcipher_setkey() 286 return nitrox_process_se_request(nctx->ndev, creq, nctx->callback, in nitrox_skcipher_crypt() 354 fctx = nctx->u.fctx; in nitrox_aes_xts_setkey() [all …]
|
/linux-6.3-rc2/drivers/dma/fsl-dpaa2-qdma/ |
A D | dpaa2-qdma.c | 391 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() 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() 538 rx_queue_cfg.user_ctx = ppriv->nctx.qman64; in dpaa2_dpdmai_bind() 540 rx_queue_cfg.dest_cfg.dest_id = ppriv->nctx.dpio_id; in dpaa2_dpdmai_bind() 567 ppriv->nctx.qman64 = 0; in dpaa2_dpdmai_dpio_unbind() [all …]
|
A D | dpaa2-qdma.h | 135 struct dpaa2_io_notification_ctx nctx; member
|
/linux-6.3-rc2/drivers/net/ethernet/freescale/dpaa2/ |
A D | dpaa2-switch.c | 2829 err = dpaa2_io_service_rearm(NULL, &fq->nctx); in dpaa2_switch_poll() 2843 fq = container_of(nctx, struct dpaa2_switch_fq, nctx); in dpaa2_switch_fqdan_cb() 2851 struct dpaa2_io_notification_ctx *nctx; in dpaa2_switch_setup_dpio() local 2855 nctx = ðsw->fq[i].nctx; in dpaa2_switch_setup_dpio() 2861 nctx->is_cdan = 0; in dpaa2_switch_setup_dpio() 2862 nctx->id = ethsw->fq[i].fqid; in dpaa2_switch_setup_dpio() 2863 nctx->desired_cpu = DPAA2_IO_ANY_CPU; in dpaa2_switch_setup_dpio() 2864 nctx->cb = dpaa2_switch_fqdan_cb; in dpaa2_switch_setup_dpio() 2874 queue_cfg.dest_cfg.dest_id = nctx->dpio_id; in dpaa2_switch_setup_dpio() 2876 queue_cfg.user_ctx = nctx->qman64; in dpaa2_switch_setup_dpio() [all …]
|
A D | dpaa2-eth.c | 2020 ch->nctx.desired_cpu); in dpaa2_eth_poll() 3154 struct dpaa2_io_notification_ctx *nctx; in dpaa2_eth_setup_dpio() local 3185 nctx = &channel->nctx; in dpaa2_eth_setup_dpio() 3186 nctx->is_cdan = 1; in dpaa2_eth_setup_dpio() 3187 nctx->cb = dpaa2_eth_cdan_cb; in dpaa2_eth_setup_dpio() 3188 nctx->id = channel->ch_id; in dpaa2_eth_setup_dpio() 3189 nctx->desired_cpu = i; in dpaa2_eth_setup_dpio() 3206 dpcon_notif_cfg.dpio_id = nctx->dpio_id; in dpaa2_eth_setup_dpio() 3208 dpcon_notif_cfg.user_ctx = nctx->qman64; in dpaa2_eth_setup_dpio() 3240 nctx = &channel->nctx; in dpaa2_eth_setup_dpio() [all …]
|
A D | dpaa2-switch.h | 97 struct dpaa2_io_notification_ctx nctx; member
|
A D | dpaa2-eth-debugfs.c | 109 ch->nctx.desired_cpu, in dpaa2_dbg_ch_show()
|
A D | dpaa2-xsk.c | 408 fq = &priv->fq[ch->nctx.desired_cpu]; in dpaa2_xsk_tx()
|
A D | dpaa2-eth.h | 486 struct dpaa2_io_notification_ctx nctx; member
|
/linux-6.3-rc2/drivers/crypto/caam/ |
A D | caamalg_qi2.h | 88 struct dpaa2_io_notification_ctx nctx; member
|
A D | caamalg_qi2.c | 4674 ppriv = container_of(nctx, struct dpaa2_caam_priv_per_cpu, nctx); in dpaa2_caam_fqdan_cb() 4681 struct dpaa2_io_notification_ctx *nctx; in dpaa2_dpseci_dpio_setup() local 4688 nctx = &ppriv->nctx; in dpaa2_dpseci_dpio_setup() 4689 nctx->is_cdan = 0; in dpaa2_dpseci_dpio_setup() 4690 nctx->id = ppriv->rsp_fqid; in dpaa2_dpseci_dpio_setup() 4691 nctx->desired_cpu = cpu; in dpaa2_dpseci_dpio_setup() 4692 nctx->cb = dpaa2_caam_fqdan_cb; in dpaa2_dpseci_dpio_setup() 4699 nctx->cb = NULL; in dpaa2_dpseci_dpio_setup() 4727 if (!ppriv->nctx.cb) in dpaa2_dpseci_dpio_setup() 4774 rx_queue_cfg.dest_cfg.dest_id = ppriv->nctx.dpio_id; in dpaa2_dpseci_bind() [all …]
|
/linux-6.3-rc2/drivers/gpu/drm/i915/gem/selftests/ |
A D | i915_gem_context.c | 35 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.3-rc2/drivers/gpu/drm/i915/gt/ |
A D | selftest_execlists.c | 3710 unsigned int nctx, in nop_virtual_engine() argument 3722 GEM_BUG_ON(!nctx || nctx > ARRAY_SIZE(ve)); in nop_virtual_engine() 3724 for (n = 0; n < nctx; n++) { in nop_virtual_engine() 3728 nctx = n; in nop_virtual_engine() 3735 nctx = n; in nop_virtual_engine() 3748 for (nc = 0; nc < nctx; nc++) { in nop_virtual_engine() 3766 for (nc = 0; nc < nctx; nc++) { in nop_virtual_engine() 3783 for (nc = 0; nc < nctx; nc++) { in nop_virtual_engine() 3804 for (nc = 0; nc < nctx; nc++) { in nop_virtual_engine() 3818 nctx, ve[0]->engine->name, ktime_to_ns(times[0]), in nop_virtual_engine() [all …]
|
/linux-6.3-rc2/drivers/staging/media/atomisp/i2c/ |
A D | atomisp-mt9m114.c | 710 dev->nctx = 0x00; /* Set for context A */ in mt9m114_set_fmt() 716 dev->nctx = 0x01; /* set for context B */ in mt9m114_set_fmt()
|
A D | mt9m114.h | 255 int nctx; member
|