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

Go to the source code of this file.

Macros

#define STMFP_SOURCE_BASE   8
 
#define TTMFP_SOURCE_BASE   24
 
#define SCC_SOURCE_BASE   40
 
#define VME_SOURCE_BASE   56
 
#define VME_MAX_SOURCES   16
 
#define NUM_ATARI_SOURCES   (VME_SOURCE_BASE+VME_MAX_SOURCES-STMFP_SOURCE_BASE)
 
#define IRQ_VECTOR_TO_SOURCE(v)   ((v) - ((v) < 0x20 ? 0x18 : (0x40-8)))
 
#define IRQ_SOURCE_TO_VECTOR(i)   ((i) + ((i) < 8 ? 0x18 : (0x40-8)))
 
#define IRQ_TYPE_SLOW   0
 
#define IRQ_TYPE_FAST   1
 
#define IRQ_TYPE_PRIO   2
 
#define IRQ_MFP_BUSY   (8)
 
#define IRQ_MFP_DCD   (9)
 
#define IRQ_MFP_CTS   (10)
 
#define IRQ_MFP_GPU   (11)
 
#define IRQ_MFP_TIMD   (12)
 
#define IRQ_MFP_TIMC   (13)
 
#define IRQ_MFP_ACIA   (14)
 
#define IRQ_MFP_FDC   (15)
 
#define IRQ_MFP_ACSI   IRQ_MFP_FDC
 
#define IRQ_MFP_FSCSI   IRQ_MFP_FDC
 
#define IRQ_MFP_IDE   IRQ_MFP_FDC
 
#define IRQ_MFP_TIMB   (16)
 
#define IRQ_MFP_SERERR   (17)
 
#define IRQ_MFP_SEREMPT   (18)
 
#define IRQ_MFP_RECERR   (19)
 
#define IRQ_MFP_RECFULL   (20)
 
#define IRQ_MFP_TIMA   (21)
 
#define IRQ_MFP_RI   (22)
 
#define IRQ_MFP_MMD   (23)
 
#define IRQ_TT_MFP_IO0   (24)
 
#define IRQ_TT_MFP_IO1   (25)
 
#define IRQ_TT_MFP_SCC   (26)
 
#define IRQ_TT_MFP_RI   (27)
 
#define IRQ_TT_MFP_TIMD   (28)
 
#define IRQ_TT_MFP_TIMC   (29)
 
#define IRQ_TT_MFP_DRVRDY   (30)
 
#define IRQ_TT_MFP_SCSIDMA   (31)
 
#define IRQ_TT_MFP_TIMB   (32)
 
#define IRQ_TT_MFP_SERERR   (33)
 
#define IRQ_TT_MFP_SEREMPT   (34)
 
#define IRQ_TT_MFP_RECERR   (35)
 
#define IRQ_TT_MFP_RECFULL   (36)
 
#define IRQ_TT_MFP_TIMA   (37)
 
#define IRQ_TT_MFP_RTC   (38)
 
#define IRQ_TT_MFP_SCSI   (39)
 
#define IRQ_SCCB_TX   (40)
 
#define IRQ_SCCB_STAT   (42)
 
#define IRQ_SCCB_RX   (44)
 
#define IRQ_SCCB_SPCOND   (46)
 
#define IRQ_SCCA_TX   (48)
 
#define IRQ_SCCA_STAT   (50)
 
#define IRQ_SCCA_RX   (52)
 
#define IRQ_SCCA_SPCOND   (54)
 
#define INT_CLK   24576 /* CLK while int_clk =2.456MHz and divide = 100 */
 
#define INT_TICKS   246 /* to make sched_time = 99.902... HZ */
 
#define MFP_ENABLE   0
 
#define MFP_PENDING   1
 
#define MFP_SERVICE   2
 
#define MFP_MASK   3
 

Functions

unsigned int atari_register_vme_int (void)
 
void atari_unregister_vme_int (unsigned int)
 

Macro Definition Documentation

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

Definition at line 98 of file atariints.h.

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

Definition at line 99 of file atariints.h.

#define IRQ_MFP_ACIA   (14)

Definition at line 55 of file atariints.h.

#define IRQ_MFP_ACSI   IRQ_MFP_FDC

Definition at line 57 of file atariints.h.

#define IRQ_MFP_BUSY   (8)

Definition at line 49 of file atariints.h.

#define IRQ_MFP_CTS   (10)

Definition at line 51 of file atariints.h.

#define IRQ_MFP_DCD   (9)

Definition at line 50 of file atariints.h.

#define IRQ_MFP_FDC   (15)

Definition at line 56 of file atariints.h.

#define IRQ_MFP_FSCSI   IRQ_MFP_FDC

Definition at line 58 of file atariints.h.

#define IRQ_MFP_GPU   (11)

Definition at line 52 of file atariints.h.

#define IRQ_MFP_IDE   IRQ_MFP_FDC

Definition at line 59 of file atariints.h.

#define IRQ_MFP_MMD   (23)

Definition at line 67 of file atariints.h.

#define IRQ_MFP_RECERR   (19)

Definition at line 63 of file atariints.h.

#define IRQ_MFP_RECFULL   (20)

Definition at line 64 of file atariints.h.

#define IRQ_MFP_RI   (22)

Definition at line 66 of file atariints.h.

#define IRQ_MFP_SEREMPT   (18)

Definition at line 62 of file atariints.h.

#define IRQ_MFP_SERERR   (17)

Definition at line 61 of file atariints.h.

#define IRQ_MFP_TIMA   (21)

Definition at line 65 of file atariints.h.

#define IRQ_MFP_TIMB   (16)

Definition at line 60 of file atariints.h.

#define IRQ_MFP_TIMC   (13)

Definition at line 54 of file atariints.h.

#define IRQ_MFP_TIMD   (12)

Definition at line 53 of file atariints.h.

#define IRQ_SCCA_RX   (52)

Definition at line 94 of file atariints.h.

#define IRQ_SCCA_SPCOND   (54)

Definition at line 95 of file atariints.h.

#define IRQ_SCCA_STAT   (50)

Definition at line 93 of file atariints.h.

#define IRQ_SCCA_TX   (48)

Definition at line 92 of file atariints.h.

#define IRQ_SCCB_RX   (44)

Definition at line 90 of file atariints.h.

#define IRQ_SCCB_SPCOND   (46)

Definition at line 91 of file atariints.h.

#define IRQ_SCCB_STAT   (42)

Definition at line 89 of file atariints.h.

#define IRQ_SCCB_TX   (40)

Definition at line 88 of file atariints.h.

#define IRQ_SOURCE_TO_VECTOR (   i)    ((i) + ((i) < 8 ? 0x18 : (0x40-8)))

Definition at line 41 of file atariints.h.

#define IRQ_TT_MFP_DRVRDY   (30)

Definition at line 76 of file atariints.h.

#define IRQ_TT_MFP_IO0   (24)

Definition at line 70 of file atariints.h.

#define IRQ_TT_MFP_IO1   (25)

Definition at line 71 of file atariints.h.

#define IRQ_TT_MFP_RECERR   (35)

Definition at line 81 of file atariints.h.

#define IRQ_TT_MFP_RECFULL   (36)

Definition at line 82 of file atariints.h.

#define IRQ_TT_MFP_RI   (27)

Definition at line 73 of file atariints.h.

#define IRQ_TT_MFP_RTC   (38)

Definition at line 84 of file atariints.h.

#define IRQ_TT_MFP_SCC   (26)

Definition at line 72 of file atariints.h.

#define IRQ_TT_MFP_SCSI   (39)

Definition at line 85 of file atariints.h.

#define IRQ_TT_MFP_SCSIDMA   (31)

Definition at line 77 of file atariints.h.

#define IRQ_TT_MFP_SEREMPT   (34)

Definition at line 80 of file atariints.h.

#define IRQ_TT_MFP_SERERR   (33)

Definition at line 79 of file atariints.h.

#define IRQ_TT_MFP_TIMA   (37)

Definition at line 83 of file atariints.h.

#define IRQ_TT_MFP_TIMB   (32)

Definition at line 78 of file atariints.h.

#define IRQ_TT_MFP_TIMC   (29)

Definition at line 75 of file atariints.h.

#define IRQ_TT_MFP_TIMD   (28)

Definition at line 74 of file atariints.h.

#define IRQ_TYPE_FAST   1

Definition at line 45 of file atariints.h.

#define IRQ_TYPE_PRIO   2

Definition at line 46 of file atariints.h.

#define IRQ_TYPE_SLOW   0

Definition at line 44 of file atariints.h.

#define IRQ_VECTOR_TO_SOURCE (   v)    ((v) - ((v) < 0x20 ? 0x18 : (0x40-8)))

Definition at line 38 of file atariints.h.

#define MFP_ENABLE   0

Definition at line 102 of file atariints.h.

#define MFP_MASK   3

Definition at line 105 of file atariints.h.

#define MFP_PENDING   1

Definition at line 103 of file atariints.h.

#define MFP_SERVICE   2

Definition at line 104 of file atariints.h.

#define NUM_ATARI_SOURCES   (VME_SOURCE_BASE+VME_MAX_SOURCES-STMFP_SOURCE_BASE)

Definition at line 35 of file atariints.h.

#define SCC_SOURCE_BASE   40

Definition at line 31 of file atariints.h.

#define STMFP_SOURCE_BASE   8

Definition at line 29 of file atariints.h.

#define TTMFP_SOURCE_BASE   24

Definition at line 30 of file atariints.h.

#define VME_MAX_SOURCES   16

Definition at line 33 of file atariints.h.

#define VME_SOURCE_BASE   56

Definition at line 32 of file atariints.h.

Function Documentation

unsigned int atari_register_vme_int ( void  )

Definition at line 209 of file ataints.c.

void atari_unregister_vme_int ( unsigned  int)

Definition at line 226 of file ataints.c.