Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/crypto/chelsio/
Dchcr_core.c58 struct uld_ctx *u_ctx = NULL; in assign_chcr_device() local
68 u_ctx = ctx_rr; in assign_chcr_device()
77 return u_ctx; in assign_chcr_device()
80 static int chcr_dev_add(struct uld_ctx *u_ctx) in chcr_dev_add() argument
89 u_ctx->dev = dev; in chcr_dev_add()
90 dev->u_ctx = u_ctx; in chcr_dev_add()
93 list_add_tail(&u_ctx->entry, &uld_ctx_list); in chcr_dev_add()
95 ctx_rr = u_ctx; in chcr_dev_add()
100 static int chcr_dev_remove(struct uld_ctx *u_ctx) in chcr_dev_remove() argument
102 if (ctx_rr == u_ctx) { in chcr_dev_remove()
[all …]
Dchcr_algo.c126 return ctx->dev->u_ctx; in ULD_CTX()
709 struct uld_ctx *u_ctx = ULD_CTX(ctx); in create_wreq() local
710 int qid = u_ctx->lldi.rxq_ids[ctx->rx_qidx]; in create_wreq()
1096 struct uld_ctx *u_ctx = ULD_CTX(c_ctx(tfm)); in chcr_handle_cipher_resp() local
1145 wrparam.qid = u_ctx->lldi.rxq_ids[c_ctx(tfm)->rx_qidx]; in chcr_handle_cipher_resp()
1154 skb->dev = u_ctx->lldi.ports[0]; in chcr_handle_cipher_resp()
1280 struct uld_ctx *u_ctx = ULD_CTX(c_ctx(tfm)); in chcr_aes_encrypt() local
1282 if (unlikely(cxgb4_is_crypto_q_full(u_ctx->lldi.ports[0], in chcr_aes_encrypt()
1289 err = process_cipher(req, u_ctx->lldi.rxq_ids[c_ctx(tfm)->rx_qidx], in chcr_aes_encrypt()
1293 skb->dev = u_ctx->lldi.ports[0]; in chcr_aes_encrypt()
[all …]
Dchcr_core.h65 #define padap(dev) pci_get_drvdata(dev->u_ctx->lldi.pdev)
134 struct uld_ctx *u_ctx; member