linux/drivers/crypto/intel/qat/qat_c3xxx/adf_c3xxx_hw_data.h

/* SPDX-License-Identifier: (BSD-3-Clause OR GPL-2.0-only) */
/* Copyright(c) 2014 - 2020 Intel Corporation */
#ifndef ADF_C3XXX_HW_DATA_H_
#define ADF_C3XXX_HW_DATA_H_

#include <linux/units.h>

/* PCIe configuration space */
#define ADF_C3XXX_PMISC_BAR
#define ADF_C3XXX_ETR_BAR
#define ADF_C3XXX_SRAM_BAR
#define ADF_C3XXX_MAX_ACCELERATORS
#define ADF_C3XXX_MAX_ACCELENGINES
#define ADF_C3XXX_ACCELERATORS_REG_OFFSET
#define ADF_C3XXX_ACCELERATORS_MASK
#define ADF_C3XXX_ACCELENGINES_MASK
#define ADF_C3XXX_ETR_MAX_BANKS
#define ADF_C3XXX_SOFTSTRAP_CSR_OFFSET

/* AE to function mapping */
#define ADF_C3XXX_AE2FUNC_MAP_GRP_A_NUM_REGS
#define ADF_C3XXX_AE2FUNC_MAP_GRP_B_NUM_REGS

/* Clocks frequency */
#define ADF_C3XXX_AE_FREQ
#define ADF_C3XXX_MIN_AE_FREQ
#define ADF_C3XXX_MAX_AE_FREQ

/* Firmware Binary */
#define ADF_C3XXX_FW
#define ADF_C3XXX_MMP

void adf_init_hw_data_c3xxx(struct adf_hw_device_data *hw_data);
void adf_clean_hw_data_c3xxx(struct adf_hw_device_data *hw_data);
#endif