/* SPDX-License-Identifier: GPL-2.0-or-later */ #ifndef _THINK_LMI_H_ #define _THINK_LMI_H_ #include <linux/types.h> #define TLMI_SETTINGS_COUNT … #define TLMI_SETTINGS_MAXLEN … #define TLMI_PWD_BUFSIZE … #define TLMI_LANG_MAXLEN … #define TLMI_INDEX_MAX … /* Possible error values */ struct tlmi_err_codes { … }; enum encoding_option { … }; enum level_option { … }; /* * There are a limit on the number of WMI operations you can do if you use * the default implementation of saving on every set. This is due to a * limitation in EFI variable space used. * Have a 'bulk save' mode where you can manually trigger the save, and can * therefore set unlimited variables - for users that need it. */ enum save_mode { … }; /* password configuration details */ struct tlmi_pwdcfg_core { … }; struct tlmi_pwdcfg_ext { … }; struct tlmi_pwdcfg { … }; /* password setting details */ struct tlmi_pwd_setting { … }; /* Attribute setting details */ struct tlmi_attr_setting { … }; struct think_lmi { … }; #endif /* !_THINK_LMI_H_ */