|
OpenBIC
OpenSource Bridge-IC
|
#include "oem_1s_handler.h"#include <stdlib.h>#include <drivers/peci.h>#include <drivers/flash.h>#include "libutil.h"#include "ipmb.h"#include "sensor.h"#include "snoop.h"#include "pmic.h"#include "hal_gpio.h"#include "hal_vw_gpio.h"#include "hal_i2c.h"#include "hal_jtag.h"#include "hal_peci.h"#include "plat_def.h"#include "plat_gpio.h"#include "plat_i2c.h"#include "plat_ipmi.h"#include "plat_sensor_table.h"#include "plat_sys.h"#include "plat_ipmb.h"#include "power_status.h"#include "pmbus.h"#include "altera.h"#include "util_spi.h"#include "util_sys.h"#include <logging/log.h>#include "pcc.h"#include "hal_wdt.h"#include "pldm.h"#include <zephyr.h>
Macros | |
| #define | BIOS_UPDATE_MAX_OFFSET 0x4000000 |
| #define | BIC_UPDATE_MAX_OFFSET 0x50000 |
| #define | _4BYTE_ACCURACY_SENSOR_READING_RES_LEN 5 |
| #define | MAX_MULTI_ACCURACY_SENSOR_READING_QUERY_NUM 32 |
| #define | MAX_CONTROL_SENSOR_POLLING_COUNT 10 |
| #define | FOUR_BYTE_POST_CODE_PAGE_SIZE 60 |
| #define | POST_CODE_BUF_SIZE SNOOP_MAX_LEN |
| #define _4BYTE_ACCURACY_SENSOR_READING_RES_LEN 5 |
| #define BIC_UPDATE_MAX_OFFSET 0x50000 |
| #define BIOS_UPDATE_MAX_OFFSET 0x4000000 |
| #define FOUR_BYTE_POST_CODE_PAGE_SIZE 60 |
| #define MAX_CONTROL_SENSOR_POLLING_COUNT 10 |
| #define MAX_MULTI_ACCURACY_SENSOR_READING_QUERY_NUM 32 |
| #define POST_CODE_BUF_SIZE SNOOP_MAX_LEN |
| void erase_bios_work_handler | ( | struct k_work * | work | ) |

| __weak void GET_COPY_FLASH_STATUS | ( | ipmi_msg * | msg | ) |
| __weak uint8_t gpio_idx_exchange | ( | ipmi_msg * | msg | ) |
| void IPMI_OEM_1S_handler | ( | ipmi_msg * | msg | ) |
| K_WORK_DEFINE | ( | erase_bios_work | , |
| erase_bios_work_handler | |||
| ) |
| LOG_MODULE_DECLARE | ( | ipmi | ) |
| __weak void OEM_1S_12V_CYCLE_SLOT | ( | ipmi_msg * | msg | ) |

| __weak void OEM_1S_ACCURACY_SENSOR_READING | ( | ipmi_msg * | msg | ) |

| __weak void OEM_1S_BMC_IPMB_ACCESS | ( | ipmi_msg * | msg | ) |

| __weak void OEM_1S_BRIDGE_I2C_MSG_BY_COMPNT | ( | ipmi_msg * | msg | ) |
| __weak void OEM_1S_CLEAR_CMET | ( | ipmi_msg * | msg | ) |
| __weak void OEM_1S_CLEAR_CMOS | ( | ipmi_msg * | msg | ) |

| __weak void OEM_1S_CONTROL_SENSOR_POLLING | ( | ipmi_msg * | msg | ) |
| __weak void OEM_1S_COPY_FLASH_IMAGE | ( | ipmi_msg * | msg | ) |
| __weak void OEM_1S_DEBUG_GET_HW_SIGNAL | ( | ipmi_msg * | msg | ) |
| __weak void OEM_1S_ERASE_BIOS_FLASH | ( | ipmi_msg * | msg | ) |
| __weak void OEM_1S_FW_UPDATE | ( | ipmi_msg * | msg | ) |
| __weak void OEM_1S_GET_4BYTE_POST_CODE | ( | ipmi_msg * | msg | ) |
| __weak void OEM_1S_GET_BIC_FW_INFO | ( | ipmi_msg * | msg | ) |
| __weak void OEM_1S_GET_BIC_STATUS | ( | ipmi_msg * | msg | ) |
| __weak void OEM_1S_GET_BIOS_ERASE_PROGRESS | ( | ipmi_msg * | msg | ) |
| __weak void OEM_1S_GET_BIOS_VERSION | ( | ipmi_msg * | msg | ) |
| __weak void OEM_1S_GET_BOARD_ID | ( | ipmi_msg * | msg | ) |
| __weak void OEM_1S_GET_CARD_TYPE | ( | ipmi_msg * | msg | ) |
| __weak void OEM_1S_GET_DIMM_I3C_MUX_SELECTION | ( | ipmi_msg * | msg | ) |
| __weak void OEM_1S_GET_FPGA_USER_CODE | ( | ipmi_msg * | msg | ) |
| __weak void OEM_1S_GET_FW_VERSION | ( | ipmi_msg * | msg | ) |
| __weak void OEM_1S_GET_GPIO | ( | ipmi_msg * | msg | ) |
| __weak void OEM_1S_GET_GPIO_CONFIG | ( | ipmi_msg * | msg | ) |
| __weak void OEM_1S_GET_HSC_STATUS | ( | ipmi_msg * | msg | ) |
| __weak void OEM_1S_GET_PCIE_CARD_SENSOR_READING | ( | ipmi_msg * | msg | ) |
| __weak void OEM_1S_GET_PCIE_CARD_STATUS | ( | ipmi_msg * | msg | ) |
| __weak void OEM_1S_GET_PCIE_RETIMER_TYPE | ( | ipmi_msg * | msg | ) |
| __weak void OEM_1S_GET_SDR | ( | ipmi_msg * | msg | ) |

| __weak void OEM_1S_GET_SET_BIC_VGPIO | ( | ipmi_msg * | msg | ) |

| __weak void OEM_1S_GET_SET_GPIO | ( | ipmi_msg * | msg | ) |
| __weak void OEM_1S_GET_SET_M2 | ( | ipmi_msg * | msg | ) |
| __weak void OEM_1S_GET_SSD_STATUS | ( | ipmi_msg * | msg | ) |
| __weak void OEM_1S_GET_VR_MONITOR_STATUS | ( | ipmi_msg * | msg | ) |

| __weak void OEM_1S_I2C_DEV_SCAN | ( | ipmi_msg * | msg | ) |

| __weak void OEM_1S_INFORM_BMC_TO_CONTROL_POWER | ( | ipmi_msg * | msg | ) |
| __weak void OEM_1S_INFORM_PEER_SLED_CYCLE | ( | ipmi_msg * | msg | ) |
| __weak void OEM_1S_MSG_OUT | ( | ipmi_msg * | msg | ) |
| __weak void OEM_1S_MULTI_ACCURACY_SENSOR_READING | ( | ipmi_msg * | msg | ) |

| __weak void OEM_1S_NOTIFY_PMIC_ERROR | ( | ipmi_msg * | msg | ) |

| __weak void OEM_1S_PEX_FLASH_READ | ( | ipmi_msg * | msg | ) |
| __weak void OEM_1S_PRE_POWER_OFF_CONTROL | ( | ipmi_msg * | msg | ) |
| __weak void OEM_1S_READ_BIC_REGISTER | ( | ipmi_msg * | msg | ) |
| __weak void OEM_1S_READ_FW_IMAGE | ( | ipmi_msg * | msg | ) |

| __weak void OEM_1S_RECORD_DAM_PIN_STATUS | ( | uint8_t | gpio_num, |
| uint8_t | status | ||
| ) |
| __weak void OEM_1S_RESET_BIC | ( | ipmi_msg * | msg | ) |

| __weak void OEM_1S_RESET_BMC | ( | ipmi_msg * | msg | ) |

| __weak void OEM_1S_SAFE_WRITE_READ_M2_DATA | ( | ipmi_msg * | msg | ) |
| __weak void OEM_1S_SEND_MCTP_PLDM_COMMAND | ( | ipmi_msg * | msg | ) |

| __weak void OEM_1S_SENSOR_POLL_EN | ( | ipmi_msg * | msg | ) |

| __weak void OEM_1S_SET_ADD_DEBUG_SEL_MODE | ( | ipmi_msg * | msg | ) |

| __weak void OEM_1S_SET_CARD_TYPE | ( | ipmi_msg * | msg | ) |
| __weak void OEM_1S_SET_DEVICE_ACTIVE | ( | ipmi_msg * | msg | ) |
| __weak void OEM_1S_SET_GPIO_CONFIG | ( | ipmi_msg * | msg | ) |
| __weak void OEM_1S_SET_SSD_LED | ( | ipmi_msg * | msg | ) |
| __weak void OEM_1S_SET_VR_MONITOR_STATUS | ( | ipmi_msg * | msg | ) |

| __weak void OEM_1S_SET_WDT_FEED | ( | ipmi_msg * | msg | ) |

| __weak void OEM_1S_WRITE_BIC_REGISTER | ( | ipmi_msg * | msg | ) |
| __weak int pal_extend_msg_out_interface_handler | ( | ipmi_msg * | msg | ) |