OpenBIC
OpenSource Bridge-IC
plat_power_seq.h File Reference
#include "hal_gpio.h"
#include "plat_gpio.h"
Include dependency graph for plat_power_seq.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void pwr_related_pin_init (void)
 
uint8_t get_dev_pwrgd (uint8_t idx)
 
uint8_t get_nvme_dev_ready_15s (uint8_t idx)
 
uint8_t fm_p3v3_sw_en (uint8_t idx, uint8_t val)
 
uint8_t fm_p12v_sw_en (uint8_t idx, uint8_t val)
 
uint8_t clkbuf_oe_en (uint8_t idx, uint8_t val)
 
uint8_t get_fm_pwrdis_status (uint8_t idx)
 
uint8_t fm_pwrdis_en (uint8_t idx, uint8_t val)
 
void check_dc_off_process (void)
 
uint8_t m2_dev_power_switch_with_pwrdis_chk (uint8_t idx, uint8_t enable, uint8_t chk_pwrdis, uint8_t force_ctl_3v3)
 
uint8_t m2_dev_power_switch (uint8_t idx, uint8_t enable)
 
uint8_t device_all_power_set (uint8_t idx, uint8_t set_val)
 
void dev_pwrgd_handler (uint8_t idx)
 
uint8_t get_fm_p12v_sw_en (uint8_t idx)
 
uint8_t pwrgd_p12v_aux_100ms_get (void)
 
void pwrgd_p12v_aux_100ms_set (uint32_t val, uint32_t unused1)
 
void plat_set_dc_status (uint32_t dc_pin, uint32_t unused)
 
void dev_pwrgd_handler_dev0 (void)
 
void dev_pwrgd_handler_dev1 (void)
 
void dev_pwrgd_handler_dev2 (void)
 
void dev_pwrgd_handler_dev3 (void)
 

Function Documentation

◆ check_dc_off_process()

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

◆ clkbuf_oe_en()

uint8_t clkbuf_oe_en ( uint8_t  idx,
uint8_t  val 
)
Here is the call graph for this function:

◆ dev_pwrgd_handler()

void dev_pwrgd_handler ( uint8_t  idx)
Here is the call graph for this function:

◆ dev_pwrgd_handler_dev0()

void dev_pwrgd_handler_dev0 ( void  )

◆ dev_pwrgd_handler_dev1()

void dev_pwrgd_handler_dev1 ( void  )

◆ dev_pwrgd_handler_dev2()

void dev_pwrgd_handler_dev2 ( void  )

◆ dev_pwrgd_handler_dev3()

void dev_pwrgd_handler_dev3 ( void  )

◆ device_all_power_set()

uint8_t device_all_power_set ( uint8_t  idx,
uint8_t  set_val 
)
Here is the call graph for this function:

◆ fm_p12v_sw_en()

uint8_t fm_p12v_sw_en ( uint8_t  idx,
uint8_t  val 
)
Here is the call graph for this function:

◆ fm_p3v3_sw_en()

uint8_t fm_p3v3_sw_en ( uint8_t  idx,
uint8_t  val 
)
Here is the call graph for this function:

◆ fm_pwrdis_en()

uint8_t fm_pwrdis_en ( uint8_t  idx,
uint8_t  val 
)
Here is the call graph for this function:

◆ get_dev_pwrgd()

uint8_t get_dev_pwrgd ( uint8_t  idx)

◆ get_fm_p12v_sw_en()

uint8_t get_fm_p12v_sw_en ( uint8_t  idx)
Here is the call graph for this function:

◆ get_fm_pwrdis_status()

uint8_t get_fm_pwrdis_status ( uint8_t  idx)
Here is the call graph for this function:

◆ get_nvme_dev_ready_15s()

uint8_t get_nvme_dev_ready_15s ( uint8_t  idx)

◆ m2_dev_power_switch()

uint8_t m2_dev_power_switch ( uint8_t  idx,
uint8_t  enable 
)
Here is the call graph for this function:

◆ m2_dev_power_switch_with_pwrdis_chk()

uint8_t m2_dev_power_switch_with_pwrdis_chk ( uint8_t  idx,
uint8_t  enable,
uint8_t  chk_pwrdis,
uint8_t  force_ctl_3v3 
)
Here is the call graph for this function:

◆ plat_set_dc_status()

void plat_set_dc_status ( uint32_t  dc_pin,
uint32_t  unused 
)
Here is the call graph for this function:

◆ pwr_related_pin_init()

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

◆ pwrgd_p12v_aux_100ms_get()

uint8_t pwrgd_p12v_aux_100ms_get ( void  )

◆ pwrgd_p12v_aux_100ms_set()

void pwrgd_p12v_aux_100ms_set ( uint32_t  val,
uint32_t  unused1 
)