mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-08-31 22:23:05 +00:00

Adds lenovo-wmi-gamezone driver which provides the Lenovo Gamezone WMI interface that comes on Lenovo "Gaming Series" hardware. Provides ACPI platform profiles over WMI. Reviewed-by: Armin Wolf <W_Armin@gmx.de> Signed-off-by: Derek J. Clark <derekjohn.clark@gmail.com> Link: https://lore.kernel.org/r/20250702033826.1057762-6-derekjohn.clark@gmail.com Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
21 lines
525 B
C
21 lines
525 B
C
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
|
|
|
/* Copyright (C) 2025 Derek J. Clark <derekjohn.clark@gmail.com> */
|
|
|
|
#ifndef _LENOVO_WMI_GAMEZONE_H_
|
|
#define _LENOVO_WMI_GAMEZONE_H_
|
|
|
|
enum gamezone_events_type {
|
|
LWMI_GZ_GET_THERMAL_MODE = 1,
|
|
};
|
|
|
|
enum thermal_mode {
|
|
LWMI_GZ_THERMAL_MODE_QUIET = 0x01,
|
|
LWMI_GZ_THERMAL_MODE_BALANCED = 0x02,
|
|
LWMI_GZ_THERMAL_MODE_PERFORMANCE = 0x03,
|
|
LWMI_GZ_THERMAL_MODE_EXTREME = 0xE0, /* Ver 6+ */
|
|
LWMI_GZ_THERMAL_MODE_CUSTOM = 0xFF,
|
|
};
|
|
|
|
#endif /* !_LENOVO_WMI_GAMEZONE_H_ */
|