OpenBIC
OpenSource Bridge-IC
|
#include "plat_pmic.h"
#include <stdio.h>
#include <stdlib.h>
#include <zephyr.h>
#include <logging/log.h>
#include "ipmb.h"
#include "ipmi.h"
#include "intel_dimm.h"
#include "pmic.h"
#include "libipmi.h"
#include "power_status.h"
#include "oem_1s_handler.h"
#include "libutil.h"
#include "plat_ipmi.h"
#include "plat_sensor_table.h"
Functions | |
LOG_MODULE_REGISTER (plat_pmic) | |
K_THREAD_STACK_DEFINE (monitor_pmic_error_stack, MONITOR_PMIC_ERROR_STACK_SIZE) | |
void | start_monitor_pmic_error_thread () |
void | monitor_pmic_error_handler () |
int | get_dimm_info (uint8_t dimm_id, uint8_t *bus, uint8_t *addr) |
int | pal_set_pmic_error_flag (uint8_t dimm_id, uint8_t error_type) |
int | compare_pmic_error (uint8_t dimm_id, uint8_t *pmic_err_data) |
void | add_pmic_error_sel (uint8_t dimm_id, uint8_t error_type) |
Variables | |
struct k_thread | monitor_pmic_error_thread |
k_tid_t | monitor_pmic_error_tid |
void add_pmic_error_sel | ( | uint8_t | dimm_id, |
uint8_t | error_type | ||
) |
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 | ||
) |
K_THREAD_STACK_DEFINE | ( | monitor_pmic_error_stack | , |
MONITOR_PMIC_ERROR_STACK_SIZE | |||
) |
LOG_MODULE_REGISTER | ( | plat_pmic | ) |
void monitor_pmic_error_handler | ( | ) |
int pal_set_pmic_error_flag | ( | uint8_t | dimm_id, |
uint8_t | error_type | ||
) |
void start_monitor_pmic_error_thread | ( | ) |
struct k_thread monitor_pmic_error_thread |
k_tid_t monitor_pmic_error_tid |