Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
mach-mini2440.c File Reference
#include <linux/kernel.h>
#include <linux/types.h>
#include <linux/interrupt.h>
#include <linux/list.h>
#include <linux/timer.h>
#include <linux/init.h>
#include <linux/gpio.h>
#include <linux/input.h>
#include <linux/io.h>
#include <linux/serial_core.h>
#include <linux/dm9000.h>
#include <linux/i2c/at24.h>
#include <linux/platform_device.h>
#include <linux/gpio_keys.h>
#include <linux/i2c.h>
#include <linux/mmc/host.h>
#include <asm/mach/arch.h>
#include <asm/mach/map.h>
#include <mach/hardware.h>
#include <mach/fb.h>
#include <asm/mach-types.h>
#include <plat/regs-serial.h>
#include <mach/regs-gpio.h>
#include <linux/platform_data/leds-s3c24xx.h>
#include <mach/regs-mem.h>
#include <mach/regs-lcd.h>
#include <mach/irqs.h>
#include <linux/platform_data/mtd-nand-s3c2410.h>
#include <linux/platform_data/i2c-s3c2410.h>
#include <linux/platform_data/mmc-s3cmci.h>
#include <linux/platform_data/usb-s3c2410_udc.h>
#include <linux/mtd/mtd.h>
#include <linux/mtd/nand.h>
#include <linux/mtd/nand_ecc.h>
#include <linux/mtd/partitions.h>
#include <plat/gpio-cfg.h>
#include <plat/clock.h>
#include <plat/devs.h>
#include <plat/cpu.h>
#include <sound/s3c24xx_uda134x.h>
#include "common.h"

Go to the source code of this file.

Data Structures

struct  mini2440_features_t
 

Macros

#define MACH_MINI2440_DM9K_BASE   (S3C2410_CS4 + 0x300)
 
#define UCON   S3C2410_UCON_DEFAULT
 
#define ULCON   S3C2410_LCON_CS8 | S3C2410_LCON_PNONE | S3C2410_LCON_STOPB
 
#define UFCON   S3C2410_UFCON_RXTRIG8 | S3C2410_UFCON_FIFOMODE
 
#define _LCD_DECLARE(_clock, _xres, margin_left, margin_right, hsync, _yres, margin_top, margin_bottom, vsync, refresh)
 
#define S3C2410_GPCCON_MASK(x)   (3 << ((x) * 2))
 
#define S3C2410_GPDCON_MASK(x)   (3 << ((x) * 2))
 
#define FEATURE_SCREEN   (1 << 0)
 
#define FEATURE_BACKLIGHT   (1 << 1)
 
#define FEATURE_TOUCH   (1 << 2)
 
#define FEATURE_CAMERA   (1 << 3)
 

Functions

 __setup ("mini2440=", mini2440_features_setup)
 

Variables

 atag_offset = 0x100
 
 map_io = mini2440_map_io
 
 init_machine = mini2440_init
 
 init_irq = s3c24xx_init_irq
 
 timer = &s3c24xx_timer
 
 restart = s3c244x_restart
 

Macro Definition Documentation

#define _LCD_DECLARE (   _clock,
  _xres,
  margin_left,
  margin_right,
  hsync,
  _yres,
  margin_top,
  margin_bottom,
  vsync,
  refresh 
)
Value:
.width = _xres, \
.xres = _xres, \
.height = _yres, \
.yres = _yres, \
.left_margin = margin_left, \
.right_margin = margin_right, \
.upper_margin = margin_top, \
.lower_margin = margin_bottom, \
.hsync_len = hsync, \
.vsync_len = vsync, \
.pixclock = ((_clock*100000000000LL) / \
((refresh) * \
(hsync + margin_left + _xres + margin_right) * \
(vsync + margin_top + _yres + margin_bottom))), \
.bpp = 16,\
S3C2410_LCDCON1_TFT)

Definition at line 112 of file mach-mini2440.c.

#define FEATURE_BACKLIGHT   (1 << 1)

Definition at line 553 of file mach-mini2440.c.

#define FEATURE_CAMERA   (1 << 3)

Definition at line 555 of file mach-mini2440.c.

#define FEATURE_SCREEN   (1 << 0)

Definition at line 552 of file mach-mini2440.c.

#define FEATURE_TOUCH   (1 << 2)

Definition at line 554 of file mach-mini2440.c.

#define MACH_MINI2440_DM9K_BASE   (S3C2410_CS4 + 0x300)

Definition at line 65 of file mach-mini2440.c.

#define S3C2410_GPCCON_MASK (   x)    (3 << ((x) * 2))

Definition at line 194 of file mach-mini2440.c.

#define S3C2410_GPDCON_MASK (   x)    (3 << ((x) * 2))

Definition at line 195 of file mach-mini2440.c.

#define UCON   S3C2410_UCON_DEFAULT

Definition at line 71 of file mach-mini2440.c.

Definition at line 73 of file mach-mini2440.c.

Definition at line 72 of file mach-mini2440.c.

Function Documentation

__setup ( )

Variable Documentation

atag_offset = 0x100

Definition at line 688 of file mach-mini2440.c.

init_irq = s3c24xx_init_irq

Definition at line 691 of file mach-mini2440.c.

init_machine = mini2440_init

Definition at line 690 of file mach-mini2440.c.

map_io = mini2440_map_io

Definition at line 689 of file mach-mini2440.c.

restart = s3c244x_restart

Definition at line 693 of file mach-mini2440.c.

Definition at line 692 of file mach-mini2440.c.