OpenBIC
OpenSource Bridge-IC
pldm_base.c File Reference
#include "pldm.h"
#include <logging/log.h>
#include <string.h>
#include <sys/printk.h>
#include <sys/slist.h>
#include <sys/util.h>
#include <zephyr.h>
#include "libutil.h"
Include dependency graph for pldm_base.c:

Functions

 LOG_MODULE_DECLARE (pldm)
 
__weak uint8_t plat_pldm_get_tid ()
 
uint8_t set_tid (void *mctp_inst, uint8_t *buf, uint16_t len, uint8_t instance_id, uint8_t *resp, uint16_t *resp_len, void *ext_params)
 
uint8_t get_tid (void *mctp_inst, uint8_t *buf, uint16_t len, uint8_t instance_id, uint8_t *resp, uint16_t *resp_len, void *ext_params)
 
uint8_t get_pldm_types (void *mctp_inst, uint8_t *buf, uint16_t len, uint8_t instance_id, uint8_t *resp, uint16_t *resp_len, void *ext_params)
 
uint8_t get_pldm_commands (void *mctp_inst, uint8_t *buf, uint16_t len, uint8_t instance_id, uint8_t *resp, uint16_t *resp_len, void *ext_params)
 
uint8_t pldm_base_handler_query (uint8_t code, void **ret_fn)
 

Function Documentation

◆ get_pldm_commands()

uint8_t get_pldm_commands ( void *  mctp_inst,
uint8_t *  buf,
uint16_t  len,
uint8_t  instance_id,
uint8_t *  resp,
uint16_t *  resp_len,
void *  ext_params 
)
Here is the call graph for this function:

◆ get_pldm_types()

uint8_t get_pldm_types ( void *  mctp_inst,
uint8_t *  buf,
uint16_t  len,
uint8_t  instance_id,
uint8_t *  resp,
uint16_t *  resp_len,
void *  ext_params 
)
Here is the call graph for this function:

◆ get_tid()

uint8_t get_tid ( void *  mctp_inst,
uint8_t *  buf,
uint16_t  len,
uint8_t  instance_id,
uint8_t *  resp,
uint16_t *  resp_len,
void *  ext_params 
)
Here is the call graph for this function:

◆ LOG_MODULE_DECLARE()

LOG_MODULE_DECLARE ( pldm  )

◆ plat_pldm_get_tid()

__weak uint8_t plat_pldm_get_tid ( )

◆ pldm_base_handler_query()

uint8_t pldm_base_handler_query ( uint8_t  code,
void **  ret_fn 
)

◆ set_tid()

uint8_t set_tid ( void *  mctp_inst,
uint8_t *  buf,
uint16_t  len,
uint8_t  instance_id,
uint8_t *  resp,
uint16_t *  resp_len,
void *  ext_params 
)