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

Go to the source code of this file.

Macros

#define PA_ROM   0x00000000 /* EPROM */
 
#define PA_ROM_SIZE   0x00400000 /* EPROM size 4M byte(Actually 2MB) */
 
#define PA_FROM   0x00400000 /* Flash ROM */
 
#define PA_FROM_SIZE   0x00400000 /* Flash size 4M byte */
 
#define PA_SRAM   0x00800000 /* SRAM */
 
#define PA_FROM_SIZE   0x00400000 /* SRAM size 4M byte */
 
#define PA_EXT1   0x04000000
 
#define PA_EXT1_SIZE   0x04000000
 
#define PA_EXT2   0x08000000
 
#define PA_EXT2_SIZE   0x04000000
 
#define PA_SDRAM   0x0c000000
 
#define PA_SDRAM_SIZE   0x04000000
 
#define PA_PCIC   0x10000000 /* MR-SHPC-01 PCMCIA */
 
#define PA_MRSHPC   0xb03fffe0 /* MR-SHPC-01 PCMCIA controller */
 
#define PA_MRSHPC_MW1   0xb0400000 /* MR-SHPC-01 memory window base */
 
#define PA_MRSHPC_MW2   0xb0500000 /* MR-SHPC-01 attribute window base */
 
#define PA_MRSHPC_IO   0xb0600000 /* 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   0xb0C00000 /* LED */
 
#define LED_SHIFT   0
 
#define PA_DIPSW   0xb0900000 /* Dip switch 31 */
 
#define PA_EXT5   0x14000000
 
#define PA_EXT5_SIZE   0x04000000
 
#define PA_LCD1   0xb8000000
 
#define PA_LCD2   0xb8800000
 
#define PORT_PACR   0xA4050100
 
#define PORT_PBCR   0xA4050102
 
#define PORT_PCCR   0xA4050104
 
#define PORT_PDCR   0xA4050106
 
#define PORT_PECR   0xA4050108
 
#define PORT_PFCR   0xA405010A
 
#define PORT_PGCR   0xA405010C
 
#define PORT_PHCR   0xA405010E
 
#define PORT_PJCR   0xA4050110
 
#define PORT_PKCR   0xA4050112
 
#define PORT_PLCR   0xA4050114
 
#define PORT_PMCR   0xA4050116
 
#define PORT_PNCR   0xA4050118
 
#define PORT_PQCR   0xA405011A
 
#define PORT_PRCR   0xA405011C
 
#define PORT_PSCR   0xA405011E
 
#define PORT_PTCR   0xA4050140
 
#define PORT_PUCR   0xA4050142
 
#define PORT_PVCR   0xA4050144
 
#define PORT_PWCR   0xA4050146
 
#define PORT_PYCR   0xA4050148
 
#define PORT_PZCR   0xA405014A
 
#define PORT_PSELA   0xA405014C
 
#define PORT_PSELB   0xA405014E
 
#define PORT_PSELC   0xA4050150
 
#define PORT_PSELD   0xA4050152
 
#define PORT_PSELE   0xA4050154
 
#define PORT_HIZCRA   0xA4050156
 
#define PORT_HIZCRB   0xA4050158
 
#define PORT_HIZCRC   0xA405015C
 
#define PORT_DRVCR   0xA4050180
 
#define PORT_PADR   0xA4050120
 
#define PORT_PBDR   0xA4050122
 
#define PORT_PCDR   0xA4050124
 
#define PORT_PDDR   0xA4050126
 
#define PORT_PEDR   0xA4050128
 
#define PORT_PFDR   0xA405012A
 
#define PORT_PGDR   0xA405012C
 
#define PORT_PHDR   0xA405012E
 
#define PORT_PJDR   0xA4050130
 
#define PORT_PKDR   0xA4050132
 
#define PORT_PLDR   0xA4050134
 
#define PORT_PMDR   0xA4050136
 
#define PORT_PNDR   0xA4050138
 
#define PORT_PQDR   0xA405013A
 
#define PORT_PRDR   0xA405013C
 
#define PORT_PTDR   0xA4050160
 
#define PORT_PUDR   0xA4050162
 
#define PORT_PVDR   0xA4050164
 
#define PORT_PWDR   0xA4050166
 
#define PORT_PYDR   0xA4050168
 
#define FPGA_IN   0xb1400000
 
#define FPGA_OUT   0xb1400002
 
#define IRQ0_IRQ   evt2irq(0x600)
 
#define IRQ1_IRQ   evt2irq(0x620)
 
#define IRQ4_IRQ   evt2irq(0x680)
 
#define IRQ5_IRQ   evt2irq(0x6a0)
 
#define SE7343_FPGA_IRQ_MRSHPC0   0
 
#define SE7343_FPGA_IRQ_MRSHPC1   1
 
#define SE7343_FPGA_IRQ_MRSHPC2   2
 
#define SE7343_FPGA_IRQ_MRSHPC3   3
 
#define SE7343_FPGA_IRQ_SMC   6 /* EXT_IRQ2 */
 
#define SE7343_FPGA_IRQ_USB   8
 
#define SE7343_FPGA_IRQ_UARTA   10
 
#define SE7343_FPGA_IRQ_UARTB   11
 
#define SE7343_FPGA_IRQ_NR   12
 

Functions

void init_7343se_IRQ (void)
 

Variables

struct irq_domainse7343_irq_domain
 

Macro Definition Documentation

#define FPGA_IN   0xb1400000

Definition at line 116 of file se7343.h.

#define FPGA_OUT   0xb1400002

Definition at line 117 of file se7343.h.

#define IRQ0_IRQ   evt2irq(0x600)

Definition at line 119 of file se7343.h.

#define IRQ1_IRQ   evt2irq(0x620)

Definition at line 120 of file se7343.h.

#define IRQ4_IRQ   evt2irq(0x680)

Definition at line 121 of file se7343.h.

#define IRQ5_IRQ   evt2irq(0x6a0)

Definition at line 122 of file se7343.h.

#define LED_SHIFT   0

Definition at line 51 of file se7343.h.

#define MRSHPC_CDCR   (PA_MRSHPC + 28)

Definition at line 48 of file se7343.h.

#define MRSHPC_CPWCR   (PA_MRSHPC + 14)

Definition at line 41 of file se7343.h.

#define MRSHPC_CSR   (PA_MRSHPC + 8)

Definition at line 38 of file se7343.h.

#define MRSHPC_ICR   (PA_MRSHPC + 12)

Definition at line 40 of file se7343.h.

#define MRSHPC_IOWCR1   (PA_MRSHPC + 20)

Definition at line 44 of file se7343.h.

#define MRSHPC_IOWCR2   (PA_MRSHPC + 26)

Definition at line 47 of file se7343.h.

#define MRSHPC_ISR   (PA_MRSHPC + 10)

Definition at line 39 of file se7343.h.

#define MRSHPC_MW0CR1   (PA_MRSHPC + 16)

Definition at line 42 of file se7343.h.

#define MRSHPC_MW0CR2   (PA_MRSHPC + 22)

Definition at line 45 of file se7343.h.

#define MRSHPC_MW1CR1   (PA_MRSHPC + 18)

Definition at line 43 of file se7343.h.

#define MRSHPC_MW1CR2   (PA_MRSHPC + 24)

Definition at line 46 of file se7343.h.

#define MRSHPC_OPTION   (PA_MRSHPC + 6)

Definition at line 37 of file se7343.h.

#define MRSHPC_PCIC_INFO   (PA_MRSHPC + 30)

Definition at line 49 of file se7343.h.

#define PA_DIPSW   0xb0900000 /* Dip switch 31 */

Definition at line 52 of file se7343.h.

#define PA_EXT1   0x04000000

Definition at line 23 of file se7343.h.

#define PA_EXT1_SIZE   0x04000000

Definition at line 24 of file se7343.h.

#define PA_EXT2   0x08000000

Definition at line 26 of file se7343.h.

#define PA_EXT2_SIZE   0x04000000

Definition at line 27 of file se7343.h.

#define PA_EXT5   0x14000000

Definition at line 54 of file se7343.h.

#define PA_EXT5_SIZE   0x04000000

Definition at line 55 of file se7343.h.

#define PA_FROM   0x00400000 /* Flash ROM */

Definition at line 18 of file se7343.h.

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

Definition at line 21 of file se7343.h.

#define PA_FROM_SIZE   0x00400000 /* SRAM size 4M byte */

Definition at line 21 of file se7343.h.

#define PA_LCD1   0xb8000000

Definition at line 57 of file se7343.h.

#define PA_LCD2   0xb8800000

Definition at line 58 of file se7343.h.

#define PA_LED   0xb0C00000 /* LED */

Definition at line 50 of file se7343.h.

#define PA_MRSHPC   0xb03fffe0 /* MR-SHPC-01 PCMCIA controller */

Definition at line 33 of file se7343.h.

#define PA_MRSHPC_IO   0xb0600000 /* MR-SHPC-01 I/O window base */

Definition at line 36 of file se7343.h.

#define PA_MRSHPC_MW1   0xb0400000 /* MR-SHPC-01 memory window base */

Definition at line 34 of file se7343.h.

#define PA_MRSHPC_MW2   0xb0500000 /* MR-SHPC-01 attribute window base */

Definition at line 35 of file se7343.h.

#define PA_PCIC   0x10000000 /* MR-SHPC-01 PCMCIA */

Definition at line 32 of file se7343.h.

#define PA_ROM   0x00000000 /* EPROM */

Definition at line 16 of file se7343.h.

#define PA_ROM_SIZE   0x00400000 /* EPROM size 4M byte(Actually 2MB) */

Definition at line 17 of file se7343.h.

#define PA_SDRAM   0x0c000000

Definition at line 29 of file se7343.h.

#define PA_SDRAM_SIZE   0x04000000

Definition at line 30 of file se7343.h.

#define PA_SRAM   0x00800000 /* SRAM */

Definition at line 20 of file se7343.h.

#define PORT_DRVCR   0xA4050180

Definition at line 93 of file se7343.h.

#define PORT_HIZCRA   0xA4050156

Definition at line 89 of file se7343.h.

#define PORT_HIZCRB   0xA4050158

Definition at line 90 of file se7343.h.

#define PORT_HIZCRC   0xA405015C

Definition at line 91 of file se7343.h.

#define PORT_PACR   0xA4050100

Definition at line 60 of file se7343.h.

#define PORT_PADR   0xA4050120

Definition at line 95 of file se7343.h.

#define PORT_PBCR   0xA4050102

Definition at line 61 of file se7343.h.

#define PORT_PBDR   0xA4050122

Definition at line 96 of file se7343.h.

#define PORT_PCCR   0xA4050104

Definition at line 62 of file se7343.h.

#define PORT_PCDR   0xA4050124

Definition at line 97 of file se7343.h.

#define PORT_PDCR   0xA4050106

Definition at line 63 of file se7343.h.

#define PORT_PDDR   0xA4050126

Definition at line 98 of file se7343.h.

#define PORT_PECR   0xA4050108

Definition at line 64 of file se7343.h.

#define PORT_PEDR   0xA4050128

Definition at line 99 of file se7343.h.

#define PORT_PFCR   0xA405010A

Definition at line 65 of file se7343.h.

#define PORT_PFDR   0xA405012A

Definition at line 100 of file se7343.h.

#define PORT_PGCR   0xA405010C

Definition at line 66 of file se7343.h.

#define PORT_PGDR   0xA405012C

Definition at line 101 of file se7343.h.

#define PORT_PHCR   0xA405010E

Definition at line 67 of file se7343.h.

#define PORT_PHDR   0xA405012E

Definition at line 102 of file se7343.h.

#define PORT_PJCR   0xA4050110

Definition at line 68 of file se7343.h.

#define PORT_PJDR   0xA4050130

Definition at line 103 of file se7343.h.

#define PORT_PKCR   0xA4050112

Definition at line 69 of file se7343.h.

#define PORT_PKDR   0xA4050132

Definition at line 104 of file se7343.h.

#define PORT_PLCR   0xA4050114

Definition at line 70 of file se7343.h.

#define PORT_PLDR   0xA4050134

Definition at line 105 of file se7343.h.

#define PORT_PMCR   0xA4050116

Definition at line 71 of file se7343.h.

#define PORT_PMDR   0xA4050136

Definition at line 106 of file se7343.h.

#define PORT_PNCR   0xA4050118

Definition at line 72 of file se7343.h.

#define PORT_PNDR   0xA4050138

Definition at line 107 of file se7343.h.

#define PORT_PQCR   0xA405011A

Definition at line 73 of file se7343.h.

#define PORT_PQDR   0xA405013A

Definition at line 108 of file se7343.h.

#define PORT_PRCR   0xA405011C

Definition at line 74 of file se7343.h.

#define PORT_PRDR   0xA405013C

Definition at line 109 of file se7343.h.

#define PORT_PSCR   0xA405011E

Definition at line 75 of file se7343.h.

#define PORT_PSELA   0xA405014C

Definition at line 83 of file se7343.h.

#define PORT_PSELB   0xA405014E

Definition at line 84 of file se7343.h.

#define PORT_PSELC   0xA4050150

Definition at line 85 of file se7343.h.

#define PORT_PSELD   0xA4050152

Definition at line 86 of file se7343.h.

#define PORT_PSELE   0xA4050154

Definition at line 87 of file se7343.h.

#define PORT_PTCR   0xA4050140

Definition at line 76 of file se7343.h.

#define PORT_PTDR   0xA4050160

Definition at line 110 of file se7343.h.

#define PORT_PUCR   0xA4050142

Definition at line 77 of file se7343.h.

#define PORT_PUDR   0xA4050162

Definition at line 111 of file se7343.h.

#define PORT_PVCR   0xA4050144

Definition at line 78 of file se7343.h.

#define PORT_PVDR   0xA4050164

Definition at line 112 of file se7343.h.

#define PORT_PWCR   0xA4050146

Definition at line 79 of file se7343.h.

#define PORT_PWDR   0xA4050166

Definition at line 113 of file se7343.h.

#define PORT_PYCR   0xA4050148

Definition at line 80 of file se7343.h.

#define PORT_PYDR   0xA4050168

Definition at line 114 of file se7343.h.

#define PORT_PZCR   0xA405014A

Definition at line 81 of file se7343.h.

#define SE7343_FPGA_IRQ_MRSHPC0   0

Definition at line 124 of file se7343.h.

#define SE7343_FPGA_IRQ_MRSHPC1   1

Definition at line 125 of file se7343.h.

#define SE7343_FPGA_IRQ_MRSHPC2   2

Definition at line 126 of file se7343.h.

#define SE7343_FPGA_IRQ_MRSHPC3   3

Definition at line 127 of file se7343.h.

#define SE7343_FPGA_IRQ_NR   12

Definition at line 133 of file se7343.h.

#define SE7343_FPGA_IRQ_SMC   6 /* EXT_IRQ2 */

Definition at line 128 of file se7343.h.

#define SE7343_FPGA_IRQ_UARTA   10

Definition at line 130 of file se7343.h.

#define SE7343_FPGA_IRQ_UARTB   11

Definition at line 131 of file se7343.h.

#define SE7343_FPGA_IRQ_USB   8

Definition at line 129 of file se7343.h.

Function Documentation

void init_7343se_IRQ ( void  )

Definition at line 112 of file irq.c.

Variable Documentation

struct irq_domain* se7343_irq_domain

Definition at line 33 of file irq.c.