Go to the source code of this file.
|
enum | POWER_ON_STAGE {
BOARD_POWER_ON_STAGE0 = 0x00
, BOARD_POWER_ON_STAGE1
, BOARD_POWER_ON_STAGE2
, RETIMER_POWER_ON_STAGE0
,
RETIMER_POWER_ON_STAGE1
, E1S_POWER_ON_STAGE0
, E1S_POWER_ON_STAGE1
, E1S_POWER_ON_STAGE2
,
E1S_POWER_ON_STAGE3
, ASIC_POWER_ON_STAGE1 = 0x00
, ASIC_POWER_ON_STAGE2
, DIMM_POWER_ON_STAGE1
,
DIMM_POWER_ON_STAGE2
, DIMM_POWER_ON_STAGE3
, ASIC_POWER_ON_STAGE = 0x00
, DIMM_POWER_ON_STAGE1
,
DIMM_POWER_ON_STAGE2
, DIMM_POWER_ON_STAGE3
, BOARD_POWER_ON_STAGE
, CLK_POWER_ON_STAGE = 0
,
ASIC_POWER_ON_STAGE_1
, ASIC_POWER_ON_STAGE_2
, DIMM_POWER_ON_STAGE_1
, DIMM_POWER_ON_STAGE_2
,
DIMM_POWER_ON_STAGE_3
, MAX_POWER_ON_STAGES
, ASIC_POWER_ON_STAGE_1 = 0
, CLK_POWER_ON_STAGE
,
ASIC_POWER_ON_STAGE_2
, ASIC_POWER_ON_STAGE_3
, DIMM_POWER_ON_STAGE_1
, DIMM_POWER_ON_STAGE_2
,
DIMM_POWER_ON_STAGE_3
, MAX_POWER_ON_STAGES
} |
|
enum | POWER_OFF_STAGE {
E1S_POWER_OFF_STAGE0 = 0x00
, E1S_POWER_OFF_STAGE1
, E1S_POWER_OFF_STAGE2
, E1S_POWER_OFF_STAGE3
,
RETIMER_POWER_OFF_STAGE0
, RETIMER_POWER_OFF_STAGE1
, RETIMER_POWER_OFF_STAGE2
, BOARD_POWER_OFF_STAGE0
,
BOARD_POWER_OFF_STAGE1
, BOARD_POWER_OFF_STAGE2
, DIMM_POWER_OFF_STAGE1 = 0x00
, DIMM_POWER_OFF_STAGE2
,
DIMM_POWER_OFF_STAGE3
, ASIC_POWER_OFF_STAGE1
, ASIC_POWER_OFF_STAGE2
, BOARD_POWER_OFF_STAGE
,
DIMM_POWER_OFF_STAGE1 = 0x00
, DIMM_POWER_OFF_STAGE2
, DIMM_POWER_OFF_STAGE3
, ASIC_POWER_OFF_STAGE1
,
ASIC_POWER_OFF_STAGE2
, BOARD_POWER_OFF_STAGE
, DIMM_POWER_OFF_STAGE_1 = 0
, DIMM_POWER_OFF_STAGE_2
,
DIMM_POWER_OFF_STAGE_3
, ASIC_POWER_OFF_STAGE_1
, ASIC_POWER_OFF_STAGE_2
, ASIC_POWER_OFF_STAGE_3
,
CLK_POWER_OFF_STAGE
, MAX_POWER_OFF_STAGES
, DIMM_POWER_OFF_STAGE_1 = 0
, DIMM_POWER_OFF_STAGE_2
,
DIMM_POWER_OFF_STAGE_3
, ASIC_POWER_OFF_STAGE_1
, ASIC_POWER_OFF_STAGE_2
, ASIC_POWER_OFF_STAGE_3
,
CLK_POWER_OFF_STAGE
, MAX_POWER_OFF_STAGES
} |
|
enum | CONTROL_POWER_SEQ_PIN_MAPPING {
CONTROL_POWER_SEQ_01 = P0V75_ASIC_EN_BIC
, CONTROL_POWER_SEQ_02 = P0V8_BIC_ASIC_EN
, CONTROL_POWER_SEQ_03 = P0V85_BIC_ASIC_EN
, CONTROL_POWER_SEQ_04 = P1V2_BIC_ASIC_EN
,
CONTROL_POWER_SEQ_05 = P1V8_BIC_ASIC_EN
, CONTROL_POWER_SEQ_06 = PVPP_AB_BIC_DIMM_EN
, CONTROL_POWER_SEQ_07 = PVPP_CD_BIC_DIMM_EN
, CONTROL_POWER_SEQ_08 = PVDDQ_AB_EN_BIC
,
CONTROL_POWER_SEQ_09 = PVDDQ_CD_EN_BIC
, CONTROL_POWER_SEQ_10 = PVTT_AB_BIC_DIMM_EN
, CONTROL_POWER_SEQ_11 = PVTT_CD_BIC_DIMM_EN
} |
|
enum | CHECK_POWER_SEQ_PIN_MAPPING {
CHECK_POWER_SEQ_01 = PWRGD_P0V75_ASIC_BIC
, CHECK_POWER_SEQ_02 = PWRGD_P0V8_ASIC
, CHECK_POWER_SEQ_03 = PWRGD_P0V85_ASIC
, CHECK_POWER_SEQ_04 = PWRGD_P1V2_ASIC
,
CHECK_POWER_SEQ_05 = PWRGD_P1V8_ASIC
, CHECK_POWER_SEQ_06 = PWRGD_PVPP_AB
, CHECK_POWER_SEQ_07 = PWRGD_PVPP_CD
, CHECK_POWER_SEQ_08 = PWRGD_PVDDQ_AB_BIC
,
CHECK_POWER_SEQ_09 = PWRGD_PVDDQ_CD_BIC
, CHECK_POWER_SEQ_10 = PWRGD_PVTT_AB
, CHECK_POWER_SEQ_11 = PWRGD_PVTT_CD
} |
|
◆ CHECKK_POWER_DELAY_MS
#define CHECKK_POWER_DELAY_MS 100 |
◆ POWER_SEQ_HANDLER_STACK_SIZE
#define POWER_SEQ_HANDLER_STACK_SIZE 1000 |
◆ CHECK_POWER_SEQ_PIN_MAPPING
Enumerator |
---|
CHECK_POWER_SEQ_01 | |
CHECK_POWER_SEQ_02 | |
CHECK_POWER_SEQ_03 | |
CHECK_POWER_SEQ_04 | |
CHECK_POWER_SEQ_05 | |
CHECK_POWER_SEQ_06 | |
CHECK_POWER_SEQ_07 | |
CHECK_POWER_SEQ_08 | |
CHECK_POWER_SEQ_09 | |
CHECK_POWER_SEQ_10 | |
CHECK_POWER_SEQ_11 | |
◆ CONTROL_POWER_SEQ_PIN_MAPPING
Enumerator |
---|
CONTROL_POWER_SEQ_01 | |
CONTROL_POWER_SEQ_02 | |
CONTROL_POWER_SEQ_03 | |
CONTROL_POWER_SEQ_04 | |
CONTROL_POWER_SEQ_05 | |
CONTROL_POWER_SEQ_06 | |
CONTROL_POWER_SEQ_07 | |
CONTROL_POWER_SEQ_08 | |
CONTROL_POWER_SEQ_09 | |
CONTROL_POWER_SEQ_10 | |
CONTROL_POWER_SEQ_11 | |
◆ POWER_OFF_STAGE
Enumerator |
---|
E1S_POWER_OFF_STAGE0 | |
E1S_POWER_OFF_STAGE1 | |
E1S_POWER_OFF_STAGE2 | |
E1S_POWER_OFF_STAGE3 | |
RETIMER_POWER_OFF_STAGE0 | |
RETIMER_POWER_OFF_STAGE1 | |
RETIMER_POWER_OFF_STAGE2 | |
BOARD_POWER_OFF_STAGE0 | |
BOARD_POWER_OFF_STAGE1 | |
BOARD_POWER_OFF_STAGE2 | |
DIMM_POWER_OFF_STAGE1 | |
DIMM_POWER_OFF_STAGE2 | |
DIMM_POWER_OFF_STAGE3 | |
ASIC_POWER_OFF_STAGE1 | |
ASIC_POWER_OFF_STAGE2 | |
BOARD_POWER_OFF_STAGE | |
DIMM_POWER_OFF_STAGE1 | |
DIMM_POWER_OFF_STAGE2 | |
DIMM_POWER_OFF_STAGE3 | |
ASIC_POWER_OFF_STAGE1 | |
ASIC_POWER_OFF_STAGE2 | |
BOARD_POWER_OFF_STAGE | |
DIMM_POWER_OFF_STAGE_1 | |
DIMM_POWER_OFF_STAGE_2 | |
DIMM_POWER_OFF_STAGE_3 | |
ASIC_POWER_OFF_STAGE_1 | |
ASIC_POWER_OFF_STAGE_2 | |
ASIC_POWER_OFF_STAGE_3 | |
CLK_POWER_OFF_STAGE | |
MAX_POWER_OFF_STAGES | |
DIMM_POWER_OFF_STAGE_1 | |
DIMM_POWER_OFF_STAGE_2 | |
DIMM_POWER_OFF_STAGE_3 | |
ASIC_POWER_OFF_STAGE_1 | |
ASIC_POWER_OFF_STAGE_2 | |
ASIC_POWER_OFF_STAGE_3 | |
CLK_POWER_OFF_STAGE | |
MAX_POWER_OFF_STAGES | |
◆ POWER_ON_STAGE
Enumerator |
---|
BOARD_POWER_ON_STAGE0 | |
BOARD_POWER_ON_STAGE1 | |
BOARD_POWER_ON_STAGE2 | |
RETIMER_POWER_ON_STAGE0 | |
RETIMER_POWER_ON_STAGE1 | |
E1S_POWER_ON_STAGE0 | |
E1S_POWER_ON_STAGE1 | |
E1S_POWER_ON_STAGE2 | |
E1S_POWER_ON_STAGE3 | |
ASIC_POWER_ON_STAGE1 | |
ASIC_POWER_ON_STAGE2 | |
DIMM_POWER_ON_STAGE1 | |
DIMM_POWER_ON_STAGE2 | |
DIMM_POWER_ON_STAGE3 | |
ASIC_POWER_ON_STAGE | |
DIMM_POWER_ON_STAGE1 | |
DIMM_POWER_ON_STAGE2 | |
DIMM_POWER_ON_STAGE3 | |
BOARD_POWER_ON_STAGE | |
CLK_POWER_ON_STAGE | |
ASIC_POWER_ON_STAGE_1 | |
ASIC_POWER_ON_STAGE_2 | |
DIMM_POWER_ON_STAGE_1 | |
DIMM_POWER_ON_STAGE_2 | |
DIMM_POWER_ON_STAGE_3 | |
MAX_POWER_ON_STAGES | |
ASIC_POWER_ON_STAGE_1 | |
CLK_POWER_ON_STAGE | |
ASIC_POWER_ON_STAGE_2 | |
ASIC_POWER_ON_STAGE_3 | |
DIMM_POWER_ON_STAGE_1 | |
DIMM_POWER_ON_STAGE_2 | |
DIMM_POWER_ON_STAGE_3 | |
MAX_POWER_ON_STAGES | |
◆ abort_power_thread()
void abort_power_thread |
( |
| ) |
|
◆ check_power_disable()
int check_power_disable |
( |
uint8_t |
control_stage | ) |
|
◆ check_power_enable()
int check_power_enable |
( |
uint8_t |
control_stage | ) |
|
◆ check_power_status()
int check_power_status |
( |
uint8_t |
power_status, |
|
|
uint8_t |
power_seq |
|
) |
| |
◆ control_power_sequence()
void control_power_sequence |
( |
| ) |
|
◆ disable_power()
int disable_power |
( |
uint8_t |
control_stage | ) |
|
◆ enable_power()
int enable_power |
( |
uint8_t |
control_stage | ) |
|
◆ execute_power_off_sequence()
void execute_power_off_sequence |
( |
| ) |
|
◆ execute_power_on_sequence()
void execute_power_on_sequence |
( |
| ) |
|
◆ init_power_thread()
void init_power_thread |
( |
uint8_t |
power_status | ) |
|
◆ power_off_handler()
int power_off_handler |
( |
uint8_t |
control_stage | ) |
|
◆ power_on_handler()
int power_on_handler |
( |
uint8_t |
control_stage | ) |
|
◆ set_MB_DC_status()
void set_MB_DC_status |
( |
uint8_t |
gpio_num | ) |
|