Searched refs:cc_req (Results 1 – 6 of 6) sorted by relevance
/drivers/crypto/ccree/ |
D | cc_request_mgr.c | 280 struct cc_crypto_req *cc_req, in cc_do_send_request() argument 296 req_mgr_h->req_queue[req_mgr_h->req_queue_head] = *cc_req; in cc_do_send_request() 402 int cc_send_request(struct cc_drvdata *drvdata, struct cc_crypto_req *cc_req, in cc_send_request() argument 436 memcpy(&bli->creq, cc_req, sizeof(*cc_req)); in cc_send_request() 445 cc_do_send_request(drvdata, cc_req, desc, len, false); in cc_send_request() 454 struct cc_crypto_req *cc_req, struct cc_hw_desc *desc, in cc_send_sync_request() argument 461 init_completion(&cc_req->seq_compl); in cc_send_sync_request() 462 cc_req->user_cb = request_mgr_complete; in cc_send_sync_request() 463 cc_req->user_arg = &cc_req->seq_compl; in cc_send_sync_request() 483 cc_do_send_request(drvdata, cc_req, desc, len, true); in cc_send_sync_request() [all …]
|
D | cc_hash.c | 283 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 …]
|
D | cc_request_mgr.h | 27 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,
|
D | cc_cipher.c | 62 static void cc_cipher_complete(struct device *dev, void *cc_req, int err); 858 static void cc_cipher_complete(struct device *dev, void *cc_req, int err) in cc_cipher_complete() argument 860 struct skcipher_request *req = (struct skcipher_request *)cc_req; in cc_cipher_complete() 891 struct cc_crypto_req cc_req = {}; in cc_cipher_process() local 934 cc_req.user_cb = cc_cipher_complete; in cc_cipher_process() 935 cc_req.user_arg = req; in cc_cipher_process() 939 cc_req.cpp.is_cpp = true; in cc_cipher_process() 940 cc_req.cpp.alg = ctx_p->cpp.alg; in cc_cipher_process() 941 cc_req.cpp.slot = ctx_p->cpp.slot; in cc_cipher_process() 973 rc = cc_send_request(ctx_p->drvdata, &cc_req, desc, seq_len, in cc_cipher_process()
|
D | cc_aead.c | 208 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 …]
|
/drivers/usb/typec/tcpm/ |
D | tcpm.c | 321 enum typec_cc_status cc_req; member 794 port->cc_req = cc; in tcpm_set_cc() 821 port->tcpc->apply_rc(port->tcpc, port->cc_req, port->polarity); in tcpm_apply_rc() 1363 enum typec_cc_status cc_req = port->cc_req; in tcpm_ams_start() local 1395 cc_req == SINK_TX_OK ? in tcpm_ams_start() 1403 cc_req == SINK_TX_OK ? in tcpm_ams_start() 3321 port->cc_req, port->cc1, port->cc2, port->vbus_source, in tcpm_pd_build_request() 3417 port->cc_req, port->cc1, port->cc2, port->vbus_source, in tcpm_pd_build_pps_request()
|