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
IRQ_FLT_TYPE
{
21
P12V_E1S
= 0,
22
P3V3_E1S
,
23
P12V_EDGE
,
24
};
25
26
void
dev_12v_fault_handler
(
void
);
27
void
pwrgd_p12v_aux_int_handler
(
void
);
28
void
dev_rst
(
void
);
29
uint8_t
check_12v_dev_pwrgd
(
void
);
30
void
dev_12v_fault_handler
(
void
);
31
void
aux_pwr_en_int_handler
(
void
);
32
void
power_en_int_handler
(
void
);
33
void
rst_mb_n_int_handler
(
void
);
34
void
check_irq_fault
(
void
);
35
36
void
prsnt_int_handler_dev0
();
37
void
prsnt_int_handler_dev1
();
38
void
prsnt_int_handler_dev2
();
39
void
prsnt_int_handler_dev3
();
40
41
void
dev_12v_fault_handler_dev0
(
void
);
42
void
dev_12v_fault_handler_dev1
(
void
);
43
void
dev_12v_fault_handler_dev2
(
void
);
44
void
dev_12v_fault_handler_dev3
(
void
);
45
46
void
ina231_alert_handler_m2_dev0
(
void
);
47
void
ina231_alert_handler_m2_dev1
(
void
);
48
void
ina231_alert_handler_m2_dev2
(
void
);
49
void
ina231_alert_handler_m2_dev3
(
void
);
50
51
void
dev_3v3_fault_handler_dev0
(
void
);
// IRQ_P3V3_E1S_0_FLT_N
52
void
dev_3v3_fault_handler_dev1
(
void
);
// IRQ_P3V3_E1S_1_FLT_N
53
void
dev_3v3_fault_handler_dev2
(
void
);
// IRQ_P3V3_E1S_2_FLT_N
54
void
dev_3v3_fault_handler_dev3
(
void
);
// IRQ_P3V3_E1S_3_FLT_N
55
void
p12v_edge_fault_sel
(
void
);
// IRQ_P12V_EDGE_FLT_N
56
57
#endif
dev_3v3_fault_handler_dev0
void dev_3v3_fault_handler_dev0(void)
prsnt_int_handler_dev3
void prsnt_int_handler_dev3()
prsnt_int_handler_dev1
void prsnt_int_handler_dev1()
check_irq_fault
void check_irq_fault(void)
Definition:
plat_isr.c:251
ina231_alert_handler_m2_dev3
void ina231_alert_handler_m2_dev3(void)
p12v_edge_fault_sel
void p12v_edge_fault_sel(void)
Definition:
plat_isr.c:320
dev_12v_fault_handler
void dev_12v_fault_handler(void)
Definition:
plat_isr.c:38
ina231_alert_handler_m2_dev2
void ina231_alert_handler_m2_dev2(void)
ina231_alert_handler_m2_dev1
void ina231_alert_handler_m2_dev1(void)
IRQ_FLT_TYPE
IRQ_FLT_TYPE
Definition:
plat_isr.h:20
P12V_EDGE
@ P12V_EDGE
Definition:
plat_isr.h:23
P12V_E1S
@ P12V_E1S
Definition:
plat_isr.h:21
P3V3_E1S
@ P3V3_E1S
Definition:
plat_isr.h:22
check_12v_dev_pwrgd
uint8_t check_12v_dev_pwrgd(void)
Definition:
plat_isr.c:113
dev_12v_fault_handler_dev3
void dev_12v_fault_handler_dev3(void)
aux_pwr_en_int_handler
void aux_pwr_en_int_handler(void)
Definition:
plat_isr.c:127
prsnt_int_handler_dev2
void prsnt_int_handler_dev2()
dev_12v_fault_handler_dev1
void dev_12v_fault_handler_dev1(void)
prsnt_int_handler_dev0
void prsnt_int_handler_dev0()
dev_3v3_fault_handler_dev3
void dev_3v3_fault_handler_dev3(void)
dev_3v3_fault_handler_dev2
void dev_3v3_fault_handler_dev2(void)
dev_3v3_fault_handler_dev1
void dev_3v3_fault_handler_dev1(void)
dev_12v_fault_handler_dev2
void dev_12v_fault_handler_dev2(void)
power_en_int_handler
void power_en_int_handler(void)
Definition:
plat_isr.c:63
ina231_alert_handler_m2_dev0
void ina231_alert_handler_m2_dev0(void)
rst_mb_n_int_handler
void rst_mb_n_int_handler(void)
Definition:
plat_isr.c:138
dev_12v_fault_handler_dev0
void dev_12v_fault_handler_dev0(void)
dev_rst
void dev_rst(void)
Definition:
plat_isr.c:90
pwrgd_p12v_aux_int_handler
void pwrgd_p12v_aux_int_handler(void)
Definition:
plat_isr.c:45
meta-facebook
yv3-vf
src
platform
plat_isr.h
Generated by
1.9.2