Go to the source code of this file.
◆ ASSERTION_EVENT
#define ASSERTION_EVENT 0x00 |
◆ DEASSERTION_EVENT
#define DEASSERTION_EVENT 0x80 |
◆ GET_EVENT_TYPE_CODE
#define GET_EVENT_TYPE_CODE |
( |
| n | ) |
((SDR_type_01h_t *)sensor->sdr)->event_reading_type |
◆ GET_SENSOR_TYPE
#define GET_SENSOR_TYPE |
( |
| sensor | ) |
((SDR_type_01h_t *)sensor->sdr)->sensortype |
◆ IPMI_THRESHOLD_LC_GH
#define IPMI_THRESHOLD_LC_GH 0x03 |
◆ IPMI_THRESHOLD_LC_GL
#define IPMI_THRESHOLD_LC_GL 0x02 |
◆ IPMI_THRESHOLD_LNC_GH
#define IPMI_THRESHOLD_LNC_GH 0x01 |
◆ IPMI_THRESHOLD_LNC_GL
#define IPMI_THRESHOLD_LNC_GL 0x00 |
◆ IPMI_THRESHOLD_LNR_GH
#define IPMI_THRESHOLD_LNR_GH 0x05 |
◆ IPMI_THRESHOLD_LNR_GL
#define IPMI_THRESHOLD_LNR_GL 0x04 |
◆ IPMI_THRESHOLD_UC_GH
#define IPMI_THRESHOLD_UC_GH 0x09 |
◆ IPMI_THRESHOLD_UC_GL
#define IPMI_THRESHOLD_UC_GL 0x08 |
◆ IPMI_THRESHOLD_UNC_GH
#define IPMI_THRESHOLD_UNC_GH 0x07 |
◆ IPMI_THRESHOLD_UNC_GL
#define IPMI_THRESHOLD_UNC_GL 0x06 |
◆ IPMI_THRESHOLD_UNR_GH
#define IPMI_THRESHOLD_UNR_GH 0x0B |
◆ IPMI_THRESHOLD_UNR_GL
#define IPMI_THRESHOLD_UNR_GL 0x0A |
◆ LOWER_EQ
◆ NUM_SDR
#define NUM_SDR (NUM_SENSOR+1) /* Number of SDRs */ |
◆ NUM_SENSOR
#define NUM_SENSOR 21 /* Number of sensors */ |
◆ SENSOR_STATE_HIGH
#define SENSOR_STATE_HIGH 0x08 |
◆ SENSOR_STATE_HIGH_CRIT
#define SENSOR_STATE_HIGH_CRIT 0x10 |
◆ SENSOR_STATE_HIGH_NON_REC
#define SENSOR_STATE_HIGH_NON_REC 0x20 |
◆ SENSOR_STATE_LOW
#define SENSOR_STATE_LOW 0x01 |
◆ SENSOR_STATE_LOW_CRIT
#define SENSOR_STATE_LOW_CRIT 0x02 |
◆ SENSOR_STATE_LOW_NON_REC
#define SENSOR_STATE_LOW_NON_REC 0x04 |
◆ SENSOR_STATE_NORMAL
#define SENSOR_STATE_NORMAL 0x00 |
◆ SENSOR_TYPE_CURRENT
#define SENSOR_TYPE_CURRENT 0x03 |
◆ SENSOR_TYPE_FAN
#define SENSOR_TYPE_FAN 0x04 |
◆ SENSOR_TYPE_HOT_SWAP
#define SENSOR_TYPE_HOT_SWAP 0xF2 |
◆ SENSOR_TYPE_TEMPERATURE
#define SENSOR_TYPE_TEMPERATURE 0x01 |
◆ SENSOR_TYPE_VERSION_CHANGE
#define SENSOR_TYPE_VERSION_CHANGE 0x2B |
◆ SENSOR_TYPE_VOLTAGE
#define SENSOR_TYPE_VOLTAGE 0x02 |
◆ SENSOR_TYPE_WATCHDOG
#define SENSOR_TYPE_WATCHDOG 0x23 |
◆ SIGNED
◆ UNSIGNED
◆ UPPER_EQ
◆ sensor_t
typedef struct sensor_t sensor_t |
◆ SDR_TYPE
Enumerator |
---|
TYPE_01 | |
TYPE_02 | |
TYPE_11 | |
TYPE_12 | |
◆ amc_sdr_init()
void amc_sdr_init |
( |
void | | ) |
|
◆ check_sensor_event()
void check_sensor_event |
( |
sensor_t * | sensor | ) |
|
Should be rewritten to be compliant with RTM management !!
Compare threshold with the upper thresholds
Upper non-critical threshold going-high
Upper critical threshold going-high
Upper non-recoverable threshold going-high
Lower non-critical threshold going-high
Lower critical threshold going-high
Lower non-recoverable threshold going-high
◆ find_sensor_by_id()
sensor_t * find_sensor_by_id |
( |
uint8_t | id | ) |
|
◆ find_sensor_by_sdr()
sensor_t * find_sensor_by_sdr |
( |
void * | sdr | ) |
|
◆ sdr_add_settings()
sensor_t * sdr_add_settings |
( |
uint8_t | chipid, |
|
|
void * | settings ) |
◆ sdr_init()
◆ sdr_insert_entry()
sensor_t * sdr_insert_entry |
( |
SDR_TYPE | type, |
|
|
void * | sdr, |
|
|
TaskHandle_t * | monitor_task, |
|
|
uint8_t | diag_id, |
|
|
uint8_t | slave_addr ) |
◆ sdr_pop()
◆ sdr_remove_entry()
void sdr_remove_entry |
( |
sensor_t * | entry | ) |
|
◆ sensor_disable()
void sensor_disable |
( |
sensor_t * | sensor | ) |
|
◆ sensor_enable()
◆ sensor_init()
void sensor_init |
( |
void | | ) |
|
◆ sensor_state_check()
void sensor_state_check |
( |
sensor_t * | sensor | ) |
|
◆ SDR0
◆ sdr_count
volatile uint8_t sdr_count |
|
extern |
◆ sdr_head
◆ SDR_RTM_DEV_LOCATOR
◆ sdr_tail