linux/drivers/crypto/intel/qat/qat_c62x/adf_c62x_hw_data.h

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

#include <linux/units.h>

/* PCIe configuration space */
#define ADF_C62X_SRAM_BAR
#define ADF_C62X_PMISC_BAR
#define ADF_C62X_ETR_BAR
#define ADF_C62X_MAX_ACCELERATORS
#define ADF_C62X_MAX_ACCELENGINES
#define ADF_C62X_ACCELERATORS_REG_OFFSET
#define ADF_C62X_ACCELERATORS_MASK
#define ADF_C62X_ACCELENGINES_MASK
#define ADF_C62X_ETR_MAX_BANKS
#define ADF_C62X_SOFTSTRAP_CSR_OFFSET

/* AE to function mapping */
#define ADF_C62X_AE2FUNC_MAP_GRP_A_NUM_REGS
#define ADF_C62X_AE2FUNC_MAP_GRP_B_NUM_REGS

/* Clocks frequency */
#define ADF_C62X_AE_FREQ
#define ADF_C62X_MIN_AE_FREQ
#define ADF_C62X_MAX_AE_FREQ

/* Firmware Binary */
#define ADF_C62X_FW
#define ADF_C62X_MMP

void adf_init_hw_data_c62x(struct adf_hw_device_data *hw_data);
void adf_clean_hw_data_c62x(struct adf_hw_device_data *hw_data);
#endif