OpenBIC
OpenSource Bridge-IC
plat_mctp.h File Reference
#include "storage_handler.h"
#include "pldm_oem.h"
Include dependency graph for plat_mctp.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  mctp_to_ipmi_header_req
 
struct  mctp_to_ipmi_header_resp
 
struct  mctp_to_ipmi_sel_req
 
struct  mctp_to_ipmi_sel_resp
 

Functions

struct mctp_to_ipmi_header_req __attribute__ ((__packed__))
 
void plat_mctp_init (void)
 
void send_cmd_to_dev (struct k_timer *timer)
 
void send_cmd_to_dev_handler (struct k_work *work)
 
bool mctp_add_sel_to_ipmi (common_addsel_msg_t *sel_msg)
 
uint8_t get_nic_config (void)
 

Variables

uint8_t iana [IANA_LEN]
 
uint8_t netfn_lun
 
uint8_t ipmi_cmd
 
uint8_t completion_code
 
uint8_t ipmi_comp_code
 
struct mctp_to_ipmi_header_req header
 
struct ipmi_storage_add_sel_req req_data
 
struct ipmi_storage_add_sel_resp resp_data
 
struct pldm_variable_field nic_vesion []
 

Function Documentation

◆ __attribute__()

struct mctp_to_ipmi_header_req __attribute__ ( (__packed__)  )

◆ get_nic_config()

uint8_t get_nic_config ( void  )

◆ mctp_add_sel_to_ipmi()

bool mctp_add_sel_to_ipmi ( common_addsel_msg_t sel_msg)

◆ plat_mctp_init()

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

◆ send_cmd_to_dev()

void send_cmd_to_dev ( struct k_timer *  timer)

◆ send_cmd_to_dev_handler()

void send_cmd_to_dev_handler ( struct k_work *  work)

Variable Documentation

◆ completion_code

uint8_t completion_code

◆ header

struct mctp_to_ipmi_header_resp header

◆ iana

uint8_t iana[IANA_LEN]

◆ ipmi_cmd

uint8_t ipmi_cmd

◆ ipmi_comp_code

uint8_t ipmi_comp_code

◆ netfn_lun

uint8_t netfn_lun

◆ nic_vesion

struct pldm_variable_field nic_vesion[]
extern

◆ req_data

struct ipmi_storage_add_sel_req req_data

◆ resp_data

struct ipmi_storage_add_sel_resp resp_data