Home
last modified time | relevance | path

Searched refs:u_ctx (Results 1 - 12 of 12) sorted by relevance

/kernel/linux/linux-5.10/drivers/crypto/chelsio/
H A Dchcr_core.c75 struct uld_ctx *u_ctx = NULL; in assign_chcr_device() local
85 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() argument
101 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() argument
115 dev = &u_ctx->dev; in chcr_dev_init()
124 list_add_tail(&u_ctx in chcr_dev_init()
128 chcr_dev_move(struct uld_ctx *u_ctx) chcr_dev_move() argument
184 struct uld_ctx *u_ctx; chcr_uld_add() local
206 struct uld_ctx *u_ctx = (struct uld_ctx *)handle; chcr_uld_rx_handler() local
223 chcr_detach_device(struct uld_ctx *u_ctx) chcr_detach_device() argument
243 struct uld_ctx *u_ctx = handle; chcr_uld_state_change() local
284 struct uld_ctx *u_ctx, *tmp; chcr_crypto_exit() local
[all...]
H A Dchcr_algo.c768 struct uld_ctx *u_ctx = ULD_CTX(ctx); in create_wreq() local
774 qid = u_ctx->lldi.rxq_ids[rxqidx]; in create_wreq()
775 fid = u_ctx->lldi.rxq_ids[0]; in create_wreq()
778 rx_channel_id = cxgb4_port_e2cchan(u_ctx->lldi.ports[portno]); in create_wreq()
809 struct uld_ctx *u_ctx = ULD_CTX(ctx); in create_cipher_wr() local
826 rx_channel_id = cxgb4_port_e2cchan(u_ctx->lldi.ports[rx_channel_id]); in create_cipher_wr()
1170 struct uld_ctx *u_ctx = ULD_CTX(c_ctx(tfm)); in chcr_handle_cipher_resp() local
1216 wrparam.qid = u_ctx->lldi.rxq_ids[reqctx->rxqidx]; in chcr_handle_cipher_resp()
1225 skb->dev = u_ctx->lldi.ports[0]; in chcr_handle_cipher_resp()
1376 struct uld_ctx *u_ctx in chcr_aes_encrypt() local
1418 struct uld_ctx *u_ctx = ULD_CTX(c_ctx(tfm)); chcr_aes_decrypt() local
1449 struct uld_ctx *u_ctx = NULL; chcr_device_init() local
1574 struct uld_ctx *u_ctx = ULD_CTX(ctx); create_hash_wr() local
1666 struct uld_ctx *u_ctx = ULD_CTX(h_ctx(rtfm)); chcr_ahash_update() local
1771 struct uld_ctx *u_ctx = ULD_CTX(h_ctx(rtfm)); chcr_ahash_final() local
1839 struct uld_ctx *u_ctx = ULD_CTX(h_ctx(rtfm)); chcr_ahash_finup() local
1934 struct uld_ctx *u_ctx = ULD_CTX(h_ctx(rtfm)); chcr_ahash_digest() local
2029 struct uld_ctx *u_ctx = ULD_CTX(ctx); chcr_ahash_continue() local
2096 struct uld_ctx *u_ctx = ULD_CTX(h_ctx(tfm)); chcr_handle_ahash_resp() local
2373 struct uld_ctx *u_ctx = ULD_CTX(a_ctx(tfm)); chcr_aead_common_exit() local
2444 struct uld_ctx *u_ctx = ULD_CTX(ctx); create_authenc_wr() local
2718 struct uld_ctx *u_ctx = ULD_CTX(ctx); chcr_add_aead_dst_ent() local
2762 struct uld_ctx *u_ctx = ULD_CTX(ctx); chcr_add_cipher_dst_ent() local
2970 struct uld_ctx *u_ctx = ULD_CTX(ctx); fill_sec_cpl_for_aead() local
3142 struct uld_ctx *u_ctx = ULD_CTX(ctx); create_gcm_wr() local
3746 struct uld_ctx *u_ctx = ULD_CTX(ctx); chcr_aead_op() local
[all...]
H A Dchcr_core.h126 struct uld_ctx *u_ctx = container_of(dev, struct uld_ctx, dev); in padap() local
128 return pci_get_drvdata(u_ctx->lldi.pdev); in padap()
/kernel/linux/linux-6.6/drivers/crypto/chelsio/
H A Dchcr_core.c75 struct uld_ctx *u_ctx = NULL; in assign_chcr_device() local
85 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() argument
101 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() argument
115 dev = &u_ctx->dev; in chcr_dev_init()
124 list_add_tail(&u_ctx in chcr_dev_init()
128 chcr_dev_move(struct uld_ctx *u_ctx) chcr_dev_move() argument
184 struct uld_ctx *u_ctx; chcr_uld_add() local
206 struct uld_ctx *u_ctx = (struct uld_ctx *)handle; chcr_uld_rx_handler() local
223 chcr_detach_device(struct uld_ctx *u_ctx) chcr_detach_device() argument
243 struct uld_ctx *u_ctx = handle; chcr_uld_state_change() local
284 struct uld_ctx *u_ctx, *tmp; chcr_crypto_exit() local
[all...]
H A Dchcr_algo.c764 struct uld_ctx *u_ctx = ULD_CTX(ctx); in create_wreq() local
770 qid = u_ctx->lldi.rxq_ids[rxqidx]; in create_wreq()
771 fid = u_ctx->lldi.rxq_ids[0]; in create_wreq()
774 rx_channel_id = cxgb4_port_e2cchan(u_ctx->lldi.ports[portno]); in create_wreq()
802 struct uld_ctx *u_ctx = ULD_CTX(ctx); in create_cipher_wr() local
819 rx_channel_id = cxgb4_port_e2cchan(u_ctx->lldi.ports[rx_channel_id]); in create_cipher_wr()
1163 struct uld_ctx *u_ctx = ULD_CTX(c_ctx(tfm)); in chcr_handle_cipher_resp() local
1209 wrparam.qid = u_ctx->lldi.rxq_ids[reqctx->rxqidx]; in chcr_handle_cipher_resp()
1218 skb->dev = u_ctx->lldi.ports[0]; in chcr_handle_cipher_resp()
1369 struct uld_ctx *u_ctx in chcr_aes_encrypt() local
1411 struct uld_ctx *u_ctx = ULD_CTX(c_ctx(tfm)); chcr_aes_decrypt() local
1442 struct uld_ctx *u_ctx = NULL; chcr_device_init() local
1568 struct uld_ctx *u_ctx = ULD_CTX(ctx); create_hash_wr() local
1660 struct uld_ctx *u_ctx = ULD_CTX(h_ctx(rtfm)); chcr_ahash_update() local
1765 struct uld_ctx *u_ctx = ULD_CTX(h_ctx(rtfm)); chcr_ahash_final() local
1833 struct uld_ctx *u_ctx = ULD_CTX(h_ctx(rtfm)); chcr_ahash_finup() local
1928 struct uld_ctx *u_ctx = ULD_CTX(h_ctx(rtfm)); chcr_ahash_digest() local
2023 struct uld_ctx *u_ctx = ULD_CTX(ctx); chcr_ahash_continue() local
2090 struct uld_ctx *u_ctx = ULD_CTX(h_ctx(tfm)); chcr_handle_ahash_resp() local
2368 struct uld_ctx *u_ctx = ULD_CTX(a_ctx(tfm)); chcr_aead_common_exit() local
2439 struct uld_ctx *u_ctx = ULD_CTX(ctx); create_authenc_wr() local
2713 struct uld_ctx *u_ctx = ULD_CTX(ctx); chcr_add_aead_dst_ent() local
2757 struct uld_ctx *u_ctx = ULD_CTX(ctx); chcr_add_cipher_dst_ent() local
2965 struct uld_ctx *u_ctx = ULD_CTX(ctx); fill_sec_cpl_for_aead() local
3137 struct uld_ctx *u_ctx = ULD_CTX(ctx); create_gcm_wr() local
3742 struct uld_ctx *u_ctx = ULD_CTX(ctx); chcr_aead_op() local
[all...]
H A Dchcr_core.h125 struct uld_ctx *u_ctx = container_of(dev, struct uld_ctx, dev); in padap() local
127 return pci_get_drvdata(u_ctx->lldi.pdev); in padap()
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/
H A Dchcr_ktls.c374 struct chcr_ktls_uld_ctx *u_ctx; in chcr_ktls_dev_del() local
379 u_ctx = tx_info->adap->uld[CXGB4_ULD_KTLS].handle; in chcr_ktls_dev_del()
380 if (u_ctx && u_ctx->detach) in chcr_ktls_dev_del()
399 xa_erase(&u_ctx->tid_list, tx_info->tid); in chcr_ktls_dev_del()
427 struct chcr_ktls_uld_ctx *u_ctx; in chcr_ktls_dev_add() local
442 u_ctx = adap->uld[CXGB4_ULD_KTLS].handle; in chcr_ktls_dev_add()
452 if (u_ctx && u_ctx->detach) in chcr_ktls_dev_add()
590 xa_erase(&u_ctx in chcr_ktls_dev_add()
657 struct chcr_ktls_uld_ctx *u_ctx; chcr_ktls_cpl_act_open_rpl() local
2123 struct chcr_ktls_uld_ctx *u_ctx; chcr_ktls_uld_add() local
2153 struct chcr_ktls_uld_ctx *u_ctx = handle; chcr_ktls_uld_rx_handler() local
2188 ch_ktls_reset_all_conn(struct chcr_ktls_uld_ctx *u_ctx) ch_ktls_reset_all_conn() argument
2209 struct chcr_ktls_uld_ctx *u_ctx = handle; chcr_ktls_uld_state_change() local
2255 struct chcr_ktls_uld_ctx *u_ctx, *tmp; chcr_ktls_exit() local
[all...]
H A Dchcr_ktls.h94 /* u_ctx is saved in adap, fetch it */ in chcr_get_first_rx_qid()
95 struct chcr_ktls_uld_ctx *u_ctx = adap->uld[CXGB4_ULD_KTLS].handle; in chcr_get_first_rx_qid() local
97 if (!u_ctx) in chcr_get_first_rx_qid()
99 return u_ctx->lldi.rxq_ids[0]; in chcr_get_first_rx_qid()
/kernel/linux/linux-6.6/drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/
H A Dchcr_ktls.c368 struct chcr_ktls_uld_ctx *u_ctx; in chcr_ktls_dev_del() local
373 u_ctx = tx_info->adap->uld[CXGB4_ULD_KTLS].handle; in chcr_ktls_dev_del()
374 if (u_ctx && u_ctx->detach) in chcr_ktls_dev_del()
393 xa_erase(&u_ctx->tid_list, tx_info->tid); in chcr_ktls_dev_del()
421 struct chcr_ktls_uld_ctx *u_ctx; in chcr_ktls_dev_add() local
436 u_ctx = adap->uld[CXGB4_ULD_KTLS].handle; in chcr_ktls_dev_add()
446 if (u_ctx && u_ctx->detach) in chcr_ktls_dev_add()
584 xa_erase(&u_ctx in chcr_ktls_dev_add()
651 struct chcr_ktls_uld_ctx *u_ctx; chcr_ktls_cpl_act_open_rpl() local
2120 struct chcr_ktls_uld_ctx *u_ctx; chcr_ktls_uld_add() local
2150 struct chcr_ktls_uld_ctx *u_ctx = handle; chcr_ktls_uld_rx_handler() local
2185 ch_ktls_reset_all_conn(struct chcr_ktls_uld_ctx *u_ctx) ch_ktls_reset_all_conn() argument
2206 struct chcr_ktls_uld_ctx *u_ctx = handle; chcr_ktls_uld_state_change() local
2252 struct chcr_ktls_uld_ctx *u_ctx, *tmp; chcr_ktls_exit() local
[all...]
H A Dchcr_ktls.h94 /* u_ctx is saved in adap, fetch it */ in chcr_get_first_rx_qid()
95 struct chcr_ktls_uld_ctx *u_ctx = adap->uld[CXGB4_ULD_KTLS].handle; in chcr_get_first_rx_qid() local
97 if (!u_ctx) in chcr_get_first_rx_qid()
99 return u_ctx->lldi.rxq_ids[0]; in chcr_get_first_rx_qid()
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/inline_crypto/ch_ipsec/
H A Dchcr_ipsec.c105 struct ipsec_uld_ctx *u_ctx; in ch_ipsec_uld_add() local
109 u_ctx = kzalloc(sizeof(*u_ctx), GFP_KERNEL); in ch_ipsec_uld_add()
110 if (!u_ctx) { in ch_ipsec_uld_add()
111 u_ctx = ERR_PTR(-ENOMEM); in ch_ipsec_uld_add()
114 u_ctx->lldi = *infop; in ch_ipsec_uld_add()
116 return u_ctx; in ch_ipsec_uld_add()
121 struct ipsec_uld_ctx *u_ctx = handle; in ch_ipsec_uld_state_change() local
126 pr_info("%s: Up\n", pci_name(u_ctx->lldi.pdev)); in ch_ipsec_uld_state_change()
128 list_add_tail(&u_ctx in ch_ipsec_uld_state_change()
804 struct ipsec_uld_ctx *u_ctx, *tmp; ch_ipsec_exit() local
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/chelsio/inline_crypto/ch_ipsec/
H A Dchcr_ipsec.c104 struct ipsec_uld_ctx *u_ctx; in ch_ipsec_uld_add() local
108 u_ctx = kzalloc(sizeof(*u_ctx), GFP_KERNEL); in ch_ipsec_uld_add()
109 if (!u_ctx) { in ch_ipsec_uld_add()
110 u_ctx = ERR_PTR(-ENOMEM); in ch_ipsec_uld_add()
113 u_ctx->lldi = *infop; in ch_ipsec_uld_add()
115 return u_ctx; in ch_ipsec_uld_add()
120 struct ipsec_uld_ctx *u_ctx = handle; in ch_ipsec_uld_state_change() local
125 pr_info("%s: Up\n", pci_name(u_ctx->lldi.pdev)); in ch_ipsec_uld_state_change()
127 list_add_tail(&u_ctx in ch_ipsec_uld_state_change()
808 struct ipsec_uld_ctx *u_ctx, *tmp; ch_ipsec_exit() local
[all...]

Completed in 15 milliseconds