Lines Matching refs:cc_req
279 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()
484 wait_for_completion(&cc_req->seq_compl); in cc_send_sync_request()
557 struct cc_crypto_req *cc_req; in proc_completions() local
580 cc_req = &request_mgr_handle->req_queue[*tail]; in proc_completions()
582 if (cc_req->cpp.is_cpp) { in proc_completions()
585 cc_req->cpp.slot, cc_req->cpp.alg); in proc_completions()
586 mask = cc_cpp_int_mask(cc_req->cpp.alg, in proc_completions()
587 cc_req->cpp.slot); in proc_completions()
596 if (cc_req->user_cb) in proc_completions()
597 cc_req->user_cb(dev, cc_req->user_arg, rc); in proc_completions()