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

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

Version: ~ [ linux-6.11.5 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.58 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.114 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.169 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.228 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.284 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.322 ] ~ [ 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.9 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 /*
  2  * Hardware info common to DECstation 5000/1xx systems (otherwise
  3  * known as 3min or kn02ba) and Personal DECstations 5000/xx ones
  4  * (otherwise known as maxine or kn02ca).
  5  *
  6  * This file is subject to the terms and conditions of the GNU General Public
  7  * License.  See the file "COPYING" in the main directory of this archive
  8  * for more details.
  9  *
 10  * Copyright (C) 1995,1996 by Paul M. Antoine, some code and definitions
 11  * are by courtesy of Chris Fraser.
 12  * Copyright (C) 2000, 2002, 2003, 2005  Maciej W. Rozycki
 13  *
 14  * These are addresses which have to be known early in the boot process.
 15  * For other addresses refer to tc.h, ioasic_addrs.h and friends.
 16  */
 17 #ifndef __ASM_MIPS_DEC_KN02XA_H
 18 #define __ASM_MIPS_DEC_KN02XA_H
 19 
 20 #include <asm/dec/ioasic_addrs.h>
 21 
 22 #define KN02XA_SLOT_BASE        0x1c000000
 23 
 24 /*
 25  * Memory control ASIC registers.
 26  */
 27 #define KN02XA_MER              0x0c400000      /* memory error register */
 28 #define KN02XA_MSR              0x0c800000      /* memory size register */
 29 
 30 /*
 31  * CPU control ASIC registers.
 32  */
 33 #define KN02XA_MEM_CONF         0x0e000000      /* write timeout config */
 34 #define KN02XA_EAR              0x0e000004      /* error address register */
 35 #define KN02XA_BOOT0            0x0e000008      /* boot 0 register */
 36 #define KN02XA_MEM_INTR         0x0e00000c      /* write err IRQ stat & ack */
 37 
 38 /*
 39  * Memory Error Register bits, common definitions.
 40  * The rest is defined in system-specific headers.
 41  */
 42 #define KN02XA_MER_RES_28       (0xf<<28)       /* unused */
 43 #define KN02XA_MER_RES_17       (0x3ff<<17)     /* unused */
 44 #define KN02XA_MER_PAGERR       (1<<16)         /* 2k page boundary error */
 45 #define KN02XA_MER_TRANSERR     (1<<15)         /* transfer length error */
 46 #define KN02XA_MER_PARDIS       (1<<14)         /* parity error disable */
 47 #define KN02XA_MER_SIZE         (1<<13)         /* r/o mirror of MSR_SIZE */
 48 #define KN02XA_MER_RES_12       (1<<12)         /* unused */
 49 #define KN02XA_MER_BYTERR       (0xf<<8)        /* byte lane error bitmask: */
 50 #define KN02XA_MER_BYTERR_3     (0x8<<8)        /* byte lane #3 */
 51 #define KN02XA_MER_BYTERR_2     (0x4<<8)        /* byte lane #2 */
 52 #define KN02XA_MER_BYTERR_1     (0x2<<8)        /* byte lane #1 */
 53 #define KN02XA_MER_BYTERR_0     (0x1<<8)        /* byte lane #0 */
 54 #define KN02XA_MER_RES_0        (0xff<<0)       /* unused */
 55 
 56 /*
 57  * Memory Size Register bits, common definitions.
 58  * The rest is defined in system-specific headers.
 59  */
 60 #define KN02XA_MSR_RES_27       (0x1f<<27)      /* unused */
 61 #define KN02XA_MSR_RES_14       (0x7<<14)       /* unused */
 62 #define KN02XA_MSR_SIZE         (1<<13)         /* 16M/4M stride */
 63 #define KN02XA_MSR_RES_0        (0x1fff<<0)     /* unused */
 64 
 65 /*
 66  * Error Address Register bits.
 67  */
 68 #define KN02XA_EAR_RES_29       (0x7<<29)       /* unused */
 69 #define KN02XA_EAR_ADDRESS      (0x7ffffff<<2)  /* address involved */
 70 #define KN02XA_EAR_RES_0        (0x3<<0)        /* unused */
 71 
 72 
 73 #ifndef __ASSEMBLY__
 74 
 75 #include <linux/interrupt.h>
 76 
 77 struct pt_regs;
 78 
 79 extern void dec_kn02xa_be_init(void);
 80 extern int dec_kn02xa_be_handler(struct pt_regs *regs, int is_fixup);
 81 extern irqreturn_t dec_kn02xa_be_interrupt(int irq, void *dev_id);
 82 #endif
 83 
 84 #endif /* __ASM_MIPS_DEC_KN02XA_H */
 85 

~ [ 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