Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
i8k.h File Reference

Go to the source code of this file.

Macros

#define I8K_PROC   "/proc/i8k"
 
#define I8K_PROC_FMT   "1.0"
 
#define I8K_BIOS_VERSION   _IOR ('i', 0x80, int) /* broken: meant 4 bytes */
 
#define I8K_MACHINE_ID   _IOR ('i', 0x81, int) /* broken: meant 16 bytes */
 
#define I8K_POWER_STATUS   _IOR ('i', 0x82, size_t)
 
#define I8K_FN_STATUS   _IOR ('i', 0x83, size_t)
 
#define I8K_GET_TEMP   _IOR ('i', 0x84, size_t)
 
#define I8K_GET_SPEED   _IOWR('i', 0x85, size_t)
 
#define I8K_GET_FAN   _IOWR('i', 0x86, size_t)
 
#define I8K_SET_FAN   _IOWR('i', 0x87, size_t)
 
#define I8K_FAN_LEFT   1
 
#define I8K_FAN_RIGHT   0
 
#define I8K_FAN_OFF   0
 
#define I8K_FAN_LOW   1
 
#define I8K_FAN_HIGH   2
 
#define I8K_FAN_MAX   I8K_FAN_HIGH
 
#define I8K_VOL_UP   1
 
#define I8K_VOL_DOWN   2
 
#define I8K_VOL_MUTE   4
 
#define I8K_AC   1
 
#define I8K_BATTERY   0
 

Macro Definition Documentation

#define I8K_AC   1

Definition at line 43 of file i8k.h.

#define I8K_BATTERY   0

Definition at line 44 of file i8k.h.

#define I8K_BIOS_VERSION   _IOR ('i', 0x80, int) /* broken: meant 4 bytes */

Definition at line 23 of file i8k.h.

#define I8K_FAN_HIGH   2

Definition at line 36 of file i8k.h.

#define I8K_FAN_LEFT   1

Definition at line 32 of file i8k.h.

#define I8K_FAN_LOW   1

Definition at line 35 of file i8k.h.

#define I8K_FAN_MAX   I8K_FAN_HIGH

Definition at line 37 of file i8k.h.

#define I8K_FAN_OFF   0

Definition at line 34 of file i8k.h.

#define I8K_FAN_RIGHT   0

Definition at line 33 of file i8k.h.

#define I8K_FN_STATUS   _IOR ('i', 0x83, size_t)

Definition at line 26 of file i8k.h.

#define I8K_GET_FAN   _IOWR('i', 0x86, size_t)

Definition at line 29 of file i8k.h.

#define I8K_GET_SPEED   _IOWR('i', 0x85, size_t)

Definition at line 28 of file i8k.h.

#define I8K_GET_TEMP   _IOR ('i', 0x84, size_t)

Definition at line 27 of file i8k.h.

#define I8K_MACHINE_ID   _IOR ('i', 0x81, int) /* broken: meant 16 bytes */

Definition at line 24 of file i8k.h.

#define I8K_POWER_STATUS   _IOR ('i', 0x82, size_t)

Definition at line 25 of file i8k.h.

#define I8K_PROC   "/proc/i8k"

Definition at line 20 of file i8k.h.

#define I8K_PROC_FMT   "1.0"

Definition at line 21 of file i8k.h.

#define I8K_SET_FAN   _IOWR('i', 0x87, size_t)

Definition at line 30 of file i8k.h.

#define I8K_VOL_DOWN   2

Definition at line 40 of file i8k.h.

#define I8K_VOL_MUTE   4

Definition at line 41 of file i8k.h.

#define I8K_VOL_UP   1

Definition at line 39 of file i8k.h.