#include "otx2_cptvf.h"
#include "otx2_cpt_common.h"
#define CPT_PENTRY_TIMEOUT …
#define CPT_PENTRY_STEP …
#define CPT_IQ_STOP_MARGIN …
#define CPT_IQ_RESUME_MARGIN …
#define CPT_COMMAND_TIMEOUT …
#define CPT_TIME_IN_RESET_COUNT …
static void otx2_cpt_dump_sg_list(struct pci_dev *pdev,
struct otx2_cpt_req_info *req)
{ … }
static inline struct otx2_cpt_pending_entry *get_free_pending_entry(
struct otx2_cpt_pending_queue *q,
int qlen)
{ … }
static inline u32 modulo_inc(u32 index, u32 length, u32 inc)
{ … }
static inline void free_pentry(struct otx2_cpt_pending_entry *pentry)
{ … }
static int process_request(struct pci_dev *pdev, struct otx2_cpt_req_info *req,
struct otx2_cpt_pending_queue *pqueue,
struct otx2_cptlf_info *lf)
{ … }
int otx2_cpt_do_request(struct pci_dev *pdev, struct otx2_cpt_req_info *req,
int cpu_num)
{ … }
static int cpt_process_ccode(struct otx2_cptlfs_info *lfs,
union otx2_cpt_res_s *cpt_status,
struct otx2_cpt_inst_info *info,
u32 *res_code)
{ … }
static inline void process_pending_queue(struct otx2_cptlfs_info *lfs,
struct otx2_cpt_pending_queue *pqueue)
{ … }
void otx2_cpt_post_process(struct otx2_cptlf_wqe *wqe)
{ … }
int otx2_cpt_get_kcrypto_eng_grp_num(struct pci_dev *pdev)
{ … }