Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/crypto/ccree/
Dcc_request_mgr.c279 struct cc_crypto_req *cc_req, in cc_do_send_request() argument
295 req_mgr_h->req_queue[req_mgr_h->req_queue_head] = *cc_req; in cc_do_send_request()
401 int cc_send_request(struct cc_drvdata *drvdata, struct cc_crypto_req *cc_req, in cc_send_request() argument
435 memcpy(&bli->creq, cc_req, sizeof(*cc_req)); in cc_send_request()
444 cc_do_send_request(drvdata, cc_req, desc, len, false); in cc_send_request()
453 struct cc_crypto_req *cc_req, struct cc_hw_desc *desc, in cc_send_sync_request() argument
460 init_completion(&cc_req->seq_compl); in cc_send_sync_request()
461 cc_req->user_cb = request_mgr_complete; in cc_send_sync_request()
462 cc_req->user_arg = &cc_req->seq_compl; in cc_send_sync_request()
482 cc_do_send_request(drvdata, cc_req, desc, len, true); in cc_send_sync_request()
[all …]
Dcc_hash.c283 static void cc_update_complete(struct device *dev, void *cc_req, int err) in cc_update_complete() argument
285 struct ahash_request *req = (struct ahash_request *)cc_req; in cc_update_complete()
301 static void cc_digest_complete(struct device *dev, void *cc_req, int err) in cc_digest_complete() argument
303 struct ahash_request *req = (struct ahash_request *)cc_req; in cc_digest_complete()
321 static void cc_hash_complete(struct device *dev, void *cc_req, int err) in cc_hash_complete() argument
323 struct ahash_request *req = (struct ahash_request *)cc_req; in cc_hash_complete()
429 struct cc_crypto_req cc_req = {}; in cc_hash_digest() local
461 cc_req.user_cb = cc_digest_complete; in cc_hash_digest()
462 cc_req.user_arg = req; in cc_hash_digest()
519 rc = cc_send_request(ctx->drvdata, &cc_req, desc, idx, &req->base); in cc_hash_digest()
[all …]
Dcc_request_mgr.h27 int cc_send_request(struct cc_drvdata *drvdata, struct cc_crypto_req *cc_req,
32 struct cc_crypto_req *cc_req, struct cc_hw_desc *desc,
Dcc_cipher.c62 static void cc_cipher_complete(struct device *dev, void *cc_req, int err);
852 static void cc_cipher_complete(struct device *dev, void *cc_req, int err) in cc_cipher_complete() argument
854 struct skcipher_request *req = (struct skcipher_request *)cc_req; in cc_cipher_complete()
885 struct cc_crypto_req cc_req = {}; in cc_cipher_process() local
928 cc_req.user_cb = cc_cipher_complete; in cc_cipher_process()
929 cc_req.user_arg = req; in cc_cipher_process()
933 cc_req.cpp.is_cpp = true; in cc_cipher_process()
934 cc_req.cpp.alg = ctx_p->cpp.alg; in cc_cipher_process()
935 cc_req.cpp.slot = ctx_p->cpp.slot; in cc_cipher_process()
967 rc = cc_send_request(ctx_p->drvdata, &cc_req, desc, seq_len, in cc_cipher_process()
Dcc_aead.c208 static void cc_aead_complete(struct device *dev, void *cc_req, int err) in cc_aead_complete() argument
210 struct aead_request *areq = (struct aead_request *)cc_req; in cc_aead_complete()
212 struct crypto_aead *tfm = crypto_aead_reqtfm(cc_req); in cc_aead_complete()
417 struct cc_crypto_req cc_req = {}; in cc_get_plain_hmac_key() local
529 rc = cc_send_sync_request(ctx->drvdata, &cc_req, desc, idx); in cc_get_plain_hmac_key()
545 struct cc_crypto_req cc_req = {}; in cc_aead_setkey() local
627 rc = cc_send_sync_request(ctx->drvdata, &cc_req, desc, seq_len); in cc_aead_setkey()
1901 struct cc_crypto_req cc_req = {}; in cc_proc_aead() local
1918 cc_req.user_cb = cc_aead_complete; in cc_proc_aead()
1919 cc_req.user_arg = req; in cc_proc_aead()
[all …]
/linux-6.12.1/drivers/usb/typec/tcpm/
Dtcpm.c340 enum typec_cc_status cc_req; member
858 port->cc_req = cc; in tcpm_set_cc()
885 port->tcpc->apply_rc(port->tcpc, port->cc_req, port->polarity); in tcpm_apply_rc()
1454 enum typec_cc_status cc_req = port->cc_req; in tcpm_ams_start() local
1486 cc_req == SINK_TX_OK ? in tcpm_ams_start()
1494 cc_req == SINK_TX_OK ? in tcpm_ams_start()
4045 port->cc_req, port->cc1, port->cc2, port->vbus_source, in tcpm_pd_build_request()
4141 port->cc_req, port->cc1, port->cc2, port->vbus_source, in tcpm_pd_build_pps_request()