1
2
3
4
5
6
7
8 #ifndef __REQUEST_MGR_H__
9 #define __REQUEST_MGR_H__
10
11 #include "cc_hw_queue_defs.h"
12
13 int cc_req_mgr_init(struct cc_drvdata *drvdata);
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28 int cc_send_request(struct cc_drvdata *drvdata, struct cc_crypto_req *cc_req,
29 struct cc_hw_desc *desc, unsigned int len,
30 struct crypto_async_request *req);
31
32 int cc_send_sync_request(struct cc_drvdata *drvdata,
33 struct cc_crypto_req *cc_req, struct cc_hw_desc *desc,
34 unsigned int len);
35
36 int send_request_init(struct cc_drvdata *drvdata, struct cc_hw_desc *desc,
37 unsigned int len);
38
39 void complete_request(struct cc_drvdata *drvdata);
40
41 void cc_req_mgr_fini(struct cc_drvdata *drvdata);
42
43 #endif