#include <stdint.h>
Go to the source code of this file.
◆ CLEAR_MTP_DELAY_MS
#define CLEAR_MTP_DELAY_MS 200 |
◆ CLEAR_MTP_RETRY_MAX
#define CLEAR_MTP_RETRY_MAX 5 |
◆ 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_LEN_PMIC_CRITICAL_ERROR_INDEX
#define MAX_LEN_PMIC_CRITICAL_ERROR_INDEX 11 |
◆ 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_ERROR_INJECTION_CFG_OFFSET
#define PMIC_CLEAR_ERROR_INJECTION_CFG_OFFSET 0x35 |
◆ PMIC_CLEAR_STATUS_BITS4_OFFSET
#define PMIC_CLEAR_STATUS_BITS4_OFFSET 0x14 |
◆ PMIC_ERROR_STATUS_START_OFFSET
#define PMIC_ERROR_STATUS_START_OFFSET 0x04 |
◆ PMIC_VENDOR_PASSWORD_CONTROL_OFFSET
#define PMIC_VENDOR_PASSWORD_CONTROL_OFFSET 0x39 |
◆ add_pmic_error_sel()
void add_pmic_error_sel |
( |
uint8_t |
dimm_id, |
|
|
uint8_t |
error_type |
|
) |
| |
◆ clear_pmic_error()
void clear_pmic_error |
( |
uint8_t |
dimm_id | ) |
|
◆ compare_pmic_error()
int compare_pmic_error |
( |
uint8_t |
dimm_id, |
|
|
uint8_t * |
pmic_err_data, |
|
|
uint8_t |
pmic_err_data_len |
|
) |
| |
◆ get_pmic_error_data()
int get_pmic_error_data |
( |
uint8_t |
dimm_id, |
|
|
uint8_t * |
buffer |
|
) |
| |
◆ get_pmic_fault_status()
int get_pmic_fault_status |
( |
| ) |
|
◆ init_pmic_event_work()
void init_pmic_event_work |
( |
| ) |
|
◆ monitor_pmic_error_via_i3c_handler()
void monitor_pmic_error_via_i3c_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 |
( |
| ) |
|