OpenBIC
OpenSource Bridge-IC
|
#include <zephyr.h>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <logging/log.h>
#include "ipmi.h"
#include "pmbus.h"
#include "libipmi.h"
#include "ipmb.h"
#include "libutil.h"
#include "hal_i2c.h"
#include "plat_power_seq.h"
#include "power_status.h"
#include "plat_gpio.h"
#include "plat_isr.h"
#include "plat_i2c.h"
#include "plat_sensor_table.h"
#include "plat_util.h"
#include "plat_class.h"
Macros | |
#define | OPA_E1S_POWER_FAULT_HANDLER(device, power) |
#define | OPB_E1S_POWER_FAULT_HANDLER(device, power) |
Variables | |
struct k_thread | power_thread_handler |
k_tid_t | power_tid |
#define OPA_E1S_POWER_FAULT_HANDLER | ( | device, | |
power | |||
) |
#define OPB_E1S_POWER_FAULT_HANDLER | ( | device, | |
power | |||
) |
void abort_power_thread | ( | ) |
void control_power_sequence | ( | ) |
void init_power_off_thread | ( | ) |
void init_power_on_thread | ( | uint8_t | initial_stage | ) |
void ISR_CPU_PCIE_PERST | ( | ) |
void ISR_E1S_0_INA233_ALERT | ( | ) |
void ISR_E1S_0_PRSNT_N | ( | ) |
void ISR_E1S_1_INA233_ALERT | ( | ) |
void ISR_E1S_1_PRSNT_N | ( | ) |
void ISR_E1S_2_INA233_ALERT | ( | ) |
void ISR_E1S_2_PRSNT_N | ( | ) |
void ISR_E1S_3_INA233_ALERT | ( | ) |
void ISR_E1S_3_PRSNT_N | ( | ) |
void ISR_E1S_4_INA233_ALERT | ( | ) |
void ISR_E1S_4_PRSNT_N | ( | ) |
void ISR_E1S_P12V_EDGE_INA233_ALERT | ( | ) |
void ISR_E1S_P12V_MAIN_INA233_ALERT | ( | ) |
void ISR_FM_EXP_MAIN_PWR_EN | ( | ) |
K_THREAD_STACK_DEFINE | ( | power_thread | , |
POWER_SEQ_CTRL_STACK_SIZE | |||
) |
LOG_MODULE_REGISTER | ( | plat_isr | ) |
OPA_E1S_POWER_FAULT_HANDLER | ( | 0 | , |
P12V | |||
) |
OPA_E1S_POWER_FAULT_HANDLER | ( | 0 | , |
P3V3 | |||
) |
OPA_E1S_POWER_FAULT_HANDLER | ( | 1 | , |
P12V | |||
) |
OPA_E1S_POWER_FAULT_HANDLER | ( | 1 | , |
P3V3 | |||
) |
OPA_E1S_POWER_FAULT_HANDLER | ( | 2 | , |
P12V | |||
) |
OPA_E1S_POWER_FAULT_HANDLER | ( | 2 | , |
P3V3 | |||
) |
OPB_E1S_POWER_FAULT_HANDLER | ( | 0 | , |
P12V | |||
) |
OPB_E1S_POWER_FAULT_HANDLER | ( | 0 | , |
P3V3 | |||
) |
OPB_E1S_POWER_FAULT_HANDLER | ( | 1 | , |
P12V | |||
) |
OPB_E1S_POWER_FAULT_HANDLER | ( | 1 | , |
P3V3 | |||
) |
OPB_E1S_POWER_FAULT_HANDLER | ( | 2 | , |
P12V | |||
) |
OPB_E1S_POWER_FAULT_HANDLER | ( | 2 | , |
P3V3 | |||
) |
OPB_E1S_POWER_FAULT_HANDLER | ( | 3 | , |
P12V | |||
) |
OPB_E1S_POWER_FAULT_HANDLER | ( | 3 | , |
P3V3 | |||
) |
OPB_E1S_POWER_FAULT_HANDLER | ( | 4 | , |
P12V | |||
) |
OPB_E1S_POWER_FAULT_HANDLER | ( | 4 | , |
P3V3 | |||
) |
struct k_thread power_thread_handler |
k_tid_t power_tid |