xref: /linux/drivers/platform/wmi/internal.h (revision 5ea5880764cbb164afb17a62e76ca75dc371409d)
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 /*
3  * Internal interfaces used by the WMI core.
4  *
5  * Copyright (C) 2025 Armin Wolf <W_Armin@gmx.de>
6  */
7 
8 #ifndef _WMI_INTERNAL_H_
9 #define _WMI_INTERNAL_H_
10 
11 union acpi_object;
12 struct wmi_buffer;
13 
14 int wmi_unmarshal_acpi_object(const union acpi_object *obj, struct wmi_buffer *buffer,
15 			      size_t min_size);
16 int wmi_marshal_string(const struct wmi_buffer *buffer, struct acpi_buffer *out);
17 
18 #endif /* _WMI_INTERNAL_H_ */
19