Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
setup-r8a7740.c File Reference
#include <linux/delay.h>
#include <linux/dma-mapping.h>
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/io.h>
#include <linux/platform_device.h>
#include <linux/of_platform.h>
#include <linux/serial_sci.h>
#include <linux/sh_dma.h>
#include <linux/sh_timer.h>
#include <mach/dma-register.h>
#include <mach/r8a7740.h>
#include <mach/pm-rmobile.h>
#include <mach/common.h>
#include <mach/irqs.h>
#include <asm/mach-types.h>
#include <asm/mach/map.h>
#include <asm/mach/arch.h>
#include <asm/mach/time.h>

Go to the source code of this file.

Macros

#define DMA_CHANNEL(a, b, c)
 
#define MEBUFCNTR   0xFE950098
 
#define ICCR   0x0004
 
#define ICSTART   0x0070
 
#define i2c_read(reg, offset)   ioread8(reg + offset)
 
#define i2c_write(reg, offset, data)   iowrite8(data, reg + offset)
 

Functions

void __init r8a7740_map_io (void)
 
void r8a7740_meram_workaround (void)
 
void __init r8a7740_add_standard_devices (void)
 
void __init r8a7740_add_early_devices (void)
 

Macro Definition Documentation

#define DMA_CHANNEL (   a,
  b,
  c 
)
Value:
{ \
.offset = a, \
.dmars = b, \
.dmars_bit = c, \
.chclr_offset = (0x220 - 0x20) + a \
}

Definition at line 334 of file setup-r8a7740.c.

#define i2c_read (   reg,
  offset 
)    ioread8(reg + offset)

Definition at line 623 of file setup-r8a7740.c.

#define i2c_write (   reg,
  offset,
  data 
)    iowrite8(data, reg + offset)

Definition at line 624 of file setup-r8a7740.c.

#define ICCR   0x0004

Definition at line 620 of file setup-r8a7740.c.

#define ICSTART   0x0070

Definition at line 621 of file setup-r8a7740.c.

#define MEBUFCNTR   0xFE950098

Definition at line 608 of file setup-r8a7740.c.

Function Documentation

void __init r8a7740_add_early_devices ( void  )

Definition at line 704 of file setup-r8a7740.c.

void __init r8a7740_add_standard_devices ( void  )

Definition at line 670 of file setup-r8a7740.c.

void __init r8a7740_map_io ( void  )

Definition at line 66 of file setup-r8a7740.c.

void r8a7740_meram_workaround ( void  )

Definition at line 609 of file setup-r8a7740.c.