OpenBIC
OpenSource Bridge-IC
|
#include <sys/util.h>
#include <logging/log.h>
#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 "plat_class.h"
#include "plat_i2c.h"
#include "util_worker.h"
Macros | |
#define | SMI_START_DELAY_MSECOND 90000 |
#define | DC_ON_15_SECOND 15 |
#define | DC_OFF_10_SECOND 10 |
#define | PROC_FAIL_START_DELAY_SECOND 10 |
#define | CATERR_START_DELAY_SECOND 2 |
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 } |
Variables | |
struct k_thread | smi_thread_handler |
k_tid_t | smi_tid |
#define CATERR_START_DELAY_SECOND 2 |
#define DC_OFF_10_SECOND 10 |
#define DC_ON_15_SECOND 15 |
#define PROC_FAIL_START_DELAY_SECOND 10 |
#define SMI_START_DELAY_MSECOND 90000 |
enum GET_SET_M2_OPTION |
void abort_smi_thread | ( | ) |
void init_smi_thread | ( | ) |
void ISR_BMC_PRDY | ( | ) |
void ISR_CATERR | ( | ) |
void ISR_CPU_MEMHOT | ( | ) |
void ISR_CPU_VPP_INT | ( | ) |
void ISR_CPUVR_HOT | ( | ) |
void ISR_DBP_PRSNT | ( | ) |
void ISR_DC_ON | ( | ) |
void ISR_DIMM_ABC_VR_HOT | ( | ) |
void ISR_DIMM_DEF_VR_HOT | ( | ) |
void ISR_FIVR | ( | ) |
void ISR_HSC_OC | ( | ) |
void ISR_HSC_THROTTLE | ( | ) |
void ISR_NMI | ( | ) |
void ISR_PCH_THMALTRIP | ( | ) |
void ISR_PLTRST | ( | ) |
void ISR_POST_COMPLETE | ( | ) |
void ISR_PVCCIO_VR_HOT | ( | ) |
void ISR_PWRGD_CPU | ( | ) |
void ISR_SLP3 | ( | ) |
void ISR_SMI | ( | ) |
void ISR_SOC_THMALTRIP | ( | ) |
void ISR_SYS_THROTTLE | ( | ) |
void ISR_UV_DETECT | ( | ) |
K_QUEUE_DEFINE | ( | smi_timer_reset_queue | ) |
K_THREAD_STACK_DEFINE | ( | smi_thread | , |
SMI_STACK_SIZE | |||
) |
K_WORK_DELAYABLE_DEFINE | ( | CAT_ERR_work | , |
CAT_ERR_handler | |||
) |
K_WORK_DELAYABLE_DEFINE | ( | PROC_FAIL_work | , |
PROC_FAIL_handler | |||
) |
K_WORK_DELAYABLE_DEFINE | ( | set_DC_off_10s_work | , |
set_DC_off_delayed_status | |||
) |
K_WORK_DELAYABLE_DEFINE | ( | set_DC_on_15s_work | , |
set_DC_on_delayed_status | |||
) |
K_WORK_DELAYABLE_DEFINE | ( | SLP3_work | , |
SLP3_handler | |||
) |
LOG_MODULE_REGISTER | ( | plat_isr | ) |
void send_gpio_interrupt | ( | uint8_t | gpio_num | ) |
void smi_handler | ( | ) |
struct k_thread smi_thread_handler |
k_tid_t smi_tid |