17#ifndef PLAT_PLDM_SENSOR_H
18#define PLAT_PLDM_SENSOR_H
22#define ADDR_TMP75_INLET (0x92 >> 1)
23#define ADDR_TMP461_CXL1 (0x98 >> 1)
24#define ADDR_TMP461_CXL2 (0x90 >> 1)
25#define ADDR_INA233_P12V_STBY (0x80 >> 1)
26#define ADDR_INA233_E1S (0x8A >> 1)
27#define ADDR_VR_P0V85_ASIC1 (0xC4 >> 1)
28#define ADDR_VR_P0V8_ASIC1 (0xB4 >> 1)
29#define ADDR_VR_PVDDQ_AB_ASIC1 (0xC4 >> 1)
30#define ADDR_VR_PVDDQ_CD_ASIC1 (0xB4 >> 1)
31#define ADDR_VR_P0V85_ASIC2 (0xEC >> 1)
32#define ADDR_VR_P0V8_ASIC2 (0xE4 >> 1)
33#define ADDR_VR_PVDDQ_AB_ASIC2 (0xEC >> 1)
34#define ADDR_VR_PVDDQ_CD_ASIC2 (0xE4 >> 1)
35#define ADDR_NVME (0xD4 >> 1)
36#define ADDR_MAX11617 (0x6A >> 1)
37#define ADDR_ADC128D818 (0x3A >> 1)
39#define OFFSET_TMP75_TEMP 0x00
40#define OFFSET_TMP461_TEMP 0x00
41#define OFFSET_NVME_TEMP 0x00
43#define SENSOR_ID_ASIC1_DIMM_A_TEMP 0x000C
44#define SENSOR_ID_ASIC1_DIMM_B_TEMP 0x000D
45#define SENSOR_ID_ASIC1_DIMM_C_TEMP 0x000E
46#define SENSOR_ID_ASIC1_DIMM_D_TEMP 0x000F
47#define SENSOR_ID_ASIC2_DIMM_A_TEMP 0x0010
48#define SENSOR_ID_ASIC2_DIMM_B_TEMP 0x0011
49#define SENSOR_ID_ASIC2_DIMM_C_TEMP 0x0012
50#define SENSOR_ID_ASIC2_DIMM_D_TEMP 0x0013
52#define UPDATE_INTERVAL_1S 1
53#define UPDATE_INTERVAL_3S 3
54#define UPDATE_INTERVAL_10S 10
56#define CXL_DIMM_MUTEX_WAITING_TIME_MS 100
uint8_t eid
Definition: mctp_ctrl.h:1
PDR_numeric_sensor * numeric_sensor_table
Definition: pdr.c:16
PDR_numeric_sensor
Definition: pdr.h:115
uint8_t sensor_num
Definition: storage_handler.h:6