Path: blob/master/drivers/crypto/cavium/nitrox/nitrox_common.h
26285 views
/* SPDX-License-Identifier: GPL-2.0 */1#ifndef __NITROX_COMMON_H2#define __NITROX_COMMON_H34#include "nitrox_dev.h"5#include "nitrox_req.h"67int nitrox_crypto_register(void);8void nitrox_crypto_unregister(void);9int nitrox_register_aeads(void);10void nitrox_unregister_aeads(void);11int nitrox_register_skciphers(void);12void nitrox_unregister_skciphers(void);13void *crypto_alloc_context(struct nitrox_device *ndev);14void crypto_free_context(void *ctx);15struct nitrox_device *nitrox_get_first_device(void);16void nitrox_put_device(struct nitrox_device *ndev);1718int nitrox_common_sw_init(struct nitrox_device *ndev);19void nitrox_common_sw_cleanup(struct nitrox_device *ndev);2021void pkt_slc_resp_tasklet(unsigned long data);22int nitrox_process_se_request(struct nitrox_device *ndev,23struct se_crypto_request *req,24completion_t cb,25void *cb_arg);26void backlog_qflush_work(struct work_struct *work);272829#endif /* __NITROX_COMMON_H */303132