Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
se7722.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   0x00200000 /* EPROM size 2M byte */
 
#define PA_FROM   0xa1000000 /* Flash-ROM */
 
#define PA_FROM_SIZE   0x01000000 /* Flash-ROM size 16M byte */
 
#define PA_EXT1   0xa4000000
 
#define PA_EXT1_SIZE   0x04000000
 
#define PA_SDRAM   0xaC000000 /* DDR-SDRAM(Area3) 64MB */
 
#define PA_SDRAM_SIZE   0x04000000
 
#define PA_EXT4   0xb0000000
 
#define PA_EXT4_SIZE   0x04000000
 
#define PA_PERIPHERAL   0xB0000000
 
#define PA_PCIC   PA_PERIPHERAL /* MR-SHPC-01 PCMCIA */
 
#define PA_MRSHPC   (PA_PERIPHERAL + 0x003fffe0) /* MR-SHPC-01 PCMCIA controller */
 
#define PA_MRSHPC_MW1   (PA_PERIPHERAL + 0x00400000) /* MR-SHPC-01 memory window base */
 
#define PA_MRSHPC_MW2   (PA_PERIPHERAL + 0x00500000) /* MR-SHPC-01 attribute window base */
 
#define PA_MRSHPC_IO   (PA_PERIPHERAL + 0x00600000) /* MR-SHPC-01 I/O window base */
 
#define MRSHPC_OPTION   (PA_MRSHPC + 6)
 
#define MRSHPC_CSR   (PA_MRSHPC + 8)
 
#define MRSHPC_ISR   (PA_MRSHPC + 10)
 
#define MRSHPC_ICR   (PA_MRSHPC + 12)
 
#define MRSHPC_CPWCR   (PA_MRSHPC + 14)
 
#define MRSHPC_MW0CR1   (PA_MRSHPC + 16)
 
#define MRSHPC_MW1CR1   (PA_MRSHPC + 18)
 
#define MRSHPC_IOWCR1   (PA_MRSHPC + 20)
 
#define MRSHPC_MW0CR2   (PA_MRSHPC + 22)
 
#define MRSHPC_MW1CR2   (PA_MRSHPC + 24)
 
#define MRSHPC_IOWCR2   (PA_MRSHPC + 26)
 
#define MRSHPC_CDCR   (PA_MRSHPC + 28)
 
#define MRSHPC_PCIC_INFO   (PA_MRSHPC + 30)
 
#define PA_LED   (PA_PERIPHERAL + 0x00800000) /* 8bit LED */
 
#define PA_FPGA   (PA_PERIPHERAL + 0x01800000) /* FPGA base address */
 
#define PA_LAN   (PA_AREA6_IO + 0) /* SMC LAN91C111 */
 
#define FPGA_IN   0xb1840000UL
 
#define FPGA_OUT   0xb1840004UL
 
#define PORT_PECR   0xA4050108UL
 
#define PORT_PJCR   0xA4050110UL
 
#define PORT_PSELD   0xA4050154UL
 
#define PORT_PSELB   0xA4050150UL
 
#define PORT_PSELC   0xA4050152UL
 
#define PORT_PKCR   0xA4050112UL
 
#define PORT_PHCR   0xA405010EUL
 
#define PORT_PLCR   0xA4050114UL
 
#define PORT_PMCR   0xA4050116UL
 
#define PORT_PRCR   0xA405011CUL
 
#define PORT_PXCR   0xA4050148UL
 
#define PORT_PSELA   0xA405014EUL
 
#define PORT_PYCR   0xA405014AUL
 
#define PORT_PZCR   0xA405014CUL
 
#define PORT_HIZCRA   0xA4050158UL
 
#define PORT_HIZCRC   0xA405015CUL
 
#define IRQ0_IRQ   evt2irq(0x600)
 
#define IRQ1_IRQ   evt2irq(0x620)
 
#define SE7722_FPGA_IRQ_USB   0 /* IRQ0 */
 
#define SE7722_FPGA_IRQ_SMC   1 /* IRQ0 */
 
#define SE7722_FPGA_IRQ_MRSHPC0   2 /* IRQ1 */
 
#define SE7722_FPGA_IRQ_MRSHPC1   3 /* IRQ1 */
 
#define SE7722_FPGA_IRQ_MRSHPC2   4 /* IRQ1 */
 
#define SE7722_FPGA_IRQ_MRSHPC3   5 /* IRQ1 */
 
#define SE7722_FPGA_IRQ_NR   6
 
#define __IO_PREFIX   se7722
 

Functions

void init_se7722_IRQ (void)
 

Variables

struct irq_domainse7722_irq_domain
 

Macro Definition Documentation

#define __IO_PREFIX   se7722

Definition at line 99 of file se7722.h.

#define FPGA_IN   0xb1840000UL

Definition at line 59 of file se7722.h.

#define FPGA_OUT   0xb1840004UL

Definition at line 60 of file se7722.h.

#define IRQ0_IRQ   evt2irq(0x600)

Definition at line 81 of file se7722.h.

#define IRQ1_IRQ   evt2irq(0x620)

Definition at line 82 of file se7722.h.

#define MRSHPC_CDCR   (PA_MRSHPC + 28)

Definition at line 51 of file se7722.h.

#define MRSHPC_CPWCR   (PA_MRSHPC + 14)

Definition at line 44 of file se7722.h.

#define MRSHPC_CSR   (PA_MRSHPC + 8)

Definition at line 41 of file se7722.h.

#define MRSHPC_ICR   (PA_MRSHPC + 12)

Definition at line 43 of file se7722.h.

#define MRSHPC_IOWCR1   (PA_MRSHPC + 20)

Definition at line 47 of file se7722.h.

#define MRSHPC_IOWCR2   (PA_MRSHPC + 26)

Definition at line 50 of file se7722.h.

#define MRSHPC_ISR   (PA_MRSHPC + 10)

Definition at line 42 of file se7722.h.

#define MRSHPC_MW0CR1   (PA_MRSHPC + 16)

Definition at line 45 of file se7722.h.

#define MRSHPC_MW0CR2   (PA_MRSHPC + 22)

Definition at line 48 of file se7722.h.

#define MRSHPC_MW1CR1   (PA_MRSHPC + 18)

Definition at line 46 of file se7722.h.

#define MRSHPC_MW1CR2   (PA_MRSHPC + 24)

Definition at line 49 of file se7722.h.

#define MRSHPC_OPTION   (PA_MRSHPC + 6)

Definition at line 40 of file se7722.h.

#define MRSHPC_PCIC_INFO   (PA_MRSHPC + 30)

Definition at line 52 of file se7722.h.

#define PA_EXT1   0xa4000000

Definition at line 25 of file se7722.h.

#define PA_EXT1_SIZE   0x04000000

Definition at line 26 of file se7722.h.

#define PA_EXT4   0xb0000000

Definition at line 30 of file se7722.h.

#define PA_EXT4_SIZE   0x04000000

Definition at line 31 of file se7722.h.

#define PA_FPGA   (PA_PERIPHERAL + 0x01800000) /* FPGA base address */

Definition at line 55 of file se7722.h.

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

Definition at line 23 of file se7722.h.

#define PA_FROM_SIZE   0x01000000 /* Flash-ROM size 16M byte */

Definition at line 24 of file se7722.h.

#define PA_LAN   (PA_AREA6_IO + 0) /* SMC LAN91C111 */

Definition at line 57 of file se7722.h.

#define PA_LED   (PA_PERIPHERAL + 0x00800000) /* 8bit LED */

Definition at line 54 of file se7722.h.

#define PA_MRSHPC   (PA_PERIPHERAL + 0x003fffe0) /* MR-SHPC-01 PCMCIA controller */

Definition at line 36 of file se7722.h.

#define PA_MRSHPC_IO   (PA_PERIPHERAL + 0x00600000) /* MR-SHPC-01 I/O window base */

Definition at line 39 of file se7722.h.

#define PA_MRSHPC_MW1   (PA_PERIPHERAL + 0x00400000) /* MR-SHPC-01 memory window base */

Definition at line 37 of file se7722.h.

#define PA_MRSHPC_MW2   (PA_PERIPHERAL + 0x00500000) /* MR-SHPC-01 attribute window base */

Definition at line 38 of file se7722.h.

#define PA_PCIC   PA_PERIPHERAL /* MR-SHPC-01 PCMCIA */

Definition at line 35 of file se7722.h.

#define PA_PERIPHERAL   0xB0000000

Definition at line 33 of file se7722.h.

#define PA_ROM   0xa0000000 /* EPROM */

Definition at line 21 of file se7722.h.

#define PA_ROM_SIZE   0x00200000 /* EPROM size 2M byte */

Definition at line 22 of file se7722.h.

#define PA_SDRAM   0xaC000000 /* DDR-SDRAM(Area3) 64MB */

Definition at line 27 of file se7722.h.

#define PA_SDRAM_SIZE   0x04000000

Definition at line 28 of file se7722.h.

#define PORT_HIZCRA   0xA4050158UL

Definition at line 77 of file se7722.h.

#define PORT_HIZCRC   0xA405015CUL

Definition at line 78 of file se7722.h.

#define PORT_PECR   0xA4050108UL

Definition at line 62 of file se7722.h.

#define PORT_PHCR   0xA405010EUL

Definition at line 69 of file se7722.h.

#define PORT_PJCR   0xA4050110UL

Definition at line 63 of file se7722.h.

#define PORT_PKCR   0xA4050112UL

Definition at line 68 of file se7722.h.

#define PORT_PLCR   0xA4050114UL

Definition at line 70 of file se7722.h.

#define PORT_PMCR   0xA4050116UL

Definition at line 71 of file se7722.h.

#define PORT_PRCR   0xA405011CUL

Definition at line 72 of file se7722.h.

#define PORT_PSELA   0xA405014EUL

Definition at line 74 of file se7722.h.

#define PORT_PSELB   0xA4050150UL

Definition at line 65 of file se7722.h.

#define PORT_PSELC   0xA4050152UL

Definition at line 67 of file se7722.h.

#define PORT_PSELD   0xA4050154UL

Definition at line 64 of file se7722.h.

#define PORT_PXCR   0xA4050148UL

Definition at line 73 of file se7722.h.

#define PORT_PYCR   0xA405014AUL

Definition at line 75 of file se7722.h.

#define PORT_PZCR   0xA405014CUL

Definition at line 76 of file se7722.h.

#define SE7722_FPGA_IRQ_MRSHPC0   2 /* IRQ1 */

Definition at line 86 of file se7722.h.

#define SE7722_FPGA_IRQ_MRSHPC1   3 /* IRQ1 */

Definition at line 87 of file se7722.h.

#define SE7722_FPGA_IRQ_MRSHPC2   4 /* IRQ1 */

Definition at line 88 of file se7722.h.

#define SE7722_FPGA_IRQ_MRSHPC3   5 /* IRQ1 */

Definition at line 89 of file se7722.h.

#define SE7722_FPGA_IRQ_NR   6

Definition at line 90 of file se7722.h.

#define SE7722_FPGA_IRQ_SMC   1 /* IRQ0 */

Definition at line 85 of file se7722.h.

#define SE7722_FPGA_IRQ_USB   0 /* IRQ0 */

Definition at line 84 of file se7722.h.

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

Definition at line 20 of file se7722.h.

Function Documentation

void init_se7722_IRQ ( void  )

Definition at line 105 of file irq.c.

Variable Documentation

struct irq_domain* se7722_irq_domain

Definition at line 32 of file irq.c.