linux/drivers/crypto/marvell/octeontx2/otx2_cptlf.c

// SPDX-License-Identifier: GPL-2.0-only
/* Copyright (C) 2020 Marvell. */

#include "otx2_cpt_common.h"
#include "otx2_cptlf.h"
#include "rvu_reg.h"

#define CPT_TIMER_HOLD
#define CPT_COUNT_HOLD

static void cptlf_do_set_done_time_wait(struct otx2_cptlf_info *lf,
					int time_wait)
{}

static void cptlf_do_set_done_num_wait(struct otx2_cptlf_info *lf, int num_wait)
{}

static void cptlf_set_done_time_wait(struct otx2_cptlfs_info *lfs,
				     int time_wait)
{}

static void cptlf_set_done_num_wait(struct otx2_cptlfs_info *lfs, int num_wait)
{}

static int cptlf_set_pri(struct otx2_cptlf_info *lf, int pri)
{}

static int cptlf_set_eng_grps_mask(struct otx2_cptlf_info *lf,
				   int eng_grps_mask)
{}

static int cptlf_set_grp_and_pri(struct otx2_cptlfs_info *lfs,
				 int eng_grp_mask, int pri)
{}

static int cptlf_set_ctx_ilen(struct otx2_cptlfs_info *lfs, int ctx_ilen)
{}

static void cptlf_hw_init(struct otx2_cptlfs_info *lfs)
{}

static void cptlf_hw_cleanup(struct otx2_cptlfs_info *lfs)
{}

static void cptlf_set_misc_intrs(struct otx2_cptlfs_info *lfs, u8 enable)
{}

static void cptlf_set_done_intrs(struct otx2_cptlfs_info *lfs, u8 enable)
{}

static inline int cptlf_read_done_cnt(struct otx2_cptlf_info *lf)
{}

static irqreturn_t cptlf_misc_intr_handler(int __always_unused irq, void *arg)
{}

static irqreturn_t cptlf_done_intr_handler(int irq, void *arg)
{}

void otx2_cptlf_unregister_misc_interrupts(struct otx2_cptlfs_info *lfs)
{}
EXPORT_SYMBOL_NS_GPL();

void otx2_cptlf_unregister_done_interrupts(struct otx2_cptlfs_info *lfs)
{}
EXPORT_SYMBOL_NS_GPL();

static int cptlf_do_register_interrrupts(struct otx2_cptlfs_info *lfs,
					 int lf_num, int irq_offset,
					 irq_handler_t handler)
{}

int otx2_cptlf_register_misc_interrupts(struct otx2_cptlfs_info *lfs)
{}
EXPORT_SYMBOL_NS_GPL();

int otx2_cptlf_register_done_interrupts(struct otx2_cptlfs_info *lfs)
{}
EXPORT_SYMBOL_NS_GPL();

void otx2_cptlf_free_irqs_affinity(struct otx2_cptlfs_info *lfs)
{}
EXPORT_SYMBOL_NS_GPL();

int otx2_cptlf_set_irqs_affinity(struct otx2_cptlfs_info *lfs)
{}
EXPORT_SYMBOL_NS_GPL();

int otx2_cptlf_init(struct otx2_cptlfs_info *lfs, u8 eng_grp_mask, int pri,
		    int lfs_num)
{}
EXPORT_SYMBOL_NS_GPL();

void otx2_cptlf_shutdown(struct otx2_cptlfs_info *lfs)
{}
EXPORT_SYMBOL_NS_GPL();

MODULE_AUTHOR();
MODULE_DESCRIPTION();
MODULE_LICENSE();