Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Variables
hx4700.c File Reference
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/platform_device.h>
#include <linux/delay.h>
#include <linux/fb.h>
#include <linux/gpio.h>
#include <linux/gpio_keys.h>
#include <linux/input.h>
#include <linux/input/navpoint.h>
#include <linux/lcd.h>
#include <linux/mfd/htc-egpio.h>
#include <linux/mfd/asic3.h>
#include <linux/mtd/physmap.h>
#include <linux/pda_power.h>
#include <linux/pwm.h>
#include <linux/pwm_backlight.h>
#include <linux/regulator/driver.h>
#include <linux/regulator/gpio-regulator.h>
#include <linux/regulator/machine.h>
#include <linux/regulator/max1586.h>
#include <linux/spi/ads7846.h>
#include <linux/spi/spi.h>
#include <linux/spi/pxa2xx_spi.h>
#include <linux/usb/gpio_vbus.h>
#include <linux/i2c/pxa-i2c.h>
#include <mach/hardware.h>
#include <asm/mach-types.h>
#include <asm/mach/arch.h>
#include <mach/pxa27x.h>
#include <mach/hx4700.h>
#include <linux/platform_data/irda-pxaficp.h>
#include <sound/ak4641.h>
#include <video/platform_lcd.h>
#include <video/w100fb.h>
#include "devices.h"
#include "generic.h"

Go to the source code of this file.

Macros

#define ATI_W3220_PHYS   PXA_CS2_PHYS /* ATI Imageon 3220 Graphics */
 
#define ASIC3_PHYS   PXA_CS3_PHYS
 
#define ASIC3_SD_PHYS   (PXA_CS3_PHYS + 0x02000000)
 
#define INIT_KEY(_code, _gpio, _active_low, _desc)
 
#define w3220_lcd_resume   NULL
 
#define w3220_lcd_suspend   NULL
 

Variables

struct w100_mem_info w3220_mem_info
 
struct w100_bm_mem_info w3220_bm_mem_info
 
 atag_offset = 0x100
 
 map_io = pxa27x_map_io
 
 nr_irqs = HX4700_NR_IRQS
 
 init_irq = pxa27x_init_irq
 
 handle_irq = pxa27x_handle_irq
 
 init_machine = hx4700_init
 
 timer = &pxa_timer
 
 restart = pxa_restart
 

Macro Definition Documentation

#define ASIC3_PHYS   PXA_CS3_PHYS

Definition at line 61 of file hx4700.c.

#define ASIC3_SD_PHYS   (PXA_CS3_PHYS + 0x02000000)

Definition at line 62 of file hx4700.c.

#define ATI_W3220_PHYS   PXA_CS2_PHYS /* ATI Imageon 3220 Graphics */

Definition at line 60 of file hx4700.c.

#define INIT_KEY (   _code,
  _gpio,
  _active_low,
  _desc 
)
Value:
{ \
.code = KEY_##_code, \
.gpio = _gpio, \
.active_low = _active_low, \
.desc = _desc, \
.type = EV_KEY, \
.wakeup = 1, \
}

Definition at line 170 of file hx4700.c.

#define w3220_lcd_resume   NULL

Definition at line 415 of file hx4700.c.

#define w3220_lcd_suspend   NULL

Definition at line 416 of file hx4700.c.

Variable Documentation

atag_offset = 0x100

Definition at line 897 of file hx4700.c.

handle_irq = pxa27x_handle_irq

Definition at line 901 of file hx4700.c.

init_irq = pxa27x_init_irq

Definition at line 900 of file hx4700.c.

init_machine = hx4700_init

Definition at line 902 of file hx4700.c.

map_io = pxa27x_map_io

Definition at line 898 of file hx4700.c.

nr_irqs = HX4700_NR_IRQS

Definition at line 899 of file hx4700.c.

restart = pxa_restart

Definition at line 904 of file hx4700.c.

Definition at line 903 of file hx4700.c.

struct w100_bm_mem_info w3220_bm_mem_info
Initial value:
= {
.ext_mem_bw = 0x50413e01,
.offset = 0,
.ext_timing_ctl = 0x00043f7f,
.ext_cntl = 0x00000010,
.mode_reg = 0x00250000,
.io_cntl = 0x0fff0000,
.config = 0x08301480,
}

Definition at line 490 of file hx4700.c.

struct w100_mem_info w3220_mem_info
Initial value:
= {
.ext_cntl = 0x09640011,
.sdram_mode_reg = 0x00600021,
.ext_timing_cntl = 0x1a001545,
.io_cntl = 0x7ddd7333,
.size = 0x1fffff,
}

Definition at line 482 of file hx4700.c.