OpenBIC
OpenSource Bridge-IC
plat_isr.h File Reference
#include <stdint.h>
#include "ipmi.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.

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 MB_THROTTLE_DELAY_US   4
 
#define CPLD_ADDR   0x21
 
#define CPLD_1OU_VPP_POWER_STATUS   0x11
 
#define MAX_1OU_M2_COUNT   4
 

Enumerations

enum  GET_SET_M2_OPTION {
  DEVICE_SET_POWER_OFF = 0x00 , DEVICE_SET_POWER_ON = 0x01 , DEVICE_GET_POWER_STATUS = 0x03 , DEVICE_SET_POWER_OFF = 0x00 ,
  DEVICE_SET_POWER_ON = 0x01 , DEVICE_GET_POWER_STATUS = 0x03 , DEVICE_SET_POWER_OFF = 0x00 , DEVICE_SET_POWER_ON = 0x01 ,
  DEVICE_GET_POWER_STATUS = 0x03
}
 

Functions

void send_gpio_interrupt (uint8_t gpio_num)
 
void ISR_SLP3 ()
 
void PWRGD_CPU_ACTIVE_HANDLE ()
 
void ISR_BMC_PRDY ()
 
void ISR_CATERR ()
 
void ISR_PLTRST ()
 
void ISR_DBP_PRSNT ()
 
void ISR_HSC_THROTTLE ()
 
void ISR_MB_THROTTLE ()
 
void ISR_SOC_THMALTRIP ()
 
void ISR_SYS_THROTTLE ()
 
void ISR_HSC_OC ()
 
void ISR_CPU_MEMHOT ()
 
void ISR_CPUVR_HOT ()
 
void ISR_RMCA ()
 
void ISR_POST_COMPLETE (uint8_t gpio_value)
 
void ISR_FM_ADR_MODE0 (uint8_t gpio_value)
 

Macro Definition Documentation

◆ CATERR_START_DELAY_SECOND

#define CATERR_START_DELAY_SECOND   2

◆ CPLD_1OU_VPP_POWER_STATUS

#define CPLD_1OU_VPP_POWER_STATUS   0x11

◆ CPLD_ADDR

#define CPLD_ADDR   0x21

◆ DC_OFF_10_SECOND

#define DC_OFF_10_SECOND   10

◆ DC_ON_5_SECOND

#define DC_ON_5_SECOND   5

◆ MAX_1OU_M2_COUNT

#define MAX_1OU_M2_COUNT   4

◆ MB_THROTTLE_DELAY_US

#define MB_THROTTLE_DELAY_US   4

◆ PROC_FAIL_START_DELAY_SECOND

#define PROC_FAIL_START_DELAY_SECOND   10

Enumeration Type Documentation

◆ GET_SET_M2_OPTION

Enumerator
DEVICE_SET_POWER_OFF 
DEVICE_SET_POWER_ON 
DEVICE_GET_POWER_STATUS 
DEVICE_SET_POWER_OFF 
DEVICE_SET_POWER_ON 
DEVICE_GET_POWER_STATUS 
DEVICE_SET_POWER_OFF 
DEVICE_SET_POWER_ON 
DEVICE_GET_POWER_STATUS 

Function Documentation

◆ ISR_BMC_PRDY()

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

◆ ISR_CATERR()

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

◆ 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 ( )

◆ ISR_FM_ADR_MODE0()

void ISR_FM_ADR_MODE0 ( uint8_t  gpio_value)

◆ ISR_HSC_OC()

void ISR_HSC_OC ( )

◆ ISR_HSC_THROTTLE()

void ISR_HSC_THROTTLE ( )

◆ ISR_MB_THROTTLE()

void ISR_MB_THROTTLE ( )

◆ ISR_PLTRST()

void ISR_PLTRST ( )

◆ 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 ( )

◆ ISR_SOC_THMALTRIP()

void ISR_SOC_THMALTRIP ( )

◆ ISR_SYS_THROTTLE()

void ISR_SYS_THROTTLE ( )

◆ 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: