coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
env_ctrl_chip.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  ite_ec_thermal_config
 
struct  ite_ec_fan_smartconfig
 
struct  ite_ec_fan_config
 
struct  ite_ec_config
 

Macros

#define ITE_EC_TMPIN_CNT   3
 
#define ITE_EC_FAN_CNT   3
 
#define TMPIN1   ec.tmpin[0]
 
#define TMPIN2   ec.tmpin[1]
 
#define TMPIN3   ec.tmpin[2]
 
#define FAN1   ec.fan[0]
 
#define FAN2   ec.fan[1]
 
#define FAN3   ec.fan[2]
 
#define FAN4   ec.fan[3]
 
#define FAN5   ec.fan[4]
 

Enumerations

enum  ite_ec_thermal_mode { THERMAL_MODE_DISABLED = 0 , THERMAL_DIODE , THERMAL_RESISTOR , THERMAL_PECI }
 
enum  ite_ec_voltage_pin {
  VIN0 = 0x01 , VIN1 = 0x02 , VIN2 = 0x04 , VIN3 = 0x08 ,
  VIN4 = 0x10 , VIN5 = 0x20 , VIN6 = 0x40 , VIN7 = 0x80 ,
  VIN_ALL = 0xff
}
 
enum  ite_ec_fan_mode {
  FAN_IGNORE = 0 , FAN_MODE_ON , FAN_MODE_OFF , FAN_SMART_SOFTWARE ,
  FAN_SMART_AUTOMATIC
}
 

Macro Definition Documentation

◆ FAN1

#define FAN1   ec.fan[0]

Definition at line 108 of file env_ctrl_chip.h.

◆ FAN2

#define FAN2   ec.fan[1]

Definition at line 109 of file env_ctrl_chip.h.

◆ FAN3

#define FAN3   ec.fan[2]

Definition at line 110 of file env_ctrl_chip.h.

◆ FAN4

#define FAN4   ec.fan[3]

Definition at line 111 of file env_ctrl_chip.h.

◆ FAN5

#define FAN5   ec.fan[4]

Definition at line 112 of file env_ctrl_chip.h.

◆ ITE_EC_FAN_CNT

#define ITE_EC_FAN_CNT   3

Definition at line 11 of file env_ctrl_chip.h.

◆ ITE_EC_TMPIN_CNT

#define ITE_EC_TMPIN_CNT   3

Definition at line 6 of file env_ctrl_chip.h.

◆ TMPIN1

#define TMPIN1   ec.tmpin[0]

Definition at line 104 of file env_ctrl_chip.h.

◆ TMPIN2

#define TMPIN2   ec.tmpin[1]

Definition at line 105 of file env_ctrl_chip.h.

◆ TMPIN3

#define TMPIN3   ec.tmpin[2]

Definition at line 106 of file env_ctrl_chip.h.

Enumeration Type Documentation

◆ ite_ec_fan_mode

Enumerator
FAN_IGNORE 
FAN_MODE_ON 
FAN_MODE_OFF 
FAN_SMART_SOFTWARE 
FAN_SMART_AUTOMATIC 

Definition at line 44 of file env_ctrl_chip.h.

◆ ite_ec_thermal_mode

Enumerator
THERMAL_MODE_DISABLED 
THERMAL_DIODE 
THERMAL_RESISTOR 
THERMAL_PECI 

Definition at line 15 of file env_ctrl_chip.h.

◆ ite_ec_voltage_pin

Enumerator
VIN0 
VIN1 
VIN2 
VIN3 
VIN4 
VIN5 
VIN6 
VIN7 
VIN_ALL 

Definition at line 32 of file env_ctrl_chip.h.