OpenBIC
OpenSource Bridge-IC
|
#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 "plat_mctp.h"
Classes | |
struct | ssd_event_check |
Macros | |
#define | PLDM_OEM_ENTITY_LED 8192 |
#define | PLDM_OEM_ENTITY_SSD_LED 8193 |
#define | PLDM_OEM_ENTITY_NIC_TYPE 8194 |
Functions | |
LOG_MODULE_REGISTER (plat_pldm_monitor) | |
void | ssd_alert_check_ina230 (uint8_t idx, uint8_t *flag) |
void | ssd_alert_check_isl28022 (uint8_t idx, uint8_t *flag) |
void | ssd_alert_check_handler (struct k_work *work) |
void | ssd_alert_check (uint8_t group) |
void | ssd_present_check () |
void | nic_present_check () |
void | vr_status_mfr_specific_check_handler (struct k_work *work) |
void | vr_alert_check () |
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 [] |
uint8_t | e1s_prsnt_pin [4][4] |
uint8_t | nic_prsnt_pin [] |
uint8_t | pex_sensor_num_table [] |
uint8_t | nic_power_ic_sensor_table [] |
uint8_t | pex_1v25_power_ic_sensor_table [] |
uint8_t | ssd_power_ic_sensor_table [] |
uint8_t | e1s_sensor_table [SSD_MAX_NUMBER] |
#define PLDM_OEM_ENTITY_LED 8192 |
#define PLDM_OEM_ENTITY_NIC_TYPE 8194 |
#define PLDM_OEM_ENTITY_SSD_LED 8193 |
LOG_MODULE_REGISTER | ( | plat_pldm_monitor | ) |
void nic_present_check | ( | ) |
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 ssd_alert_check | ( | uint8_t | group | ) |
void ssd_alert_check_handler | ( | struct k_work * | work | ) |
void ssd_alert_check_ina230 | ( | uint8_t | idx, |
uint8_t * | flag | ||
) |
void ssd_alert_check_isl28022 | ( | uint8_t | idx, |
uint8_t * | flag | ||
) |
void ssd_present_check | ( | ) |
void vr_alert_check | ( | ) |
void vr_status_mfr_specific_check_handler | ( | struct k_work * | work | ) |
Get PMBUS_STATUS_MFR_SPECIFIC
Clear faults when bit ADCUNLOCK or BBEVENT is high
uint8_t e1s_prsnt_pin[4][4] |
uint8_t e1s_sensor_table[SSD_MAX_NUMBER] |
uint8_t nic_power_ic_sensor_table[] |
uint8_t nic_prsnt_pin[] |
uint8_t pex_1v25_power_ic_sensor_table[] |
uint8_t pex_sensor_num_table[] |
struct pldm_state_effecter_info plat_state_effecter_table[] |
uint8_t ssd_power_ic_sensor_table[] |