drivers/platform/x86/uniwill/uniwill-wmi.h

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

File Facts

System
Linux kernel
Corpus path
drivers/platform/x86/uniwill/uniwill-wmi.h
Extension
.h
Size
3110 bytes
Lines
130
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 UNIWILL_WMI_H
#define UNIWILL_WMI_H

#include <linux/init.h>

#define UNIWILL_OSD_CAPSLOCK			0x01
#define UNIWILL_OSD_NUMLOCK			0x02
#define UNIWILL_OSD_SCROLLLOCK			0x03

#define UNIWILL_OSD_TOUCHPAD_ON			0x04
#define UNIWILL_OSD_TOUCHPAD_OFF		0x05

#define UNIWILL_OSD_SILENT_MODE_ON		0x06
#define UNIWILL_OSD_SILENT_MODE_OFF		0x07

#define UNIWILL_OSD_WLAN_ON			0x08
#define UNIWILL_OSD_WLAN_OFF			0x09

#define UNIWILL_OSD_WIMAX_ON			0x0A
#define UNIWILL_OSD_WIMAX_OFF			0x0B

#define UNIWILL_OSD_BLUETOOTH_ON		0x0C
#define UNIWILL_OSD_BLUETOOTH_OFF		0x0D

#define UNIWILL_OSD_RF_ON			0x0E
#define UNIWILL_OSD_RF_OFF			0x0F

#define UNIWILL_OSD_3G_ON			0x10
#define UNIWILL_OSD_3G_OFF			0x11

#define UNIWILL_OSD_WEBCAM_ON			0x12
#define UNIWILL_OSD_WEBCAM_OFF			0x13

#define UNIWILL_OSD_BRIGHTNESSUP		0x14
#define UNIWILL_OSD_BRIGHTNESSDOWN		0x15

#define UNIWILL_OSD_RADIOON			0x1A
#define UNIWILL_OSD_RADIOOFF			0x1B

#define UNIWILL_OSD_POWERSAVE_ON		0x31
#define UNIWILL_OSD_POWERSAVE_OFF		0x32

#define UNIWILL_OSD_MENU			0x34

#define UNIWILL_OSD_MUTE			0x35
#define UNIWILL_OSD_VOLUMEDOWN			0x36
#define UNIWILL_OSD_VOLUMEUP			0x37

#define UNIWILL_OSD_MENU_2			0x38

#define UNIWILL_OSD_LIGHTBAR_ON			0x39
#define UNIWILL_OSD_LIGHTBAR_OFF		0x3A

#define UNIWILL_OSD_KB_LED_LEVEL0		0x3B
#define UNIWILL_OSD_KB_LED_LEVEL1		0x3C
#define UNIWILL_OSD_KB_LED_LEVEL2		0x3D
#define UNIWILL_OSD_KB_LED_LEVEL3		0x3E
#define UNIWILL_OSD_KB_LED_LEVEL4		0x3F

#define UNIWILL_OSD_SUPER_KEY_DISABLE		0x40
#define UNIWILL_OSD_SUPER_KEY_ENABLE		0x41

#define UNIWILL_OSD_MENU_JP			0x42

#define UNIWILL_OSD_CAMERA_ON			0x90
#define UNIWILL_OSD_CAMERA_OFF			0x91

#define UNIWILL_OSD_RFKILL			0xA4

#define UNIWILL_OSD_SUPER_KEY_STATE_CHANGED	0xA5

#define UNIWILL_OSD_LIGHTBAR_STATE_CHANGED	0xA6

#define UNIWILL_OSD_FAN_BOOST_STATE_CHANGED	0xA7

#define UNIWILL_OSD_LCD_SW			0xA9

#define UNIWILL_OSD_FAN_OVERTEMP		0xAA

#define UNIWILL_OSD_DC_ADAPTER_CHANGED		0xAB

#define UNIWILL_OSD_BAT_HP_OFF			0xAC

#define UNIWILL_OSD_FAN_DOWN_TEMP		0xAD

#define UNIWILL_OSD_BATTERY_ALERT		0xAE

#define UNIWILL_OSD_TIMAP_HAIERLB_SW		0xAF

#define UNIWILL_OSD_PERFORMANCE_MODE_TOGGLE	0xB0

Annotation

Implementation Notes