Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/crypto/cavium/nitrox/
Dnitrox_algs.c75 struct nitrox_crypto_ctx *nctx = crypto_skcipher_ctx(tfm); in nitrox_skcipher_init() local
79 nctx->ndev = nitrox_get_first_device(); in nitrox_skcipher_init()
80 if (!nctx->ndev) in nitrox_skcipher_init()
84 fctx = crypto_alloc_context(nctx->ndev); in nitrox_skcipher_init()
86 nitrox_put_device(nctx->ndev); in nitrox_skcipher_init()
89 nctx->u.ctx_handle = (uintptr_t)fctx; in nitrox_skcipher_init()
97 struct nitrox_crypto_ctx *nctx = crypto_skcipher_ctx(tfm); in nitrox_skcipher_exit() local
100 if (nctx->u.ctx_handle) { in nitrox_skcipher_exit()
101 struct flexi_crypto_context *fctx = nctx->u.fctx; in nitrox_skcipher_exit()
107 nitrox_put_device(nctx->ndev); in nitrox_skcipher_exit()
[all …]
Dnitrox_req.h194 struct nitrox_crypto_ctx *nctx; member
/Linux-v4.19/drivers/staging/fsl-dpaa2/ethernet/
Ddpaa2-eth.c953 err = dpaa2_io_service_rearm(ch->dpio, &ch->nctx); in dpaa2_eth_poll()
957 ch->nctx.desired_cpu); in dpaa2_eth_poll()
1433 ch = container_of(ctx, struct dpaa2_eth_channel, nctx); in cdan_cb()
1546 struct dpaa2_io_notification_ctx *nctx; in setup_dpio() local
1574 nctx = &channel->nctx; in setup_dpio()
1575 nctx->is_cdan = 1; in setup_dpio()
1576 nctx->cb = cdan_cb; in setup_dpio()
1577 nctx->id = channel->ch_id; in setup_dpio()
1578 nctx->desired_cpu = i; in setup_dpio()
1582 err = dpaa2_io_service_register(channel->dpio, nctx); in setup_dpio()
[all …]
Ddpaa2-eth.h281 struct dpaa2_io_notification_ctx nctx; member