File Index
Files and directories
Sign in
FILE

nitrox_common.h

File preview with syntax highlighting.

linux-6.19.14/drivers/crypto/cavium/nitrox/nitrox_common.h C
 1/* SPDX-License-Identifier: GPL-2.0 */
 2#ifndef __NITROX_COMMON_H
 3#define __NITROX_COMMON_H
 4
 5#include "nitrox_dev.h"
 6#include "nitrox_req.h"
 7
 8int nitrox_crypto_register(void);
 9void nitrox_crypto_unregister(void);
10int nitrox_register_aeads(void);
11void nitrox_unregister_aeads(void);
12int nitrox_register_skciphers(void);
13void nitrox_unregister_skciphers(void);
14void *crypto_alloc_context(struct nitrox_device *ndev);
15void crypto_free_context(void *ctx);
16struct nitrox_device *nitrox_get_first_device(void);
17void nitrox_put_device(struct nitrox_device *ndev);
18
19int nitrox_common_sw_init(struct nitrox_device *ndev);
20void nitrox_common_sw_cleanup(struct nitrox_device *ndev);
21
22void pkt_slc_resp_tasklet(unsigned long data);
23int nitrox_process_se_request(struct nitrox_device *ndev,
24			      struct se_crypto_request *req,
25			      completion_t cb,
26			      void *cb_arg);
27void backlog_qflush_work(struct work_struct *work);
28
29
30#endif /* __NITROX_COMMON_H */
~/ Read-only file preview.