OpenBIC
OpenSource Bridge-IC
|
#include <zephyr.h>
#include <stdio.h>
#include "ipmi.h"
#include "ipmb.h"
#include "libipmi.h"
#include "plat_gpio.h"
#include "plat_isr.h"
#include "expansion_board.h"
#include "plat_sensor_table.h"
#include "plat_power_seq.h"
#include <logging/log.h>
#include "power_status.h"
Macros | |
#define | DC_ON_5_SECOND 5 |
Functions | |
LOG_MODULE_REGISTER (power_sequence) | |
K_WORK_DELAYABLE_DEFINE (set_DC_on_5s_work, set_DC_on_delayed_status) | |
void | set_MB_DC_status (uint8_t gpio_num) |
void | control_power_on_sequence () |
void | control_power_off_sequence () |
void | control_power_stage (uint8_t control_mode, uint8_t control_seq) |
int | check_power_stage (uint8_t check_mode, uint8_t check_seq, uint8_t stage) |
#define DC_ON_5_SECOND 5 |
int check_power_stage | ( | uint8_t | check_mode, |
uint8_t | check_seq, | ||
uint8_t | stage | ||
) |
void control_power_off_sequence | ( | ) |
void control_power_on_sequence | ( | ) |
void control_power_stage | ( | uint8_t | control_mode, |
uint8_t | control_seq | ||
) |
K_WORK_DELAYABLE_DEFINE | ( | set_DC_on_5s_work | , |
set_DC_on_delayed_status | |||
) |
LOG_MODULE_REGISTER | ( | power_sequence | ) |
void set_MB_DC_status | ( | uint8_t | gpio_num | ) |