Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
gpio-au1000.h File Reference
#include <asm/mach-au1x00/au1000.h>

Go to the source code of this file.

Macros

#define ALCHEMY_GPIO1_BASE   0
 
#define ALCHEMY_GPIO2_BASE   200
 
#define ALCHEMY_GPIO1_NUM   32
 
#define ALCHEMY_GPIO2_NUM   16
 
#define ALCHEMY_GPIO1_MAX   (ALCHEMY_GPIO1_BASE + ALCHEMY_GPIO1_NUM - 1)
 
#define ALCHEMY_GPIO2_MAX   (ALCHEMY_GPIO2_BASE + ALCHEMY_GPIO2_NUM - 1)
 
#define MAKE_IRQ(intc, off)   (AU1000_INTC##intc##_INT_BASE + (off))
 
#define SYS_TRIOUTRD   0x100
 
#define SYS_TRIOUTCLR   0x100
 
#define SYS_OUTPUTRD   0x108
 
#define SYS_OUTPUTSET   0x108
 
#define SYS_OUTPUTCLR   0x10C
 
#define SYS_PINSTATERD   0x110
 
#define SYS_PININPUTEN   0x110
 
#define GPIO2_DIR   0x00
 
#define GPIO2_OUTPUT   0x08
 
#define GPIO2_PINSTATE   0x0C
 
#define GPIO2_INTENABLE   0x10
 
#define GPIO2_ENABLE   0x14
 

Macro Definition Documentation

#define ALCHEMY_GPIO1_BASE   0

Definition at line 17 of file gpio-au1000.h.

#define ALCHEMY_GPIO1_MAX   (ALCHEMY_GPIO1_BASE + ALCHEMY_GPIO1_NUM - 1)

Definition at line 22 of file gpio-au1000.h.

#define ALCHEMY_GPIO1_NUM   32

Definition at line 20 of file gpio-au1000.h.

#define ALCHEMY_GPIO2_BASE   200

Definition at line 18 of file gpio-au1000.h.

#define ALCHEMY_GPIO2_MAX   (ALCHEMY_GPIO2_BASE + ALCHEMY_GPIO2_NUM - 1)

Definition at line 23 of file gpio-au1000.h.

#define ALCHEMY_GPIO2_NUM   16

Definition at line 21 of file gpio-au1000.h.

#define GPIO2_DIR   0x00

Definition at line 37 of file gpio-au1000.h.

#define GPIO2_ENABLE   0x14

Definition at line 41 of file gpio-au1000.h.

#define GPIO2_INTENABLE   0x10

Definition at line 40 of file gpio-au1000.h.

#define GPIO2_OUTPUT   0x08

Definition at line 38 of file gpio-au1000.h.

#define GPIO2_PINSTATE   0x0C

Definition at line 39 of file gpio-au1000.h.

#define MAKE_IRQ (   intc,
  off 
)    (AU1000_INTC##intc##_INT_BASE + (off))

Definition at line 25 of file gpio-au1000.h.

#define SYS_OUTPUTCLR   0x10C

Definition at line 32 of file gpio-au1000.h.

#define SYS_OUTPUTRD   0x108

Definition at line 30 of file gpio-au1000.h.

#define SYS_OUTPUTSET   0x108

Definition at line 31 of file gpio-au1000.h.

#define SYS_PININPUTEN   0x110

Definition at line 34 of file gpio-au1000.h.

#define SYS_PINSTATERD   0x110

Definition at line 33 of file gpio-au1000.h.

#define SYS_TRIOUTCLR   0x100

Definition at line 29 of file gpio-au1000.h.

#define SYS_TRIOUTRD   0x100

Definition at line 28 of file gpio-au1000.h.