OpenBIC
OpenSource Bridge-IC
|
#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"
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 () |
#define DC_ON_5_SECOND 5 |
#define PROC_FAIL_START_DELAY_SECOND 10 |
#define READ_PMIC_CRITICAL_ERROR_MS 100 |
void ISR_AC_STATUS | ( | ) |
void ISR_CPU_FAULT_ALERT | ( | ) |
void ISR_CPU_HIGHTEMP | ( | ) |
void ISR_CPU_JTAG_CMPL2 | ( | ) |
void ISR_CPU_OVERTEMP | ( | ) |
void ISR_CPU_PRSNT | ( | ) |
void ISR_CPU_REBOOT_ACK | ( | ) |
void ISR_CPU_SHD_ACK | ( | ) |
void ISR_CPU_SPI_ACCESS | ( | ) |
void ISR_CPU_SPI_AUTH_FAIL | ( | ) |
void ISR_CPU_SYS_AUTH_FAIL | ( | ) |
void ISR_DC_ON | ( | ) |
void ISR_HSC_OC | ( | ) |
void ISR_HSC_THROTTLE | ( | ) |
void ISR_MB_THROTTLE | ( | ) |
void ISR_MPRO_BOOT_OK | ( | ) |
void ISR_MPRO_HB | ( | ) |
void ISR_PLTRST | ( | ) |
void ISR_POST_COMPLETE | ( | ) |
void ISR_SALT4 | ( | ) |
void ISR_SALT7 | ( | ) |
void ISR_SYS_RST_BMC | ( | ) |
void ISR_SYS_THROTTLE | ( | ) |
void ISR_UV_DETECT | ( | ) |
void ISR_VRFAULT | ( | ) |
void ISR_VRHOT | ( | ) |
K_TIMER_DEFINE | ( | send_cmd_timer | , |
send_cmd_to_dev | , | ||
NULL | |||
) |
K_WORK_DELAYABLE_DEFINE | ( | PROC_FAIL_work | , |
PROC_FAIL_handler | |||
) |
K_WORK_DELAYABLE_DEFINE | ( | set_DC_on_5s_work | , |
set_DC_on_delayed_status | |||
) |
LOG_MODULE_REGISTER | ( | plat_isr | ) |