mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-08-31 14:13:39 +00:00

Adds lenovo-wmi-other driver which provides the Lenovo "Other Mode" WMI interface that comes on some Lenovo "Gaming Series" hardware. Provides a firmware-attributes class which enables the use of tunable knobs for SPL, SPPT, and FPPT. Reviewed-by: Alok Tiwari <alok.a.tiwari@oracle.com> 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-7-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>
17 lines
460 B
C
17 lines
460 B
C
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
|
|
|
/* Copyright (C) 2025 Derek J. Clark <derekjohn.clark@gmail.com> */
|
|
|
|
#ifndef _LENOVO_WMI_OTHER_H_
|
|
#define _LENOVO_WMI_OTHER_H_
|
|
|
|
struct device;
|
|
struct notifier_block;
|
|
|
|
int lwmi_om_register_notifier(struct notifier_block *nb);
|
|
int lwmi_om_unregister_notifier(struct notifier_block *nb);
|
|
int devm_lwmi_om_register_notifier(struct device *dev,
|
|
struct notifier_block *nb);
|
|
|
|
#endif /* !_LENOVO_WMI_OTHER_H_ */
|