Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
macints.h File Reference
#include <asm/irq.h>

Go to the source code of this file.

Macros

#define DEBUG_SPURIOUS
 
#define VIA1_SOURCE_BASE   8
 
#define VIA2_SOURCE_BASE   16
 
#define PSC3_SOURCE_BASE   24
 
#define PSC4_SOURCE_BASE   32
 
#define PSC5_SOURCE_BASE   40
 
#define PSC6_SOURCE_BASE   48
 
#define NUBUS_SOURCE_BASE   56
 
#define BABOON_SOURCE_BASE   64
 
#define NUM_MAC_SOURCES   72
 
#define IRQ_SRC(irq)   (irq >> 3)
 
#define IRQ_IDX(irq)   (irq & 7)
 
#define IRQ_VIA1_0   (8) /* one second int. */
 
#define IRQ_VIA1_1   (9) /* VBlank int. */
 
#define IRQ_MAC_VBL   IRQ_VIA1_1
 
#define IRQ_VIA1_2   (10) /* ADB SR shifts complete */
 
#define IRQ_MAC_ADB   IRQ_VIA1_2
 
#define IRQ_MAC_ADB_SR   IRQ_VIA1_2
 
#define IRQ_VIA1_3   (11) /* ADB SR CB2 ?? */
 
#define IRQ_MAC_ADB_SD   IRQ_VIA1_3
 
#define IRQ_VIA1_4   (12) /* ADB SR ext. clock pulse */
 
#define IRQ_MAC_ADB_CL   IRQ_VIA1_4
 
#define IRQ_VIA1_5   (13)
 
#define IRQ_MAC_TIMER_2   IRQ_VIA1_5
 
#define IRQ_VIA1_6   (14)
 
#define IRQ_MAC_TIMER_1   IRQ_VIA1_6
 
#define IRQ_VIA1_7   (15)
 
#define IRQ_VIA2_0   (16)
 
#define IRQ_MAC_SCSIDRQ   IRQ_VIA2_0
 
#define IRQ_VIA2_1   (17)
 
#define IRQ_MAC_NUBUS   IRQ_VIA2_1
 
#define IRQ_VIA2_2   (18)
 
#define IRQ_VIA2_3   (19)
 
#define IRQ_MAC_SCSI   IRQ_VIA2_3
 
#define IRQ_VIA2_4   (20)
 
#define IRQ_VIA2_5   (21)
 
#define IRQ_VIA2_6   (22)
 
#define IRQ_VIA2_7   (23)
 
#define IRQ_PSC3_0   (24)
 
#define IRQ_MAC_MACE   IRQ_PSC3_0
 
#define IRQ_PSC3_1   (25)
 
#define IRQ_PSC3_2   (26)
 
#define IRQ_PSC3_3   (27)
 
#define IRQ_PSC4_0   (32)
 
#define IRQ_PSC4_1   (33)
 
#define IRQ_MAC_SCC_A   IRQ_PSC4_1
 
#define IRQ_PSC4_2   (34)
 
#define IRQ_MAC_SCC_B   IRQ_PSC4_2
 
#define IRQ_PSC4_3   (35)
 
#define IRQ_MAC_MACE_DMA   IRQ_PSC4_3
 
#define IRQ_MAC_SCC   (33)
 
#define IRQ_PSC5_0   (40)
 
#define IRQ_PSC5_1   (41)
 
#define IRQ_PSC5_2   (42)
 
#define IRQ_PSC5_3   (43)
 
#define IRQ_PSC6_0   (48)
 
#define IRQ_PSC6_1   (49)
 
#define IRQ_PSC6_2   (50)
 
#define IRQ_PSC6_3   (51)
 
#define IRQ_NUBUS_9   (56)
 
#define IRQ_NUBUS_A   (57)
 
#define IRQ_NUBUS_B   (58)
 
#define IRQ_NUBUS_C   (59)
 
#define IRQ_NUBUS_D   (60)
 
#define IRQ_NUBUS_E   (61)
 
#define IRQ_NUBUS_F   (62)
 
#define IRQ_BABOON_0   (64)
 
#define IRQ_BABOON_1   (65)
 
#define IRQ_BABOON_2   (66)
 
#define IRQ_BABOON_3   (67)
 
#define SLOT2IRQ(x)   (x + 47)
 
#define IRQ2SLOT(x)   (x - 47)
 
#define INT_CLK   24576 /* CLK while int_clk =2.456MHz and divide = 100 */
 
#define INT_TICKS   246 /* to make sched_time = 99.902... HZ */
 

Macro Definition Documentation

#define BABOON_SOURCE_BASE   64

Definition at line 45 of file macints.h.

#define DEBUG_SPURIOUS

Definition at line 19 of file macints.h.

#define INT_CLK   24576 /* CLK while int_clk =2.456MHz and divide = 100 */

Definition at line 140 of file macints.h.

#define INT_TICKS   246 /* to make sched_time = 99.902... HZ */

Definition at line 141 of file macints.h.

#define IRQ2SLOT (   x)    (x - 47)

Definition at line 138 of file macints.h.

#define IRQ_BABOON_0   (64)

Definition at line 132 of file macints.h.

#define IRQ_BABOON_1   (65)

Definition at line 133 of file macints.h.

#define IRQ_BABOON_2   (66)

Definition at line 134 of file macints.h.

#define IRQ_BABOON_3   (67)

Definition at line 135 of file macints.h.

#define IRQ_IDX (   irq)    (irq & 7)

Definition at line 59 of file macints.h.

#define IRQ_MAC_ADB   IRQ_VIA1_2

Definition at line 66 of file macints.h.

#define IRQ_MAC_ADB_CL   IRQ_VIA1_4

Definition at line 71 of file macints.h.

#define IRQ_MAC_ADB_SD   IRQ_VIA1_3

Definition at line 69 of file macints.h.

#define IRQ_MAC_ADB_SR   IRQ_VIA1_2

Definition at line 67 of file macints.h.

#define IRQ_MAC_MACE   IRQ_PSC3_0

Definition at line 93 of file macints.h.

#define IRQ_MAC_MACE_DMA   IRQ_PSC4_3

Definition at line 105 of file macints.h.

#define IRQ_MAC_NUBUS   IRQ_VIA2_1

Definition at line 82 of file macints.h.

#define IRQ_MAC_SCC   (33)

Definition at line 108 of file macints.h.

#define IRQ_MAC_SCC_A   IRQ_PSC4_1

Definition at line 101 of file macints.h.

#define IRQ_MAC_SCC_B   IRQ_PSC4_2

Definition at line 103 of file macints.h.

#define IRQ_MAC_SCSI   IRQ_VIA2_3

Definition at line 85 of file macints.h.

#define IRQ_MAC_SCSIDRQ   IRQ_VIA2_0

Definition at line 80 of file macints.h.

#define IRQ_MAC_TIMER_1   IRQ_VIA1_6

Definition at line 75 of file macints.h.

#define IRQ_MAC_TIMER_2   IRQ_VIA1_5

Definition at line 73 of file macints.h.

#define IRQ_MAC_VBL   IRQ_VIA1_1

Definition at line 64 of file macints.h.

#define IRQ_NUBUS_9   (56)

Definition at line 123 of file macints.h.

#define IRQ_NUBUS_A   (57)

Definition at line 124 of file macints.h.

#define IRQ_NUBUS_B   (58)

Definition at line 125 of file macints.h.

#define IRQ_NUBUS_C   (59)

Definition at line 126 of file macints.h.

#define IRQ_NUBUS_D   (60)

Definition at line 127 of file macints.h.

#define IRQ_NUBUS_E   (61)

Definition at line 128 of file macints.h.

#define IRQ_NUBUS_F   (62)

Definition at line 129 of file macints.h.

#define IRQ_PSC3_0   (24)

Definition at line 92 of file macints.h.

#define IRQ_PSC3_1   (25)

Definition at line 94 of file macints.h.

#define IRQ_PSC3_2   (26)

Definition at line 95 of file macints.h.

#define IRQ_PSC3_3   (27)

Definition at line 96 of file macints.h.

#define IRQ_PSC4_0   (32)

Definition at line 99 of file macints.h.

#define IRQ_PSC4_1   (33)

Definition at line 100 of file macints.h.

#define IRQ_PSC4_2   (34)

Definition at line 102 of file macints.h.

#define IRQ_PSC4_3   (35)

Definition at line 104 of file macints.h.

#define IRQ_PSC5_0   (40)

Definition at line 111 of file macints.h.

#define IRQ_PSC5_1   (41)

Definition at line 112 of file macints.h.

#define IRQ_PSC5_2   (42)

Definition at line 113 of file macints.h.

#define IRQ_PSC5_3   (43)

Definition at line 114 of file macints.h.

#define IRQ_PSC6_0   (48)

Definition at line 117 of file macints.h.

#define IRQ_PSC6_1   (49)

Definition at line 118 of file macints.h.

#define IRQ_PSC6_2   (50)

Definition at line 119 of file macints.h.

#define IRQ_PSC6_3   (51)

Definition at line 120 of file macints.h.

#define IRQ_SRC (   irq)    (irq >> 3)

Definition at line 58 of file macints.h.

#define IRQ_VIA1_0   (8) /* one second int. */

Definition at line 62 of file macints.h.

#define IRQ_VIA1_1   (9) /* VBlank int. */

Definition at line 63 of file macints.h.

#define IRQ_VIA1_2   (10) /* ADB SR shifts complete */

Definition at line 65 of file macints.h.

#define IRQ_VIA1_3   (11) /* ADB SR CB2 ?? */

Definition at line 68 of file macints.h.

#define IRQ_VIA1_4   (12) /* ADB SR ext. clock pulse */

Definition at line 70 of file macints.h.

#define IRQ_VIA1_5   (13)

Definition at line 72 of file macints.h.

#define IRQ_VIA1_6   (14)

Definition at line 74 of file macints.h.

#define IRQ_VIA1_7   (15)

Definition at line 76 of file macints.h.

#define IRQ_VIA2_0   (16)

Definition at line 79 of file macints.h.

#define IRQ_VIA2_1   (17)

Definition at line 81 of file macints.h.

#define IRQ_VIA2_2   (18)

Definition at line 83 of file macints.h.

#define IRQ_VIA2_3   (19)

Definition at line 84 of file macints.h.

#define IRQ_VIA2_4   (20)

Definition at line 86 of file macints.h.

#define IRQ_VIA2_5   (21)

Definition at line 87 of file macints.h.

#define IRQ_VIA2_6   (22)

Definition at line 88 of file macints.h.

#define IRQ_VIA2_7   (23)

Definition at line 89 of file macints.h.

#define NUBUS_SOURCE_BASE   56

Definition at line 44 of file macints.h.

#define NUM_MAC_SOURCES   72

Definition at line 52 of file macints.h.

#define PSC3_SOURCE_BASE   24

Definition at line 40 of file macints.h.

#define PSC4_SOURCE_BASE   32

Definition at line 41 of file macints.h.

#define PSC5_SOURCE_BASE   40

Definition at line 42 of file macints.h.

#define PSC6_SOURCE_BASE   48

Definition at line 43 of file macints.h.

#define SLOT2IRQ (   x)    (x + 47)

Definition at line 137 of file macints.h.

#define VIA1_SOURCE_BASE   8

Definition at line 38 of file macints.h.

#define VIA2_SOURCE_BASE   16

Definition at line 39 of file macints.h.