OpenBIC
OpenSource Bridge-IC
|
#include "plat_mctp.h"
#include <zephyr.h>
#include <logging/log.h>
#include "libutil.h"
#include "mctp.h"
#include "mctp_ctrl.h"
#include "pldm.h"
#include "cci.h"
#include "plat_class.h"
Classes | |
struct | _cxl_mctp_info |
Typedefs | |
typedef struct _cxl_mctp_info | cxl_mctp_info |
Functions | |
LOG_MODULE_REGISTER (plat_mctp) | |
bool | get_cxl_eid_flag (uint8_t cxl_card_id) |
void | set_cxl_eid_flag (uint8_t cxl_card_id, bool value) |
mctp * | find_mctp_by_smbus (uint8_t bus) |
uint8_t | get_mctp_info (uint8_t dest_endpoint, mctp **mctp_inst, mctp_ext_params *ext_params) |
bool | get_set_cxl_endpoint (uint8_t cxl_card_id, uint8_t eid) |
int | pal_pldm_send_ipmi_request (ipmi_msg *msg, uint8_t eid) |
void | plat_mctp_init (void) |
typedef struct _cxl_mctp_info cxl_mctp_info |
mctp * find_mctp_by_smbus | ( | uint8_t | bus | ) |
bool get_cxl_eid_flag | ( | uint8_t | cxl_card_id | ) |
uint8_t get_mctp_info | ( | uint8_t | dest_endpoint, |
mctp ** | mctp_inst, | ||
mctp_ext_params * | ext_params | ||
) |
bool get_set_cxl_endpoint | ( | uint8_t | cxl_card_id, |
uint8_t | eid | ||
) |
Get eid from CXL
Set eid if the getting eid is not match with stored eid
LOG_MODULE_REGISTER | ( | plat_mctp | ) |
int pal_pldm_send_ipmi_request | ( | ipmi_msg * | msg, |
uint8_t | eid | ||
) |
void plat_mctp_init | ( | void | ) |
BIC will not initialize mctp instance if CXL is not present
init mctp for bmc bus
void set_cxl_eid_flag | ( | uint8_t | cxl_card_id, |
bool | value | ||
) |