OpenBIC
OpenSource Bridge-IC
|
#include "plat_isr.h"
#include <stdlib.h>
#include "libipmi.h"
#include "libutil.h"
#include "kcs.h"
#include "power_status.h"
#include "ipmi.h"
#include "sensor.h"
#include "snoop.h"
#include "oem_handler.h"
#include "oem_1s_handler.h"
#include "plat_gpio.h"
#include "plat_ipmb.h"
#include "plat_ipmi.h"
#include "plat_sensor_table.h"
#include "plat_i2c.h"
#include "plat_sys.h"
#include <logging/log.h>
Functions | |
LOG_MODULE_REGISTER (plat_isr) | |
void | sled_cycle_work_handler (struct k_work *item) |
void | re_enable_usb_power_handler (struct k_work *item) |
void | slot1_cycle_work_handler (struct k_work *item) |
void | slot3_cycle_work_handler (struct k_work *item) |
K_WORK_DELAYABLE_DEFINE (sled_cycle_work, sled_cycle_work_handler) | |
K_WORK_DELAYABLE_DEFINE (re_enable_usb_power_work, re_enable_usb_power_handler) | |
K_WORK_DELAYABLE_DEFINE (slot1_cycle_work, slot1_cycle_work_handler) | |
K_WORK_DELAYABLE_DEFINE (slot3_cycle_work, slot3_cycle_work_handler) | |
void | ISR_PWROK_SLOT1 () |
void | ISR_PWROK_SLOT3 () |
void | ISR_SLED_CYCLE () |
void | ISR_SLOT1_PRESENT () |
void | ISR_SLOT3_PRESENT () |
void | ISR_USB_POWER_LOST () |
void | ISR_SLOT1_BUTTON () |
void | ISR_SLOT3_BUTTON () |
void | set_BIC_slot_isolator (uint8_t pwr_state_gpio_num, uint8_t isolator_gpio_num) |
void | set_sled_cycle () |
void ISR_PWROK_SLOT1 | ( | ) |
void ISR_PWROK_SLOT3 | ( | ) |
void ISR_SLED_CYCLE | ( | ) |
void ISR_SLOT1_BUTTON | ( | ) |
void ISR_SLOT1_PRESENT | ( | ) |
void ISR_SLOT3_BUTTON | ( | ) |
void ISR_SLOT3_PRESENT | ( | ) |
void ISR_USB_POWER_LOST | ( | ) |
K_WORK_DELAYABLE_DEFINE | ( | re_enable_usb_power_work | , |
re_enable_usb_power_handler | |||
) |
K_WORK_DELAYABLE_DEFINE | ( | sled_cycle_work | , |
sled_cycle_work_handler | |||
) |
K_WORK_DELAYABLE_DEFINE | ( | slot1_cycle_work | , |
slot1_cycle_work_handler | |||
) |
K_WORK_DELAYABLE_DEFINE | ( | slot3_cycle_work | , |
slot3_cycle_work_handler | |||
) |
LOG_MODULE_REGISTER | ( | plat_isr | ) |
void re_enable_usb_power_handler | ( | struct k_work * | item | ) |
void set_BIC_slot_isolator | ( | uint8_t | pwr_state_gpio_num, |
uint8_t | isolator_gpio_num | ||
) |
void set_sled_cycle | ( | ) |
void sled_cycle_work_handler | ( | struct k_work * | item | ) |
void slot1_cycle_work_handler | ( | struct k_work * | item | ) |
void slot3_cycle_work_handler | ( | struct k_work * | item | ) |