OpenBIC
OpenSource Bridge-IC
|
#include <stdint.h>
Go to the source code of this file.
Functions | |
uint8_t | plat_get_config_size () |
void | load_sensor_config (void) |
#define ADM1278_ADDR (0x80 >> 1) |
#define LTC4282_ADDR (0x82 >> 1) |
#define MP5990_ADDR (0xA0 >> 1) |
#define MPRO_ADDR (0x9E >> 1) |
#define POLL_TIME_BAT3V 3600 |
#define SENSOR_NUM_CPU_FAULT 0xC0 |
#define SENSOR_NUM_CPU_SHD 0xC1 |
#define SENSOR_NUM_CUR_D2D_VR 0x34 |
#define SENSOR_NUM_CUR_HSCOUT 0x2F |
#define SENSOR_NUM_CUR_PCI_A_VR 0x38 |
#define SENSOR_NUM_CUR_PCI_D_VR 0x37 |
#define SENSOR_NUM_CUR_PCP_VR 0x30 |
#define SENSOR_NUM_CUR_RC_DDR0_VR 0x35 |
#define SENSOR_NUM_CUR_RC_DDR1_VR 0x36 |
#define SENSOR_NUM_CUR_SOC_VR 0x31 |
#define SENSOR_NUM_CUR_VDDQ_DDR0123_VR 0x32 |
#define SENSOR_NUM_CUR_VDDQ_DDR4567_VR 0x33 |
#define SENSOR_NUM_PMIC_ERROR 0xB4 |
#define SENSOR_NUM_POWER_ERROR 0x56 |
#define SENSOR_NUM_PROC_FAIL 0x65 |
#define SENSOR_NUM_PWR_CPU 0x39 |
#define SENSOR_NUM_PWR_D2D_VR 0x3F |
#define SENSOR_NUM_PWR_DIMM_CH0 0x45 |
#define SENSOR_NUM_PWR_DIMM_CH1 0x46 |
#define SENSOR_NUM_PWR_DIMM_CH2 0x47 |
#define SENSOR_NUM_PWR_DIMM_CH3 0x48 |
#define SENSOR_NUM_PWR_DIMM_CH4 0x49 |
#define SENSOR_NUM_PWR_DIMM_CH5 0x4A |
#define SENSOR_NUM_PWR_DIMM_CH6 0x4B |
#define SENSOR_NUM_PWR_DIMM_CH7 0x4C |
#define SENSOR_NUM_PWR_DIMM_TOTAL 0x44 |
#define SENSOR_NUM_PWR_HSCIN 0x3A |
#define SENSOR_NUM_PWR_PCI_A_VR 0x43 |
#define SENSOR_NUM_PWR_PCI_D_VR 0x42 |
#define SENSOR_NUM_PWR_PCP_VR 0x3B |
#define SENSOR_NUM_PWR_RC_DDR0_VR 0x40 |
#define SENSOR_NUM_PWR_RC_DDR1_VR 0x41 |
#define SENSOR_NUM_PWR_SOC_VR 0x3C |
#define SENSOR_NUM_PWR_VDDQ_DDR0123_VR 0x3D |
#define SENSOR_NUM_PWR_VDDQ_DDR4567_VR 0x3E |
#define SENSOR_NUM_SYSTEM_STATUS 0x10 |
#define SENSOR_NUM_TEMP_CPU 0x4 |
#define SENSOR_NUM_TEMP_D2D_VR 0x13 |
#define SENSOR_NUM_TEMP_DIMM_CH0 0x7 |
#define SENSOR_NUM_TEMP_DIMM_CH1 0x8 |
#define SENSOR_NUM_TEMP_DIMM_CH2 0x9 |
#define SENSOR_NUM_TEMP_DIMM_CH3 0xA |
#define SENSOR_NUM_TEMP_DIMM_CH4 0xB |
#define SENSOR_NUM_TEMP_DIMM_CH5 0xC |
#define SENSOR_NUM_TEMP_DIMM_CH6 0xD |
#define SENSOR_NUM_TEMP_DIMM_CH7 0xE |
#define SENSOR_NUM_TEMP_HSC 0x6 |
#define SENSOR_NUM_TEMP_PCI_A_VR 0x17 |
#define SENSOR_NUM_TEMP_PCI_D_VR 0x16 |
#define SENSOR_NUM_TEMP_PCP_VR 0xF |
#define SENSOR_NUM_TEMP_RC_DDR0_VR 0x14 |
#define SENSOR_NUM_TEMP_RC_DDR1_VR 0x15 |
#define SENSOR_NUM_TEMP_SOC_VR 0x10 |
#define SENSOR_NUM_TEMP_SSD 0x5 |
#define SENSOR_NUM_TEMP_TMP75_FIO 0x3 |
#define SENSOR_NUM_TEMP_TMP75_IN 0x1 |
#define SENSOR_NUM_TEMP_TMP75_OUT 0x2 |
#define SENSOR_NUM_TEMP_VDDQ_DDR0123_VR 0x11 |
#define SENSOR_NUM_TEMP_VDDQ_DDR4567_VR 0x12 |
#define SENSOR_NUM_VOL_ADC0_P12V_STBY 0x19 |
#define SENSOR_NUM_VOL_ADC10_P1V2_STBY 0x21 |
#define SENSOR_NUM_VOL_ADC11_SOC_RC_DDR1 0x22 |
#define SENSOR_NUM_VOL_ADC12_P12V_S0_DIMM0 0x23 |
#define SENSOR_NUM_VOL_ADC13_P12V_S0_DIMM1 0x24 |
#define SENSOR_NUM_VOL_ADC14_P5V_STBY 0x25 |
#define SENSOR_NUM_VOL_ADC1_SOC_RC_DDR0 0x1A |
#define SENSOR_NUM_VOL_ADC2_P3V3_STBY 0x1B |
#define SENSOR_NUM_VOL_ADC3_P0V75_PCP 0x1C |
#define SENSOR_NUM_VOL_ADC4_P3V_BAT 0x1D |
#define SENSOR_NUM_VOL_ADC5_P0V8_D2D 0x1E |
#define SENSOR_NUM_VOL_ADC8_EXT_VREF_ADC_S0 0x1F |
#define SENSOR_NUM_VOL_ADC9_P3V3_M2 0x20 |
#define SENSOR_NUM_VOL_D2D_VR 0x2A |
#define SENSOR_NUM_VOL_HSCIN 0x18 |
#define SENSOR_NUM_VOL_PCI_A_VR 0x2E |
#define SENSOR_NUM_VOL_PCI_D_VR 0x2D |
#define SENSOR_NUM_VOL_PCP_VR 0x26 |
#define SENSOR_NUM_VOL_RC_DDR0_VR 0x2B |
#define SENSOR_NUM_VOL_RC_DDR1_VR 0x2C |
#define SENSOR_NUM_VOL_SOC_VR 0x27 |
#define SENSOR_NUM_VOL_VDDQ_DDR0123_VR 0x28 |
#define SENSOR_NUM_VOL_VDDQ_DDR4567_VR 0x29 |
#define SENSOR_NUM_VR_FAULT 0xB3 |
#define SENSOR_NUM_VR_HOT 0xB2 |
#define SENSOR_NUM_VR_OCP 0x71 |
#define SSD_ADDR (0xD4 >> 1) |
#define SSD_TEMP_OFFSET 0x00 |
#define TEMP_HSC_ADDR (0x98 >> 1) |
#define TMP75_FIO_ADDR (0x90 >> 1) |
#define TMP75_IN_ADDR (0x92 >> 1) |
#define TMP75_OUT_ADDR (0x94 >> 1) |
#define TMP75_TEMP_OFFSET 0x00 |
void load_sensor_config | ( | void | ) |
uint8_t plat_get_config_size | ( | ) |