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

Go to the source code of this file.

Macros

#define PA_USB   0xa4000000 /* USB Controller M66590 */
 
#define PA_ATARST   0xb0000000 /* ATA/FATA Access Control Register */
 
#define PA_LED   0xb0000001 /* LED Control Register */
 
#define PA_STATUS   0xb0000002 /* Switch Status Register */
 
#define PA_SHUTDOWN   0xb0000003 /* Shutdown Control Register */
 
#define PA_PCIPME   0xb0000004 /* PCI PME Status Register */
 
#define PA_IMASK   0xb0000005 /* Interrupt Mask Register */
 
#define PA_PWRINT_CLR   0xb0000006 /* Shutdown Interrupt clear Register */
 
#define PA_PIDE_OFFSET   0x40 /* CF IDE Offset */
 
#define PA_SIDE_OFFSET   0x40 /* HDD IDE Offset */
 
#define IRQ_PCIINTA   evt2irq(0x2a0) /* PCI INTA IRQ */
 
#define IRQ_PCIINTB   evt2irq(0x2c0) /* PCI INTB IRQ */
 
#define IRQ_PCIINTC   evt2irq(0x2e0) /* PCI INTC IRQ */
 
#define IRQ_PCIINTD   evt2irq(0x300) /* PCI INTD IRQ */
 
#define IRQ_ATA   evt2irq(0x320) /* ATA IRQ */
 
#define IRQ_FATA   evt2irq(0x340) /* FATA IRQ */
 
#define IRQ_POWER   evt2irq(0x360) /* Power Switch IRQ */
 
#define IRQ_BUTTON   evt2irq(0x380) /* USL-5P Button IRQ */
 
#define IRQ_FAULT   evt2irq(0x3a0) /* USL-5P Fault IRQ */
 
#define __IO_PREFIX   landisk
 

Functions

void init_landisk_IRQ (void)
 

Macro Definition Documentation

#define __IO_PREFIX   landisk

Definition at line 41 of file iodata_landisk.h.

#define IRQ_ATA   evt2irq(0x320) /* ATA IRQ */

Definition at line 33 of file iodata_landisk.h.

#define IRQ_BUTTON   evt2irq(0x380) /* USL-5P Button IRQ */

Definition at line 36 of file iodata_landisk.h.

#define IRQ_FATA   evt2irq(0x340) /* FATA IRQ */

Definition at line 34 of file iodata_landisk.h.

#define IRQ_FAULT   evt2irq(0x3a0) /* USL-5P Fault IRQ */

Definition at line 37 of file iodata_landisk.h.

#define IRQ_PCIINTA   evt2irq(0x2a0) /* PCI INTA IRQ */

Definition at line 29 of file iodata_landisk.h.

#define IRQ_PCIINTB   evt2irq(0x2c0) /* PCI INTB IRQ */

Definition at line 30 of file iodata_landisk.h.

#define IRQ_PCIINTC   evt2irq(0x2e0) /* PCI INTC IRQ */

Definition at line 31 of file iodata_landisk.h.

#define IRQ_PCIINTD   evt2irq(0x300) /* PCI INTD IRQ */

Definition at line 32 of file iodata_landisk.h.

#define IRQ_POWER   evt2irq(0x360) /* Power Switch IRQ */

Definition at line 35 of file iodata_landisk.h.

#define PA_ATARST   0xb0000000 /* ATA/FATA Access Control Register */

Definition at line 17 of file iodata_landisk.h.

#define PA_IMASK   0xb0000005 /* Interrupt Mask Register */

Definition at line 22 of file iodata_landisk.h.

#define PA_LED   0xb0000001 /* LED Control Register */

Definition at line 18 of file iodata_landisk.h.

#define PA_PCIPME   0xb0000004 /* PCI PME Status Register */

Definition at line 21 of file iodata_landisk.h.

#define PA_PIDE_OFFSET   0x40 /* CF IDE Offset */

Definition at line 26 of file iodata_landisk.h.

#define PA_PWRINT_CLR   0xb0000006 /* Shutdown Interrupt clear Register */

Definition at line 24 of file iodata_landisk.h.

#define PA_SHUTDOWN   0xb0000003 /* Shutdown Control Register */

Definition at line 20 of file iodata_landisk.h.

#define PA_SIDE_OFFSET   0x40 /* HDD IDE Offset */

Definition at line 27 of file iodata_landisk.h.

#define PA_STATUS   0xb0000002 /* Switch Status Register */

Definition at line 19 of file iodata_landisk.h.

#define PA_USB   0xa4000000 /* USB Controller M66590 */

Definition at line 15 of file iodata_landisk.h.

Function Documentation

void init_landisk_IRQ ( void  )

Definition at line 62 of file irq.c.