OpenBIC
OpenSource Bridge-IC
pldm_state_set.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Enumerations

enum  pldm_state_set_id_num { PLDM_STATE_SET_PRESENCE = 13 , PLDM_STATE_SET_BOOT_RESTART_CAUSE = 192 , PLDM_STATE_SET_OEM_DEVICE_STATUS = 32768 }
 
enum  pldm_state_set_presence { PLDM_STATE_SET_PRESENT = 1 , PLDM_STATE_SET_NOT_PRESENT = 2 }
 
enum  pldm_state_set_boot_restart_cause {
  PLDM_STATE_SET_BOOT_RESTART_CAUSE_POWERED_UP = 1 , PLDM_STATE_SET_BOOT_RESTART_CAUSE_HARD_RESET = 2 , PLDM_STATE_SET_BOOT_RESTART_CAUSE_WARM_RESET = 3 , PLDM_STATE_SET_BOOT_RESTART_CAUSE_MANUAL_HARD_RESET = 4 ,
  PLDM_STATE_SET_BOOT_RESTART_CAUSE_MANUAL_WARM_RESET = 5 , PLDM_STATE_SET_BOOT_RESTART_CAUSE_SYSTEM_RESTART = 6 , PLDM_STATE_SET_BOOT_RESTART_CAUSE_WATCHDOG_TIMEOUT = 7
}
 List of states for the Boot Restart Cause state set (ID 192). More...
 
enum  pldm_state_set_oem_device_status { PLDM_STATE_SET_OEM_DEVICE_STATUS_NORMAL = 1 , PLDM_STATE_SET_OEM_DEVICE_STATUS_ALERT = 2 }
 List of oem states for the device status (ID 32768) More...
 
enum  pldm_state_set_oem_device_power_status {
  PLDM_STATE_SET_OEM_DEVICE_NO_POWER_GOOD , PLDM_STATE_SET_OEM_DEVICE_POWER_GOOD_FAIL , PLDM_STATE_SET_OEM_DEVICE_3V3_POWER_FAULT , PLDM_STATE_SET_OEM_DEVICE_12V_POWER_FAULT ,
  PLDM_STATE_SET_OEM_DEVICE_3V3_AUX_FAULT , PLDM_STATE_SET_OEM_DEVICE_POWER_GOOD_FAULT , PLDM_STATE_SET_OEM_DEVICE_3V3_NO_POWER_GOOD , PLDM_STATE_SET_OEM_DEVICE_12V_NO_POWER_GOOD ,
  PLDM_STATE_SET_OEM_DEVICE_3V3_AUX_NO_POWER_GOOD , PLDM_STATE_SET_OEM_DEVICE_12V_AUX_POWER_FAULT , PLDM_STATE_SET_OEM_DEVICE_12V_AUX_NO_POWER_GOOD
}
 

Enumeration Type Documentation

◆ pldm_state_set_boot_restart_cause

List of states for the Boot Restart Cause state set (ID 192).

Enumerator
PLDM_STATE_SET_BOOT_RESTART_CAUSE_POWERED_UP 
PLDM_STATE_SET_BOOT_RESTART_CAUSE_HARD_RESET 
PLDM_STATE_SET_BOOT_RESTART_CAUSE_WARM_RESET 
PLDM_STATE_SET_BOOT_RESTART_CAUSE_MANUAL_HARD_RESET 
PLDM_STATE_SET_BOOT_RESTART_CAUSE_MANUAL_WARM_RESET 
PLDM_STATE_SET_BOOT_RESTART_CAUSE_SYSTEM_RESTART 
PLDM_STATE_SET_BOOT_RESTART_CAUSE_WATCHDOG_TIMEOUT 

◆ pldm_state_set_id_num

Enumerator
PLDM_STATE_SET_PRESENCE 
PLDM_STATE_SET_BOOT_RESTART_CAUSE 
PLDM_STATE_SET_OEM_DEVICE_STATUS 

◆ pldm_state_set_oem_device_power_status

Enumerator
PLDM_STATE_SET_OEM_DEVICE_NO_POWER_GOOD 
PLDM_STATE_SET_OEM_DEVICE_POWER_GOOD_FAIL 
PLDM_STATE_SET_OEM_DEVICE_3V3_POWER_FAULT 
PLDM_STATE_SET_OEM_DEVICE_12V_POWER_FAULT 
PLDM_STATE_SET_OEM_DEVICE_3V3_AUX_FAULT 
PLDM_STATE_SET_OEM_DEVICE_POWER_GOOD_FAULT 
PLDM_STATE_SET_OEM_DEVICE_3V3_NO_POWER_GOOD 
PLDM_STATE_SET_OEM_DEVICE_12V_NO_POWER_GOOD 
PLDM_STATE_SET_OEM_DEVICE_3V3_AUX_NO_POWER_GOOD 
PLDM_STATE_SET_OEM_DEVICE_12V_AUX_POWER_FAULT 
PLDM_STATE_SET_OEM_DEVICE_12V_AUX_NO_POWER_GOOD 

◆ pldm_state_set_oem_device_status

List of oem states for the device status (ID 32768)

Todo:
Can define other common status for device using.
Enumerator
PLDM_STATE_SET_OEM_DEVICE_STATUS_NORMAL 
PLDM_STATE_SET_OEM_DEVICE_STATUS_ALERT 

◆ pldm_state_set_presence

Enumerator
PLDM_STATE_SET_PRESENT 
PLDM_STATE_SET_NOT_PRESENT