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

/linux-master/drivers/crypto/cavium/nitrox/
H A Dnitrox_skcipher.c110 struct nitrox_crypto_ctx *nctx = crypto_skcipher_ctx(tfm); local
114 nctx->ndev = nitrox_get_first_device();
115 if (!nctx->ndev)
119 chdr = crypto_alloc_context(nctx->ndev);
121 nitrox_put_device(nctx->ndev);
125 nctx->callback = nitrox_skcipher_callback;
126 nctx->chdr = chdr;
127 nctx->u.ctx_handle = (uintptr_t)((u8 *)chdr->vaddr +
137 struct nitrox_crypto_ctx *nctx = crypto_skcipher_ctx(tfm); local
143 nctx
149 struct nitrox_crypto_ctx *nctx = crypto_skcipher_ctx(tfm); local
170 struct nitrox_crypto_ctx *nctx = crypto_tfm_ctx(tfm); local
250 struct nitrox_crypto_ctx *nctx = crypto_skcipher_ctx(cipher); local
340 struct nitrox_crypto_ctx *nctx = crypto_skcipher_ctx(cipher); local
364 struct nitrox_crypto_ctx *nctx = crypto_skcipher_ctx(cipher); local
[all...]
H A Dnitrox_aead.c37 struct nitrox_crypto_ctx *nctx = crypto_aead_ctx(aead); local
46 fctx = nctx->u.fctx;
61 struct nitrox_crypto_ctx *nctx = crypto_aead_ctx(aead); local
62 struct flexi_crypto_context *fctx = nctx->u.fctx;
216 struct nitrox_crypto_ctx *nctx = crypto_aead_ctx(aead); local
219 struct flexi_crypto_context *fctx = nctx->u.fctx;
234 rctx->ctx_handle = nctx->u.ctx_handle;
243 return nitrox_process_se_request(nctx->ndev, creq, nitrox_aead_callback,
250 struct nitrox_crypto_ctx *nctx = crypto_aead_ctx(aead); local
253 struct flexi_crypto_context *fctx = nctx
283 struct nitrox_crypto_ctx *nctx = crypto_aead_ctx(aead); local
308 struct nitrox_crypto_ctx *nctx = crypto_aead_ctx(aead); local
343 struct nitrox_crypto_ctx *nctx = crypto_aead_ctx(aead); local
362 struct nitrox_crypto_ctx *nctx = crypto_aead_ctx(aead); local
443 struct nitrox_crypto_ctx *nctx = crypto_aead_ctx(aead); local
475 struct nitrox_crypto_ctx *nctx = crypto_aead_ctx_dma(aead); local
[all...]
/linux-master/drivers/dma/fsl-dpaa2-qdma/
H A Ddpaa2-qdma.c393 struct dpaa2_qdma_priv_per_prio, nctx);
468 ppriv->nctx.is_cdan = 0;
469 ppriv->nctx.desired_cpu = DPAA2_IO_ANY_CPU;
470 ppriv->nctx.id = ppriv->rsp_fqid;
471 ppriv->nctx.cb = dpaa2_qdma_fqdan_cb;
472 err = dpaa2_io_service_register(NULL, &ppriv->nctx, dev);
491 dpaa2_io_service_deregister(NULL, &ppriv->nctx, dev);
495 dpaa2_io_service_deregister(NULL, &ppriv->nctx, dev);
520 dpaa2_io_service_deregister(NULL, &ppriv->nctx, dev);
540 rx_queue_cfg.user_ctx = ppriv->nctx
[all...]
H A Ddpaa2-qdma.h135 struct dpaa2_io_notification_ctx nctx; member in struct:dpaa2_qdma_priv_per_prio
/linux-master/drivers/crypto/caam/
H A Dcaamalg_qi2.h77 * @nctx: notification context of response FQ
88 struct dpaa2_io_notification_ctx nctx; member in struct:dpaa2_caam_priv_per_cpu
H A Dcaamalg_qi2.c4674 static void dpaa2_caam_fqdan_cb(struct dpaa2_io_notification_ctx *nctx) argument
4678 ppriv = container_of(nctx, struct dpaa2_caam_priv_per_cpu, nctx);
4685 struct dpaa2_io_notification_ctx *nctx; local
4692 nctx = &ppriv->nctx;
4693 nctx->is_cdan = 0;
4694 nctx->id = ppriv->rsp_fqid;
4695 nctx->desired_cpu = cpu;
4696 nctx
[all...]
/linux-master/security/
H A Dsecurity.c794 struct lsm_ctx *nctx = NULL; local
798 nctx_len = ALIGN(struct_size(nctx, ctx, val_len), sizeof(void *));
808 nctx = kzalloc(nctx_len, GFP_KERNEL);
809 if (nctx == NULL) {
813 nctx->id = id;
814 nctx->flags = flags;
815 nctx->len = nctx_len;
816 nctx->ctx_len = val_len;
817 memcpy(nctx->ctx, val, val_len);
819 if (copy_to_user(uctx, nctx, nctx_le
[all...]
/linux-master/drivers/net/ethernet/freescale/dpaa2/
H A Ddpaa2-switch.c2857 err = dpaa2_io_service_rearm(NULL, &fq->nctx);
2867 static void dpaa2_switch_fqdan_cb(struct dpaa2_io_notification_ctx *nctx) argument
2871 fq = container_of(nctx, struct dpaa2_switch_fq, nctx);
2879 struct dpaa2_io_notification_ctx *nctx; local
2883 nctx = &ethsw->fq[i].nctx;
2889 nctx->is_cdan = 0;
2890 nctx->id = ethsw->fq[i].fqid;
2891 nctx
[all...]
H A Ddpaa2-eth-debugfs.c109 ch->nctx.desired_cpu,
H A Ddpaa2-switch.h97 struct dpaa2_io_notification_ctx nctx; member in struct:dpaa2_switch_fq
H A Ddpaa2-eth.c2018 err = dpaa2_io_service_rearm(ch->dpio, &ch->nctx);
2022 ch->nctx.desired_cpu);
3040 ch = container_of(ctx, struct dpaa2_eth_channel, nctx);
3156 struct dpaa2_io_notification_ctx *nctx; local
3187 nctx = &channel->nctx;
3188 nctx->is_cdan = 1;
3189 nctx->cb = dpaa2_eth_cdan_cb;
3190 nctx->id = channel->ch_id;
3191 nctx
[all...]
H A Ddpaa2-xsk.c408 fq = &priv->fq[ch->nctx.desired_cpu];
H A Ddpaa2-eth.h487 struct dpaa2_io_notification_ctx nctx; member in struct:dpaa2_eth_channel
/linux-master/drivers/gpu/drm/i915/gem/selftests/
H A Di915_gem_context.c35 const unsigned int nctx = 1024; local
59 ctx = kcalloc(nctx, sizeof(*ctx), GFP_KERNEL);
65 for (n = 0; n < nctx; n++) {
79 for (n = 0; n < nctx; n++) {
95 pr_err("Failed to populated %d contexts\n", nctx);
106 nctx, engine->name, ktime_to_ns(times[1] - times[0]));
120 this = igt_request_alloc(ctx[n % nctx], engine);
/linux-master/drivers/gpio/
H A Dgpio-tangier.c416 size_t nctx = DIV_ROUND_UP(info->ngpio, 32); local
420 gpio->ctx = devm_kcalloc(dev, nctx, sizeof(*gpio->ctx), GFP_KERNEL);
/linux-master/drivers/gpu/drm/i915/gt/
H A Dselftest_execlists.c3714 unsigned int nctx,
3726 GEM_BUG_ON(!nctx || nctx > ARRAY_SIZE(ve));
3728 for (n = 0; n < nctx; n++) {
3732 nctx = n;
3739 nctx = n;
3752 for (nc = 0; nc < nctx; nc++) {
3770 for (nc = 0; nc < nctx; nc++) {
3787 for (nc = 0; nc < nctx; nc++) {
3808 for (nc = 0; nc < nctx; n
3711 nop_virtual_engine(struct intel_gt *gt, struct intel_engine_cs **siblings, unsigned int nsibling, unsigned int nctx, unsigned int flags) argument
[all...]
/linux-master/crypto/
H A Dahash.c656 struct crypto_shash **nctx = crypto_ahash_ctx(nhash); local
665 *nctx = shash;
H A Dcryptd.c452 struct cryptd_hash_ctx *nctx = crypto_ahash_ctx(ntfm); local
460 nctx->child = hash;
/linux-master/drivers/staging/media/atomisp/i2c/
H A Datomisp-mt9m114.c710 dev->nctx = 0x00; /* Set for context A */
716 dev->nctx = 0x01; /* set for context B */
H A Dmt9m114.h255 int nctx; member in struct:mt9m114_device

Completed in 272 milliseconds