Searched refs:u_ctx (Results 1 – 6 of 6) sorted by relevance
75 struct uld_ctx *u_ctx = NULL; in assign_chcr_device() local85 u_ctx = drv_data.last_dev; in assign_chcr_device()94 return u_ctx; in assign_chcr_device()97 static void chcr_dev_add(struct uld_ctx *u_ctx) in chcr_dev_add() argument101 dev = &u_ctx->dev; in chcr_dev_add()105 list_move(&u_ctx->entry, &drv_data.act_dev); in chcr_dev_add()107 drv_data.last_dev = u_ctx; in chcr_dev_add()111 static void chcr_dev_init(struct uld_ctx *u_ctx) in chcr_dev_init() argument115 dev = &u_ctx->dev; in chcr_dev_init()124 list_add_tail(&u_ctx->entry, &drv_data.inact_dev); in chcr_dev_init()[all …]
735 struct uld_ctx *u_ctx = ULD_CTX(ctx); in create_wreq() local741 qid = u_ctx->lldi.rxq_ids[rxqidx]; in create_wreq()742 fid = u_ctx->lldi.rxq_ids[0]; in create_wreq()745 rx_channel_id = cxgb4_port_e2cchan(u_ctx->lldi.ports[portno]); in create_wreq()773 struct uld_ctx *u_ctx = ULD_CTX(ctx); in create_cipher_wr() local790 rx_channel_id = cxgb4_port_e2cchan(u_ctx->lldi.ports[rx_channel_id]); in create_cipher_wr()1134 struct uld_ctx *u_ctx = ULD_CTX(c_ctx(tfm)); in chcr_handle_cipher_resp() local1180 wrparam.qid = u_ctx->lldi.rxq_ids[reqctx->rxqidx]; in chcr_handle_cipher_resp()1189 skb->dev = u_ctx->lldi.ports[0]; in chcr_handle_cipher_resp()1340 struct uld_ctx *u_ctx = ULD_CTX(c_ctx(tfm)); in chcr_aes_encrypt() local[all …]
125 struct uld_ctx *u_ctx = container_of(dev, struct uld_ctx, dev); in padap() local127 return pci_get_drvdata(u_ctx->lldi.pdev); in padap()
103 struct ipsec_uld_ctx *u_ctx; in ch_ipsec_uld_add() local107 u_ctx = kzalloc_obj(*u_ctx); in ch_ipsec_uld_add()108 if (!u_ctx) { in ch_ipsec_uld_add()109 u_ctx = ERR_PTR(-ENOMEM); in ch_ipsec_uld_add()112 u_ctx->lldi = *infop; in ch_ipsec_uld_add()114 return u_ctx; in ch_ipsec_uld_add()119 struct ipsec_uld_ctx *u_ctx = handle; in ch_ipsec_uld_state_change() local124 pr_info("%s: Up\n", pci_name(u_ctx->lldi.pdev)); in ch_ipsec_uld_state_change()126 list_add_tail(&u_ctx->entry, &uld_ctx_list); in ch_ipsec_uld_state_change()132 pr_info("%s: Down\n", pci_name(u_ctx->lldi.pdev)); in ch_ipsec_uld_state_change()[all …]
367 struct chcr_ktls_uld_ctx *u_ctx; in chcr_ktls_dev_del() local372 u_ctx = tx_info->adap->uld[CXGB4_ULD_KTLS].handle; in chcr_ktls_dev_del()373 if (u_ctx && u_ctx->detach) in chcr_ktls_dev_del()392 xa_erase(&u_ctx->tid_list, tx_info->tid); in chcr_ktls_dev_del()419 struct chcr_ktls_uld_ctx *u_ctx; in chcr_ktls_dev_add() local432 u_ctx = adap->uld[CXGB4_ULD_KTLS].handle; in chcr_ktls_dev_add()442 if (u_ctx && u_ctx->detach) in chcr_ktls_dev_add()580 xa_erase(&u_ctx->tid_list, tx_info->tid); in chcr_ktls_dev_add()647 struct chcr_ktls_uld_ctx *u_ctx; in chcr_ktls_cpl_act_open_rpl() local686 u_ctx = adap->uld[CXGB4_ULD_KTLS].handle; in chcr_ktls_cpl_act_open_rpl()[all …]
113 struct chcr_ktls_uld_ctx *u_ctx = adap->uld[CXGB4_ULD_KTLS].handle; in chcr_get_first_rx_qid() local115 if (!u_ctx) in chcr_get_first_rx_qid()117 return u_ctx->lldi.rxq_ids[0]; in chcr_get_first_rx_qid()