OpenBIC
OpenSource Bridge-IC
plat_isr.c File Reference
#include <stdlib.h>
#include "plat_isr.h"
#include "plat_gpio.h"
#include "plat_sensor_table.h"
#include "libipmi.h"
#include "power_status.h"
#include "ipmi.h"
#include "plat_class.h"
#include "plat_i2c.h"
#include "pmbus.h"
#include "mpro.h"
#include "ssif.h"
#include "libutil.h"
#include "logging/log.h"
#include "plat_def.h"
#include "plat_mctp.h"
#include "plat_power_status.h"
#include "util_worker.h"
Include dependency graph for plat_isr.c:

Macros

#define DC_ON_5_SECOND   5
 
#define PROC_FAIL_START_DELAY_SECOND   10
 
#define READ_PMIC_CRITICAL_ERROR_MS   100
 

Functions

 LOG_MODULE_REGISTER (plat_isr)
 
void ISR_CPU_PRSNT ()
 
void ISR_CPU_FAULT_ALERT ()
 
void ISR_CPU_JTAG_CMPL2 ()
 
 K_TIMER_DEFINE (send_cmd_timer, send_cmd_to_dev, NULL)
 
void ISR_MPRO_BOOT_OK ()
 
void ISR_MPRO_HB ()
 
void ISR_CPU_SHD_ACK ()
 
void ISR_CPU_REBOOT_ACK ()
 
void ISR_CPU_OVERTEMP ()
 
void ISR_CPU_HIGHTEMP ()
 
void ISR_CPU_SYS_AUTH_FAIL ()
 
void ISR_CPU_SPI_AUTH_FAIL ()
 
void ISR_POST_COMPLETE ()
 
void ISR_VRHOT ()
 
void ISR_VRFAULT ()
 
void ISR_AC_STATUS ()
 
void ISR_SYS_RST_BMC ()
 
void ISR_CPU_SPI_ACCESS ()
 
void ISR_SALT4 ()
 
void ISR_SALT7 ()
 
void ISR_PLTRST ()
 
 K_WORK_DELAYABLE_DEFINE (set_DC_on_5s_work, set_DC_on_delayed_status)
 
 K_WORK_DELAYABLE_DEFINE (PROC_FAIL_work, PROC_FAIL_handler)
 
void ISR_DC_ON ()
 
void ISR_HSC_THROTTLE ()
 
void ISR_MB_THROTTLE ()
 
void ISR_SYS_THROTTLE ()
 
void ISR_HSC_OC ()
 
void ISR_UV_DETECT ()
 

Macro Definition Documentation

◆ DC_ON_5_SECOND

#define DC_ON_5_SECOND   5

◆ PROC_FAIL_START_DELAY_SECOND

#define PROC_FAIL_START_DELAY_SECOND   10

◆ READ_PMIC_CRITICAL_ERROR_MS

#define READ_PMIC_CRITICAL_ERROR_MS   100

Function Documentation

◆ ISR_AC_STATUS()

void ISR_AC_STATUS ( )

◆ ISR_CPU_FAULT_ALERT()

void ISR_CPU_FAULT_ALERT ( )

◆ ISR_CPU_HIGHTEMP()

void ISR_CPU_HIGHTEMP ( )

◆ ISR_CPU_JTAG_CMPL2()

void ISR_CPU_JTAG_CMPL2 ( )

◆ ISR_CPU_OVERTEMP()

void ISR_CPU_OVERTEMP ( )

◆ ISR_CPU_PRSNT()

void ISR_CPU_PRSNT ( )

◆ ISR_CPU_REBOOT_ACK()

void ISR_CPU_REBOOT_ACK ( )

◆ ISR_CPU_SHD_ACK()

void ISR_CPU_SHD_ACK ( )

◆ ISR_CPU_SPI_ACCESS()

void ISR_CPU_SPI_ACCESS ( )

◆ ISR_CPU_SPI_AUTH_FAIL()

void ISR_CPU_SPI_AUTH_FAIL ( )

◆ ISR_CPU_SYS_AUTH_FAIL()

void ISR_CPU_SYS_AUTH_FAIL ( )

◆ ISR_DC_ON()

void ISR_DC_ON ( )

◆ ISR_HSC_OC()

void ISR_HSC_OC ( )

◆ ISR_HSC_THROTTLE()

void ISR_HSC_THROTTLE ( )

◆ ISR_MB_THROTTLE()

void ISR_MB_THROTTLE ( )

◆ ISR_MPRO_BOOT_OK()

void ISR_MPRO_BOOT_OK ( )

◆ ISR_MPRO_HB()

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

◆ ISR_PLTRST()

void ISR_PLTRST ( )

◆ ISR_POST_COMPLETE()

void ISR_POST_COMPLETE ( )

◆ ISR_SALT4()

void ISR_SALT4 ( )

◆ ISR_SALT7()

void ISR_SALT7 ( )

◆ ISR_SYS_RST_BMC()

void ISR_SYS_RST_BMC ( )

◆ ISR_SYS_THROTTLE()

void ISR_SYS_THROTTLE ( )

◆ ISR_UV_DETECT()

void ISR_UV_DETECT ( )

◆ ISR_VRFAULT()

void ISR_VRFAULT ( )

◆ ISR_VRHOT()

void ISR_VRHOT ( )

◆ K_TIMER_DEFINE()

K_TIMER_DEFINE ( send_cmd_timer  ,
send_cmd_to_dev  ,
NULL   
)

◆ K_WORK_DELAYABLE_DEFINE() [1/2]

K_WORK_DELAYABLE_DEFINE ( PROC_FAIL_work  ,
PROC_FAIL_handler   
)

◆ K_WORK_DELAYABLE_DEFINE() [2/2]

K_WORK_DELAYABLE_DEFINE ( set_DC_on_5s_work  ,
set_DC_on_delayed_status   
)

◆ LOG_MODULE_REGISTER()

LOG_MODULE_REGISTER ( plat_isr  )