coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
chip.h File Reference
#include <stdint.h>
Include dependency graph for chip.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  lm96000_fan_config
 
struct  lm96000_temp_zone
 
struct  drivers_i2c_lm96000_config
 

Macros

#define LM96000_VIN_CNT   5
 
#define LM96000_TEMP_IN_CNT   3
 
#define LM96000_FAN_IN_CNT   4
 
#define LM96000_PWM_CTL_CNT   3
 
#define LM96000_TEMP_ZONE_CNT   3
 

Enumerations

enum  lm96000_vin {
  LM96000_2_5V = 0 , LM96000_VCCP = 1 , LM96000_3_3V = 2 , LM96000_5V = 3 ,
  LM96000_12V = 4
}
 
enum  lm96000_fan_mode {
  LM96000_FAN_IGNORE = 0x00 , LM96000_FAN_ZONE_1_AUTO = 0x80 , LM96000_FAN_ZONE_2_AUTO = 0x81 , LM96000_FAN_ZONE_3_AUTO = 0x82 ,
  LM96000_FAN_ALWAYS_FULL = 0x83 , LM96000_FAN_DISABLED = 0x84 , LM96000_FAN_HOTTEST_23 = 0x85 , LM96000_FAN_HOTTEST_123 = 0x86 ,
  LM96000_FAN_MANUAL = 0x87
}
 
enum  lm96000_pwm_freq {
  LM96000_PWM_10HZ = 0 , LM96000_PWM_15HZ = 1 , LM96000_PWM_23HZ = 2 , LM96000_PWM_30HZ = 3 ,
  LM96000_PWM_38HZ = 4 , LM96000_PWM_47HZ = 5 , LM96000_PWM_61HZ = 6 , LM96000_PWM_94HZ = 7 ,
  LM96000_PWM_22_5KHZ = 8 , LM96000_PWM_24_0KHZ = 9 , LM96000_PWM_25_7KHZ = 10 , LM96000_PWM_27_7KHZ = 12 ,
  LM96000_PWM_30_0KHZ = 14
}
 
enum  lm96000_tach_mode { LM96000_TACH_MODE_1 = 1 , LM96000_TACH_MODE_2 = 2 , LM96000_TACH_MODE_3 = 3 }
 
enum  lm96000_spinup_time {
  LM96000_SPINUP_0MS = 0 , LM96000_SPINUP_100MS = 1 , LM96000_SPINUP_250MS = 2 , LM96000_SPINUP_400MS = 3 ,
  LM96000_SPINUP_700MS = 4 , LM96000_SPINUP_1000MS = 5 , LM96000_SPINUP_2000MS = 6 , LM96000_SPINUP_4000MS = 7
}
 

Macro Definition Documentation

◆ LM96000_FAN_IN_CNT

#define LM96000_FAN_IN_CNT   4

Definition at line 10 of file chip.h.

◆ LM96000_PWM_CTL_CNT

#define LM96000_PWM_CTL_CNT   3

Definition at line 11 of file chip.h.

◆ LM96000_TEMP_IN_CNT

#define LM96000_TEMP_IN_CNT   3

Definition at line 9 of file chip.h.

◆ LM96000_TEMP_ZONE_CNT

#define LM96000_TEMP_ZONE_CNT   3

Definition at line 12 of file chip.h.

◆ LM96000_VIN_CNT

#define LM96000_VIN_CNT   5

Definition at line 8 of file chip.h.

Enumeration Type Documentation

◆ lm96000_fan_mode

Enumerator
LM96000_FAN_IGNORE 
LM96000_FAN_ZONE_1_AUTO 
LM96000_FAN_ZONE_2_AUTO 
LM96000_FAN_ZONE_3_AUTO 
LM96000_FAN_ALWAYS_FULL 
LM96000_FAN_DISABLED 
LM96000_FAN_HOTTEST_23 
LM96000_FAN_HOTTEST_123 
LM96000_FAN_MANUAL 

Definition at line 22 of file chip.h.

◆ lm96000_pwm_freq

Enumerator
LM96000_PWM_10HZ 
LM96000_PWM_15HZ 
LM96000_PWM_23HZ 
LM96000_PWM_30HZ 
LM96000_PWM_38HZ 
LM96000_PWM_47HZ 
LM96000_PWM_61HZ 
LM96000_PWM_94HZ 
LM96000_PWM_22_5KHZ 
LM96000_PWM_24_0KHZ 
LM96000_PWM_25_7KHZ 
LM96000_PWM_27_7KHZ 
LM96000_PWM_30_0KHZ 

Definition at line 36 of file chip.h.

◆ lm96000_spinup_time

Enumerator
LM96000_SPINUP_0MS 
LM96000_SPINUP_100MS 
LM96000_SPINUP_250MS 
LM96000_SPINUP_400MS 
LM96000_SPINUP_700MS 
LM96000_SPINUP_1000MS 
LM96000_SPINUP_2000MS 
LM96000_SPINUP_4000MS 

Definition at line 59 of file chip.h.

◆ lm96000_tach_mode

Enumerator
LM96000_TACH_MODE_1 
LM96000_TACH_MODE_2 
LM96000_TACH_MODE_3 

Definition at line 52 of file chip.h.

◆ lm96000_vin

Enumerator
LM96000_2_5V 
LM96000_VCCP 
LM96000_3_3V 
LM96000_5V 
LM96000_12V 

Definition at line 14 of file chip.h.