#include "pldm.h"
#include <stdint.h>
Go to the source code of this file.
|
enum | pldm_completion_codes {
PLDM_SUCCESS = 0x00
, PLDM_ERROR = 0x01
, PLDM_ERROR_INVALID_DATA = 0x02
, PLDM_ERROR_INVALID_LENGTH = 0x03
,
PLDM_ERROR_NOT_READY = 0x04
, PLDM_ERROR_UNSUPPORTED_PLDM_CMD = 0x05
, PLDM_ERROR_INVALID_PLDM_TYPE = 0x20
, PLDM_INVALID_TRANSFER_OPERATION_FLAG = 0x21
,
PLDM_LATER_RESP = 0x30
} |
|
enum | pldm_transport_protocol_type { PLDM_TRANSPORT_PROTOCOL_TYPE_MCTP = 0x00
, PLDM_TRANSPORT_PROTOCOL_TYPE_NCSI = 0x01
, PLDM_TRANSPORT_PROTOCOL_TYPE_OEM = 0xFF
} |
|
enum | pldm_transfer_flag { PLDM_START = 0x01
, PLDM_MIDDLE = 0x02
, PLDM_END = 0x04
, PLDM_START_AND_END = 0x05
} |
|
◆ DEFAULT_TID
◆ GET_PLDM_COMMAND_BUF_SIZE
#define GET_PLDM_COMMAND_BUF_SIZE 32 |
◆ GET_PLDM_TYPE_BUF_SIZE
#define GET_PLDM_TYPE_BUF_SIZE 8 |
◆ INVALID_PLDM_TYPE_IN_REQUEST_DATA
#define INVALID_PLDM_TYPE_IN_REQUEST_DATA 0x83 |
◆ INVALID_PLDM_VERSION_IN_REQUEST_DATA
#define INVALID_PLDM_VERSION_IN_REQUEST_DATA 0x84 |
◆ PLDM_BASE_CMD_CODE_GET_PLDM_CMDS
#define PLDM_BASE_CMD_CODE_GET_PLDM_CMDS 0x05 |
◆ PLDM_BASE_CMD_CODE_GET_PLDM_TYPE
#define PLDM_BASE_CMD_CODE_GET_PLDM_TYPE 0x04 |
◆ PLDM_BASE_CMD_CODE_GET_PLDM_VER
#define PLDM_BASE_CMD_CODE_GET_PLDM_VER 0x03 |
◆ PLDM_BASE_CMD_CODE_GETTID
#define PLDM_BASE_CMD_CODE_GETTID 0x02 |
◆ PLDM_BASE_CMD_CODE_SETTID
#define PLDM_BASE_CMD_CODE_SETTID 0x01 |
◆ pldm_completion_codes
Enumerator |
---|
PLDM_SUCCESS | |
PLDM_ERROR | |
PLDM_ERROR_INVALID_DATA | |
PLDM_ERROR_INVALID_LENGTH | |
PLDM_ERROR_NOT_READY | |
PLDM_ERROR_UNSUPPORTED_PLDM_CMD | |
PLDM_ERROR_INVALID_PLDM_TYPE | |
PLDM_INVALID_TRANSFER_OPERATION_FLAG | |
PLDM_LATER_RESP | |
◆ pldm_transfer_flag
Enumerator |
---|
PLDM_START | |
PLDM_MIDDLE | |
PLDM_END | |
PLDM_START_AND_END | |
◆ pldm_transport_protocol_type
Enumerator |
---|
PLDM_TRANSPORT_PROTOCOL_TYPE_MCTP | |
PLDM_TRANSPORT_PROTOCOL_TYPE_NCSI | |
PLDM_TRANSPORT_PROTOCOL_TYPE_OEM | |
◆ __attribute__()
◆ plat_pldm_get_tid()
uint8_t plat_pldm_get_tid |
( |
| ) |
|
◆ pldm_base_handler_query()
uint8_t pldm_base_handler_query |
( |
uint8_t |
code, |
|
|
void ** |
ret_fn |
|
) |
| |
◆ completion_code
◆ pldm_commands
◆ pldm_types
◆ tid
◆ type
◆ version