OpenBIC
OpenSource Bridge-IC
plat_pmic.h File Reference
#include <stdint.h>
Include dependency graph for plat_pmic.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define MONITOR_PMIC_ERROR_STACK_SIZE   4096
 
#define MONITOR_PMIC_ERROR_TIME_MS   (3 * 1000)
 
#define MAX_LEN_GET_PMIC_ERROR_INFO   6
 
#define MAX_COUNT_DIMM   4
 
#define MAX_COUNT_PMIC_ERROR_TYPE   17
 

Functions

void start_monitor_pmic_error_thread ()
 
void monitor_pmic_error_handler ()
 
int compare_pmic_error (uint8_t dimm_id, uint8_t *pmic_err_data)
 
int get_dimm_info (uint8_t dimm_id, uint8_t *bus, uint8_t *addr)
 
void add_pmic_error_sel (uint8_t dimm_id, uint8_t error_type)
 

Macro Definition Documentation

◆ MAX_COUNT_DIMM

#define MAX_COUNT_DIMM   4

◆ MAX_COUNT_PMIC_ERROR_TYPE

#define MAX_COUNT_PMIC_ERROR_TYPE   17

◆ MAX_LEN_GET_PMIC_ERROR_INFO

#define MAX_LEN_GET_PMIC_ERROR_INFO   6

◆ MONITOR_PMIC_ERROR_STACK_SIZE

#define MONITOR_PMIC_ERROR_STACK_SIZE   4096

◆ MONITOR_PMIC_ERROR_TIME_MS

#define MONITOR_PMIC_ERROR_TIME_MS   (3 * 1000)

Function Documentation

◆ add_pmic_error_sel()

void add_pmic_error_sel ( uint8_t  dimm_id,
uint8_t  error_type 
)

◆ compare_pmic_error()

int compare_pmic_error ( uint8_t  dimm_id,
uint8_t *  pmic_err_data 
)

◆ get_dimm_info()

int get_dimm_info ( uint8_t  dimm_id,
uint8_t *  bus,
uint8_t *  addr 
)

◆ monitor_pmic_error_handler()

void monitor_pmic_error_handler ( )

◆ start_monitor_pmic_error_thread()

void start_monitor_pmic_error_thread ( )