OpenBIC
OpenSource Bridge-IC
|
Go to the source code of this file.
Macros | |
#define | I2C_BUS_BMC I2C_BUS5 |
#define | I2C_BUS_CXL I2C_BUS2 |
#define | I2C_ADDR_BIC 0x40 |
#define | I2C_ADDR_BMC 0x20 |
#define | I2C_ADDR_CXL 0xDE |
#define | MCTP_EID_DEFAULT 0x00 |
#define | MCTP_EID_BMC 0x08 |
#define | MCTP_EID_CXL MCTP_EID_DEFAULT |
#define | MCTP_RESP_DATA_INDEX 4 |
#define | MCTP_RESP_HEADER_COUNT 4 |
#define | SET_EID_FLAG true |
#define | CLEAR_EID_FLAG false |
Functions | |
void | plat_mctp_init (void) |
bool | get_set_cxl_endpoint (uint8_t cxl_card_id, uint8_t eid) |
bool | get_cxl_eid_flag (uint8_t cxl_card_id) |
void | set_cxl_eid_flag (uint8_t cxl_card_id, bool value) |
int | pal_pldm_send_ipmi_request (ipmi_msg *msg, uint8_t eid) |
#define CLEAR_EID_FLAG false |
#define I2C_ADDR_BIC 0x40 |
#define I2C_ADDR_BMC 0x20 |
#define I2C_ADDR_CXL 0xDE |
#define I2C_BUS_BMC I2C_BUS5 |
#define I2C_BUS_CXL I2C_BUS2 |
#define MCTP_EID_BMC 0x08 |
#define MCTP_EID_CXL MCTP_EID_DEFAULT |
#define MCTP_EID_DEFAULT 0x00 |
#define MCTP_RESP_DATA_INDEX 4 |
#define MCTP_RESP_HEADER_COUNT 4 |
#define SET_EID_FLAG true |
bool get_cxl_eid_flag | ( | uint8_t | cxl_card_id | ) |
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
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
BIC will not initialize mctp instance if CXL is not present
init mctp for bmc bus
BIC will not initialize mctp instance if CXL is not present
init mctp for bmc bus
BIC will not initialize mctp instance if CXL is not present
init mctp for bmc bus
BIC will not initialize mctp instance if CXL is not present
init mctp for bmc bus
BIC will not initialize mctp instance if CXL is not present
init mctp for bmc bus
BIC will not initialize mctp instance if CXL is not present
init mctp for bmc bus
BIC will not initialize mctp instance if CXL is not present
init mctp for bmc bus
BIC will not initialize mctp instance if CXL is not present
init mctp for bmc bus
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 | ||
) |