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   1024
 
#define MONITOR_PMIC_ERROR_TIME_MS   (3 * 1000)
 
#define MAX_LEN_GET_PMIC_ERROR_INFO   7
 
#define MAX_COUNT_DIMM   8
 
#define MAX_COUNT_PMIC_ERROR_TYPE   17
 
#define SYS_CPLD_BMC_CHANNEL_ADDR   0x1E
 
#define PMIC_FAULT_STATUS_OFFSET   0x0B
 
#define MAX_LEN_PMIC_CRITICAL_ERROR_INDEX   11
 
#define CLEAR_MTP_RETRY_MAX   5
 

Functions

void start_monitor_pmic_error_thread ()
 
void pmic_error_check ()
 
void read_pmic_error_when_dc_off ()
 

Macro Definition Documentation

◆ CLEAR_MTP_RETRY_MAX

#define CLEAR_MTP_RETRY_MAX   5

◆ MAX_COUNT_DIMM

#define MAX_COUNT_DIMM   8

◆ 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   7

◆ MAX_LEN_PMIC_CRITICAL_ERROR_INDEX

#define MAX_LEN_PMIC_CRITICAL_ERROR_INDEX   11

◆ MONITOR_PMIC_ERROR_STACK_SIZE

#define MONITOR_PMIC_ERROR_STACK_SIZE   1024

◆ MONITOR_PMIC_ERROR_TIME_MS

#define MONITOR_PMIC_ERROR_TIME_MS   (3 * 1000)

◆ PMIC_FAULT_STATUS_OFFSET

#define PMIC_FAULT_STATUS_OFFSET   0x0B

◆ SYS_CPLD_BMC_CHANNEL_ADDR

#define SYS_CPLD_BMC_CHANNEL_ADDR   0x1E

Function Documentation

◆ pmic_error_check()

void pmic_error_check ( )

◆ read_pmic_error_when_dc_off()

void read_pmic_error_when_dc_off ( )

◆ start_monitor_pmic_error_thread()

void start_monitor_pmic_error_thread ( )