OpenBIC
OpenSource Bridge-IC
|
#include "plat_ipmi.h"
#include <stdio.h>
#include <stdlib.h>
#include <logging/log.h>
#include "libutil.h"
#include "ipmi.h"
#include "util_spi.h"
#include "fru.h"
#include "plat_fru.h"
#include "hal_i2c.h"
#include "plat_sensor_table.h"
#include "common_i2c_mux.h"
#include "plat_class.h"
#include "plat_hook.h"
#include "plat_dev.h"
#include "plat_isr.h"
#include "cci.h"
#include "pm8702.h"
#include "power_status.h"
#include "plat_ipmb.h"
#include "app_handler.h"
Functions | |
LOG_MODULE_REGISTER (plat_ipmi) | |
void | pal_construct_ipmi_add_sel_msg (ipmi_msg *msg, common_addsel_msg_t *sel_msg) |
int | pal_cxl_component_id_map_cxl_id (uint8_t component_id, uint8_t *cxl_id) |
uint8_t | fw_update_pm8702 (uint8_t cxl_id, uint8_t next_active_slot, uint32_t offset, uint16_t msg_len, uint8_t *msg_buf, bool sector_end) |
int | pal_write_read_cxl_fru (uint8_t optional, uint8_t fru_id, EEPROM_ENTRY *fru_entry, uint8_t *status) |
int | pal_get_pcie_card_sensor_reading (uint8_t sensor_num, uint8_t cxl_id, uint8_t *card_status, int *reading) |
void | OEM_1S_GET_FW_VERSION (ipmi_msg *msg) |
void | STORAGE_READ_FRUID_DATA (ipmi_msg *msg) |
void | STORAGE_WRITE_FRUID_DATA (ipmi_msg *msg) |
void | OEM_1S_GET_PCIE_CARD_STATUS (ipmi_msg *msg) |
void | OEM_1S_GET_PCIE_CARD_SENSOR_READING (ipmi_msg *msg) |
void | OEM_1S_FW_UPDATE (ipmi_msg *msg) |
void | OEM_1S_SET_DEVICE_ACTIVE (ipmi_msg *msg) |
void | OEM_1S_BRIDGE_I2C_MSG_BY_COMPNT (ipmi_msg *msg) |
uint8_t fw_update_pm8702 | ( | uint8_t | cxl_id, |
uint8_t | next_active_slot, | ||
uint32_t | offset, | ||
uint16_t | msg_len, | ||
uint8_t * | msg_buf, | ||
bool | sector_end | ||
) |
LOG_MODULE_REGISTER | ( | plat_ipmi | ) |
void OEM_1S_BRIDGE_I2C_MSG_BY_COMPNT | ( | ipmi_msg * | msg | ) |
void OEM_1S_FW_UPDATE | ( | ipmi_msg * | msg | ) |
void OEM_1S_GET_FW_VERSION | ( | ipmi_msg * | msg | ) |
void OEM_1S_GET_PCIE_CARD_SENSOR_READING | ( | ipmi_msg * | msg | ) |
void OEM_1S_GET_PCIE_CARD_STATUS | ( | ipmi_msg * | msg | ) |
void OEM_1S_SET_DEVICE_ACTIVE | ( | ipmi_msg * | msg | ) |
void pal_construct_ipmi_add_sel_msg | ( | ipmi_msg * | msg, |
common_addsel_msg_t * | sel_msg | ||
) |
int pal_cxl_component_id_map_cxl_id | ( | uint8_t | component_id, |
uint8_t * | cxl_id | ||
) |
int pal_get_pcie_card_sensor_reading | ( | uint8_t | sensor_num, |
uint8_t | cxl_id, | ||
uint8_t * | card_status, | ||
int * | reading | ||
) |
int pal_write_read_cxl_fru | ( | uint8_t | optional, |
uint8_t | fru_id, | ||
EEPROM_ENTRY * | fru_entry, | ||
uint8_t * | status | ||
) |
void STORAGE_READ_FRUID_DATA | ( | ipmi_msg * | msg | ) |
void STORAGE_WRITE_FRUID_DATA | ( | ipmi_msg * | msg | ) |