drivers/platform/x86/lenovo/wmi-events.h

Source file repositories/reference/linux-study-clean/drivers/platform/x86/lenovo/wmi-events.h

File Facts

System
Linux kernel
Corpus path
drivers/platform/x86/lenovo/wmi-events.h
Extension
.h
Size
537 bytes
Lines
21
Domain
Driver Families
Bucket
drivers/platform
Inferred role
Driver Families: implementation source
Status
source implementation candidate

Why This File Exists

Repeatable hardware-adapter layer. Deep compatibility for every driver is out of scope; this atlas records patterns, probe lifecycles, bus glue, IRQ/DMA usage, and links back to core abstractions.

Dependency Surface

Detected Declarations

Annotated Snippet

#ifndef _LENOVO_WMI_EVENTS_H_
#define _LENOVO_WMI_EVENTS_H_

struct device;
struct notifier_block;

enum lwmi_events_type {
	LWMI_EVENT_THERMAL_MODE = 1,
};

int lwmi_events_register_notifier(struct notifier_block *nb);
int lwmi_events_unregister_notifier(struct notifier_block *nb);
int devm_lwmi_events_register_notifier(struct device *dev,
				       struct notifier_block *nb);

#endif /* !_LENOVO_WMI_EVENTS_H_ */

Annotation

Implementation Notes