OpenBIC
OpenSource Bridge-IC
plat_isr.h File Reference
#include <stdint.h>
#include "pldm.h"
Include dependency graph for plat_isr.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _add_vr_sel_info
 
struct  _vr_fault_info
 
struct  _cpld_reg_info
 
struct  _add_sel_info
 
struct  sel_work_wrapper
 

Macros

#define VR_FAULT_STATUS_LSB_MASK   0xFD
 
#define VR_FAULT_STATUS_MSB_MASK   0xFF
 
#define VR_IOUT_FAULT_MASK   0x40
 
#define VR_TPS_OCW_MASK   0x20
 

Typedefs

typedef struct _add_vr_sel_info add_vr_sel_info
 
typedef struct _vr_fault_info vr_fault_info
 
typedef struct _cpld_reg_info cpld_reg_info
 
typedef struct _add_sel_info add_sel_info
 

Enumerations

enum  cpld_reg_info_idx { CPLD_REG_INFO_IDX_0 = 0 , CPLD_REG_INFO_IDX_1 , CPLD_REG_INFO_IDX_2 , CPLD_REG_INFO_IDX_MAX }
 

Functions

void add_post_timeout_sel_work_handler (struct k_work *work)
 
void init_post_timeout_event_work (void)
 
void post_timeout_handler (struct k_timer *timer_id)
 
void ISR_DC_ON ()
 
void ISR_POST_COMPLETE ()
 
void ISR_BMC_READY ()
 
void ISR_WF_BIC_READY ()
 
void sync_bmc_ready_pin ()
 
void reinit_i3c_hub ()
 
void set_ffwf_eid ()
 
void ISR_SLP3 ()
 
void ISR_DBP_PRSNT ()
 
void ISR_MB_THROTTLE ()
 
void ISR_SOC_THMALTRIP ()
 
void ISR_SYS_THROTTLE ()
 
void ISR_HSC_OC ()
 
void ISR_VR_PWR_FAULT ()
 
void ISR_UV_DETECT ()
 
void IST_PLTRST ()
 
void ISR_APML_ALERT ()
 
void ISR_CPU_SMERR_BIC ()
 
void init_vr_event_work ()
 
void process_vr_power_fault_sel (struct k_work *work_item)
 
void init_event_work ()
 
void addsel_work_handler (struct k_work *work_item)
 
void init_throttle_work_q ()
 
void init_fastprochot_work_q ()
 

Variables

uint8_t hw_event_register [13]
 

Macro Definition Documentation

◆ VR_FAULT_STATUS_LSB_MASK

#define VR_FAULT_STATUS_LSB_MASK   0xFD

◆ VR_FAULT_STATUS_MSB_MASK

#define VR_FAULT_STATUS_MSB_MASK   0xFF

◆ VR_IOUT_FAULT_MASK

#define VR_IOUT_FAULT_MASK   0x40

◆ VR_TPS_OCW_MASK

#define VR_TPS_OCW_MASK   0x20

Typedef Documentation

◆ add_sel_info

typedef struct _add_sel_info add_sel_info

◆ add_vr_sel_info

◆ cpld_reg_info

typedef struct _cpld_reg_info cpld_reg_info

◆ vr_fault_info

typedef struct _vr_fault_info vr_fault_info

Enumeration Type Documentation

◆ cpld_reg_info_idx

Enumerator
CPLD_REG_INFO_IDX_0 
CPLD_REG_INFO_IDX_1 
CPLD_REG_INFO_IDX_2 
CPLD_REG_INFO_IDX_MAX 

Function Documentation

◆ add_post_timeout_sel_work_handler()

void add_post_timeout_sel_work_handler ( struct k_work *  work)
Here is the call graph for this function:

◆ addsel_work_handler()

void addsel_work_handler ( struct k_work *  work_item)
Here is the call graph for this function:

◆ init_event_work()

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

◆ init_fastprochot_work_q()

void init_fastprochot_work_q ( )

◆ init_post_timeout_event_work()

void init_post_timeout_event_work ( void  )

◆ init_throttle_work_q()

void init_throttle_work_q ( )

◆ init_vr_event_work()

void init_vr_event_work ( )

◆ ISR_APML_ALERT()

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

◆ ISR_BMC_READY()

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

◆ ISR_CPU_SMERR_BIC()

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

◆ ISR_DBP_PRSNT()

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

◆ ISR_DC_ON()

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

◆ ISR_HSC_OC()

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

◆ ISR_MB_THROTTLE()

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

◆ ISR_POST_COMPLETE()

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

◆ ISR_SLP3()

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

◆ ISR_SOC_THMALTRIP()

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

◆ ISR_SYS_THROTTLE()

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

◆ ISR_UV_DETECT()

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

◆ ISR_VR_PWR_FAULT()

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

◆ ISR_WF_BIC_READY()

void ISR_WF_BIC_READY ( )

◆ IST_PLTRST()

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

◆ post_timeout_handler()

void post_timeout_handler ( struct k_timer *  timer_id)

◆ process_vr_power_fault_sel()

void process_vr_power_fault_sel ( struct k_work *  work_item)
Here is the call graph for this function:

◆ reinit_i3c_hub()

void reinit_i3c_hub ( )

◆ set_ffwf_eid()

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

◆ sync_bmc_ready_pin()

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

Variable Documentation

◆ hw_event_register

uint8_t hw_event_register[13]
extern