Software APIs
hw
top_earlgrey
sw
autogen
top_earlgrey.c
1
// Copyright lowRISC contributors (OpenTitan project).
2
// Licensed under the Apache License, Version 2.0, see LICENSE for details.
3
// SPDX-License-Identifier: Apache-2.0
4
5
#include "
hw/top_earlgrey/sw/autogen/top_earlgrey.h
"
6
7
/**
8
* PLIC Interrupt Source to Peripheral Map
9
*
10
* This array is a mapping from `top_earlgrey_plic_irq_id_t` to
11
* `top_earlgrey_plic_peripheral_t`.
12
*/
13
const
top_earlgrey_plic_peripheral_t
14
top_earlgrey_plic_interrupt_for_peripheral
[186] = {
15
[
kTopEarlgreyPlicIrqIdNone
] =
kTopEarlgreyPlicPeripheralUnknown
,
16
[
kTopEarlgreyPlicIrqIdUart0TxWatermark
] =
kTopEarlgreyPlicPeripheralUart0
,
17
[
kTopEarlgreyPlicIrqIdUart0RxWatermark
] =
kTopEarlgreyPlicPeripheralUart0
,
18
[
kTopEarlgreyPlicIrqIdUart0TxDone
] =
kTopEarlgreyPlicPeripheralUart0
,
19
[
kTopEarlgreyPlicIrqIdUart0RxOverflow
] =
kTopEarlgreyPlicPeripheralUart0
,
20
[
kTopEarlgreyPlicIrqIdUart0RxFrameErr
] =
kTopEarlgreyPlicPeripheralUart0
,
21
[
kTopEarlgreyPlicIrqIdUart0RxBreakErr
] =
kTopEarlgreyPlicPeripheralUart0
,
22
[
kTopEarlgreyPlicIrqIdUart0RxTimeout
] =
kTopEarlgreyPlicPeripheralUart0
,
23
[
kTopEarlgreyPlicIrqIdUart0RxParityErr
] =
kTopEarlgreyPlicPeripheralUart0
,
24
[
kTopEarlgreyPlicIrqIdUart0TxEmpty
] =
kTopEarlgreyPlicPeripheralUart0
,
25
[
kTopEarlgreyPlicIrqIdUart1TxWatermark
] =
kTopEarlgreyPlicPeripheralUart1
,
26
[
kTopEarlgreyPlicIrqIdUart1RxWatermark
] =
kTopEarlgreyPlicPeripheralUart1
,
27
[
kTopEarlgreyPlicIrqIdUart1TxDone
] =
kTopEarlgreyPlicPeripheralUart1
,
28
[
kTopEarlgreyPlicIrqIdUart1RxOverflow
] =
kTopEarlgreyPlicPeripheralUart1
,
29
[
kTopEarlgreyPlicIrqIdUart1RxFrameErr
] =
kTopEarlgreyPlicPeripheralUart1
,
30
[
kTopEarlgreyPlicIrqIdUart1RxBreakErr
] =
kTopEarlgreyPlicPeripheralUart1
,
31
[
kTopEarlgreyPlicIrqIdUart1RxTimeout
] =
kTopEarlgreyPlicPeripheralUart1
,
32
[
kTopEarlgreyPlicIrqIdUart1RxParityErr
] =
kTopEarlgreyPlicPeripheralUart1
,
33
[
kTopEarlgreyPlicIrqIdUart1TxEmpty
] =
kTopEarlgreyPlicPeripheralUart1
,
34
[
kTopEarlgreyPlicIrqIdUart2TxWatermark
] =
kTopEarlgreyPlicPeripheralUart2
,
35
[
kTopEarlgreyPlicIrqIdUart2RxWatermark
] =
kTopEarlgreyPlicPeripheralUart2
,
36
[
kTopEarlgreyPlicIrqIdUart2TxDone
] =
kTopEarlgreyPlicPeripheralUart2
,
37
[
kTopEarlgreyPlicIrqIdUart2RxOverflow
] =
kTopEarlgreyPlicPeripheralUart2
,
38
[
kTopEarlgreyPlicIrqIdUart2RxFrameErr
] =
kTopEarlgreyPlicPeripheralUart2
,
39
[
kTopEarlgreyPlicIrqIdUart2RxBreakErr
] =
kTopEarlgreyPlicPeripheralUart2
,
40
[
kTopEarlgreyPlicIrqIdUart2RxTimeout
] =
kTopEarlgreyPlicPeripheralUart2
,
41
[
kTopEarlgreyPlicIrqIdUart2RxParityErr
] =
kTopEarlgreyPlicPeripheralUart2
,
42
[
kTopEarlgreyPlicIrqIdUart2TxEmpty
] =
kTopEarlgreyPlicPeripheralUart2
,
43
[
kTopEarlgreyPlicIrqIdUart3TxWatermark
] =
kTopEarlgreyPlicPeripheralUart3
,
44
[
kTopEarlgreyPlicIrqIdUart3RxWatermark
] =
kTopEarlgreyPlicPeripheralUart3
,
45
[
kTopEarlgreyPlicIrqIdUart3TxDone
] =
kTopEarlgreyPlicPeripheralUart3
,
46
[
kTopEarlgreyPlicIrqIdUart3RxOverflow
] =
kTopEarlgreyPlicPeripheralUart3
,
47
[
kTopEarlgreyPlicIrqIdUart3RxFrameErr
] =
kTopEarlgreyPlicPeripheralUart3
,
48
[
kTopEarlgreyPlicIrqIdUart3RxBreakErr
] =
kTopEarlgreyPlicPeripheralUart3
,
49
[
kTopEarlgreyPlicIrqIdUart3RxTimeout
] =
kTopEarlgreyPlicPeripheralUart3
,
50
[
kTopEarlgreyPlicIrqIdUart3RxParityErr
] =
kTopEarlgreyPlicPeripheralUart3
,
51
[
kTopEarlgreyPlicIrqIdUart3TxEmpty
] =
kTopEarlgreyPlicPeripheralUart3
,
52
[
kTopEarlgreyPlicIrqIdGpioGpio0
] =
kTopEarlgreyPlicPeripheralGpio
,
53
[
kTopEarlgreyPlicIrqIdGpioGpio1
] =
kTopEarlgreyPlicPeripheralGpio
,
54
[
kTopEarlgreyPlicIrqIdGpioGpio2
] =
kTopEarlgreyPlicPeripheralGpio
,
55
[
kTopEarlgreyPlicIrqIdGpioGpio3
] =
kTopEarlgreyPlicPeripheralGpio
,
56
[
kTopEarlgreyPlicIrqIdGpioGpio4
] =
kTopEarlgreyPlicPeripheralGpio
,
57
[
kTopEarlgreyPlicIrqIdGpioGpio5
] =
kTopEarlgreyPlicPeripheralGpio
,
58
[
kTopEarlgreyPlicIrqIdGpioGpio6
] =
kTopEarlgreyPlicPeripheralGpio
,
59
[
kTopEarlgreyPlicIrqIdGpioGpio7
] =
kTopEarlgreyPlicPeripheralGpio
,
60
[
kTopEarlgreyPlicIrqIdGpioGpio8
] =
kTopEarlgreyPlicPeripheralGpio
,
61
[
kTopEarlgreyPlicIrqIdGpioGpio9
] =
kTopEarlgreyPlicPeripheralGpio
,
62
[
kTopEarlgreyPlicIrqIdGpioGpio10
] =
kTopEarlgreyPlicPeripheralGpio
,
63
[
kTopEarlgreyPlicIrqIdGpioGpio11
] =
kTopEarlgreyPlicPeripheralGpio
,
64
[
kTopEarlgreyPlicIrqIdGpioGpio12
] =
kTopEarlgreyPlicPeripheralGpio
,
65
[
kTopEarlgreyPlicIrqIdGpioGpio13
] =
kTopEarlgreyPlicPeripheralGpio
,
66
[
kTopEarlgreyPlicIrqIdGpioGpio14
] =
kTopEarlgreyPlicPeripheralGpio
,
67
[
kTopEarlgreyPlicIrqIdGpioGpio15
] =
kTopEarlgreyPlicPeripheralGpio
,
68
[
kTopEarlgreyPlicIrqIdGpioGpio16
] =
kTopEarlgreyPlicPeripheralGpio
,
69
[
kTopEarlgreyPlicIrqIdGpioGpio17
] =
kTopEarlgreyPlicPeripheralGpio
,
70
[
kTopEarlgreyPlicIrqIdGpioGpio18
] =
kTopEarlgreyPlicPeripheralGpio
,
71
[
kTopEarlgreyPlicIrqIdGpioGpio19
] =
kTopEarlgreyPlicPeripheralGpio
,
72
[
kTopEarlgreyPlicIrqIdGpioGpio20
] =
kTopEarlgreyPlicPeripheralGpio
,
73
[
kTopEarlgreyPlicIrqIdGpioGpio21
] =
kTopEarlgreyPlicPeripheralGpio
,
74
[
kTopEarlgreyPlicIrqIdGpioGpio22
] =
kTopEarlgreyPlicPeripheralGpio
,
75
[
kTopEarlgreyPlicIrqIdGpioGpio23
] =
kTopEarlgreyPlicPeripheralGpio
,
76
[
kTopEarlgreyPlicIrqIdGpioGpio24
] =
kTopEarlgreyPlicPeripheralGpio
,
77
[
kTopEarlgreyPlicIrqIdGpioGpio25
] =
kTopEarlgreyPlicPeripheralGpio
,
78
[
kTopEarlgreyPlicIrqIdGpioGpio26
] =
kTopEarlgreyPlicPeripheralGpio
,
79
[
kTopEarlgreyPlicIrqIdGpioGpio27
] =
kTopEarlgreyPlicPeripheralGpio
,
80
[
kTopEarlgreyPlicIrqIdGpioGpio28
] =
kTopEarlgreyPlicPeripheralGpio
,
81
[
kTopEarlgreyPlicIrqIdGpioGpio29
] =
kTopEarlgreyPlicPeripheralGpio
,
82
[
kTopEarlgreyPlicIrqIdGpioGpio30
] =
kTopEarlgreyPlicPeripheralGpio
,
83
[
kTopEarlgreyPlicIrqIdGpioGpio31
] =
kTopEarlgreyPlicPeripheralGpio
,
84
[
kTopEarlgreyPlicIrqIdSpiDeviceUploadCmdfifoNotEmpty
] =
kTopEarlgreyPlicPeripheralSpiDevice
,
85
[
kTopEarlgreyPlicIrqIdSpiDeviceUploadPayloadNotEmpty
] =
kTopEarlgreyPlicPeripheralSpiDevice
,
86
[
kTopEarlgreyPlicIrqIdSpiDeviceUploadPayloadOverflow
] =
kTopEarlgreyPlicPeripheralSpiDevice
,
87
[
kTopEarlgreyPlicIrqIdSpiDeviceReadbufWatermark
] =
kTopEarlgreyPlicPeripheralSpiDevice
,
88
[
kTopEarlgreyPlicIrqIdSpiDeviceReadbufFlip
] =
kTopEarlgreyPlicPeripheralSpiDevice
,
89
[
kTopEarlgreyPlicIrqIdSpiDeviceTpmHeaderNotEmpty
] =
kTopEarlgreyPlicPeripheralSpiDevice
,
90
[
kTopEarlgreyPlicIrqIdSpiDeviceTpmRdfifoCmdEnd
] =
kTopEarlgreyPlicPeripheralSpiDevice
,
91
[
kTopEarlgreyPlicIrqIdSpiDeviceTpmRdfifoDrop
] =
kTopEarlgreyPlicPeripheralSpiDevice
,
92
[
kTopEarlgreyPlicIrqIdI2c0FmtThreshold
] =
kTopEarlgreyPlicPeripheralI2c0
,
93
[
kTopEarlgreyPlicIrqIdI2c0RxThreshold
] =
kTopEarlgreyPlicPeripheralI2c0
,
94
[
kTopEarlgreyPlicIrqIdI2c0AcqThreshold
] =
kTopEarlgreyPlicPeripheralI2c0
,
95
[
kTopEarlgreyPlicIrqIdI2c0RxOverflow
] =
kTopEarlgreyPlicPeripheralI2c0
,
96
[
kTopEarlgreyPlicIrqIdI2c0ControllerHalt
] =
kTopEarlgreyPlicPeripheralI2c0
,
97
[
kTopEarlgreyPlicIrqIdI2c0SclInterference
] =
kTopEarlgreyPlicPeripheralI2c0
,
98
[
kTopEarlgreyPlicIrqIdI2c0SdaInterference
] =
kTopEarlgreyPlicPeripheralI2c0
,
99
[
kTopEarlgreyPlicIrqIdI2c0StretchTimeout
] =
kTopEarlgreyPlicPeripheralI2c0
,
100
[
kTopEarlgreyPlicIrqIdI2c0SdaUnstable
] =
kTopEarlgreyPlicPeripheralI2c0
,
101
[
kTopEarlgreyPlicIrqIdI2c0CmdComplete
] =
kTopEarlgreyPlicPeripheralI2c0
,
102
[
kTopEarlgreyPlicIrqIdI2c0TxStretch
] =
kTopEarlgreyPlicPeripheralI2c0
,
103
[
kTopEarlgreyPlicIrqIdI2c0TxThreshold
] =
kTopEarlgreyPlicPeripheralI2c0
,
104
[
kTopEarlgreyPlicIrqIdI2c0AcqStretch
] =
kTopEarlgreyPlicPeripheralI2c0
,
105
[
kTopEarlgreyPlicIrqIdI2c0UnexpStop
] =
kTopEarlgreyPlicPeripheralI2c0
,
106
[
kTopEarlgreyPlicIrqIdI2c0HostTimeout
] =
kTopEarlgreyPlicPeripheralI2c0
,
107
[
kTopEarlgreyPlicIrqIdI2c1FmtThreshold
] =
kTopEarlgreyPlicPeripheralI2c1
,
108
[
kTopEarlgreyPlicIrqIdI2c1RxThreshold
] =
kTopEarlgreyPlicPeripheralI2c1
,
109
[
kTopEarlgreyPlicIrqIdI2c1AcqThreshold
] =
kTopEarlgreyPlicPeripheralI2c1
,
110
[
kTopEarlgreyPlicIrqIdI2c1RxOverflow
] =
kTopEarlgreyPlicPeripheralI2c1
,
111
[
kTopEarlgreyPlicIrqIdI2c1ControllerHalt
] =
kTopEarlgreyPlicPeripheralI2c1
,
112
[
kTopEarlgreyPlicIrqIdI2c1SclInterference
] =
kTopEarlgreyPlicPeripheralI2c1
,
113
[
kTopEarlgreyPlicIrqIdI2c1SdaInterference
] =
kTopEarlgreyPlicPeripheralI2c1
,
114
[
kTopEarlgreyPlicIrqIdI2c1StretchTimeout
] =
kTopEarlgreyPlicPeripheralI2c1
,
115
[
kTopEarlgreyPlicIrqIdI2c1SdaUnstable
] =
kTopEarlgreyPlicPeripheralI2c1
,
116
[
kTopEarlgreyPlicIrqIdI2c1CmdComplete
] =
kTopEarlgreyPlicPeripheralI2c1
,
117
[
kTopEarlgreyPlicIrqIdI2c1TxStretch
] =
kTopEarlgreyPlicPeripheralI2c1
,
118
[
kTopEarlgreyPlicIrqIdI2c1TxThreshold
] =
kTopEarlgreyPlicPeripheralI2c1
,
119
[
kTopEarlgreyPlicIrqIdI2c1AcqStretch
] =
kTopEarlgreyPlicPeripheralI2c1
,
120
[
kTopEarlgreyPlicIrqIdI2c1UnexpStop
] =
kTopEarlgreyPlicPeripheralI2c1
,
121
[
kTopEarlgreyPlicIrqIdI2c1HostTimeout
] =
kTopEarlgreyPlicPeripheralI2c1
,
122
[
kTopEarlgreyPlicIrqIdI2c2FmtThreshold
] =
kTopEarlgreyPlicPeripheralI2c2
,
123
[
kTopEarlgreyPlicIrqIdI2c2RxThreshold
] =
kTopEarlgreyPlicPeripheralI2c2
,
124
[
kTopEarlgreyPlicIrqIdI2c2AcqThreshold
] =
kTopEarlgreyPlicPeripheralI2c2
,
125
[
kTopEarlgreyPlicIrqIdI2c2RxOverflow
] =
kTopEarlgreyPlicPeripheralI2c2
,
126
[
kTopEarlgreyPlicIrqIdI2c2ControllerHalt
] =
kTopEarlgreyPlicPeripheralI2c2
,
127
[
kTopEarlgreyPlicIrqIdI2c2SclInterference
] =
kTopEarlgreyPlicPeripheralI2c2
,
128
[
kTopEarlgreyPlicIrqIdI2c2SdaInterference
] =
kTopEarlgreyPlicPeripheralI2c2
,
129
[
kTopEarlgreyPlicIrqIdI2c2StretchTimeout
] =
kTopEarlgreyPlicPeripheralI2c2
,
130
[
kTopEarlgreyPlicIrqIdI2c2SdaUnstable
] =
kTopEarlgreyPlicPeripheralI2c2
,
131
[
kTopEarlgreyPlicIrqIdI2c2CmdComplete
] =
kTopEarlgreyPlicPeripheralI2c2
,
132
[
kTopEarlgreyPlicIrqIdI2c2TxStretch
] =
kTopEarlgreyPlicPeripheralI2c2
,
133
[
kTopEarlgreyPlicIrqIdI2c2TxThreshold
] =
kTopEarlgreyPlicPeripheralI2c2
,
134
[
kTopEarlgreyPlicIrqIdI2c2AcqStretch
] =
kTopEarlgreyPlicPeripheralI2c2
,
135
[
kTopEarlgreyPlicIrqIdI2c2UnexpStop
] =
kTopEarlgreyPlicPeripheralI2c2
,
136
[
kTopEarlgreyPlicIrqIdI2c2HostTimeout
] =
kTopEarlgreyPlicPeripheralI2c2
,
137
[
kTopEarlgreyPlicIrqIdPattgenDoneCh0
] =
kTopEarlgreyPlicPeripheralPattgen
,
138
[
kTopEarlgreyPlicIrqIdPattgenDoneCh1
] =
kTopEarlgreyPlicPeripheralPattgen
,
139
[
kTopEarlgreyPlicIrqIdRvTimerTimerExpiredHart0Timer0
] =
kTopEarlgreyPlicPeripheralRvTimer
,
140
[
kTopEarlgreyPlicIrqIdOtpCtrlOtpOperationDone
] =
kTopEarlgreyPlicPeripheralOtpCtrl
,
141
[
kTopEarlgreyPlicIrqIdOtpCtrlOtpError
] =
kTopEarlgreyPlicPeripheralOtpCtrl
,
142
[
kTopEarlgreyPlicIrqIdAlertHandlerClassa
] =
kTopEarlgreyPlicPeripheralAlertHandler
,
143
[
kTopEarlgreyPlicIrqIdAlertHandlerClassb
] =
kTopEarlgreyPlicPeripheralAlertHandler
,
144
[
kTopEarlgreyPlicIrqIdAlertHandlerClassc
] =
kTopEarlgreyPlicPeripheralAlertHandler
,
145
[
kTopEarlgreyPlicIrqIdAlertHandlerClassd
] =
kTopEarlgreyPlicPeripheralAlertHandler
,
146
[
kTopEarlgreyPlicIrqIdSpiHost0Error
] =
kTopEarlgreyPlicPeripheralSpiHost0
,
147
[
kTopEarlgreyPlicIrqIdSpiHost0SpiEvent
] =
kTopEarlgreyPlicPeripheralSpiHost0
,
148
[
kTopEarlgreyPlicIrqIdSpiHost1Error
] =
kTopEarlgreyPlicPeripheralSpiHost1
,
149
[
kTopEarlgreyPlicIrqIdSpiHost1SpiEvent
] =
kTopEarlgreyPlicPeripheralSpiHost1
,
150
[
kTopEarlgreyPlicIrqIdUsbdevPktReceived
] =
kTopEarlgreyPlicPeripheralUsbdev
,
151
[
kTopEarlgreyPlicIrqIdUsbdevPktSent
] =
kTopEarlgreyPlicPeripheralUsbdev
,
152
[
kTopEarlgreyPlicIrqIdUsbdevDisconnected
] =
kTopEarlgreyPlicPeripheralUsbdev
,
153
[
kTopEarlgreyPlicIrqIdUsbdevHostLost
] =
kTopEarlgreyPlicPeripheralUsbdev
,
154
[
kTopEarlgreyPlicIrqIdUsbdevLinkReset
] =
kTopEarlgreyPlicPeripheralUsbdev
,
155
[
kTopEarlgreyPlicIrqIdUsbdevLinkSuspend
] =
kTopEarlgreyPlicPeripheralUsbdev
,
156
[
kTopEarlgreyPlicIrqIdUsbdevLinkResume
] =
kTopEarlgreyPlicPeripheralUsbdev
,
157
[
kTopEarlgreyPlicIrqIdUsbdevAvOutEmpty
] =
kTopEarlgreyPlicPeripheralUsbdev
,
158
[
kTopEarlgreyPlicIrqIdUsbdevRxFull
] =
kTopEarlgreyPlicPeripheralUsbdev
,
159
[
kTopEarlgreyPlicIrqIdUsbdevAvOverflow
] =
kTopEarlgreyPlicPeripheralUsbdev
,
160
[
kTopEarlgreyPlicIrqIdUsbdevLinkInErr
] =
kTopEarlgreyPlicPeripheralUsbdev
,
161
[
kTopEarlgreyPlicIrqIdUsbdevRxCrcErr
] =
kTopEarlgreyPlicPeripheralUsbdev
,
162
[
kTopEarlgreyPlicIrqIdUsbdevRxPidErr
] =
kTopEarlgreyPlicPeripheralUsbdev
,
163
[
kTopEarlgreyPlicIrqIdUsbdevRxBitstuffErr
] =
kTopEarlgreyPlicPeripheralUsbdev
,
164
[
kTopEarlgreyPlicIrqIdUsbdevFrame
] =
kTopEarlgreyPlicPeripheralUsbdev
,
165
[
kTopEarlgreyPlicIrqIdUsbdevPowered
] =
kTopEarlgreyPlicPeripheralUsbdev
,
166
[
kTopEarlgreyPlicIrqIdUsbdevLinkOutErr
] =
kTopEarlgreyPlicPeripheralUsbdev
,
167
[
kTopEarlgreyPlicIrqIdUsbdevAvSetupEmpty
] =
kTopEarlgreyPlicPeripheralUsbdev
,
168
[
kTopEarlgreyPlicIrqIdPwrmgrAonWakeup
] =
kTopEarlgreyPlicPeripheralPwrmgrAon
,
169
[
kTopEarlgreyPlicIrqIdSysrstCtrlAonEventDetected
] =
kTopEarlgreyPlicPeripheralSysrstCtrlAon
,
170
[
kTopEarlgreyPlicIrqIdAdcCtrlAonMatchPending
] =
kTopEarlgreyPlicPeripheralAdcCtrlAon
,
171
[
kTopEarlgreyPlicIrqIdAonTimerAonWkupTimerExpired
] =
kTopEarlgreyPlicPeripheralAonTimerAon
,
172
[
kTopEarlgreyPlicIrqIdAonTimerAonWdogTimerBark
] =
kTopEarlgreyPlicPeripheralAonTimerAon
,
173
[
kTopEarlgreyPlicIrqIdSensorCtrlAonIoStatusChange
] =
kTopEarlgreyPlicPeripheralSensorCtrlAon
,
174
[
kTopEarlgreyPlicIrqIdSensorCtrlAonInitStatusChange
] =
kTopEarlgreyPlicPeripheralSensorCtrlAon
,
175
[
kTopEarlgreyPlicIrqIdFlashCtrlProgEmpty
] =
kTopEarlgreyPlicPeripheralFlashCtrl
,
176
[
kTopEarlgreyPlicIrqIdFlashCtrlProgLvl
] =
kTopEarlgreyPlicPeripheralFlashCtrl
,
177
[
kTopEarlgreyPlicIrqIdFlashCtrlRdFull
] =
kTopEarlgreyPlicPeripheralFlashCtrl
,
178
[
kTopEarlgreyPlicIrqIdFlashCtrlRdLvl
] =
kTopEarlgreyPlicPeripheralFlashCtrl
,
179
[
kTopEarlgreyPlicIrqIdFlashCtrlOpDone
] =
kTopEarlgreyPlicPeripheralFlashCtrl
,
180
[
kTopEarlgreyPlicIrqIdFlashCtrlCorrErr
] =
kTopEarlgreyPlicPeripheralFlashCtrl
,
181
[
kTopEarlgreyPlicIrqIdHmacHmacDone
] =
kTopEarlgreyPlicPeripheralHmac
,
182
[
kTopEarlgreyPlicIrqIdHmacFifoEmpty
] =
kTopEarlgreyPlicPeripheralHmac
,
183
[
kTopEarlgreyPlicIrqIdHmacHmacErr
] =
kTopEarlgreyPlicPeripheralHmac
,
184
[
kTopEarlgreyPlicIrqIdKmacKmacDone
] =
kTopEarlgreyPlicPeripheralKmac
,
185
[
kTopEarlgreyPlicIrqIdKmacFifoEmpty
] =
kTopEarlgreyPlicPeripheralKmac
,
186
[
kTopEarlgreyPlicIrqIdKmacKmacErr
] =
kTopEarlgreyPlicPeripheralKmac
,
187
[
kTopEarlgreyPlicIrqIdOtbnDone
] =
kTopEarlgreyPlicPeripheralOtbn
,
188
[
kTopEarlgreyPlicIrqIdKeymgrOpDone
] =
kTopEarlgreyPlicPeripheralKeymgr
,
189
[
kTopEarlgreyPlicIrqIdCsrngCsCmdReqDone
] =
kTopEarlgreyPlicPeripheralCsrng
,
190
[
kTopEarlgreyPlicIrqIdCsrngCsEntropyReq
] =
kTopEarlgreyPlicPeripheralCsrng
,
191
[
kTopEarlgreyPlicIrqIdCsrngCsHwInstExc
] =
kTopEarlgreyPlicPeripheralCsrng
,
192
[
kTopEarlgreyPlicIrqIdCsrngCsFatalErr
] =
kTopEarlgreyPlicPeripheralCsrng
,
193
[
kTopEarlgreyPlicIrqIdEntropySrcEsEntropyValid
] =
kTopEarlgreyPlicPeripheralEntropySrc
,
194
[
kTopEarlgreyPlicIrqIdEntropySrcEsHealthTestFailed
] =
kTopEarlgreyPlicPeripheralEntropySrc
,
195
[
kTopEarlgreyPlicIrqIdEntropySrcEsObserveFifoReady
] =
kTopEarlgreyPlicPeripheralEntropySrc
,
196
[
kTopEarlgreyPlicIrqIdEntropySrcEsFatalErr
] =
kTopEarlgreyPlicPeripheralEntropySrc
,
197
[
kTopEarlgreyPlicIrqIdEdn0EdnCmdReqDone
] =
kTopEarlgreyPlicPeripheralEdn0
,
198
[
kTopEarlgreyPlicIrqIdEdn0EdnFatalErr
] =
kTopEarlgreyPlicPeripheralEdn0
,
199
[
kTopEarlgreyPlicIrqIdEdn1EdnCmdReqDone
] =
kTopEarlgreyPlicPeripheralEdn1
,
200
[
kTopEarlgreyPlicIrqIdEdn1EdnFatalErr
] =
kTopEarlgreyPlicPeripheralEdn1
,
201
};
202
203
204
/**
205
* Alert Handler Alert Source to Peripheral Map
206
*
207
* This array is a mapping from `top_earlgrey_alert_id_t` to
208
* `top_earlgrey_alert_peripheral_t`.
209
*/
210
const
top_earlgrey_alert_peripheral_t
211
top_earlgrey_alert_for_peripheral
[65] = {
212
[
kTopEarlgreyAlertIdUart0FatalFault
] =
kTopEarlgreyAlertPeripheralUart0
,
213
[
kTopEarlgreyAlertIdUart1FatalFault
] =
kTopEarlgreyAlertPeripheralUart1
,
214
[
kTopEarlgreyAlertIdUart2FatalFault
] =
kTopEarlgreyAlertPeripheralUart2
,
215
[
kTopEarlgreyAlertIdUart3FatalFault
] =
kTopEarlgreyAlertPeripheralUart3
,
216
[
kTopEarlgreyAlertIdGpioFatalFault
] =
kTopEarlgreyAlertPeripheralGpio
,
217
[
kTopEarlgreyAlertIdSpiDeviceFatalFault
] =
kTopEarlgreyAlertPeripheralSpiDevice
,
218
[
kTopEarlgreyAlertIdI2c0FatalFault
] =
kTopEarlgreyAlertPeripheralI2c0
,
219
[
kTopEarlgreyAlertIdI2c1FatalFault
] =
kTopEarlgreyAlertPeripheralI2c1
,
220
[
kTopEarlgreyAlertIdI2c2FatalFault
] =
kTopEarlgreyAlertPeripheralI2c2
,
221
[
kTopEarlgreyAlertIdPattgenFatalFault
] =
kTopEarlgreyAlertPeripheralPattgen
,
222
[
kTopEarlgreyAlertIdRvTimerFatalFault
] =
kTopEarlgreyAlertPeripheralRvTimer
,
223
[
kTopEarlgreyAlertIdOtpCtrlFatalMacroError
] =
kTopEarlgreyAlertPeripheralOtpCtrl
,
224
[
kTopEarlgreyAlertIdOtpCtrlFatalCheckError
] =
kTopEarlgreyAlertPeripheralOtpCtrl
,
225
[
kTopEarlgreyAlertIdOtpCtrlFatalBusIntegError
] =
kTopEarlgreyAlertPeripheralOtpCtrl
,
226
[
kTopEarlgreyAlertIdOtpCtrlFatalPrimOtpAlert
] =
kTopEarlgreyAlertPeripheralOtpCtrl
,
227
[
kTopEarlgreyAlertIdOtpCtrlRecovPrimOtpAlert
] =
kTopEarlgreyAlertPeripheralOtpCtrl
,
228
[
kTopEarlgreyAlertIdLcCtrlFatalProgError
] =
kTopEarlgreyAlertPeripheralLcCtrl
,
229
[
kTopEarlgreyAlertIdLcCtrlFatalStateError
] =
kTopEarlgreyAlertPeripheralLcCtrl
,
230
[
kTopEarlgreyAlertIdLcCtrlFatalBusIntegError
] =
kTopEarlgreyAlertPeripheralLcCtrl
,
231
[
kTopEarlgreyAlertIdSpiHost0FatalFault
] =
kTopEarlgreyAlertPeripheralSpiHost0
,
232
[
kTopEarlgreyAlertIdSpiHost1FatalFault
] =
kTopEarlgreyAlertPeripheralSpiHost1
,
233
[
kTopEarlgreyAlertIdUsbdevFatalFault
] =
kTopEarlgreyAlertPeripheralUsbdev
,
234
[
kTopEarlgreyAlertIdPwrmgrAonFatalFault
] =
kTopEarlgreyAlertPeripheralPwrmgrAon
,
235
[
kTopEarlgreyAlertIdRstmgrAonFatalFault
] =
kTopEarlgreyAlertPeripheralRstmgrAon
,
236
[
kTopEarlgreyAlertIdRstmgrAonFatalCnstyFault
] =
kTopEarlgreyAlertPeripheralRstmgrAon
,
237
[
kTopEarlgreyAlertIdClkmgrAonRecovFault
] =
kTopEarlgreyAlertPeripheralClkmgrAon
,
238
[
kTopEarlgreyAlertIdClkmgrAonFatalFault
] =
kTopEarlgreyAlertPeripheralClkmgrAon
,
239
[
kTopEarlgreyAlertIdSysrstCtrlAonFatalFault
] =
kTopEarlgreyAlertPeripheralSysrstCtrlAon
,
240
[
kTopEarlgreyAlertIdAdcCtrlAonFatalFault
] =
kTopEarlgreyAlertPeripheralAdcCtrlAon
,
241
[
kTopEarlgreyAlertIdPwmAonFatalFault
] =
kTopEarlgreyAlertPeripheralPwmAon
,
242
[
kTopEarlgreyAlertIdPinmuxAonFatalFault
] =
kTopEarlgreyAlertPeripheralPinmuxAon
,
243
[
kTopEarlgreyAlertIdAonTimerAonFatalFault
] =
kTopEarlgreyAlertPeripheralAonTimerAon
,
244
[
kTopEarlgreyAlertIdSensorCtrlAonRecovAlert
] =
kTopEarlgreyAlertPeripheralSensorCtrlAon
,
245
[
kTopEarlgreyAlertIdSensorCtrlAonFatalAlert
] =
kTopEarlgreyAlertPeripheralSensorCtrlAon
,
246
[
kTopEarlgreyAlertIdSramCtrlRetAonFatalError
] =
kTopEarlgreyAlertPeripheralSramCtrlRetAon
,
247
[
kTopEarlgreyAlertIdFlashCtrlRecovErr
] =
kTopEarlgreyAlertPeripheralFlashCtrl
,
248
[
kTopEarlgreyAlertIdFlashCtrlFatalStdErr
] =
kTopEarlgreyAlertPeripheralFlashCtrl
,
249
[
kTopEarlgreyAlertIdFlashCtrlFatalErr
] =
kTopEarlgreyAlertPeripheralFlashCtrl
,
250
[
kTopEarlgreyAlertIdFlashCtrlFatalPrimFlashAlert
] =
kTopEarlgreyAlertPeripheralFlashCtrl
,
251
[
kTopEarlgreyAlertIdFlashCtrlRecovPrimFlashAlert
] =
kTopEarlgreyAlertPeripheralFlashCtrl
,
252
[
kTopEarlgreyAlertIdRvDmFatalFault
] =
kTopEarlgreyAlertPeripheralRvDm
,
253
[
kTopEarlgreyAlertIdRvPlicFatalFault
] =
kTopEarlgreyAlertPeripheralRvPlic
,
254
[
kTopEarlgreyAlertIdAesRecovCtrlUpdateErr
] =
kTopEarlgreyAlertPeripheralAes
,
255
[
kTopEarlgreyAlertIdAesFatalFault
] =
kTopEarlgreyAlertPeripheralAes
,
256
[
kTopEarlgreyAlertIdHmacFatalFault
] =
kTopEarlgreyAlertPeripheralHmac
,
257
[
kTopEarlgreyAlertIdKmacRecovOperationErr
] =
kTopEarlgreyAlertPeripheralKmac
,
258
[
kTopEarlgreyAlertIdKmacFatalFaultErr
] =
kTopEarlgreyAlertPeripheralKmac
,
259
[
kTopEarlgreyAlertIdOtbnFatal
] =
kTopEarlgreyAlertPeripheralOtbn
,
260
[
kTopEarlgreyAlertIdOtbnRecov
] =
kTopEarlgreyAlertPeripheralOtbn
,
261
[
kTopEarlgreyAlertIdKeymgrRecovOperationErr
] =
kTopEarlgreyAlertPeripheralKeymgr
,
262
[
kTopEarlgreyAlertIdKeymgrFatalFaultErr
] =
kTopEarlgreyAlertPeripheralKeymgr
,
263
[
kTopEarlgreyAlertIdCsrngRecovAlert
] =
kTopEarlgreyAlertPeripheralCsrng
,
264
[
kTopEarlgreyAlertIdCsrngFatalAlert
] =
kTopEarlgreyAlertPeripheralCsrng
,
265
[
kTopEarlgreyAlertIdEntropySrcRecovAlert
] =
kTopEarlgreyAlertPeripheralEntropySrc
,
266
[
kTopEarlgreyAlertIdEntropySrcFatalAlert
] =
kTopEarlgreyAlertPeripheralEntropySrc
,
267
[
kTopEarlgreyAlertIdEdn0RecovAlert
] =
kTopEarlgreyAlertPeripheralEdn0
,
268
[
kTopEarlgreyAlertIdEdn0FatalAlert
] =
kTopEarlgreyAlertPeripheralEdn0
,
269
[
kTopEarlgreyAlertIdEdn1RecovAlert
] =
kTopEarlgreyAlertPeripheralEdn1
,
270
[
kTopEarlgreyAlertIdEdn1FatalAlert
] =
kTopEarlgreyAlertPeripheralEdn1
,
271
[
kTopEarlgreyAlertIdSramCtrlMainFatalError
] =
kTopEarlgreyAlertPeripheralSramCtrlMain
,
272
[
kTopEarlgreyAlertIdRomCtrlFatal
] =
kTopEarlgreyAlertPeripheralRomCtrl
,
273
[
kTopEarlgreyAlertIdRvCoreIbexFatalSwErr
] =
kTopEarlgreyAlertPeripheralRvCoreIbex
,
274
[
kTopEarlgreyAlertIdRvCoreIbexRecovSwErr
] =
kTopEarlgreyAlertPeripheralRvCoreIbex
,
275
[
kTopEarlgreyAlertIdRvCoreIbexFatalHwErr
] =
kTopEarlgreyAlertPeripheralRvCoreIbex
,
276
[
kTopEarlgreyAlertIdRvCoreIbexRecovHwErr
] =
kTopEarlgreyAlertPeripheralRvCoreIbex
,
277
};
Return to
OpenTitan Documentation