| /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 …]
|
| /drivers/dma/fsl-dpaa2-qdma/ |
| A D | dpaa2-qdma.c | 393 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() 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() 540 rx_queue_cfg.user_ctx = ppriv->nctx.qman64; in dpaa2_dpdmai_bind() 542 rx_queue_cfg.dest_cfg.dest_id = ppriv->nctx.dpio_id; in dpaa2_dpdmai_bind() 569 ppriv->nctx.qman64 = 0; in dpaa2_dpdmai_dpio_unbind() [all …]
|
| A D | dpaa2-qdma.h | 136 struct dpaa2_io_notification_ctx nctx; member
|
| /drivers/irqchip/ |
| A D | irq-riscv-intc.c | 280 unsigned int nctx = 0; in acpi_rintc_get_plic_nr_contexts() local 283 nctx++; in acpi_rintc_get_plic_nr_contexts() 285 return nctx; in acpi_rintc_get_plic_nr_contexts()
|
| /drivers/net/ethernet/freescale/dpaa2/ |
| A D | dpaa2-switch.c | 2868 err = dpaa2_io_service_rearm(NULL, &fq->nctx); in dpaa2_switch_poll() 2882 fq = container_of(nctx, struct dpaa2_switch_fq, nctx); in dpaa2_switch_fqdan_cb() 2890 struct dpaa2_io_notification_ctx *nctx; in dpaa2_switch_setup_dpio() local 2894 nctx = ðsw->fq[i].nctx; in dpaa2_switch_setup_dpio() 2900 nctx->is_cdan = 0; in dpaa2_switch_setup_dpio() 2901 nctx->id = ethsw->fq[i].fqid; in dpaa2_switch_setup_dpio() 2902 nctx->desired_cpu = DPAA2_IO_ANY_CPU; in dpaa2_switch_setup_dpio() 2903 nctx->cb = dpaa2_switch_fqdan_cb; in dpaa2_switch_setup_dpio() 2913 queue_cfg.dest_cfg.dest_id = nctx->dpio_id; in dpaa2_switch_setup_dpio() 2915 queue_cfg.user_ctx = nctx->qman64; in dpaa2_switch_setup_dpio() [all …]
|
| A D | dpaa2-eth.c | 2022 ch->nctx.desired_cpu); in dpaa2_eth_poll() 3171 struct dpaa2_io_notification_ctx *nctx; in dpaa2_eth_setup_dpio() local 3202 nctx = &channel->nctx; in dpaa2_eth_setup_dpio() 3203 nctx->is_cdan = 1; in dpaa2_eth_setup_dpio() 3204 nctx->cb = dpaa2_eth_cdan_cb; in dpaa2_eth_setup_dpio() 3205 nctx->id = channel->ch_id; in dpaa2_eth_setup_dpio() 3206 nctx->desired_cpu = i; in dpaa2_eth_setup_dpio() 3223 dpcon_notif_cfg.dpio_id = nctx->dpio_id; in dpaa2_eth_setup_dpio() 3225 dpcon_notif_cfg.user_ctx = nctx->qman64; in dpaa2_eth_setup_dpio() 3257 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 | 487 struct dpaa2_io_notification_ctx nctx; member
|
| /drivers/crypto/caam/ |
| A D | caamalg_qi2.h | 88 struct dpaa2_io_notification_ctx nctx; member
|
| A D | caamalg_qi2.c | 4679 ppriv = container_of(nctx, struct dpaa2_caam_priv_per_cpu, nctx); in dpaa2_caam_fqdan_cb() 4686 struct dpaa2_io_notification_ctx *nctx; in dpaa2_dpseci_dpio_setup() local 4693 nctx = &ppriv->nctx; in dpaa2_dpseci_dpio_setup() 4694 nctx->is_cdan = 0; in dpaa2_dpseci_dpio_setup() 4695 nctx->id = ppriv->rsp_fqid; in dpaa2_dpseci_dpio_setup() 4696 nctx->desired_cpu = cpu; in dpaa2_dpseci_dpio_setup() 4697 nctx->cb = dpaa2_caam_fqdan_cb; in dpaa2_dpseci_dpio_setup() 4704 nctx->cb = NULL; in dpaa2_dpseci_dpio_setup() 4732 if (!ppriv->nctx.cb) in dpaa2_dpseci_dpio_setup() 4779 rx_queue_cfg.dest_cfg.dest_id = ppriv->nctx.dpio_id; in dpaa2_dpseci_bind() [all …]
|
| /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()
|
| /drivers/gpu/drm/i915/gt/ |
| A D | selftest_execlists.c | 3714 unsigned int nctx, in nop_virtual_engine() argument 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; nc++) { in nop_virtual_engine() 3822 nctx, ve[0]->engine->name, ktime_to_ns(times[0]), in nop_virtual_engine() [all …]
|
| /drivers/gpio/ |
| A D | gpio-tangier.c | 418 size_t nctx = DIV_ROUND_UP(info->ngpio, 32); in devm_tng_gpio_probe() local 422 gpio->ctx = devm_kcalloc(dev, nctx, sizeof(*gpio->ctx), GFP_KERNEL); in devm_tng_gpio_probe()
|