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  nct7802y_peci_config
 
struct  nct7802y_sensors_config
 
struct  nct7802y_fan_smartconfig
 
struct  nct7802y_fan_config
 
struct  drivers_i2c_nct7802y_config
 

Macros

#define NCT7802Y_PECI_CNT   2
 
#define NCT7802Y_FAN_CNT   3
 
#define NCT7802Y_RTD_CNT   3
 

Enumerations

enum  nct7802y_rtd_mode { RTD_CLOSED = 0 , RTD_CURRENT_MODE , RTD_THERMISTOR_MODE , RTD_VOLTAGE_MODE }
 
enum  nct7802y_peci_mode { PECI_DISABLED = 0 , PECI_DOMAIN_0 , PECI_DOMAIN_1 , PECI_HIGHEST }
 
enum  nct7802y_fan_mode { FAN_IGNORE = 0 , FAN_MANUAL , FAN_SMART }
 
enum  nct7802y_fan_smartmode { SMART_FAN_DUTY = 0 , SMART_FAN_RPM }
 
enum  nct7802y_fan_speed { FAN_SPEED_NORMAL = 0 , FAN_SPPED_HIGHSPEED }
 
enum  nct7802y_fan_pecierror { PECI_ERROR_KEEP = 0 , PECI_ERROR_VALUE , PECI_ERROR_FULLSPEED }
 
enum  nct7802y_temp_source {
  TEMP_SOURCE_REMOTE_1 = 0 , TEMP_SOURCE_REMOTE_2 , TEMP_SOURCE_REMOTE_3 , TEMP_SOURCE_LOCAL ,
  TEMP_SOURCE_PECI_0 , TEMP_SOURCE_PECI_1 , TEMP_SOURCE_PROGRAMMABLE_0 , TEMP_SOURCE_PROGRAMMABLE_1
}
 

Macro Definition Documentation

◆ NCT7802Y_FAN_CNT

#define NCT7802Y_FAN_CNT   3

Definition at line 9 of file chip.h.

◆ NCT7802Y_PECI_CNT

#define NCT7802Y_PECI_CNT   2

Definition at line 8 of file chip.h.

◆ NCT7802Y_RTD_CNT

#define NCT7802Y_RTD_CNT   3

Definition at line 10 of file chip.h.

Enumeration Type Documentation

◆ nct7802y_fan_mode

Enumerator
FAN_IGNORE 
FAN_MANUAL 
FAN_SMART 

Definition at line 32 of file chip.h.

◆ nct7802y_fan_pecierror

Enumerator
PECI_ERROR_KEEP 
PECI_ERROR_VALUE 
PECI_ERROR_FULLSPEED 

Definition at line 48 of file chip.h.

◆ nct7802y_fan_smartmode

Enumerator
SMART_FAN_DUTY 
SMART_FAN_RPM 

Definition at line 38 of file chip.h.

◆ nct7802y_fan_speed

Enumerator
FAN_SPEED_NORMAL 
FAN_SPPED_HIGHSPEED 

Definition at line 43 of file chip.h.

◆ nct7802y_peci_mode

Enumerator
PECI_DISABLED 
PECI_DOMAIN_0 
PECI_DOMAIN_1 
PECI_HIGHEST 

Definition at line 20 of file chip.h.

◆ nct7802y_rtd_mode

Enumerator
RTD_CLOSED 
RTD_CURRENT_MODE 
RTD_THERMISTOR_MODE 
RTD_VOLTAGE_MODE 

Definition at line 13 of file chip.h.

◆ nct7802y_temp_source

Enumerator
TEMP_SOURCE_REMOTE_1 
TEMP_SOURCE_REMOTE_2 
TEMP_SOURCE_REMOTE_3 
TEMP_SOURCE_LOCAL 
TEMP_SOURCE_PECI_0 
TEMP_SOURCE_PECI_1 
TEMP_SOURCE_PROGRAMMABLE_0 
TEMP_SOURCE_PROGRAMMABLE_1 

Definition at line 54 of file chip.h.