OpenBIC
OpenSource Bridge-IC
plat_isr.c File Reference
#include "plat_isr.h"
#include "libipmi.h"
#include "kcs.h"
#include "power_status.h"
#include "sensor.h"
#include "snoop.h"
#include "plat_gpio.h"
#include "plat_ipmi.h"
#include "plat_sensor_table.h"
#include "oem_1s_handler.h"
#include "hal_gpio.h"
#include "util_sys.h"
#include <logging/log.h>
Include dependency graph for plat_isr.c:

Macros

#define DC_ON_5_SECOND   5
 
#define DC_OFF_10_SECOND   10
 
#define PROC_FAIL_START_DELAY_SECOND   10
 
#define CATERR_START_DELAY_SECOND   2
 
#define SMI_START_DELAY_SECOND   90
 

Functions

 LOG_MODULE_REGISTER (plat_isr)
 
void send_gpio_interrupt (uint8_t gpio_num)
 
 K_WORK_DELAYABLE_DEFINE (SLP3_work, SLP3_handler)
 
void ISR_SLP3 ()
 
void ISR_POST_COMPLETE ()
 
 K_WORK_DELAYABLE_DEFINE (set_DC_on_5s_work, set_DC_on_delayed_status)
 
 K_WORK_DELAYABLE_DEFINE (set_DC_off_10s_work, set_DC_off_delayed_status)
 
void ISR_DC_ON ()
 
void ISR_BMC_PRDY ()
 
 K_WORK_DELAYABLE_DEFINE (PROC_FAIL_work, PROC_FAIL_handler)
 
void ISR_PWRGD_CPU ()
 
 K_WORK_DELAYABLE_DEFINE (CAT_ERR_work, CAT_ERR_handler)
 
void ISR_CATERR ()
 
void ISR_PLTRST ()
 
void ISR_DBP_PRSNT ()
 
void ISR_FM_THROTTLE ()
 
void ISR_HSC_THROTTLE ()
 
void ISR_MB_THROTTLE ()
 
void ISR_SOC_THMALTRIP ()
 
void ISR_SYS_THROTTLE ()
 
void ISR_PCH_THMALTRIP ()
 
void ISR_HSC_OC ()
 
void ISR_CPU_MEMHOT ()
 
void ISR_CPUVR_HOT ()
 
void ISR_PCH_PWRGD ()
 
void ISR_RMCA ()
 
 K_WORK_DELAYABLE_DEFINE (SMI_work, SMI_handler)
 
void ISR_SMI ()
 

Macro Definition Documentation

◆ CATERR_START_DELAY_SECOND

#define CATERR_START_DELAY_SECOND   2

◆ DC_OFF_10_SECOND

#define DC_OFF_10_SECOND   10

◆ DC_ON_5_SECOND

#define DC_ON_5_SECOND   5

◆ PROC_FAIL_START_DELAY_SECOND

#define PROC_FAIL_START_DELAY_SECOND   10

◆ SMI_START_DELAY_SECOND

#define SMI_START_DELAY_SECOND   90

Function Documentation

◆ ISR_BMC_PRDY()

void ISR_BMC_PRDY ( )

◆ ISR_CATERR()

void ISR_CATERR ( )

◆ ISR_CPU_MEMHOT()

void ISR_CPU_MEMHOT ( )

◆ ISR_CPUVR_HOT()

void ISR_CPUVR_HOT ( )

◆ ISR_DBP_PRSNT()

void ISR_DBP_PRSNT ( )

◆ ISR_DC_ON()

void ISR_DC_ON ( )

◆ ISR_FM_THROTTLE()

void ISR_FM_THROTTLE ( )

◆ ISR_HSC_OC()

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

◆ ISR_HSC_THROTTLE()

void ISR_HSC_THROTTLE ( )

◆ ISR_MB_THROTTLE()

void ISR_MB_THROTTLE ( )

◆ ISR_PCH_PWRGD()

void ISR_PCH_PWRGD ( )

◆ ISR_PCH_THMALTRIP()

void ISR_PCH_THMALTRIP ( )

◆ ISR_PLTRST()

void ISR_PLTRST ( )

◆ ISR_POST_COMPLETE()

void ISR_POST_COMPLETE ( )

◆ ISR_PWRGD_CPU()

void ISR_PWRGD_CPU ( )

◆ ISR_RMCA()

void ISR_RMCA ( )

◆ ISR_SLP3()

void ISR_SLP3 ( )

◆ ISR_SMI()

void ISR_SMI ( )

◆ ISR_SOC_THMALTRIP()

void ISR_SOC_THMALTRIP ( )

◆ ISR_SYS_THROTTLE()

void ISR_SYS_THROTTLE ( )

◆ K_WORK_DELAYABLE_DEFINE() [1/6]

K_WORK_DELAYABLE_DEFINE ( CAT_ERR_work  ,
CAT_ERR_handler   
)

◆ K_WORK_DELAYABLE_DEFINE() [2/6]

K_WORK_DELAYABLE_DEFINE ( PROC_FAIL_work  ,
PROC_FAIL_handler   
)

◆ K_WORK_DELAYABLE_DEFINE() [3/6]

K_WORK_DELAYABLE_DEFINE ( set_DC_off_10s_work  ,
set_DC_off_delayed_status   
)

◆ K_WORK_DELAYABLE_DEFINE() [4/6]

K_WORK_DELAYABLE_DEFINE ( set_DC_on_5s_work  ,
set_DC_on_delayed_status   
)

◆ K_WORK_DELAYABLE_DEFINE() [5/6]

K_WORK_DELAYABLE_DEFINE ( SLP3_work  ,
SLP3_handler   
)

◆ K_WORK_DELAYABLE_DEFINE() [6/6]

K_WORK_DELAYABLE_DEFINE ( SMI_work  ,
SMI_handler   
)

◆ LOG_MODULE_REGISTER()

LOG_MODULE_REGISTER ( plat_isr  )

◆ send_gpio_interrupt()

void send_gpio_interrupt ( uint8_t  gpio_num)
Here is the call graph for this function: