OpenBIC
OpenSource Bridge-IC
All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
plat_isr.c File Reference
#include <logging/log.h>
#include "hal_gpio.h"
#include "hal_vw_gpio.h"
#include "libipmi.h"
#include "libutil.h"
#include "snoop.h"
#include "ipmb.h"
#include "ipmi.h"
#include "power_status.h"
#include "kcs.h"
#include "plat_i2c.h"
#include "plat_isr.h"
#include "plat_gpio.h"
#include "plat_ipmb.h"
#include "plat_dimm.h"
#include "plat_sensor_table.h"
#include "plat_pmic.h"
Include dependency graph for plat_isr.c:

Classes

struct  vgpio_info
 

Macros

#define READ_PMIC_CRITICAL_ERROR_MS   100
 

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 ()
 
 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 Set_DC_status ()
 
 K_WORK_DELAYABLE_DEFINE (PROC_FAIL_work, PROC_FAIL_handler)
 
 K_WORK_DELAYABLE_DEFINE (read_pmic_critical_work, read_pmic_error_when_dc_off)
 
 K_WORK_DEFINE (clear_pmic_error_work, clear_pmic_error)
 
void Initialize_CPU ()
 
void PWRGD_CPU_ACTIVE_HANDLE ()
 
void ISR_BMC_PRDY ()
 
 K_WORK_DELAYABLE_DEFINE (CAT_ERR_work, CAT_ERR_handler)
 
void ISR_CATERR ()
 
void ISR_PLTRST ()
 
void ISR_DBP_PRSNT ()
 
void ISR_HSC_THROTTLE ()
 
 K_WORK_DELAYABLE_DEFINE (mb_throttle_work, mb_throttle_handler)
 
void ISR_MB_THROTTLE ()
 
void ISR_SOC_THMALTRIP ()
 
void ISR_SYS_THROTTLE ()
 
void ISR_HSC_OC ()
 
 K_WORK_DEFINE (cpu_memory_hot_work, cpu_memory_hot_handler)
 
void ISR_CPU_MEMHOT ()
 
void ISR_CPUVR_HOT ()
 
void ISR_RMCA ()
 
 K_WORK_DELAYABLE_DEFINE (post_completework, post_complete_handler)
 
void ISR_POST_COMPLETE (uint8_t gpio_value)
 
void ISR_FM_ADR_MODE0 (uint8_t gpio_value)
 

Variables

struct vgpio_info adr_mode0
 
struct vgpio_info post_complete
 

Macro Definition Documentation

◆ READ_PMIC_CRITICAL_ERROR_MS

#define READ_PMIC_CRITICAL_ERROR_MS   100

Function Documentation

◆ Initialize_CPU()

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

◆ ISR_BMC_PRDY()

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

◆ ISR_CATERR()

void ISR_CATERR ( )

◆ ISR_CPU_MEMHOT()

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

◆ ISR_CPUVR_HOT()

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

◆ ISR_DBP_PRSNT()

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

◆ ISR_FM_ADR_MODE0()

void ISR_FM_ADR_MODE0 ( uint8_t  gpio_value)

◆ ISR_HSC_OC()

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

◆ ISR_HSC_THROTTLE()

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

◆ ISR_MB_THROTTLE()

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

◆ ISR_PLTRST()

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

◆ ISR_POST_COMPLETE()

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

◆ ISR_RMCA()

void ISR_RMCA ( )
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:

◆ K_WORK_DEFINE() [1/2]

K_WORK_DEFINE ( clear_pmic_error_work  ,
clear_pmic_error   
)

◆ K_WORK_DEFINE() [2/2]

K_WORK_DEFINE ( cpu_memory_hot_work  ,
cpu_memory_hot_handler   
)

◆ K_WORK_DELAYABLE_DEFINE() [1/8]

K_WORK_DELAYABLE_DEFINE ( CAT_ERR_work  ,
CAT_ERR_handler   
)

◆ K_WORK_DELAYABLE_DEFINE() [2/8]

K_WORK_DELAYABLE_DEFINE ( mb_throttle_work  ,
mb_throttle_handler   
)

◆ K_WORK_DELAYABLE_DEFINE() [3/8]

K_WORK_DELAYABLE_DEFINE ( post_completework  ,
post_complete_handler   
)

◆ K_WORK_DELAYABLE_DEFINE() [4/8]

K_WORK_DELAYABLE_DEFINE ( PROC_FAIL_work  ,
PROC_FAIL_handler   
)

◆ K_WORK_DELAYABLE_DEFINE() [5/8]

K_WORK_DELAYABLE_DEFINE ( read_pmic_critical_work  ,
read_pmic_error_when_dc_off   
)

◆ K_WORK_DELAYABLE_DEFINE() [6/8]

K_WORK_DELAYABLE_DEFINE ( set_DC_off_10s_work  ,
set_DC_off_delayed_status   
)

◆ K_WORK_DELAYABLE_DEFINE() [7/8]

K_WORK_DELAYABLE_DEFINE ( set_DC_on_5s_work  ,
set_DC_on_delayed_status   
)

◆ K_WORK_DELAYABLE_DEFINE() [8/8]

K_WORK_DELAYABLE_DEFINE ( SLP3_work  ,
SLP3_handler   
)

◆ LOG_MODULE_REGISTER()

LOG_MODULE_REGISTER ( plat_isr  )

◆ PWRGD_CPU_ACTIVE_HANDLE()

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

◆ send_gpio_interrupt()

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

◆ Set_DC_status()

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

Variable Documentation

◆ adr_mode0

struct vgpio_info adr_mode0

◆ post_complete

struct vgpio_info post_complete