summaryrefslogtreecommitdiff
path: root/drivers/platform/x86/lenovo/wmi-helpers.h
blob: 20fd217498035da5bdbefacd000d79e4e9bde5e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/* SPDX-License-Identifier: GPL-2.0-or-later */

/* Copyright (C) 2025 Derek J. Clark <derekjohn.clark@gmail.com> */

#ifndef _LENOVO_WMI_HELPERS_H_
#define _LENOVO_WMI_HELPERS_H_

#include <linux/types.h>

struct wmi_device;

struct wmi_method_args_32 {
	u32 arg0;
	u32 arg1;
};

int lwmi_dev_evaluate_int(struct wmi_device *wdev, u8 instance, u32 method_id,
			  unsigned char *buf, size_t size, u32 *retval);

#endif /* !_LENOVO_WMI_HELPERS_H_ */