OpenBIC
OpenSource Bridge-IC
plat_isr.c File Reference
#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>
Include dependency graph for plat_isr.c:

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 ()
 

Function Documentation

◆ ISR_PWROK_SLOT1()

void ISR_PWROK_SLOT1 ( )
Here is the call graph for this function:

◆ ISR_PWROK_SLOT3()

void ISR_PWROK_SLOT3 ( )
Here is the call graph for this function:

◆ ISR_SLED_CYCLE()

void ISR_SLED_CYCLE ( )
Here is the call graph for this function:

◆ ISR_SLOT1_BUTTON()

void ISR_SLOT1_BUTTON ( )
Here is the call graph for this function:

◆ ISR_SLOT1_PRESENT()

void ISR_SLOT1_PRESENT ( )
Here is the call graph for this function:

◆ ISR_SLOT3_BUTTON()

void ISR_SLOT3_BUTTON ( )
Here is the call graph for this function:

◆ ISR_SLOT3_PRESENT()

void ISR_SLOT3_PRESENT ( )
Here is the call graph for this function:

◆ ISR_USB_POWER_LOST()

void ISR_USB_POWER_LOST ( )
Here is the call graph for this function:

◆ K_WORK_DELAYABLE_DEFINE() [1/4]

K_WORK_DELAYABLE_DEFINE ( re_enable_usb_power_work  ,
re_enable_usb_power_handler   
)

◆ K_WORK_DELAYABLE_DEFINE() [2/4]

K_WORK_DELAYABLE_DEFINE ( sled_cycle_work  ,
sled_cycle_work_handler   
)

◆ K_WORK_DELAYABLE_DEFINE() [3/4]

K_WORK_DELAYABLE_DEFINE ( slot1_cycle_work  ,
slot1_cycle_work_handler   
)

◆ K_WORK_DELAYABLE_DEFINE() [4/4]

K_WORK_DELAYABLE_DEFINE ( slot3_cycle_work  ,
slot3_cycle_work_handler   
)

◆ LOG_MODULE_REGISTER()

LOG_MODULE_REGISTER ( plat_isr  )

◆ re_enable_usb_power_handler()

void re_enable_usb_power_handler ( struct k_work *  item)
Here is the call graph for this function:

◆ set_BIC_slot_isolator()

void set_BIC_slot_isolator ( uint8_t  pwr_state_gpio_num,
uint8_t  isolator_gpio_num 
)
Here is the call graph for this function:

◆ set_sled_cycle()

void set_sled_cycle ( )
Here is the call graph for this function:

◆ sled_cycle_work_handler()

void sled_cycle_work_handler ( struct k_work *  item)
Here is the call graph for this function:

◆ slot1_cycle_work_handler()

void slot1_cycle_work_handler ( struct k_work *  item)
Here is the call graph for this function:

◆ slot3_cycle_work_handler()

void slot3_cycle_work_handler ( struct k_work *  item)
Here is the call graph for this function: