17#ifndef PLAT_THRESHOLD_H
18#define PLAT_THRESHOLD_H
20#define TWO_BYTES_SENSOR_STATUS 0xFF
27 void (*fn)(uint32_t, uint32_t);
void threshold_poll_init()
Definition: plat_threshold.c:1138
bool system_failure_recovery()
Definition: plat_threshold.c:206
bool get_threshold_poll_enable_flag()
Definition: plat_threshold.c:1065
uint32_t get_threshold_status(uint8_t sensor_num)
Definition: plat_threshold.c:1070
void set_is_pump_not_access(uint8_t index, bool flag)
Definition: plat_threshold.c:822
bool hsc_fail_check()
Definition: plat_threshold.c:200
bool get_is_press_abnormal()
Definition: plat_threshold.c:774
void set_is_rpu_level_abnormal(bool flag)
Definition: plat_threshold.c:601
uint8_t fb_hsc_status(uint8_t idx)
Definition: plat_threshold.c:1046
void set_threshold_poll_enable_flag(bool flag)
Definition: plat_threshold.c:1060
bool get_is_rpu_level_abnormal()
Definition: plat_threshold.c:606
void set_is_press_abnormal(bool flag)
Definition: plat_threshold.c:769
bool pump_fail_check()
Definition: plat_threshold.c:141
void pump_change_threshold(uint8_t sensor_num, uint8_t duty)
Definition: plat_threshold.c:1212
void set_is_hsc_hsc_fail(bool flag)
Definition: plat_threshold.c:1233
THRESHOLD_STATUS
Definition: plat_threshold.h:37
@ THRESHOLD_STATUS_LCR
Definition: plat_threshold.h:39
@ THRESHOLD_STATUS_UNKNOWN
Definition: plat_threshold.h:43
@ THRESHOLD_STATUS_NORMAL
Definition: plat_threshold.h:38
@ THRESHOLD_STATUS_NOT_ACCESS
Definition: plat_threshold.h:41
@ THRESHOLD_STATUS_UCR
Definition: plat_threshold.h:40
@ THRESHOLD_STATUS_DISCRETE_CHANGED
Definition: plat_threshold.h:42
bool hex_fan_fail_check()
Definition: plat_threshold.c:156
bool get_is_pump_not_access(uint8_t index)
Definition: plat_threshold.c:827
sensor_threshold * find_threshold_tbl_entry(uint8_t sensor_num)
Definition: plat_threshold.c:756
bool check_rpu_ready()
Definition: plat_threshold.c:245
void set_is_rack_level_abnormal(bool flag)
Definition: plat_threshold.c:568
void set_threshold_status_to_normal(void)
Definition: plat_threshold.c:1132
bool hsc_communicate_check()
Definition: plat_threshold.c:170
void fan_pump_pwrgd()
Definition: plat_threshold.c:1432
bool get_is_rack_level_abnormal()
Definition: plat_threshold.c:573
bool get_is_hsc_hsc_fail()
Definition: plat_threshold.c:1238
uint8_t sensor_num
Definition: storage_handler.h:6
Definition: plat_threshold.h:22
uint8_t type
Definition: plat_threshold.h:24
uint8_t sensor_num
Definition: plat_threshold.h:23
uint32_t last_value
Definition: plat_threshold.h:33
float ucr
Definition: plat_threshold.h:26
uint8_t retry
Definition: plat_threshold.h:29
uint32_t last_status
Definition: plat_threshold.h:32
uint32_t arg0
Definition: plat_threshold.h:28
uint8_t retry_count
Definition: plat_threshold.h:34
float lcr
Definition: plat_threshold.h:25