mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-11-01 17:08:10 +00:00
59c14e5e01
Kernel source code should not contain stdint.h types. This patch replaces uintXX_t types with kernel space ABI types. Signed-off-by: Wojciech Ziemba <wojciech.ziemba@intel.com> Signed-off-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
38 lines
811 B
C
38 lines
811 B
C
/* SPDX-License-Identifier: (BSD-3-Clause OR GPL-2.0-only) */
|
|
/* Copyright(c) 2014 - 2020 Intel Corporation */
|
|
#ifndef ADF_CFG_USER_H_
|
|
#define ADF_CFG_USER_H_
|
|
|
|
#include "adf_cfg_common.h"
|
|
#include "adf_cfg_strings.h"
|
|
|
|
struct adf_user_cfg_key_val {
|
|
char key[ADF_CFG_MAX_KEY_LEN_IN_BYTES];
|
|
char val[ADF_CFG_MAX_VAL_LEN_IN_BYTES];
|
|
union {
|
|
struct adf_user_cfg_key_val *next;
|
|
__u64 padding3;
|
|
};
|
|
enum adf_cfg_val_type type;
|
|
} __packed;
|
|
|
|
struct adf_user_cfg_section {
|
|
char name[ADF_CFG_MAX_SECTION_LEN_IN_BYTES];
|
|
union {
|
|
struct adf_user_cfg_key_val *params;
|
|
__u64 padding1;
|
|
};
|
|
union {
|
|
struct adf_user_cfg_section *next;
|
|
__u64 padding3;
|
|
};
|
|
} __packed;
|
|
|
|
struct adf_user_cfg_ctl_data {
|
|
union {
|
|
struct adf_user_cfg_section *config_section;
|
|
__u64 padding;
|
|
};
|
|
__u8 device_id;
|
|
} __packed;
|
|
#endif
|