OpenBIC
OpenSource Bridge-IC
plat_isr.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) Meta Platforms, Inc. and affiliates.
3
*
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
* you may not use this file except in compliance with the License.
6
* You may obtain a copy of the License at
7
*
8
* http://www.apache.org/licenses/LICENSE-2.0
9
*
10
* Unless required by applicable law or agreed to in writing, software
11
* distributed under the License is distributed on an "AS IS" BASIS,
12
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
* See the License for the specific language governing permissions and
14
* limitations under the License.
15
*/
16
17
#ifndef PLAT_ISR_H
18
#define PLAT_ISR_H
19
20
enum
INA233_ALERT_INDEX
{
21
INA233_ALERT_E1S_0
= 0,
22
INA233_ALERT_E1S_1
,
23
INA233_ALERT_E1S_2
,
24
INA233_ALERT_E1S_3
,
25
INA233_ALERT_E1S_4
,
26
INA233_ALERT_E1S_P12V_EDGE
,
27
INA233_ALERT_E1S_P12V_MAIN
,
28
};
29
30
void
control_power_sequence
();
31
void
init_power_on_thread
(uint8_t initial_stage);
32
void
init_power_off_thread
();
33
void
abort_power_thread
();
34
void
ISR_FM_EXP_MAIN_PWR_EN
();
35
void
ISR_CPU_PCIE_PERST
();
36
void
ISR_E1S_0_INA233_ALERT
();
37
void
ISR_E1S_1_INA233_ALERT
();
38
void
ISR_E1S_2_INA233_ALERT
();
39
void
ISR_E1S_3_INA233_ALERT
();
40
void
ISR_E1S_4_INA233_ALERT
();
41
void
ISR_E1S_P12V_EDGE_INA233_ALERT
();
42
void
ISR_E1S_P12V_MAIN_INA233_ALERT
();
43
void
ISR_E1S_0_PRSNT_N
();
44
void
ISR_E1S_1_PRSNT_N
();
45
void
ISR_E1S_2_PRSNT_N
();
46
void
ISR_E1S_3_PRSNT_N
();
47
void
ISR_E1S_4_PRSNT_N
();
48
49
void
OPA_ISR_E1S_0_P12V_POWER_FAULT
();
50
void
OPA_ISR_E1S_1_P12V_POWER_FAULT
();
51
void
OPA_ISR_E1S_2_P12V_POWER_FAULT
();
52
void
OPA_ISR_E1S_0_P3V3_POWER_FAULT
();
53
void
OPA_ISR_E1S_1_P3V3_POWER_FAULT
();
54
void
OPA_ISR_E1S_2_P3V3_POWER_FAULT
();
55
56
void
OPB_ISR_E1S_0_P12V_POWER_FAULT
();
57
void
OPB_ISR_E1S_1_P12V_POWER_FAULT
();
58
void
OPB_ISR_E1S_2_P12V_POWER_FAULT
();
59
void
OPB_ISR_E1S_3_P12V_POWER_FAULT
();
60
void
OPB_ISR_E1S_4_P12V_POWER_FAULT
();
61
void
OPB_ISR_E1S_0_P3V3_POWER_FAULT
();
62
void
OPB_ISR_E1S_1_P3V3_POWER_FAULT
();
63
void
OPB_ISR_E1S_2_P3V3_POWER_FAULT
();
64
void
OPB_ISR_E1S_3_P3V3_POWER_FAULT
();
65
void
OPB_ISR_E1S_4_P3V3_POWER_FAULT
();
66
67
#endif
OPB_ISR_E1S_2_P12V_POWER_FAULT
void OPB_ISR_E1S_2_P12V_POWER_FAULT()
ISR_E1S_0_PRSNT_N
void ISR_E1S_0_PRSNT_N()
Definition:
plat_isr.c:230
OPB_ISR_E1S_3_P3V3_POWER_FAULT
void OPB_ISR_E1S_3_P3V3_POWER_FAULT()
ISR_E1S_0_INA233_ALERT
void ISR_E1S_0_INA233_ALERT()
Definition:
plat_isr.c:188
OPA_ISR_E1S_0_P12V_POWER_FAULT
void OPA_ISR_E1S_0_P12V_POWER_FAULT()
init_power_off_thread
void init_power_off_thread()
Definition:
plat_isr.c:148
ISR_E1S_2_PRSNT_N
void ISR_E1S_2_PRSNT_N()
Definition:
plat_isr.c:296
INA233_ALERT_INDEX
INA233_ALERT_INDEX
Definition:
plat_isr.h:20
INA233_ALERT_E1S_4
@ INA233_ALERT_E1S_4
Definition:
plat_isr.h:25
INA233_ALERT_E1S_2
@ INA233_ALERT_E1S_2
Definition:
plat_isr.h:23
INA233_ALERT_E1S_1
@ INA233_ALERT_E1S_1
Definition:
plat_isr.h:22
INA233_ALERT_E1S_3
@ INA233_ALERT_E1S_3
Definition:
plat_isr.h:24
INA233_ALERT_E1S_P12V_EDGE
@ INA233_ALERT_E1S_P12V_EDGE
Definition:
plat_isr.h:26
INA233_ALERT_E1S_P12V_MAIN
@ INA233_ALERT_E1S_P12V_MAIN
Definition:
plat_isr.h:27
INA233_ALERT_E1S_0
@ INA233_ALERT_E1S_0
Definition:
plat_isr.h:21
ISR_E1S_1_INA233_ALERT
void ISR_E1S_1_INA233_ALERT()
Definition:
plat_isr.c:194
OPA_ISR_E1S_1_P3V3_POWER_FAULT
void OPA_ISR_E1S_1_P3V3_POWER_FAULT()
ISR_E1S_4_PRSNT_N
void ISR_E1S_4_PRSNT_N()
Definition:
plat_isr.c:348
ISR_FM_EXP_MAIN_PWR_EN
void ISR_FM_EXP_MAIN_PWR_EN()
Definition:
plat_isr.c:168
OPB_ISR_E1S_1_P12V_POWER_FAULT
void OPB_ISR_E1S_1_P12V_POWER_FAULT()
OPB_ISR_E1S_2_P3V3_POWER_FAULT
void OPB_ISR_E1S_2_P3V3_POWER_FAULT()
abort_power_thread
void abort_power_thread()
Definition:
plat_isr.c:161
control_power_sequence
void control_power_sequence()
Definition:
plat_isr.c:116
ISR_E1S_1_PRSNT_N
void ISR_E1S_1_PRSNT_N()
Definition:
plat_isr.c:263
OPB_ISR_E1S_4_P3V3_POWER_FAULT
void OPB_ISR_E1S_4_P3V3_POWER_FAULT()
OPA_ISR_E1S_1_P12V_POWER_FAULT
void OPA_ISR_E1S_1_P12V_POWER_FAULT()
OPB_ISR_E1S_1_P3V3_POWER_FAULT
void OPB_ISR_E1S_1_P3V3_POWER_FAULT()
ISR_E1S_3_INA233_ALERT
void ISR_E1S_3_INA233_ALERT()
Definition:
plat_isr.c:206
ISR_E1S_2_INA233_ALERT
void ISR_E1S_2_INA233_ALERT()
Definition:
plat_isr.c:200
OPA_ISR_E1S_2_P12V_POWER_FAULT
void OPA_ISR_E1S_2_P12V_POWER_FAULT()
ISR_E1S_4_INA233_ALERT
void ISR_E1S_4_INA233_ALERT()
Definition:
plat_isr.c:212
ISR_CPU_PCIE_PERST
void ISR_CPU_PCIE_PERST()
Definition:
plat_isr.c:174
OPB_ISR_E1S_4_P12V_POWER_FAULT
void OPB_ISR_E1S_4_P12V_POWER_FAULT()
ISR_E1S_P12V_MAIN_INA233_ALERT
void ISR_E1S_P12V_MAIN_INA233_ALERT()
Definition:
plat_isr.c:224
OPA_ISR_E1S_0_P3V3_POWER_FAULT
void OPA_ISR_E1S_0_P3V3_POWER_FAULT()
OPB_ISR_E1S_0_P12V_POWER_FAULT
void OPB_ISR_E1S_0_P12V_POWER_FAULT()
ISR_E1S_P12V_EDGE_INA233_ALERT
void ISR_E1S_P12V_EDGE_INA233_ALERT()
Definition:
plat_isr.c:218
OPB_ISR_E1S_0_P3V3_POWER_FAULT
void OPB_ISR_E1S_0_P3V3_POWER_FAULT()
OPA_ISR_E1S_2_P3V3_POWER_FAULT
void OPA_ISR_E1S_2_P3V3_POWER_FAULT()
OPB_ISR_E1S_3_P12V_POWER_FAULT
void OPB_ISR_E1S_3_P12V_POWER_FAULT()
ISR_E1S_3_PRSNT_N
void ISR_E1S_3_PRSNT_N()
Definition:
plat_isr.c:329
init_power_on_thread
void init_power_on_thread(uint8_t initial_stage)
Definition:
plat_isr.c:133
meta-facebook
op2-op
src
platform
plat_isr.h
Generated by
1.9.2