xref: /linux/drivers/crypto/intel/qat/qat_c62xvf/adf_c62xvf_hw_data.h (revision 1ac731c529cd4d6adbce134754b51ff7d822b145)
1 /* SPDX-License-Identifier: (BSD-3-Clause OR GPL-2.0-only) */
2 /* Copyright(c) 2015 - 2020 Intel Corporation */
3 #ifndef ADF_C62XVF_HW_DATA_H_
4 #define ADF_C62XVF_HW_DATA_H_
5 
6 #define ADF_C62XIOV_PMISC_BAR 1
7 #define ADF_C62XIOV_ACCELERATORS_MASK 0x1
8 #define ADF_C62XIOV_ACCELENGINES_MASK 0x1
9 #define ADF_C62XIOV_MAX_ACCELERATORS 1
10 #define ADF_C62XIOV_MAX_ACCELENGINES 1
11 #define ADF_C62XIOV_RX_RINGS_OFFSET 8
12 #define ADF_C62XIOV_TX_RINGS_MASK 0xFF
13 #define ADF_C62XIOV_ETR_BAR 0
14 #define ADF_C62XIOV_ETR_MAX_BANKS 1
15 
16 void adf_init_hw_data_c62xiov(struct adf_hw_device_data *hw_data);
17 void adf_clean_hw_data_c62xiov(struct adf_hw_device_data *hw_data);
18 #endif
19