OpenBIC
OpenSource Bridge-IC
|
#include "plat_mctp.h"
#include <zephyr.h>
#include <sys/printk.h>
#include <logging/log.h>
#include <logging/log_ctrl.h>
#include <stdlib.h>
#include <stdio.h>
#include "mctp.h"
#include "mctp_ctrl.h"
#include "pldm.h"
#include "ipmi.h"
#include "sensor.h"
#include "plat_hook.h"
#include "plat_ipmb.h"
#include "plat_i3c.h"
Functions | |
LOG_MODULE_REGISTER (plat_mctp) | |
K_TIMER_DEFINE (send_cmd_timer, send_cmd_to_dev, NULL) | |
K_WORK_DEFINE (send_cmd_work, send_cmd_to_dev_handler) | |
void | send_cmd_to_dev_handler (struct k_work *work) |
void | send_cmd_to_dev (struct k_timer *timer) |
bool | mctp_add_sel_to_ipmi (common_addsel_msg_t *sel_msg) |
void | plat_mctp_init (void) |
uint8_t | plat_get_mctp_port_count () |
mctp_port * | plat_get_mctp_port (uint8_t index) |
Variables | |
mctp_port | plat_mctp_port [] |
mctp_route_entry | mctp_route_tbl [] |
K_TIMER_DEFINE | ( | send_cmd_timer | , |
send_cmd_to_dev | , | ||
NULL | |||
) |
K_WORK_DEFINE | ( | send_cmd_work | , |
send_cmd_to_dev_handler | |||
) |
LOG_MODULE_REGISTER | ( | plat_mctp | ) |
bool mctp_add_sel_to_ipmi | ( | common_addsel_msg_t * | sel_msg | ) |
mctp_port * plat_get_mctp_port | ( | uint8_t | index | ) |
uint8_t plat_get_mctp_port_count | ( | ) |
void plat_mctp_init | ( | void | ) |
BIC will not initialize mctp instance if CXL is not present
init mctp for bmc bus
void send_cmd_to_dev | ( | struct k_timer * | timer | ) |
void send_cmd_to_dev_handler | ( | struct k_work * | work | ) |
mctp_route_entry mctp_route_tbl[] |
mctp_port plat_mctp_port[] |