Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
mach-mx27ads.c File Reference
#include <linux/gpio.h>
#include <linux/platform_device.h>
#include <linux/mtd/mtd.h>
#include <linux/mtd/map.h>
#include <linux/mtd/partitions.h>
#include <linux/mtd/physmap.h>
#include <linux/i2c.h>
#include <linux/irq.h>
#include <mach/common.h>
#include <mach/hardware.h>
#include <asm/mach-types.h>
#include <asm/mach/arch.h>
#include <asm/mach/time.h>
#include <asm/mach/map.h>
#include <mach/iomux-mx27.h>
#include "devices-imx27.h"

Go to the source code of this file.

Macros

#define PBC_BASE_ADDRESS   0xf4300000
 
#define PBC_REG_ADDR(offset)
 
#define PBC_ADDR_SH   0
 
#define PBC_VERSION_REG   PBC_REG_ADDR(0x00000 >> PBC_ADDR_SH)
 
#define PBC_BCTRL1_SET_REG   PBC_REG_ADDR(0x00008 >> PBC_ADDR_SH)
 
#define PBC_BCTRL1_CLEAR_REG   PBC_REG_ADDR(0x0000C >> PBC_ADDR_SH)
 
#define PBC_BCTRL1_LCDON   0x0800 /* Enable the LCD */
 
#define CKIH_27MHZ_BIT_SET   (1 << 3)
 

Functions

void lcd_power (int on)
 

Variables

 atag_offset = 0x100
 
 map_io = mx27ads_map_io
 
 init_early = imx27_init_early
 
 init_irq = mx27_init_irq
 
 handle_irq = imx27_handle_irq
 
 timer = &mx27ads_timer
 
 init_machine = mx27ads_board_init
 
 restart = mxc_restart
 

Macro Definition Documentation

#define CKIH_27MHZ_BIT_SET   (1 << 3)

Definition at line 62 of file mach-mx27ads.c.

#define PBC_ADDR_SH   0

Definition at line 42 of file mach-mx27ads.c.

#define PBC_BASE_ADDRESS   0xf4300000

Definition at line 37 of file mach-mx27ads.c.

#define PBC_BCTRL1_CLEAR_REG   PBC_REG_ADDR(0x0000C >> PBC_ADDR_SH)

Definition at line 56 of file mach-mx27ads.c.

#define PBC_BCTRL1_LCDON   0x0800 /* Enable the LCD */

Definition at line 59 of file mach-mx27ads.c.

#define PBC_BCTRL1_SET_REG   PBC_REG_ADDR(0x00008 >> PBC_ADDR_SH)

Definition at line 52 of file mach-mx27ads.c.

#define PBC_REG_ADDR (   offset)
Value:

Definition at line 38 of file mach-mx27ads.c.

#define PBC_VERSION_REG   PBC_REG_ADDR(0x00000 >> PBC_ADDR_SH)

Definition at line 48 of file mach-mx27ads.c.

Function Documentation

void lcd_power ( int  on)

Definition at line 198 of file mach-mx27ads.c.

Variable Documentation

atag_offset = 0x100

Definition at line 347 of file mach-mx27ads.c.

handle_irq = imx27_handle_irq

Definition at line 351 of file mach-mx27ads.c.

init_early = imx27_init_early

Definition at line 349 of file mach-mx27ads.c.

init_irq = mx27_init_irq

Definition at line 350 of file mach-mx27ads.c.

init_machine = mx27ads_board_init

Definition at line 353 of file mach-mx27ads.c.

map_io = mx27ads_map_io

Definition at line 348 of file mach-mx27ads.c.

restart = mxc_restart

Definition at line 354 of file mach-mx27ads.c.

timer = &mx27ads_timer

Definition at line 352 of file mach-mx27ads.c.