Home
last modified time | relevance | path

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

/linux/drivers/crypto/chelsio/
A Dchcr_core.c94 return u_ctx; in assign_chcr_device()
101 dev = &u_ctx->dev; in chcr_dev_add()
115 dev = &u_ctx->dev; in chcr_dev_init()
192 u_ctx = kzalloc(sizeof(*u_ctx), GFP_KERNEL); in chcr_uld_add()
193 if (!u_ctx) { in chcr_uld_add()
197 u_ctx->lldi = *lld; in chcr_uld_add()
198 chcr_dev_init(u_ctx); in chcr_uld_add()
200 return u_ctx; in chcr_uld_add()
238 chcr_dev_move(u_ctx); in chcr_detach_device()
295 kfree(u_ctx); in chcr_crypto_exit()
[all …]
A Dchcr_algo.c771 fid = u_ctx->lldi.rxq_ids[0]; in create_wreq()
1218 skb->dev = u_ctx->lldi.ports[0]; in chcr_handle_cipher_resp()
1392 skb->dev = u_ctx->lldi.ports[0]; in chcr_aes_encrypt()
1435 skb->dev = u_ctx->lldi.ports[0]; in chcr_aes_decrypt()
1442 struct uld_ctx *u_ctx = NULL; in chcr_device_init() local
1447 u_ctx = assign_chcr_device(); in chcr_device_init()
1448 if (!u_ctx) { in chcr_device_init()
1453 ctx->dev = &u_ctx->dev; in chcr_device_init()
1454 ntxq = u_ctx->lldi.ntxq; in chcr_device_init()
1455 rxq_perchan = u_ctx->lldi.nrxq / u_ctx->lldi.nchan; in chcr_device_init()
[all …]
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()
/linux/drivers/net/ethernet/chelsio/inline_crypto/ch_ipsec/
A Dchcr_ipsec.c103 struct ipsec_uld_ctx *u_ctx; in ch_ipsec_uld_add() local
107 u_ctx = kzalloc(sizeof(*u_ctx), GFP_KERNEL); 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() local
133 list_del(&u_ctx->entry); in ch_ipsec_uld_state_change()
802 struct ipsec_uld_ctx *u_ctx, *tmp; in ch_ipsec_exit() local
809 list_del(&u_ctx->entry); in ch_ipsec_exit()
[all …]
/linux/drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/
A Dchcr_ktls.c374 if (u_ctx && u_ctx->detach) in chcr_ktls_dev_del()
446 if (u_ctx && u_ctx->detach) in chcr_ktls_dev_add()
691 if (u_ctx) { in chcr_ktls_cpl_act_open_rpl()
2120 u_ctx = kzalloc(sizeof(*u_ctx), GFP_KERNEL); in chcr_ktls_uld_add()
2121 if (!u_ctx) { in chcr_ktls_uld_add()
2125 u_ctx->lldi = *lldi; in chcr_ktls_uld_add()
2126 u_ctx->detach = false; in chcr_ktls_uld_add()
2129 return u_ctx; in chcr_ktls_uld_add()
2216 u_ctx->detach = true; in chcr_ktls_uld_state_change()
2217 list_del(&u_ctx->entry); in chcr_ktls_uld_state_change()
[all …]
A Dchcr_ktls.h95 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()

Completed in 25 milliseconds