OpenBIC
OpenSource Bridge-IC
plat_threshold.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  sensor_threshold
 

Macros

#define TWO_BYTES_SENSOR_STATUS   0xFF
 

Enumerations

enum  THRESHOLD_STATUS {
  THRESHOLD_STATUS_NORMAL , THRESHOLD_STATUS_LCR , THRESHOLD_STATUS_UCR , THRESHOLD_STATUS_NOT_ACCESS ,
  THRESHOLD_STATUS_DISCRETE_CHANGED , THRESHOLD_STATUS_UNKNOWN
}
 

Functions

void set_threshold_poll_enable_flag (bool flag)
 
bool get_threshold_poll_enable_flag ()
 
void threshold_poll_init ()
 
void fan_pump_pwrgd ()
 
sensor_thresholdfind_threshold_tbl_entry (uint8_t sensor_num)
 
uint8_t fb_hsc_status (uint8_t idx)
 
uint32_t get_threshold_status (uint8_t sensor_num)
 
bool pump_fail_check ()
 
bool hex_fan_fail_check ()
 
bool hsc_communicate_check ()
 
bool system_failure_recovery ()
 
bool rpu_ready_recovery ()
 
void pump_change_threshold (uint8_t sensor_num, uint8_t duty)
 

Macro Definition Documentation

◆ TWO_BYTES_SENSOR_STATUS

#define TWO_BYTES_SENSOR_STATUS   0xFF

Enumeration Type Documentation

◆ THRESHOLD_STATUS

Enumerator
THRESHOLD_STATUS_NORMAL 
THRESHOLD_STATUS_LCR 
THRESHOLD_STATUS_UCR 
THRESHOLD_STATUS_NOT_ACCESS 
THRESHOLD_STATUS_DISCRETE_CHANGED 
THRESHOLD_STATUS_UNKNOWN 

Function Documentation

◆ fan_pump_pwrgd()

void fan_pump_pwrgd ( )
Here is the call graph for this function:

◆ fb_hsc_status()

uint8_t fb_hsc_status ( uint8_t  idx)
Here is the call graph for this function:

◆ find_threshold_tbl_entry()

sensor_threshold * find_threshold_tbl_entry ( uint8_t  sensor_num)

◆ get_threshold_poll_enable_flag()

bool get_threshold_poll_enable_flag ( )

◆ get_threshold_status()

uint32_t get_threshold_status ( uint8_t  sensor_num)

◆ hex_fan_fail_check()

bool hex_fan_fail_check ( )
Here is the call graph for this function:

◆ hsc_communicate_check()

bool hsc_communicate_check ( )
Here is the call graph for this function:

◆ pump_change_threshold()

void pump_change_threshold ( uint8_t  sensor_num,
uint8_t  duty 
)
Here is the call graph for this function:

◆ pump_fail_check()

bool pump_fail_check ( )
Here is the call graph for this function:

◆ rpu_ready_recovery()

bool rpu_ready_recovery ( )
Here is the call graph for this function:

◆ set_threshold_poll_enable_flag()

void set_threshold_poll_enable_flag ( bool  flag)

◆ system_failure_recovery()

bool system_failure_recovery ( )
Here is the call graph for this function:

◆ threshold_poll_init()

void threshold_poll_init ( )
Here is the call graph for this function: