Searched refs:u_ctx (Results 1 – 3 of 3) sorted by relevance
58 struct uld_ctx *u_ctx = NULL; in assign_chcr_device() local68 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() argument89 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() argument102 if (ctx_rr == u_ctx) { in chcr_dev_remove()[all …]
126 return ctx->dev->u_ctx; in ULD_CTX()709 struct uld_ctx *u_ctx = ULD_CTX(ctx); in create_wreq() local710 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() local1145 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() local1282 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 …]
65 #define padap(dev) pci_get_drvdata(dev->u_ctx->lldi.pdev)134 struct uld_ctx *u_ctx; member