Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
sdk7780.h File Reference
#include <linux/sh_intc.h>
#include <asm/addrspace.h>
#include <asm/io_generic.h>

Go to the source code of this file.

Macros

#define SE_AREA0_WIDTH   4 /* Area0: 32bit */
 
#define PA_ROM   0xa0000000 /* EPROM */
 
#define PA_ROM_SIZE   0x00400000 /* EPROM size 4M byte */
 
#define PA_FROM   0xa0800000 /* Flash-ROM */
 
#define PA_FROM_SIZE   0x00400000 /* Flash-ROM size 4M byte */
 
#define PA_EXT1   0xa4000000
 
#define PA_EXT1_SIZE   0x04000000
 
#define PA_SDRAM   0xa8000000 /* DDR-SDRAM(Area2/3) 128MB */
 
#define PA_SDRAM_SIZE   0x08000000
 
#define PA_EXT4   0xb0000000
 
#define PA_EXT4_SIZE   0x04000000
 
#define PA_EXT_USER   PA_EXT4 /* User Expansion Space */
 
#define PA_PERIPHERAL   PA_AREA5_IO
 
#define PA_RESERVED   (PA_PERIPHERAL + 0)
 
#define PA_FPGA   (PA_PERIPHERAL + 0x01000000)
 
#define PA_LAN   (PA_PERIPHERAL + 0x01800000)
 
#define FPGA_SRSTR   (PA_FPGA + 0x000) /* System reset */
 
#define FPGA_IRQ0SR   (PA_FPGA + 0x010) /* IRQ0 status */
 
#define FPGA_IRQ0MR   (PA_FPGA + 0x020) /* IRQ0 mask */
 
#define FPGA_BDMR   (PA_FPGA + 0x030) /* Board operating mode */
 
#define FPGA_INTT0PRTR   (PA_FPGA + 0x040) /* Interrupt test mode0 port */
 
#define FPGA_INTT0SELR   (PA_FPGA + 0x050) /* Int. test mode0 select */
 
#define FPGA_INTT1POLR   (PA_FPGA + 0x060) /* Int. test mode0 polarity */
 
#define FPGA_NMIR   (PA_FPGA + 0x070) /* NMI source */
 
#define FPGA_NMIMR   (PA_FPGA + 0x080) /* NMI mask */
 
#define FPGA_IRQR   (PA_FPGA + 0x090) /* IRQX source */
 
#define FPGA_IRQMR   (PA_FPGA + 0x0A0) /* IRQX mask */
 
#define FPGA_SLEDR   (PA_FPGA + 0x0B0) /* LED control */
 
#define PA_LED   FPGA_SLEDR
 
#define FPGA_MAPSWR   (PA_FPGA + 0x0C0) /* Map switch */
 
#define FPGA_FPVERR   (PA_FPGA + 0x0D0) /* FPGA version */
 
#define FPGA_FPDATER   (PA_FPGA + 0x0E0) /* FPGA date */
 
#define FPGA_RSE   (PA_FPGA + 0x100) /* Reset source */
 
#define FPGA_EASR   (PA_FPGA + 0x110) /* External area select */
 
#define FPGA_SPER   (PA_FPGA + 0x120) /* Serial port enable */
 
#define FPGA_IMSR   (PA_FPGA + 0x130) /* Interrupt mode select */
 
#define FPGA_PCIMR   (PA_FPGA + 0x140) /* PCI Mode */
 
#define FPGA_DIPSWMR   (PA_FPGA + 0x150) /* DIPSW monitor */
 
#define FPGA_FPODR   (PA_FPGA + 0x160) /* Output port data */
 
#define FPGA_ATAESR   (PA_FPGA + 0x170) /* ATA extended bus status */
 
#define FPGA_IRQPOLR   (PA_FPGA + 0x180) /* IRQx polarity */
 
#define SDK7780_NR_IRL   15
 
#define IRQ_CFCARD   evt2irq(0x3c0)
 
#define IRQ_ETHERNET   evt2irq(0x2c0)
 
#define __IO_PREFIX   sdk7780
 

Functions

void init_sdk7780_IRQ (void)
 

Macro Definition Documentation

#define __IO_PREFIX   sdk7780

Definition at line 79 of file sdk7780.h.

#define FPGA_ATAESR   (PA_FPGA + 0x170) /* ATA extended bus status */

Definition at line 65 of file sdk7780.h.

#define FPGA_BDMR   (PA_FPGA + 0x030) /* Board operating mode */

Definition at line 45 of file sdk7780.h.

#define FPGA_DIPSWMR   (PA_FPGA + 0x150) /* DIPSW monitor */

Definition at line 63 of file sdk7780.h.

#define FPGA_EASR   (PA_FPGA + 0x110) /* External area select */

Definition at line 59 of file sdk7780.h.

#define FPGA_FPDATER   (PA_FPGA + 0x0E0) /* FPGA date */

Definition at line 57 of file sdk7780.h.

#define FPGA_FPODR   (PA_FPGA + 0x160) /* Output port data */

Definition at line 64 of file sdk7780.h.

#define FPGA_FPVERR   (PA_FPGA + 0x0D0) /* FPGA version */

Definition at line 56 of file sdk7780.h.

#define FPGA_IMSR   (PA_FPGA + 0x130) /* Interrupt mode select */

Definition at line 61 of file sdk7780.h.

#define FPGA_INTT0PRTR   (PA_FPGA + 0x040) /* Interrupt test mode0 port */

Definition at line 46 of file sdk7780.h.

#define FPGA_INTT0SELR   (PA_FPGA + 0x050) /* Int. test mode0 select */

Definition at line 47 of file sdk7780.h.

#define FPGA_INTT1POLR   (PA_FPGA + 0x060) /* Int. test mode0 polarity */

Definition at line 48 of file sdk7780.h.

#define FPGA_IRQ0MR   (PA_FPGA + 0x020) /* IRQ0 mask */

Definition at line 44 of file sdk7780.h.

#define FPGA_IRQ0SR   (PA_FPGA + 0x010) /* IRQ0 status */

Definition at line 43 of file sdk7780.h.

#define FPGA_IRQMR   (PA_FPGA + 0x0A0) /* IRQX mask */

Definition at line 52 of file sdk7780.h.

#define FPGA_IRQPOLR   (PA_FPGA + 0x180) /* IRQx polarity */

Definition at line 66 of file sdk7780.h.

#define FPGA_IRQR   (PA_FPGA + 0x090) /* IRQX source */

Definition at line 51 of file sdk7780.h.

#define FPGA_MAPSWR   (PA_FPGA + 0x0C0) /* Map switch */

Definition at line 55 of file sdk7780.h.

#define FPGA_NMIMR   (PA_FPGA + 0x080) /* NMI mask */

Definition at line 50 of file sdk7780.h.

#define FPGA_NMIR   (PA_FPGA + 0x070) /* NMI source */

Definition at line 49 of file sdk7780.h.

#define FPGA_PCIMR   (PA_FPGA + 0x140) /* PCI Mode */

Definition at line 62 of file sdk7780.h.

#define FPGA_RSE   (PA_FPGA + 0x100) /* Reset source */

Definition at line 58 of file sdk7780.h.

#define FPGA_SLEDR   (PA_FPGA + 0x0B0) /* LED control */

Definition at line 53 of file sdk7780.h.

#define FPGA_SPER   (PA_FPGA + 0x120) /* Serial port enable */

Definition at line 60 of file sdk7780.h.

#define FPGA_SRSTR   (PA_FPGA + 0x000) /* System reset */

Definition at line 42 of file sdk7780.h.

#define IRQ_CFCARD   evt2irq(0x3c0)

Definition at line 71 of file sdk7780.h.

#define IRQ_ETHERNET   evt2irq(0x2c0)

Definition at line 73 of file sdk7780.h.

#define PA_EXT1   0xa4000000

Definition at line 23 of file sdk7780.h.

#define PA_EXT1_SIZE   0x04000000

Definition at line 24 of file sdk7780.h.

#define PA_EXT4   0xb0000000

Definition at line 28 of file sdk7780.h.

#define PA_EXT4_SIZE   0x04000000

Definition at line 29 of file sdk7780.h.

#define PA_EXT_USER   PA_EXT4 /* User Expansion Space */

Definition at line 30 of file sdk7780.h.

#define PA_FPGA   (PA_PERIPHERAL + 0x01000000)

Definition at line 37 of file sdk7780.h.

#define PA_FROM   0xa0800000 /* Flash-ROM */

Definition at line 21 of file sdk7780.h.

#define PA_FROM_SIZE   0x00400000 /* Flash-ROM size 4M byte */

Definition at line 22 of file sdk7780.h.

#define PA_LAN   (PA_PERIPHERAL + 0x01800000)

Definition at line 39 of file sdk7780.h.

#define PA_LED   FPGA_SLEDR

Definition at line 54 of file sdk7780.h.

#define PA_PERIPHERAL   PA_AREA5_IO

Definition at line 32 of file sdk7780.h.

#define PA_RESERVED   (PA_PERIPHERAL + 0)

Definition at line 35 of file sdk7780.h.

#define PA_ROM   0xa0000000 /* EPROM */

Definition at line 19 of file sdk7780.h.

#define PA_ROM_SIZE   0x00400000 /* EPROM size 4M byte */

Definition at line 20 of file sdk7780.h.

#define PA_SDRAM   0xa8000000 /* DDR-SDRAM(Area2/3) 128MB */

Definition at line 25 of file sdk7780.h.

#define PA_SDRAM_SIZE   0x08000000

Definition at line 26 of file sdk7780.h.

#define SDK7780_NR_IRL   15

Definition at line 69 of file sdk7780.h.

#define SE_AREA0_WIDTH   4 /* Area0: 32bit */

Definition at line 18 of file sdk7780.h.

Function Documentation

void init_sdk7780_IRQ ( void  )

Definition at line 36 of file irq.c.