xref: /linux/drivers/platform/x86/lenovo/wmi-helpers.h (revision 9669b2499ea377764f8320dd562dd6cd4ea80a5d)
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 
3 /* Copyright (C) 2025 Derek J. Clark <derekjohn.clark@gmail.com> */
4 
5 #ifndef _LENOVO_WMI_HELPERS_H_
6 #define _LENOVO_WMI_HELPERS_H_
7 
8 #include <linux/types.h>
9 
10 struct wmi_device;
11 
12 struct wmi_method_args_32 {
13 	u32 arg0;
14 	u32 arg1;
15 };
16 
17 int lwmi_dev_evaluate_int(struct wmi_device *wdev, u8 instance, u32 method_id,
18 			  unsigned char *buf, size_t size, u32 *retval);
19 
20 #endif /* !_LENOVO_WMI_HELPERS_H_ */
21