linux/drivers/crypto/intel/qat/qat_4xxx/adf_4xxx_hw_data.c

// SPDX-License-Identifier: (BSD-3-Clause OR GPL-2.0-only)
/* Copyright(c) 2020 - 2021 Intel Corporation */
#include <linux/iopoll.h>
#include <adf_accel_devices.h>
#include <adf_admin.h>
#include <adf_cfg.h>
#include <adf_cfg_services.h>
#include <adf_clock.h>
#include <adf_common_drv.h>
#include <adf_fw_config.h>
#include <adf_gen4_config.h>
#include <adf_gen4_dc.h>
#include <adf_gen4_hw_csr_data.h>
#include <adf_gen4_hw_data.h>
#include <adf_gen4_pfvf.h>
#include <adf_gen4_pm.h>
#include "adf_gen4_ras.h"
#include <adf_gen4_timer.h>
#include <adf_gen4_tl.h>
#include <adf_gen4_vf_mig.h>
#include "adf_4xxx_hw_data.h"
#include "icp_qat_hw.h"

#define ADF_AE_GROUP_0
#define ADF_AE_GROUP_1
#define ADF_AE_GROUP_2

#define ENA_THD_MASK_ASYM
#define ENA_THD_MASK_ASYM_401XX
#define ENA_THD_MASK_SYM
#define ENA_THD_MASK_DC

static const char * const adf_4xxx_fw_objs[] =;

static const char * const adf_402xx_fw_objs[] =;

static const struct adf_fw_config adf_fw_cy_config[] =;

static const struct adf_fw_config adf_fw_dc_config[] =;

static const struct adf_fw_config adf_fw_sym_config[] =;

static const struct adf_fw_config adf_fw_asym_config[] =;

static const struct adf_fw_config adf_fw_asym_dc_config[] =;

static const struct adf_fw_config adf_fw_sym_dc_config[] =;

static const struct adf_fw_config adf_fw_dcc_config[] =;

static_assert();
static_assert();
static_assert();
static_assert();
static_assert();
static_assert();

static struct adf_hw_device_class adf_4xxx_class =;

static u32 get_ae_mask(struct adf_hw_device_data *self)
{}

static u32 get_accel_cap(struct adf_accel_dev *accel_dev)
{}

static const u32 *adf_get_arbiter_mapping(struct adf_accel_dev *accel_dev)
{}

static void adf_init_rl_data(struct adf_rl_hw_data *rl_data)
{}

static u32 uof_get_num_objs(struct adf_accel_dev *accel_dev)
{}

static const struct adf_fw_config *get_fw_config(struct adf_accel_dev *accel_dev)
{}

static int get_rp_group(struct adf_accel_dev *accel_dev, u32 ae_mask)
{}

static u32 get_ena_thd_mask(struct adf_accel_dev *accel_dev, u32 obj_num)
{}

static u32 get_ena_thd_mask_401xx(struct adf_accel_dev *accel_dev, u32 obj_num)
{}

static const char *uof_get_name(struct adf_accel_dev *accel_dev, u32 obj_num,
				const char * const fw_objs[], int num_objs)
{}

static const char *uof_get_name_4xxx(struct adf_accel_dev *accel_dev, u32 obj_num)
{}

static const char *uof_get_name_402xx(struct adf_accel_dev *accel_dev, u32 obj_num)
{}

static int uof_get_obj_type(struct adf_accel_dev *accel_dev, u32 obj_num)
{}

static u32 uof_get_ae_mask(struct adf_accel_dev *accel_dev, u32 obj_num)
{}

static void adf_gen4_set_err_mask(struct adf_dev_err_mask *dev_err_mask)
{}

void adf_init_hw_data_4xxx(struct adf_hw_device_data *hw_data, u32 dev_id)
{}

void adf_clean_hw_data_4xxx(struct adf_hw_device_data *hw_data)
{}