OpenBIC
OpenSource Bridge-IC
|
#include "mctp.h"
#include "hal_i2c_target.h"
#include <logging/log.h>
#include <stdint.h>
#include <stdlib.h>
#include <string.h>
#include <sys/crc.h>
#include <sys/printk.h>
#include <zephyr.h>
#include "libutil.h"
#include "plat_def.h"
Macros | |
#define | MCTP_SMBUS_WRITE_MAX_RETRY 1 |
#define | MCTP_SMBUS_PEC_SIZE 1 |
#define | MCTP_SMBUS_CMD_CODE 0x0F |
Functions | |
LOG_MODULE_DECLARE (mctp, LOG_LEVEL_DBG) | |
struct | __attribute__ ((packed)) |
uint8_t | mctp_smbus_init (mctp *mctp_inst, mctp_medium_conf medium_conf) |
uint8_t | mctp_smbus_deinit (mctp *mctp_inst) |
Variables | |
smbus_hdr | |
#define MCTP_SMBUS_CMD_CODE 0x0F |
#define MCTP_SMBUS_PEC_SIZE 1 |
#define MCTP_SMBUS_WRITE_MAX_RETRY 1 |
struct __attribute__ | ( | (packed) | ) |
LOG_MODULE_DECLARE | ( | mctp | , |
LOG_LEVEL_DBG | |||
) |
uint8_t mctp_smbus_deinit | ( | mctp * | mctp_inst | ) |
uint8_t mctp_smbus_init | ( | mctp * | mctp_inst, |
mctp_medium_conf | medium_conf | ||
) |
smbus_hdr |