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

Go to the source code of this file.

Macros

#define __IO_PREFIX   mpr2
 
#define SETBITS_OUTB(mask, reg)   __raw_writeb(__raw_readb(reg) | mask, reg)
 
#define SETBITS_OUTW(mask, reg)   __raw_writew(__raw_readw(reg) | mask, reg)
 
#define SETBITS_OUTL(mask, reg)   __raw_writel(__raw_readl(reg) | mask, reg)
 
#define CLRBITS_OUTB(mask, reg)   __raw_writeb(__raw_readb(reg) & ~mask, reg)
 
#define CLRBITS_OUTW(mask, reg)   __raw_writew(__raw_readw(reg) & ~mask, reg)
 
#define CLRBITS_OUTL(mask, reg)   __raw_writel(__raw_readl(reg) & ~mask, reg)
 
#define PA_LED   PORT_PADR /* LED */
 
#define CMNCR   0xA4FD0000UL
 
#define CS0BCR   0xA4FD0004UL
 
#define CS2BCR   0xA4FD0008UL
 
#define CS3BCR   0xA4FD000CUL
 
#define CS4BCR   0xA4FD0010UL
 
#define CS5ABCR   0xA4FD0014UL
 
#define CS5BBCR   0xA4FD0018UL
 
#define CS6ABCR   0xA4FD001CUL
 
#define CS6BBCR   0xA4FD0020UL
 
#define CS0WCR   0xA4FD0024UL
 
#define CS2WCR   0xA4FD0028UL
 
#define CS3WCR   0xA4FD002CUL
 
#define CS4WCR   0xA4FD0030UL
 
#define CS5AWCR   0xA4FD0034UL
 
#define CS5BWCR   0xA4FD0038UL
 
#define CS6AWCR   0xA4FD003CUL
 
#define CS6BWCR   0xA4FD0040UL
 
#define PORT_UTRCTL   0xA405012CUL
 
#define PORT_UCLKCR_W   0xA40A0008UL
 
#define INTC_ICR0   0xA414FEE0UL
 
#define INTC_ICR1   0xA4140010UL
 
#define INTC_ICR2   0xA4140012UL
 
#define MPR2_MTD_BOOTLOADER_SIZE   0x00060000UL
 
#define MPR2_MTD_KERNEL_SIZE   0x00200000UL
 

Macro Definition Documentation

#define __IO_PREFIX   mpr2

Definition at line 18 of file magicpanelr2.h.

#define CLRBITS_OUTB (   mask,
  reg 
)    __raw_writeb(__raw_readb(reg) & ~mask, reg)

Definition at line 25 of file magicpanelr2.h.

#define CLRBITS_OUTL (   mask,
  reg 
)    __raw_writel(__raw_readl(reg) & ~mask, reg)

Definition at line 27 of file magicpanelr2.h.

#define CLRBITS_OUTW (   mask,
  reg 
)    __raw_writew(__raw_readw(reg) & ~mask, reg)

Definition at line 26 of file magicpanelr2.h.

#define CMNCR   0xA4FD0000UL

Definition at line 34 of file magicpanelr2.h.

#define CS0BCR   0xA4FD0004UL

Definition at line 35 of file magicpanelr2.h.

#define CS0WCR   0xA4FD0024UL

Definition at line 43 of file magicpanelr2.h.

#define CS2BCR   0xA4FD0008UL

Definition at line 36 of file magicpanelr2.h.

#define CS2WCR   0xA4FD0028UL

Definition at line 44 of file magicpanelr2.h.

#define CS3BCR   0xA4FD000CUL

Definition at line 37 of file magicpanelr2.h.

#define CS3WCR   0xA4FD002CUL

Definition at line 45 of file magicpanelr2.h.

#define CS4BCR   0xA4FD0010UL

Definition at line 38 of file magicpanelr2.h.

#define CS4WCR   0xA4FD0030UL

Definition at line 46 of file magicpanelr2.h.

#define CS5ABCR   0xA4FD0014UL

Definition at line 39 of file magicpanelr2.h.

#define CS5AWCR   0xA4FD0034UL

Definition at line 47 of file magicpanelr2.h.

#define CS5BBCR   0xA4FD0018UL

Definition at line 40 of file magicpanelr2.h.

#define CS5BWCR   0xA4FD0038UL

Definition at line 48 of file magicpanelr2.h.

#define CS6ABCR   0xA4FD001CUL

Definition at line 41 of file magicpanelr2.h.

#define CS6AWCR   0xA4FD003CUL

Definition at line 49 of file magicpanelr2.h.

#define CS6BBCR   0xA4FD0020UL

Definition at line 42 of file magicpanelr2.h.

#define CS6BWCR   0xA4FD0040UL

Definition at line 50 of file magicpanelr2.h.

#define INTC_ICR0   0xA414FEE0UL

Definition at line 58 of file magicpanelr2.h.

#define INTC_ICR1   0xA4140010UL

Definition at line 59 of file magicpanelr2.h.

#define INTC_ICR2   0xA4140012UL

Definition at line 60 of file magicpanelr2.h.

#define MPR2_MTD_BOOTLOADER_SIZE   0x00060000UL

Definition at line 64 of file magicpanelr2.h.

#define MPR2_MTD_KERNEL_SIZE   0x00200000UL

Definition at line 65 of file magicpanelr2.h.

#define PA_LED   PORT_PADR /* LED */

Definition at line 30 of file magicpanelr2.h.

#define PORT_UCLKCR_W   0xA40A0008UL

Definition at line 56 of file magicpanelr2.h.

#define PORT_UTRCTL   0xA405012CUL

Definition at line 55 of file magicpanelr2.h.

#define SETBITS_OUTB (   mask,
  reg 
)    __raw_writeb(__raw_readb(reg) | mask, reg)

Definition at line 22 of file magicpanelr2.h.

#define SETBITS_OUTL (   mask,
  reg 
)    __raw_writel(__raw_readl(reg) | mask, reg)

Definition at line 24 of file magicpanelr2.h.

#define SETBITS_OUTW (   mask,
  reg 
)    __raw_writew(__raw_readw(reg) | mask, reg)

Definition at line 23 of file magicpanelr2.h.