WIP FPC-III support
[linux/fpc-iii.git] / drivers / crypto / qat / qat_common / adf_cfg_user.h
blob421f4fb8b4dd2ff82ace990bfef02abc91c43302
1 /* SPDX-License-Identifier: (BSD-3-Clause OR GPL-2.0-only) */
2 /* Copyright(c) 2014 - 2020 Intel Corporation */
3 #ifndef ADF_CFG_USER_H_
4 #define ADF_CFG_USER_H_
6 #include "adf_cfg_common.h"
7 #include "adf_cfg_strings.h"
9 struct adf_user_cfg_key_val {
10 char key[ADF_CFG_MAX_KEY_LEN_IN_BYTES];
11 char val[ADF_CFG_MAX_VAL_LEN_IN_BYTES];
12 union {
13 struct adf_user_cfg_key_val *next;
14 __u64 padding3;
16 enum adf_cfg_val_type type;
17 } __packed;
19 struct adf_user_cfg_section {
20 char name[ADF_CFG_MAX_SECTION_LEN_IN_BYTES];
21 union {
22 struct adf_user_cfg_key_val *params;
23 __u64 padding1;
25 union {
26 struct adf_user_cfg_section *next;
27 __u64 padding3;
29 } __packed;
31 struct adf_user_cfg_ctl_data {
32 union {
33 struct adf_user_cfg_section *config_section;
34 __u64 padding;
36 __u8 device_id;
37 } __packed;
38 #endif