OpenBIC
OpenSource Bridge-IC
|
#include <logging/log.h>
#include <stdlib.h>
#include <device.h>
#include "sensor.h"
#include "hal_gpio.h"
#include "pldm.h"
#include "plat_gpio.h"
#include "plat_i2c.h"
#include "plat_sensor_table.h"
#include "plat_pldm_monitor.h"
Functions | |
LOG_MODULE_REGISTER (plat_pldm_monitor) | |
void | plat_pldm_load_state_effecter_table (void) |
void | plat_pldm_dev_driver_handler (const uint8_t *buf, uint16_t len, uint8_t *resp, uint16_t *resp_len, uint16_t effecter_id) |
void | plat_pldm_switch_uart (const uint8_t *buf, uint16_t len, uint8_t *resp, uint16_t *resp_len) |
uint8_t | plat_pldm_set_state_effecter_state_handler (const uint8_t *buf, uint16_t len, uint8_t *resp, uint16_t *resp_len, struct pldm_state_effecter_info *info_p) |
uint8_t | plat_pldm_get_state_effecter_state_handler (const uint8_t *buf, uint16_t len, uint8_t *resp, uint16_t *resp_len, struct pldm_state_effecter_info *info_p) |
Variables | |
struct pldm_state_effecter_info | plat_state_effecter_table [] |
LOG_MODULE_REGISTER | ( | plat_pldm_monitor | ) |
void plat_pldm_dev_driver_handler | ( | const uint8_t * | buf, |
uint16_t | len, | ||
uint8_t * | resp, | ||
uint16_t * | resp_len, | ||
uint16_t | effecter_id | ||
) |
uint8_t plat_pldm_get_state_effecter_state_handler | ( | const uint8_t * | buf, |
uint16_t | len, | ||
uint8_t * | resp, | ||
uint16_t * | resp_len, | ||
struct pldm_state_effecter_info * | info_p | ||
) |
void plat_pldm_load_state_effecter_table | ( | void | ) |
uint8_t plat_pldm_set_state_effecter_state_handler | ( | const uint8_t * | buf, |
uint16_t | len, | ||
uint8_t * | resp, | ||
uint16_t * | resp_len, | ||
struct pldm_state_effecter_info * | info_p | ||
) |
void plat_pldm_switch_uart | ( | const uint8_t * | buf, |
uint16_t | len, | ||
uint8_t * | resp, | ||
uint16_t * | resp_len | ||
) |
struct pldm_state_effecter_info plat_state_effecter_table[] |