Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
envctrl.h File Reference
#include <linux/ioctl.h>

Go to the source code of this file.

Macros

#define ENVCTRL_RD_CPU_TEMPERATURE   _IOR('p', 0x40, int)
 
#define ENVCTRL_RD_CPU_VOLTAGE   _IOR('p', 0x41, int)
 
#define ENVCTRL_RD_FAN_STATUS   _IOR('p', 0x42, int)
 
#define ENVCTRL_RD_WARNING_TEMPERATURE   _IOR('p', 0x43, int)
 
#define ENVCTRL_RD_SHUTDOWN_TEMPERATURE   _IOR('p', 0x44, int)
 
#define ENVCTRL_RD_VOLTAGE_STATUS   _IOR('p', 0x45, int)
 
#define ENVCTRL_RD_SCSI_TEMPERATURE   _IOR('p', 0x46, int)
 
#define ENVCTRL_RD_ETHERNET_TEMPERATURE   _IOR('p', 0x47, int)
 
#define ENVCTRL_RD_MTHRBD_TEMPERATURE   _IOR('p', 0x48, int)
 
#define ENVCTRL_RD_GLOBALADDRESS   _IOR('p', 0x49, int)
 
#define ENVCTRL_VOLTAGE_POWERSUPPLY_GOOD   0x01
 
#define ENVCTRL_VOLTAGE_BAD   0x02
 
#define ENVCTRL_POWERSUPPLY_BAD   0x03
 
#define ENVCTRL_VOLTAGE_POWERSUPPLY_BAD   0x04
 
#define ENVCTRL_ALL_FANS_GOOD   0x00
 
#define ENVCTRL_FAN0_FAILURE_MASK   0x01
 
#define ENVCTRL_FAN1_FAILURE_MASK   0x02
 
#define ENVCTRL_FAN2_FAILURE_MASK   0x04
 
#define ENVCTRL_FAN3_FAILURE_MASK   0x08
 
#define ENVCTRL_FAN4_FAILURE_MASK   0x10
 
#define ENVCTRL_FAN5_FAILURE_MASK   0x20
 
#define ENVCTRL_FAN6_FAILURE_MASK   0x40
 
#define ENVCTRL_FAN7_FAILURE_MASK   0x80
 
#define ENVCTRL_ALL_FANS_BAD   0xFF
 

Macro Definition Documentation

#define ENVCTRL_ALL_FANS_BAD   0xFF

Definition at line 101 of file envctrl.h.

#define ENVCTRL_ALL_FANS_GOOD   0x00

Definition at line 92 of file envctrl.h.

#define ENVCTRL_FAN0_FAILURE_MASK   0x01

Definition at line 93 of file envctrl.h.

#define ENVCTRL_FAN1_FAILURE_MASK   0x02

Definition at line 94 of file envctrl.h.

#define ENVCTRL_FAN2_FAILURE_MASK   0x04

Definition at line 95 of file envctrl.h.

#define ENVCTRL_FAN3_FAILURE_MASK   0x08

Definition at line 96 of file envctrl.h.

#define ENVCTRL_FAN4_FAILURE_MASK   0x10

Definition at line 97 of file envctrl.h.

#define ENVCTRL_FAN5_FAILURE_MASK   0x20

Definition at line 98 of file envctrl.h.

#define ENVCTRL_FAN6_FAILURE_MASK   0x40

Definition at line 99 of file envctrl.h.

#define ENVCTRL_FAN7_FAILURE_MASK   0x80

Definition at line 100 of file envctrl.h.

#define ENVCTRL_POWERSUPPLY_BAD   0x03

Definition at line 62 of file envctrl.h.

#define ENVCTRL_RD_CPU_TEMPERATURE   _IOR('p', 0x40, int)

Definition at line 47 of file envctrl.h.

#define ENVCTRL_RD_CPU_VOLTAGE   _IOR('p', 0x41, int)

Definition at line 48 of file envctrl.h.

#define ENVCTRL_RD_ETHERNET_TEMPERATURE   _IOR('p', 0x47, int)

Definition at line 54 of file envctrl.h.

#define ENVCTRL_RD_FAN_STATUS   _IOR('p', 0x42, int)

Definition at line 49 of file envctrl.h.

#define ENVCTRL_RD_GLOBALADDRESS   _IOR('p', 0x49, int)

Definition at line 57 of file envctrl.h.

#define ENVCTRL_RD_MTHRBD_TEMPERATURE   _IOR('p', 0x48, int)

Definition at line 55 of file envctrl.h.

#define ENVCTRL_RD_SCSI_TEMPERATURE   _IOR('p', 0x46, int)

Definition at line 53 of file envctrl.h.

#define ENVCTRL_RD_SHUTDOWN_TEMPERATURE   _IOR('p', 0x44, int)

Definition at line 51 of file envctrl.h.

#define ENVCTRL_RD_VOLTAGE_STATUS   _IOR('p', 0x45, int)

Definition at line 52 of file envctrl.h.

#define ENVCTRL_RD_WARNING_TEMPERATURE   _IOR('p', 0x43, int)

Definition at line 50 of file envctrl.h.

#define ENVCTRL_VOLTAGE_BAD   0x02

Definition at line 61 of file envctrl.h.

#define ENVCTRL_VOLTAGE_POWERSUPPLY_BAD   0x04

Definition at line 63 of file envctrl.h.

#define ENVCTRL_VOLTAGE_POWERSUPPLY_GOOD   0x01

Definition at line 60 of file envctrl.h.