#include <stdint.h>
Go to the source code of this file.
|
void | start_monitor_pmic_error_thread () |
|
void | monitor_pmic_error_via_i3c_handler () |
|
void | monitor_pmic_error_via_me_handler () |
|
int | get_dimm_info (uint8_t dimm_id, uint8_t *bus, uint8_t *addr) |
|
int | compare_pmic_error (uint8_t dimm_id, uint8_t *pmic_err_data, uint8_t pmic_err_data_len, uint8_t read_path) |
|
void | add_pmic_error_sel (uint8_t dimm_id, uint8_t error_type) |
|
int | get_pmic_fault_status () |
|
void | read_pmic_error_when_dc_off () |
|
void | clear_pmic_error () |
|
int | write_read_pmic_via_me (uint8_t dimm_id, uint8_t offset, uint8_t read_len, uint8_t write_len, uint8_t *data, int *data_len) |
|
◆ CL_CPLD_BMC_CHANNEL_ADDR
#define CL_CPLD_BMC_CHANNEL_ADDR 0x1E |
◆ MAX_COUNT_PMIC_ERROR_OFFSET
#define MAX_COUNT_PMIC_ERROR_OFFSET 7 |
◆ MAX_COUNT_PMIC_ERROR_TYPE
#define MAX_COUNT_PMIC_ERROR_TYPE 17 |
◆ MAX_COUNT_PMIC_VENDER_ID
#define MAX_COUNT_PMIC_VENDER_ID 1 |
◆ 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) |
◆ PMIC_CLEAR_STATUS_BITS4_OFFSET
#define PMIC_CLEAR_STATUS_BITS4_OFFSET 0x14 |
◆ PMIC_FAULT_STATUS_OFFSET
#define PMIC_FAULT_STATUS_OFFSET 0x0B |
◆ PMIC_VENDER_ID_OFFSET
#define PMIC_VENDER_ID_OFFSET 0x3C |
◆ PMIC_VENDOR_MEMORY_REGION_PASSWORD_LOWER_BYTE_OFFSET
#define PMIC_VENDOR_MEMORY_REGION_PASSWORD_LOWER_BYTE_OFFSET 0x38 |
◆ PMIC_VENDOR_MEMORY_REGION_PASSWORD_UPPER_BYTE_OFFSET
#define PMIC_VENDOR_MEMORY_REGION_PASSWORD_UPPER_BYTE_OFFSET 0x37 |
◆ PMIC_VENDOR_PASSWORD_CONTROL_OFFSET
#define PMIC_VENDOR_PASSWORD_CONTROL_OFFSET 0x39 |
◆ READ_PMIC_ERROR_PATH
Enumerator |
---|
READ_PMIC_ERROR_VIA_ME | |
READ_PMIC_ERROR_VIA_I3C | |
◆ add_pmic_error_sel()
void add_pmic_error_sel |
( |
uint8_t |
dimm_id, |
|
|
uint8_t |
error_type |
|
) |
| |
◆ clear_pmic_error()
void clear_pmic_error |
( |
| ) |
|
◆ compare_pmic_error()
int compare_pmic_error |
( |
uint8_t |
dimm_id, |
|
|
uint8_t * |
pmic_err_data, |
|
|
uint8_t |
pmic_err_data_len, |
|
|
uint8_t |
read_path |
|
) |
| |
◆ get_dimm_info()
int get_dimm_info |
( |
uint8_t |
dimm_id, |
|
|
uint8_t * |
bus, |
|
|
uint8_t * |
addr |
|
) |
| |
◆ get_pmic_fault_status()
int get_pmic_fault_status |
( |
| ) |
|
◆ monitor_pmic_error_via_i3c_handler()
void monitor_pmic_error_via_i3c_handler |
( |
| ) |
|
◆ monitor_pmic_error_via_me_handler()
void monitor_pmic_error_via_me_handler |
( |
| ) |
|
◆ read_pmic_error_when_dc_off()
void read_pmic_error_when_dc_off |
( |
| ) |
|
◆ start_monitor_pmic_error_thread()
void start_monitor_pmic_error_thread |
( |
| ) |
|
◆ write_read_pmic_via_me()
int write_read_pmic_via_me |
( |
uint8_t |
dimm_id, |
|
|
uint8_t |
offset, |
|
|
uint8_t |
read_len, |
|
|
uint8_t |
write_len, |
|
|
uint8_t * |
data, |
|
|
int * |
data_len |
|
) |
| |