Home
last modified time | relevance | path

Searched refs:u_ctx (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.4/drivers/crypto/chelsio/
Dchcr_core.c78 struct uld_ctx *u_ctx = NULL; in assign_chcr_device() local
88 u_ctx = drv_data.last_dev; in assign_chcr_device()
97 return u_ctx; in assign_chcr_device()
100 static void chcr_dev_add(struct uld_ctx *u_ctx) in chcr_dev_add() argument
104 dev = &u_ctx->dev; in chcr_dev_add()
108 list_move(&u_ctx->entry, &drv_data.act_dev); in chcr_dev_add()
110 drv_data.last_dev = u_ctx; in chcr_dev_add()
114 static void chcr_dev_init(struct uld_ctx *u_ctx) in chcr_dev_init() argument
118 dev = &u_ctx->dev; in chcr_dev_init()
127 list_add_tail(&u_ctx->entry, &drv_data.inact_dev); in chcr_dev_init()
[all …]
Dchcr_algo.c727 struct uld_ctx *u_ctx = ULD_CTX(ctx); in create_wreq() local
728 int qid = u_ctx->lldi.rxq_ids[ctx->rx_qidx]; in create_wreq()
1115 struct uld_ctx *u_ctx = ULD_CTX(c_ctx(tfm)); in chcr_handle_cipher_resp() local
1165 wrparam.qid = u_ctx->lldi.rxq_ids[c_ctx(tfm)->rx_qidx]; in chcr_handle_cipher_resp()
1174 skb->dev = u_ctx->lldi.ports[0]; in chcr_handle_cipher_resp()
1305 struct uld_ctx *u_ctx = ULD_CTX(c_ctx(tfm)); in chcr_aes_encrypt() local
1310 if (unlikely(cxgb4_is_crypto_q_full(u_ctx->lldi.ports[0], in chcr_aes_encrypt()
1319 err = process_cipher(req, u_ctx->lldi.rxq_ids[c_ctx(tfm)->rx_qidx], in chcr_aes_encrypt()
1323 skb->dev = u_ctx->lldi.ports[0]; in chcr_aes_encrypt()
1335 struct uld_ctx *u_ctx = ULD_CTX(c_ctx(tfm)); in chcr_aes_decrypt() local
[all …]
Dchcr_core.h209 struct uld_ctx *u_ctx = container_of(dev, struct uld_ctx, dev); in padap() local
211 return pci_get_drvdata(u_ctx->lldi.pdev); in padap()