OpenBIC
OpenSource Bridge-IC
plat_pldm_monitor.h File Reference
#include "pldm_monitor.h"
#include "plat_sensor_table.h"
Include dependency graph for plat_pldm_monitor.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define MAX_STATE_EFFECTER_IDX   187
 

Enumerations

enum  pldm_plat_effecter_id_high_byte {
  PLAT_EFFECTER_ID_GPIO_HIGH_BYTE = (0xFF << 8) , PLAT_EFFECTER_ID_GPIO_HIGH_BYTE = (0xFF << 8) , PLAT_EFFECTER_ID_LED_HIGH_BYTE = (0xE0 << 8) , PLAT_EFFECTER_ID_NIC_TYPE_HIGH_BYTE = (0xD0 << 8) ,
  PLAT_EFFECTER_ID_GPIO_HIGH_BYTE = (0xFF << 8) , PLAT_EFFECTER_ID_GPIO_HIGH_BYTE = (0xFF << 8) , PLAT_EFFECTER_ID_GPIO_HIGH_BYTE = (0xFF << 8) , PLAT_EFFECTER_ID_GPIO_HIGH_BYTE = (0xFF << 8)
}
 
enum  plat_pldm_bic_state_set_offset { PLDM_STATE_SET_OFFSET_BIC_BOOT_RESTART_CAUSE = 0 , PLDM_STATE_SET_OFFSET_BIC_BOOT_RESTART_CAUSE = 0 }
 
enum  plat_pldm_device_state_set_offset {
  PLDM_STATE_SET_OFFSET_DEVICE_PRESENCE = 0 , PLDM_STATE_SET_OFFSET_DEVICE_STATUS = 1 , PLDM_STATE_SET_OFFSET_DEVICE_POWER_STATUS = 2 , PLDM_STATE_SET_OFFSET_DEVICE_NVME_STATUS = 3 ,
  PLDM_STATE_SET_OFFSET_DEVICE_PRESENCE = 0 , PLDM_STATE_SET_OFFSET_DEVICE_STATUS = 1 , PLDM_STATE_SET_OFFSET_DEVICE_POWER_STATUS = 2 , PLDM_STATE_SET_OFFSET_DEVICE_PRESENCE = 0 ,
  PLDM_STATE_SET_OFFSET_DEVICE_STATUS = 1 , PLDM_STATE_SET_OFFSET_DEVICE_PRESENCE = 0 , PLDM_STATE_SET_OFFSET_DEVICE_STATUS = 1
}
 

Variables

struct pldm_state_effecter_info plat_state_effecter_table []
 

Macro Definition Documentation

◆ MAX_STATE_EFFECTER_IDX

#define MAX_STATE_EFFECTER_IDX   187

Enumeration Type Documentation

◆ plat_pldm_bic_state_set_offset

Enumerator
PLDM_STATE_SET_OFFSET_BIC_BOOT_RESTART_CAUSE 
PLDM_STATE_SET_OFFSET_BIC_BOOT_RESTART_CAUSE 

◆ plat_pldm_device_state_set_offset

Enumerator
PLDM_STATE_SET_OFFSET_DEVICE_PRESENCE 
PLDM_STATE_SET_OFFSET_DEVICE_STATUS 
PLDM_STATE_SET_OFFSET_DEVICE_POWER_STATUS 
PLDM_STATE_SET_OFFSET_DEVICE_NVME_STATUS 
PLDM_STATE_SET_OFFSET_DEVICE_PRESENCE 
PLDM_STATE_SET_OFFSET_DEVICE_STATUS 
PLDM_STATE_SET_OFFSET_DEVICE_POWER_STATUS 
PLDM_STATE_SET_OFFSET_DEVICE_PRESENCE 
PLDM_STATE_SET_OFFSET_DEVICE_STATUS 
PLDM_STATE_SET_OFFSET_DEVICE_PRESENCE 
PLDM_STATE_SET_OFFSET_DEVICE_STATUS 

◆ pldm_plat_effecter_id_high_byte

Enumerator
PLAT_EFFECTER_ID_GPIO_HIGH_BYTE 
PLAT_EFFECTER_ID_GPIO_HIGH_BYTE 
PLAT_EFFECTER_ID_LED_HIGH_BYTE 
PLAT_EFFECTER_ID_NIC_TYPE_HIGH_BYTE 
PLAT_EFFECTER_ID_GPIO_HIGH_BYTE 
PLAT_EFFECTER_ID_GPIO_HIGH_BYTE 
PLAT_EFFECTER_ID_GPIO_HIGH_BYTE 
PLAT_EFFECTER_ID_GPIO_HIGH_BYTE 

Variable Documentation

◆ plat_state_effecter_table

struct pldm_state_effecter_info plat_state_effecter_table[]
extern