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:1117
bool system_failure_recovery()
Definition: plat_threshold.c:206
bool get_threshold_poll_enable_flag()
Definition: plat_threshold.c:1044
uint32_t get_threshold_status(uint8_t sensor_num)
Definition: plat_threshold.c:1049
void set_is_pump_not_access(uint8_t index, bool flag)
Definition: plat_threshold.c:798
bool hsc_fail_check()
Definition: plat_threshold.c:200
uint8_t fb_hsc_status(uint8_t idx)
Definition: plat_threshold.c:1025
void set_threshold_poll_enable_flag(bool flag)
Definition: plat_threshold.c:1039
bool pump_fail_check()
Definition: plat_threshold.c:141
void pump_change_threshold(uint8_t sensor_num, uint8_t duty)
Definition: plat_threshold.c:1191
void set_is_hsc_hsc_fail(bool flag)
Definition: plat_threshold.c:1212
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:803
sensor_threshold * find_threshold_tbl_entry(uint8_t sensor_num)
Definition: plat_threshold.c:748
bool check_rpu_ready()
Definition: plat_threshold.c:245
void set_threshold_status_to_normal(void)
Definition: plat_threshold.c:1111
bool hsc_communicate_check()
Definition: plat_threshold.c:170
void set_is_fan_not_access(uint8_t index, bool flag)
Definition: plat_threshold.c:393
void fan_pump_pwrgd()
Definition: plat_threshold.c:1411
bool get_is_fan_not_access(uint8_t index)
Definition: plat_threshold.c:398
bool get_is_hsc_hsc_fail()
Definition: plat_threshold.c:1217
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