TT-System-Firmware APIs 19.15.99
Tenstorrent Firmware
Loading...
Searching...
No Matches
pldm_oem_handler.h File Reference
#include <errno.h>
#include <stddef.h>
#include <stdint.h>
#include <zephyr/device.h>
#include <libpldm/base.h>
Include dependency graph for pldm_oem_handler.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  pldm_oem_handler_driver_api
 Driver API for PLDM OEM command handlers. More...

Macros

#define PLDM_OEM_TYPE   0x3FU

Functions

static const ver32_t * pldm_oem_handler_get_versions (const struct device *dev, size_t *versions_size)
static const bitfield8_t * pldm_oem_handler_get_commands (const struct device *dev)
static int pldm_oem_handler_build_response (const struct device *dev, const struct pldm_header_info *req_hdr, const struct pldm_msg *req_msg, size_t req_payload_len, struct pldm_msg *resp_msg, size_t *resp_pldm_len)

Macro Definition Documentation

◆ PLDM_OEM_TYPE

#define PLDM_OEM_TYPE   0x3FU

PLDM OEM type number (0x3F per DSP0240).

Function Documentation

◆ pldm_oem_handler_build_response()

int pldm_oem_handler_build_response ( const struct device * dev,
const struct pldm_header_info * req_hdr,
const struct pldm_msg * req_msg,
size_t req_payload_len,
struct pldm_msg * resp_msg,
size_t * resp_pldm_len )
inlinestatic

◆ pldm_oem_handler_get_commands()

const bitfield8_t * pldm_oem_handler_get_commands ( const struct device * dev)
inlinestatic

◆ pldm_oem_handler_get_versions()

const ver32_t * pldm_oem_handler_get_versions ( const struct device * dev,
size_t * versions_size )
inlinestatic