forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-11 04dd17822334871b23ea2862f7798fb0e0007777
kernel/drivers/crypto/cavium/nitrox/nitrox_common.h
....@@ -7,37 +7,24 @@
77
88 int nitrox_crypto_register(void);
99 void nitrox_crypto_unregister(void);
10
+int nitrox_register_aeads(void);
11
+void nitrox_unregister_aeads(void);
12
+int nitrox_register_skciphers(void);
13
+void nitrox_unregister_skciphers(void);
1014 void *crypto_alloc_context(struct nitrox_device *ndev);
1115 void crypto_free_context(void *ctx);
1216 struct nitrox_device *nitrox_get_first_device(void);
1317 void nitrox_put_device(struct nitrox_device *ndev);
1418
15
-void nitrox_pf_cleanup_isr(struct nitrox_device *ndev);
16
-int nitrox_pf_init_isr(struct nitrox_device *ndev);
17
-
1819 int nitrox_common_sw_init(struct nitrox_device *ndev);
1920 void nitrox_common_sw_cleanup(struct nitrox_device *ndev);
2021
21
-void pkt_slc_resp_handler(unsigned long data);
22
+void pkt_slc_resp_tasklet(unsigned long data);
2223 int nitrox_process_se_request(struct nitrox_device *ndev,
2324 struct se_crypto_request *req,
2425 completion_t cb,
25
- struct skcipher_request *skreq);
26
+ void *cb_arg);
2627 void backlog_qflush_work(struct work_struct *work);
2728
28
-void nitrox_config_emu_unit(struct nitrox_device *ndev);
29
-void nitrox_config_pkt_input_rings(struct nitrox_device *ndev);
30
-void nitrox_config_pkt_solicit_ports(struct nitrox_device *ndev);
31
-void nitrox_config_vfmode(struct nitrox_device *ndev, int mode);
32
-void nitrox_config_nps_unit(struct nitrox_device *ndev);
33
-void nitrox_config_pom_unit(struct nitrox_device *ndev);
34
-void nitrox_config_rand_unit(struct nitrox_device *ndev);
35
-void nitrox_config_efl_unit(struct nitrox_device *ndev);
36
-void nitrox_config_bmi_unit(struct nitrox_device *ndev);
37
-void nitrox_config_bmo_unit(struct nitrox_device *ndev);
38
-void nitrox_config_lbc_unit(struct nitrox_device *ndev);
39
-void invalidate_lbc(struct nitrox_device *ndev);
40
-void enable_pkt_input_ring(struct nitrox_device *ndev, int ring);
41
-void enable_pkt_solicit_port(struct nitrox_device *ndev, int port);
4229
4330 #endif /* __NITROX_COMMON_H */