OpenBIC
OpenSource Bridge-IC
|
#include <stdlib.h>
#include <stdio.h>
#include <logging/log.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 "pex89000.h"
#include "pldm.h"
#include "plat_mctp.h"
#include "plat_hook.h"
#include "plat_pldm_monitor.h"
#include "plat_led.h"
#include "plat_pldm_fw_update.h"
#include "plat_class.h"
Macros | |
#define | DC_ON_5_SECOND 5 |
#define | DC_ON_PEX_INIT_RETRY 5 |
#define | ISR_SSD_PRESENT_HANDLER(idx) |
Functions | |
LOG_MODULE_REGISTER (plat_isr) | |
void | dc_on_init_pex () |
void | dc_on_send_cmd_to_dev () |
K_WORK_DELAYABLE_DEFINE (dc_on_init_pex_work, dc_on_init_pex) | |
K_WORK_DELAYABLE_DEFINE (dc_on_send_cmd_to_dev_work, dc_on_send_cmd_to_dev) | |
K_WORK_DEFINE (vr_status_mfr_specific_check_work, vr_status_mfr_specific_check_handler) | |
void | ISR_DC_ON () |
void | ISR_NIC_ADC_ALERT () |
void | ISR_SSD_0_7_ADC_ALERT () |
void | ISR_SSD_8_15_ADC_ALERT () |
void | ISR_PEX_ADC_ALERT () |
void | ISR_SMB_FPGA_ALERT () |
void | ISR_VR_PMBUS_ALERT () |
void | ISR_HSC_SMB_ALERT () |
ISR_SSD_PRESENT_HANDLER (0) | |
ISR_SSD_PRESENT_HANDLER (1) | |
ISR_SSD_PRESENT_HANDLER (2) | |
ISR_SSD_PRESENT_HANDLER (3) | |
ISR_SSD_PRESENT_HANDLER (4) | |
ISR_SSD_PRESENT_HANDLER (5) | |
ISR_SSD_PRESENT_HANDLER (6) | |
ISR_SSD_PRESENT_HANDLER (7) | |
ISR_SSD_PRESENT_HANDLER (8) | |
ISR_SSD_PRESENT_HANDLER (9) | |
ISR_SSD_PRESENT_HANDLER (10) | |
ISR_SSD_PRESENT_HANDLER (11) | |
ISR_SSD_PRESENT_HANDLER (12) | |
ISR_SSD_PRESENT_HANDLER (13) | |
ISR_SSD_PRESENT_HANDLER (14) | |
ISR_SSD_PRESENT_HANDLER (15) | |
#define DC_ON_5_SECOND 5 |
#define DC_ON_PEX_INIT_RETRY 5 |
#define ISR_SSD_PRESENT_HANDLER | ( | idx | ) |
void dc_on_init_pex | ( | ) |
void dc_on_send_cmd_to_dev | ( | ) |
Call function to set endpoint and get parameters for the device, the function description is as defined by zephyr but argument is not used in this function so put NULL here.
void ISR_DC_ON | ( | ) |
void ISR_HSC_SMB_ALERT | ( | ) |
void ISR_NIC_ADC_ALERT | ( | ) |
void ISR_PEX_ADC_ALERT | ( | ) |
void ISR_SMB_FPGA_ALERT | ( | ) |
void ISR_SSD_0_7_ADC_ALERT | ( | ) |
void ISR_SSD_8_15_ADC_ALERT | ( | ) |
ISR_SSD_PRESENT_HANDLER | ( | 0 | ) |
ISR_SSD_PRESENT_HANDLER | ( | 1 | ) |
ISR_SSD_PRESENT_HANDLER | ( | 10 | ) |
ISR_SSD_PRESENT_HANDLER | ( | 11 | ) |
ISR_SSD_PRESENT_HANDLER | ( | 12 | ) |
ISR_SSD_PRESENT_HANDLER | ( | 13 | ) |
ISR_SSD_PRESENT_HANDLER | ( | 14 | ) |
ISR_SSD_PRESENT_HANDLER | ( | 15 | ) |
ISR_SSD_PRESENT_HANDLER | ( | 2 | ) |
ISR_SSD_PRESENT_HANDLER | ( | 3 | ) |
ISR_SSD_PRESENT_HANDLER | ( | 4 | ) |
ISR_SSD_PRESENT_HANDLER | ( | 5 | ) |
ISR_SSD_PRESENT_HANDLER | ( | 6 | ) |
ISR_SSD_PRESENT_HANDLER | ( | 7 | ) |
ISR_SSD_PRESENT_HANDLER | ( | 8 | ) |
ISR_SSD_PRESENT_HANDLER | ( | 9 | ) |
void ISR_VR_PMBUS_ALERT | ( | ) |
K_WORK_DEFINE | ( | vr_status_mfr_specific_check_work | , |
vr_status_mfr_specific_check_handler | |||
) |
K_WORK_DELAYABLE_DEFINE | ( | dc_on_init_pex_work | , |
dc_on_init_pex | |||
) |
K_WORK_DELAYABLE_DEFINE | ( | dc_on_send_cmd_to_dev_work | , |
dc_on_send_cmd_to_dev | |||
) |
LOG_MODULE_REGISTER | ( | plat_isr | ) |