File: irqs.h

package info (click to toggle)
linux 6.1.8-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,488,076 kB
  • sloc: ansic: 23,401,844; asm: 266,744; sh: 108,976; makefile: 49,705; python: 36,927; perl: 36,810; cpp: 6,044; yacc: 4,904; lex: 2,722; awk: 1,440; ruby: 25; sed: 5
file content (48 lines) | stat: -rw-r--r-- 1,433 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
/* SPDX-License-Identifier: GPL-2.0-only */
/*
 * Author:	Rory Bolt <rorybolt@pacbell.net>
 * Copyright:	(C) 2002 Rory Bolt
 */

#ifndef __IOP32X_IRQS_H
#define __IOP32X_IRQS_H

/* Interrupts in Linux start at 1, hardware starts at 0 */

#define IOP_IRQ(x) ((x) + 1)

/*
 * IOP80321 chipset interrupts
 */
#define IRQ_IOP32X_DMA0_EOT	IOP_IRQ(0)
#define IRQ_IOP32X_DMA0_EOC	IOP_IRQ(1)
#define IRQ_IOP32X_DMA1_EOT	IOP_IRQ(2)
#define IRQ_IOP32X_DMA1_EOC	IOP_IRQ(3)
#define IRQ_IOP32X_AA_EOT	IOP_IRQ(6)
#define IRQ_IOP32X_AA_EOC	IOP_IRQ(7)
#define IRQ_IOP32X_CORE_PMON	IOP_IRQ(8)
#define IRQ_IOP32X_TIMER0	IOP_IRQ(9)
#define IRQ_IOP32X_TIMER1	IOP_IRQ(10)
#define IRQ_IOP32X_I2C_0	IOP_IRQ(11)
#define IRQ_IOP32X_I2C_1	IOP_IRQ(12)
#define IRQ_IOP32X_MESSAGING	IOP_IRQ(13)
#define IRQ_IOP32X_ATU_BIST	IOP_IRQ(14)
#define IRQ_IOP32X_PERFMON	IOP_IRQ(15)
#define IRQ_IOP32X_CORE_PMU	IOP_IRQ(16)
#define IRQ_IOP32X_BIU_ERR	IOP_IRQ(17)
#define IRQ_IOP32X_ATU_ERR	IOP_IRQ(18)
#define IRQ_IOP32X_MCU_ERR	IOP_IRQ(19)
#define IRQ_IOP32X_DMA0_ERR	IOP_IRQ(20)
#define IRQ_IOP32X_DMA1_ERR	IOP_IRQ(21)
#define IRQ_IOP32X_AA_ERR	IOP_IRQ(23)
#define IRQ_IOP32X_MSG_ERR	IOP_IRQ(24)
#define IRQ_IOP32X_SSP		IOP_IRQ(25)
#define IRQ_IOP32X_XINT0	IOP_IRQ(27)
#define IRQ_IOP32X_XINT1	IOP_IRQ(28)
#define IRQ_IOP32X_XINT2	IOP_IRQ(29)
#define IRQ_IOP32X_XINT3	IOP_IRQ(30)
#define IRQ_IOP32X_HPI		IOP_IRQ(31)

#define IOP32X_NR_IRQS		(IRQ_IOP32X_HPI + 1)

#endif