Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
cm-x2xx.c File Reference
#include <linux/platform_device.h>
#include <linux/syscore_ops.h>
#include <linux/irq.h>
#include <linux/gpio.h>
#include <linux/dm9000.h>
#include <linux/leds.h>
#include <asm/mach/arch.h>
#include <asm/mach-types.h>
#include <asm/mach/map.h>
#include <mach/pxa25x.h>
#include <mach/pxa27x.h>
#include <mach/audio.h>
#include <linux/platform_data/video-pxafb.h>
#include <mach/smemc.h>
#include <asm/hardware/it8152.h>
#include "generic.h"
#include "cm-x2xx-pci.h"

Go to the source code of this file.

Macros

#define CMX2XX_NR_IRQS   (IRQ_BOARD_START + 40)
 
#define CMX2XX_VIRT_BASE   (void __iomem *)(0xe8000000)
 
#define CMX2XX_IT8152_VIRT   (CMX2XX_VIRT_BASE)
 
#define CMX255_DM9000_PHYS_BASE   (PXA_CS1_PHYS + (8 << 22))
 
#define CMX270_DM9000_PHYS_BASE   (PXA_CS1_PHYS + (6 << 22))
 
#define CMX255_GPIO_RED   (27)
 
#define CMX255_GPIO_GREEN   (32)
 
#define CMX270_GPIO_RED   (93)
 
#define CMX270_GPIO_GREEN   (94)
 
#define GPIO22_ETHIRQ   (22)
 
#define GPIO10_ETHIRQ   (10)
 
#define CMX255_GPIO_IT8152_IRQ   (0)
 
#define CMX270_GPIO_IT8152_IRQ   (22)
 
#define CMX255_ETHIRQ   PXA_GPIO_TO_IRQ(GPIO22_ETHIRQ)
 
#define CMX270_ETHIRQ   PXA_GPIO_TO_IRQ(GPIO10_ETHIRQ)
 

Functions

void cmx255_init (void)
 
void cmx270_init (void)
 

Variables

 atag_offset = 0x100
 
 map_io = cmx2xx_map_io
 
 nr_irqs = CMX2XX_NR_IRQS
 
 init_irq = cmx2xx_init_irq
 
 handle_irq = pxa25x_handle_irq
 
 timer = &pxa_timer
 
 init_machine = cmx2xx_init
 
 restart = pxa_restart
 

Macro Definition Documentation

#define CMX255_DM9000_PHYS_BASE   (PXA_CS1_PHYS + (8 << 22))

Definition at line 47 of file cm-x2xx.c.

#define CMX255_ETHIRQ   PXA_GPIO_TO_IRQ(GPIO22_ETHIRQ)

Definition at line 62 of file cm-x2xx.c.

#define CMX255_GPIO_GREEN   (32)

Definition at line 52 of file cm-x2xx.c.

#define CMX255_GPIO_IT8152_IRQ   (0)

Definition at line 59 of file cm-x2xx.c.

#define CMX255_GPIO_RED   (27)

Definition at line 51 of file cm-x2xx.c.

#define CMX270_DM9000_PHYS_BASE   (PXA_CS1_PHYS + (6 << 22))

Definition at line 48 of file cm-x2xx.c.

#define CMX270_ETHIRQ   PXA_GPIO_TO_IRQ(GPIO10_ETHIRQ)

Definition at line 63 of file cm-x2xx.c.

#define CMX270_GPIO_GREEN   (94)

Definition at line 54 of file cm-x2xx.c.

#define CMX270_GPIO_IT8152_IRQ   (22)

Definition at line 60 of file cm-x2xx.c.

#define CMX270_GPIO_RED   (93)

Definition at line 53 of file cm-x2xx.c.

#define CMX2XX_IT8152_VIRT   (CMX2XX_VIRT_BASE)

Definition at line 44 of file cm-x2xx.c.

#define CMX2XX_NR_IRQS   (IRQ_BOARD_START + 40)

Definition at line 40 of file cm-x2xx.c.

#define CMX2XX_VIRT_BASE   (void __iomem *)(0xe8000000)

Definition at line 43 of file cm-x2xx.c.

#define GPIO10_ETHIRQ   (10)

Definition at line 58 of file cm-x2xx.c.

#define GPIO22_ETHIRQ   (22)

Definition at line 57 of file cm-x2xx.c.

Function Documentation

void cmx255_init ( void  )

Definition at line 229 of file cm-x255.c.

void cmx270_init ( void  )

Definition at line 399 of file cm-x270.c.

Variable Documentation

atag_offset = 0x100

Definition at line 517 of file cm-x2xx.c.

handle_irq = pxa25x_handle_irq

Definition at line 522 of file cm-x2xx.c.

init_irq = cmx2xx_init_irq

Definition at line 520 of file cm-x2xx.c.

init_machine = cmx2xx_init

Definition at line 524 of file cm-x2xx.c.

map_io = cmx2xx_map_io

Definition at line 518 of file cm-x2xx.c.

nr_irqs = CMX2XX_NR_IRQS

Definition at line 519 of file cm-x2xx.c.

restart = pxa_restart

Definition at line 528 of file cm-x2xx.c.

Definition at line 523 of file cm-x2xx.c.