Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
maple.h File Reference

Go to the source code of this file.

Macros

#define MAPLE_PORTS   4
 
#define MAPLE_PNP_INTERVAL   HZ
 
#define MAPLE_MAXPACKETS   8
 
#define MAPLE_DMA_ORDER   14
 
#define MAPLE_DMA_SIZE   (1 << MAPLE_DMA_ORDER)
 
#define MAPLE_DMA_PAGES
 
#define MAPLE_BASE   0xa05f6c00
 
#define MAPLE_DMAADDR   (MAPLE_BASE+0x04)
 
#define MAPLE_TRIGTYPE   (MAPLE_BASE+0x10)
 
#define MAPLE_ENABLE   (MAPLE_BASE+0x14)
 
#define MAPLE_STATE   (MAPLE_BASE+0x18)
 
#define MAPLE_SPEED   (MAPLE_BASE+0x80)
 
#define MAPLE_RESET   (MAPLE_BASE+0x8c)
 
#define MAPLE_MAGIC   0x6155404f
 
#define MAPLE_2MBPS   0
 
#define MAPLE_TIMEOUT(n)   ((n)<<15)
 
#define MAPLE_FUNC_CONTROLLER   0x001
 
#define MAPLE_FUNC_MEMCARD   0x002
 
#define MAPLE_FUNC_LCD   0x004
 
#define MAPLE_FUNC_CLOCK   0x008
 
#define MAPLE_FUNC_MICROPHONE   0x010
 
#define MAPLE_FUNC_ARGUN   0x020
 
#define MAPLE_FUNC_KEYBOARD   0x040
 
#define MAPLE_FUNC_LIGHTGUN   0x080
 
#define MAPLE_FUNC_PURUPURU   0x100
 
#define MAPLE_FUNC_MOUSE   0x200
 

Macro Definition Documentation

#define MAPLE_2MBPS   0

Definition at line 22 of file maple.h.

#define MAPLE_BASE   0xa05f6c00

Definition at line 13 of file maple.h.

#define MAPLE_DMA_ORDER   14

Definition at line 7 of file maple.h.

#define MAPLE_DMA_PAGES
Value:

Definition at line 9 of file maple.h.

#define MAPLE_DMA_SIZE   (1 << MAPLE_DMA_ORDER)

Definition at line 8 of file maple.h.

#define MAPLE_DMAADDR   (MAPLE_BASE+0x04)

Definition at line 14 of file maple.h.

#define MAPLE_ENABLE   (MAPLE_BASE+0x14)

Definition at line 16 of file maple.h.

#define MAPLE_FUNC_ARGUN   0x020

Definition at line 31 of file maple.h.

#define MAPLE_FUNC_CLOCK   0x008

Definition at line 29 of file maple.h.

#define MAPLE_FUNC_CONTROLLER   0x001

Definition at line 26 of file maple.h.

#define MAPLE_FUNC_KEYBOARD   0x040

Definition at line 32 of file maple.h.

#define MAPLE_FUNC_LCD   0x004

Definition at line 28 of file maple.h.

#define MAPLE_FUNC_LIGHTGUN   0x080

Definition at line 33 of file maple.h.

#define MAPLE_FUNC_MEMCARD   0x002

Definition at line 27 of file maple.h.

#define MAPLE_FUNC_MICROPHONE   0x010

Definition at line 30 of file maple.h.

#define MAPLE_FUNC_MOUSE   0x200

Definition at line 35 of file maple.h.

#define MAPLE_FUNC_PURUPURU   0x100

Definition at line 34 of file maple.h.

#define MAPLE_MAGIC   0x6155404f

Definition at line 21 of file maple.h.

#define MAPLE_MAXPACKETS   8

Definition at line 6 of file maple.h.

#define MAPLE_PNP_INTERVAL   HZ

Definition at line 5 of file maple.h.

#define MAPLE_PORTS   4

Definition at line 4 of file maple.h.

#define MAPLE_RESET   (MAPLE_BASE+0x8c)

Definition at line 19 of file maple.h.

#define MAPLE_SPEED   (MAPLE_BASE+0x80)

Definition at line 18 of file maple.h.

#define MAPLE_STATE   (MAPLE_BASE+0x18)

Definition at line 17 of file maple.h.

#define MAPLE_TIMEOUT (   n)    ((n)<<15)

Definition at line 23 of file maple.h.

#define MAPLE_TRIGTYPE   (MAPLE_BASE+0x10)

Definition at line 15 of file maple.h.