~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/arch/mips/include/asm/dec/ioasic_ints.h

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 /*
  2  * This file is subject to the terms and conditions of the GNU General Public
  3  * License.  See the file "COPYING" in the main directory of this archive
  4  * for more details.
  5  *
  6  * Definitions for the interrupt related bits in the I/O ASIC
  7  * interrupt status register (and the interrupt mask register, of course)
  8  *
  9  * Created with Information from:
 10  *
 11  * "DEC 3000 300/400/500/600/700/800/900 AXP Models System Programmer's Manual"
 12  *
 13  * and the Mach Sources
 14  *
 15  * Copyright (C) 199x  the Anonymous
 16  * Copyright (C) 2002  Maciej W. Rozycki
 17  */
 18 
 19 #ifndef __ASM_DEC_IOASIC_INTS_H
 20 #define __ASM_DEC_IOASIC_INTS_H
 21 
 22 /*
 23  * The upper 16 bits are a part of the I/O ASIC's internal DMA engine
 24  * and thus are common to all I/O ASIC machines.  The exception is
 25  * the Maxine, which makes use of the FLOPPY and ISDN bits (otherwise
 26  * unused) and has a different SCC wiring.
 27  */
 28                                         /* all systems */
 29 #define IO_INR_SCC0A_TXDMA      31      /* SCC0A transmit page end */
 30 #define IO_INR_SCC0A_TXERR      30      /* SCC0A transmit memory read error */
 31 #define IO_INR_SCC0A_RXDMA      29      /* SCC0A receive half page */
 32 #define IO_INR_SCC0A_RXERR      28      /* SCC0A receive overrun */
 33 #define IO_INR_ASC_DMA          19      /* ASC buffer pointer loaded */
 34 #define IO_INR_ASC_ERR          18      /* ASC page overrun */
 35 #define IO_INR_ASC_MERR         17      /* ASC memory read error */
 36 #define IO_INR_LANCE_MERR       16      /* LANCE memory read error */
 37 
 38                                         /* except Maxine */
 39 #define IO_INR_SCC1A_TXDMA      27      /* SCC1A transmit page end */
 40 #define IO_INR_SCC1A_TXERR      26      /* SCC1A transmit memory read error */
 41 #define IO_INR_SCC1A_RXDMA      25      /* SCC1A receive half page */
 42 #define IO_INR_SCC1A_RXERR      24      /* SCC1A receive overrun */
 43 #define IO_INR_RES_23           23      /* unused */
 44 #define IO_INR_RES_22           22      /* unused */
 45 #define IO_INR_RES_21           21      /* unused */
 46 #define IO_INR_RES_20           20      /* unused */
 47 
 48                                         /* Maxine */
 49 #define IO_INR_AB_TXDMA         27      /* ACCESS.bus transmit page end */
 50 #define IO_INR_AB_TXERR         26      /* ACCESS.bus xmit memory read error */
 51 #define IO_INR_AB_RXDMA         25      /* ACCESS.bus receive half page */
 52 #define IO_INR_AB_RXERR         24      /* ACCESS.bus receive overrun */
 53 #define IO_INR_FLOPPY_ERR       23      /* FDC error */
 54 #define IO_INR_ISDN_TXDMA       22      /* ISDN xmit buffer pointer loaded */
 55 #define IO_INR_ISDN_RXDMA       21      /* ISDN recv buffer pointer loaded */
 56 #define IO_INR_ISDN_ERR         20      /* ISDN memory read/overrun error */
 57 
 58 #define IO_INR_DMA              16      /* first DMA IRQ */
 59 
 60 /*
 61  * The lower 16 bits are system-specific and thus defined in
 62  * system-specific headers.
 63  */
 64 
 65 
 66 #define IO_IRQ_BASE             8       /* first IRQ assigned to I/O ASIC */
 67 #define IO_IRQ_LINES            32      /* number of I/O ASIC interrupts */
 68 
 69 #define IO_IRQ_NR(n)            ((n) + IO_IRQ_BASE)
 70 #define IO_IRQ_MASK(n)          (1 << (n))
 71 #define IO_IRQ_ALL              0x0000ffff
 72 #define IO_IRQ_DMA              0xffff0000
 73 
 74 #endif /* __ASM_DEC_IOASIC_INTS_H */
 75 

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php