Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
msi-wmi.c File Reference
#include <linux/kernel.h>
#include <linux/input.h>
#include <linux/input/sparse-keymap.h>
#include <linux/acpi.h>
#include <linux/backlight.h>
#include <linux/slab.h>
#include <linux/module.h>

Go to the source code of this file.

Macros

#define pr_fmt(fmt)   KBUILD_MODNAME ": " fmt
 
#define DRV_NAME   "msi-wmi"
 
#define MSIWMI_BIOS_GUID   "551A1F84-FBDD-4125-91DB-3EA8F44F1D45"
 
#define MSIWMI_EVENT_GUID   "B6F3EEF2-3D2F-49DC-9DE3-85BCE18C62F2"
 
#define SCANCODE_BASE   0xD0
 
#define MSI_WMI_BRIGHTNESSUP   SCANCODE_BASE
 
#define MSI_WMI_BRIGHTNESSDOWN   (SCANCODE_BASE + 1)
 
#define MSI_WMI_VOLUMEUP   (SCANCODE_BASE + 2)
 
#define MSI_WMI_VOLUMEDOWN   (SCANCODE_BASE + 3)
 
#define MSI_WMI_MUTE   (SCANCODE_BASE + 4)
 

Functions

 MODULE_AUTHOR ("Thomas Renninger <[email protected]>")
 
 MODULE_DESCRIPTION ("MSI laptop WMI hotkeys driver")
 
 MODULE_LICENSE ("GPL")
 
 MODULE_ALIAS ("wmi:551A1F84-FBDD-4125-91DB-3EA8F44F1D45")
 
 MODULE_ALIAS ("wmi:B6F3EEF2-3D2F-49DC-9DE3-85BCE18C62F2")
 
 module_init (msi_wmi_init)
 
 module_exit (msi_wmi_exit)
 

Macro Definition Documentation

#define DRV_NAME   "msi-wmi"

Definition at line 40 of file msi-wmi.c.

#define MSI_WMI_BRIGHTNESSDOWN   (SCANCODE_BASE + 1)

Definition at line 47 of file msi-wmi.c.

#define MSI_WMI_BRIGHTNESSUP   SCANCODE_BASE

Definition at line 46 of file msi-wmi.c.

#define MSI_WMI_MUTE   (SCANCODE_BASE + 4)

Definition at line 50 of file msi-wmi.c.

#define MSI_WMI_VOLUMEDOWN   (SCANCODE_BASE + 3)

Definition at line 49 of file msi-wmi.c.

#define MSI_WMI_VOLUMEUP   (SCANCODE_BASE + 2)

Definition at line 48 of file msi-wmi.c.

#define MSIWMI_BIOS_GUID   "551A1F84-FBDD-4125-91DB-3EA8F44F1D45"

Definition at line 42 of file msi-wmi.c.

#define MSIWMI_EVENT_GUID   "B6F3EEF2-3D2F-49DC-9DE3-85BCE18C62F2"

Definition at line 43 of file msi-wmi.c.

#define pr_fmt (   fmt)    KBUILD_MODNAME ": " fmt

Definition at line 23 of file msi-wmi.c.

#define SCANCODE_BASE   0xD0

Definition at line 45 of file msi-wmi.c.

Function Documentation

MODULE_ALIAS ( "wmi:551A1F84-FBDD-4125-91DB-3EA8F44F1D45"  )
MODULE_ALIAS ( "wmi:B6F3EEF2-3D2F-49DC-9DE3-85BCE18C62F2"  )
MODULE_AUTHOR ( "Thomas Renninger <[email protected]>"  )
MODULE_DESCRIPTION ( "MSI laptop WMI hotkeys driver )
module_exit ( msi_wmi_exit  )
module_init ( msi_wmi_init  )
MODULE_LICENSE ( "GPL"  )