#include "mctp.h"
#include <stdint.h>
#include <zephyr.h>
Go to the source code of this file.
◆ MCTP_BASE_LINE_UNIT
#define MCTP_BASE_LINE_UNIT 64 |
◆ MCTP_CTRL_CC_ERROR
#define MCTP_CTRL_CC_ERROR 0x01 |
◆ MCTP_CTRL_CC_ERROR_INVALID_DATA
#define MCTP_CTRL_CC_ERROR_INVALID_DATA 0x02 |
◆ MCTP_CTRL_CC_ERROR_INVALID_LENGTH
#define MCTP_CTRL_CC_ERROR_INVALID_LENGTH 0x03 |
◆ MCTP_CTRL_CC_ERROR_NOT_READY
#define MCTP_CTRL_CC_ERROR_NOT_READY 0x04 |
◆ MCTP_CTRL_CC_ERROR_UNSUPPORTED_CMD
#define MCTP_CTRL_CC_ERROR_UNSUPPORTED_CMD 0x05 |
◆ MCTP_CTRL_CC_SUCCESS
#define MCTP_CTRL_CC_SUCCESS 0x00 |
◆ MCTP_CTRL_CMD_GET_ENDPOINT_ID
#define MCTP_CTRL_CMD_GET_ENDPOINT_ID 0x02 |
◆ MCTP_CTRL_CMD_GET_ENDPOINT_ID_REQ_LEN
#define MCTP_CTRL_CMD_GET_ENDPOINT_ID_REQ_LEN 0x00 |
◆ MCTP_CTRL_CMD_GET_MESSAGE_TYPE_SUPPORT
#define MCTP_CTRL_CMD_GET_MESSAGE_TYPE_SUPPORT 0x05 |
◆ MCTP_CTRL_CMD_SET_ENDPOINT_ID
#define MCTP_CTRL_CMD_SET_ENDPOINT_ID 0x01 |
◆ MCTP_CTRL_READ_STATUS_CC_ERROR
#define MCTP_CTRL_READ_STATUS_CC_ERROR 0x01 |
◆ MCTP_CTRL_READ_STATUS_SUCCESS
#define MCTP_CTRL_READ_STATUS_SUCCESS 0x00 |
◆ MCTP_CTRL_READ_STATUS_TIMEOUT
#define MCTP_CTRL_READ_STATUS_TIMEOUT 0x02 |
◆ SET_EID_REQ_OP_FORCE_EID
#define SET_EID_REQ_OP_FORCE_EID 0x01 |
◆ SET_EID_REQ_OP_SET_EID
#define SET_EID_REQ_OP_SET_EID 0x00 |
◆ mctp_ctrl_cmd_fn
typedef uint8_t(* mctp_ctrl_cmd_fn) (void *, uint8_t *, uint16_t, uint8_t *, uint16_t *, void *) |
◆ mctp_ctrl_cmd_handler_t
◆ mctp_ctrl_resp_arg
◆ eid_type
Enumerator |
---|
DYNAMIC_EID | |
STATIC_EID | |
◆ endpoint_type
Enumerator |
---|
SIMPLE_ENDPOINT | |
BRIDGE | |
◆ message_type
Enumerator |
---|
TYPE_MCTP_CONTROL | |
TYPE_PLDM | |
TYPE_MAX_SIZE | |
◆ __attribute__()
◆ mctp_ctrl_cmd_handler()
uint8_t mctp_ctrl_cmd_handler |
( |
void * |
mctp_p, |
|
|
uint8_t * |
buf, |
|
|
uint32_t |
len, |
|
|
mctp_ext_params |
ext_params |
|
) |
| |
◆ mctp_ctrl_read()
uint8_t mctp_ctrl_read |
( |
void * |
mctp_p, |
|
|
mctp_ctrl_msg * |
msg, |
|
|
uint8_t * |
read_buf, |
|
|
uint16_t |
read_len |
|
) |
| |
◆ mctp_ctrl_send_msg()
uint8_t mctp_ctrl_send_msg |
( |
void * |
mctp_p, |
|
|
mctp_ctrl_msg * |
msg |
|
) |
| |
◆ plat_update_mctp_routing_table()
void plat_update_mctp_routing_table |
( |
uint8_t |
eid | ) |
|
◆ __attribute__
◆ __pad0__
◆ __pad1__
◆ completion_code
◆ eid
◆ eid_pool_size
◆ eid_type
◆ endpoint_type
◆ mctp_ctrl_hdr
◆ medium_specific_info
uint8_t medium_specific_info |
◆ op
◆ status
◆ type_count
◆ type_number