OpenBIC
OpenSource Bridge-IC
plat_pldm_monitor.c File Reference
#include <logging/log.h>
#include "sensor.h"
#include "hal_gpio.h"
#include "pldm.h"
#include "pmbus.h"
#include "plat_fru.h"
#include "plat_gpio.h"
#include "plat_pldm_monitor.h"
#include "plat_class.h"
#include "plat_led.h"
Include dependency graph for plat_pldm_monitor.c:

Functions

 LOG_MODULE_REGISTER (plat_pldm_monitor)
 
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)
 
void plat_pldm_load_state_effecter_table (void)
 

Variables

struct pldm_state_effecter_info plat_state_effecter_table []
 

Function Documentation

◆ LOG_MODULE_REGISTER()

LOG_MODULE_REGISTER ( plat_pldm_monitor  )

◆ plat_pldm_get_state_effecter_state_handler()

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 
)
Here is the call graph for this function:

◆ plat_pldm_load_state_effecter_table()

void plat_pldm_load_state_effecter_table ( void  )

◆ plat_pldm_set_state_effecter_state_handler()

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 
)
Here is the call graph for this function:

Variable Documentation

◆ plat_state_effecter_table

struct pldm_state_effecter_info plat_state_effecter_table[]
Initial value:
= {
.entity_type = PLDM_ENTITY_IO_CONTROLLER,
},
}
#define PLDM_PLATFORM_OEM_AST1030_GPIO_PIN_NUM_MAX
Definition: pldm_monitor.h:66
@ PLDM_ENTITY_IO_CONTROLLER
Definition: pldm_monitor.h:197