OpenBIC
OpenSource Bridge-IC
plat_pmic.c File Reference
#include "plat_pmic.h"
#include <stdlib.h>
#include <logging/log.h>
#include "libipmi.h"
#include "power_status.h"
#include "oem_1s_handler.h"
#include "libutil.h"
#include "plat_sensor_table.h"
#include "plat_i2c.h"
Include dependency graph for plat_pmic.c:

Functions

 LOG_MODULE_REGISTER (plat_pmic)
 
 K_THREAD_STACK_DEFINE (monitor_pmic_error_stack, MONITOR_PMIC_ERROR_STACK_SIZE)
 
void pmic_error_check ()
 
int pal_set_pmic_error_flag (uint8_t dimm_id, uint8_t error_type)
 
void start_monitor_pmic_error_thread ()
 
void read_pmic_error_when_dc_off ()
 

Variables

struct k_thread monitor_pmic_error_thread
 
k_tid_t monitor_pmic_error_tid
 

Function Documentation

◆ K_THREAD_STACK_DEFINE()

K_THREAD_STACK_DEFINE ( monitor_pmic_error_stack  ,
MONITOR_PMIC_ERROR_STACK_SIZE   
)

◆ LOG_MODULE_REGISTER()

LOG_MODULE_REGISTER ( plat_pmic  )

◆ pal_set_pmic_error_flag()

int pal_set_pmic_error_flag ( uint8_t  dimm_id,
uint8_t  error_type 
)

◆ pmic_error_check()

void pmic_error_check ( )

◆ read_pmic_error_when_dc_off()

void read_pmic_error_when_dc_off ( )
Here is the call graph for this function:

◆ start_monitor_pmic_error_thread()

void start_monitor_pmic_error_thread ( )
Here is the call graph for this function:

Variable Documentation

◆ monitor_pmic_error_thread

struct k_thread monitor_pmic_error_thread

◆ monitor_pmic_error_tid

k_tid_t monitor_pmic_error_tid