OpenBIC
OpenSource Bridge-IC
plat_ipmi.c File Reference
#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"
Include dependency graph for plat_ipmi.c:

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)
 

Function Documentation

◆ fw_update_pm8702()

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 
)
Here is the call graph for this function:

◆ LOG_MODULE_REGISTER()

LOG_MODULE_REGISTER ( plat_ipmi  )

◆ OEM_1S_BRIDGE_I2C_MSG_BY_COMPNT()

void OEM_1S_BRIDGE_I2C_MSG_BY_COMPNT ( ipmi_msg msg)

◆ OEM_1S_FW_UPDATE()

void OEM_1S_FW_UPDATE ( ipmi_msg msg)
Here is the call graph for this function:

◆ OEM_1S_GET_FW_VERSION()

void OEM_1S_GET_FW_VERSION ( ipmi_msg msg)
Here is the call graph for this function:

◆ OEM_1S_GET_PCIE_CARD_SENSOR_READING()

void OEM_1S_GET_PCIE_CARD_SENSOR_READING ( ipmi_msg msg)

◆ OEM_1S_GET_PCIE_CARD_STATUS()

void OEM_1S_GET_PCIE_CARD_STATUS ( ipmi_msg msg)

◆ OEM_1S_SET_DEVICE_ACTIVE()

void OEM_1S_SET_DEVICE_ACTIVE ( ipmi_msg msg)
Here is the call graph for this function:

◆ pal_construct_ipmi_add_sel_msg()

void pal_construct_ipmi_add_sel_msg ( ipmi_msg msg,
common_addsel_msg_t sel_msg 
)

◆ pal_cxl_component_id_map_cxl_id()

int pal_cxl_component_id_map_cxl_id ( uint8_t  component_id,
uint8_t *  cxl_id 
)

◆ pal_get_pcie_card_sensor_reading()

int pal_get_pcie_card_sensor_reading ( uint8_t  sensor_num,
uint8_t  cxl_id,
uint8_t *  card_status,
int *  reading 
)
Here is the call graph for this function:

◆ pal_write_read_cxl_fru()

int pal_write_read_cxl_fru ( uint8_t  optional,
uint8_t  fru_id,
EEPROM_ENTRY fru_entry,
uint8_t *  status 
)
Here is the call graph for this function:

◆ STORAGE_READ_FRUID_DATA()

void STORAGE_READ_FRUID_DATA ( ipmi_msg msg)
Here is the call graph for this function:

◆ STORAGE_WRITE_FRUID_DATA()

void STORAGE_WRITE_FRUID_DATA ( ipmi_msg msg)
Here is the call graph for this function: