OpenBIC
OpenSource Bridge-IC
|
#include <logging/log.h>
#include "ipmi.h"
#include "ipmb.h"
#include "pldm.h"
#include "libipmi.h"
#include "plat_isr.h"
#include "plat_gpio.h"
#include "plat_mctp.h"
#include "plat_ipmi.h"
#include "plat_class.h"
#include "util_worker.h"
#include "plat_sensor_table.h"
#include "plat_dev.h"
#include "plat_pldm_monitor.h"
#include "xdpe15284.h"
#include "q50sn120a1.h"
#include "pmbus.h"
Classes | |
struct | _alert_sensor_info |
struct | _alert_event_cfg |
Macros | |
#define | VR_WRITE_RETRY_MAX_COUNT 5 |
#define | ALERT_EVENT_DEFAULT_DELAY_MS 0 |
#define | POWER_BRICK_ALERT_DELAY_MS 400 |
#define | NORMAL_POWER_GOOD_CHECK_DELAY_MS 5000 |
#define | ISR_SENSOR_ALERT(device, gpio_pin_name, board_id) |
Typedefs | |
typedef struct _alert_sensor_info | alert_sensor_info |
typedef struct _alert_event_cfg | alert_event_cfg |
Functions | |
LOG_MODULE_REGISTER (plat_isr) | |
void | check_accl_card_pwr_good_work_handler () |
add_sel_info * | get_addsel_work (uint8_t gpio_num) |
K_WORK_DELAYABLE_DEFINE (fio_power_button_work, fio_power_button_work_handler) | |
void | fio_power_button_work_handler () |
void | vr_alert_addsel (uint8_t sensor_num, uint8_t device_type, uint8_t board_info, uint8_t event_type, uint8_t status) |
void | parse_vr_alert_event (add_sel_info *work_info) |
void | parse_power_brick_alert_event (add_sel_info *work_info) |
void | add_sel_work_handler (struct k_work *work_item) |
K_WORK_DELAYABLE_DEFINE (check_accl_card_pwr_good_work, check_accl_card_pwr_good_work_handler) | |
void | ISR_FIO_BUTTON () |
void | ISR_POWER_STATUS_CHANGE () |
Variables | |
alert_sensor_info | vr_info [] |
alert_sensor_info | power_brick_info [] |
add_sel_info | add_sel_work_item [] |
#define ALERT_EVENT_DEFAULT_DELAY_MS 0 |
#define ISR_SENSOR_ALERT | ( | device, | |
gpio_pin_name, | |||
board_id | |||
) |
#define NORMAL_POWER_GOOD_CHECK_DELAY_MS 5000 |
#define POWER_BRICK_ALERT_DELAY_MS 400 |
#define VR_WRITE_RETRY_MAX_COUNT 5 |
typedef struct _alert_event_cfg alert_event_cfg |
typedef struct _alert_sensor_info alert_sensor_info |
void add_sel_work_handler | ( | struct k_work * | work_item | ) |
void check_accl_card_pwr_good_work_handler | ( | ) |
void fio_power_button_work_handler | ( | ) |
add_sel_info * get_addsel_work | ( | uint8_t | gpio_num | ) |
void ISR_FIO_BUTTON | ( | ) |
void ISR_POWER_STATUS_CHANGE | ( | ) |
K_WORK_DELAYABLE_DEFINE | ( | check_accl_card_pwr_good_work | , |
check_accl_card_pwr_good_work_handler | |||
) |
K_WORK_DELAYABLE_DEFINE | ( | fio_power_button_work | , |
fio_power_button_work_handler | |||
) |
LOG_MODULE_REGISTER | ( | plat_isr | ) |
void parse_power_brick_alert_event | ( | add_sel_info * | work_info | ) |
void parse_vr_alert_event | ( | add_sel_info * | work_info | ) |
void vr_alert_addsel | ( | uint8_t | sensor_num, |
uint8_t | device_type, | ||
uint8_t | board_info, | ||
uint8_t | event_type, | ||
uint8_t | status | ||
) |
add_sel_info add_sel_work_item[] |
alert_sensor_info power_brick_info[] |
alert_sensor_info vr_info[] |