Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Enumerations | Functions
setup-sh7724.c File Reference
#include <linux/platform_device.h>
#include <linux/init.h>
#include <linux/serial.h>
#include <linux/mm.h>
#include <linux/serial_sci.h>
#include <linux/uio_driver.h>
#include <linux/sh_dma.h>
#include <linux/sh_timer.h>
#include <linux/sh_intc.h>
#include <linux/io.h>
#include <linux/notifier.h>
#include <asm/suspend.h>
#include <asm/clock.h>
#include <asm/mmzone.h>
#include <cpu/dma-register.h>
#include <cpu/sh7724.h>

Go to the source code of this file.

Macros

#define RAMCR_CACHE_L2FC   0x0002
 
#define RAMCR_CACHE_L2E   0x0001
 
#define L2_CACHE_ENABLE   (RAMCR_CACHE_L2E|RAMCR_CACHE_L2FC)
 

Enumerations

enum  {
  UNUSED = 0, ENABLED, DISABLED, IRQ0,
  IRQ1, IRQ2, IRQ3, IRQ4,
  IRQ5, IRQ6, IRQ7, HUDI,
  DMAC1A_DEI0, DMAC1A_DEI1, DMAC1A_DEI2, DMAC1A_DEI3,
  _2DG_TRI, _2DG_INI, _2DG_CEI, DMAC0A_DEI0,
  DMAC0A_DEI1, DMAC0A_DEI2, DMAC0A_DEI3, VIO_CEU0,
  VIO_BEU0, VIO_VEU1, VIO_VOU, SCIFA3,
  VPU, TPU, CEU1, BEU1,
  USB0, USB1, ATAPI, RTC_ATI,
  RTC_PRI, RTC_CUI, DMAC1B_DEI4, DMAC1B_DEI5,
  DMAC1B_DADERR, DMAC0B_DEI4, DMAC0B_DEI5, DMAC0B_DADERR,
  KEYSC, SCIF_SCIF0, SCIF_SCIF1, SCIF_SCIF2,
  VEU0, MSIOF_MSIOFI0, MSIOF_MSIOFI1, SPU_SPUI0,
  SPU_SPUI1, SCIFA4, ICB, ETHI,
  I2C1_ALI, I2C1_TACKI, I2C1_WAITI, I2C1_DTEI,
  I2C0_ALI, I2C0_TACKI, I2C0_WAITI, I2C0_DTEI,
  CMT, TSIF, FSI, SCIFA5,
  TMU0_TUNI0, TMU0_TUNI1, TMU0_TUNI2, IRDA,
  JPU, _2DDMAC, MMC_MMC2I, MMC_MMC3I,
  LCDC, TMU1_TUNI0, TMU1_TUNI1, TMU1_TUNI2,
  DMAC1A, _2DG, DMAC0A, VIO,
  USB, RTC, DMAC1B, DMAC0B,
  I2C0, I2C1, SDHI0, SDHI1,
  SPU, MMCIF
}
 

Functions

 arch_initcall (sh7724_devices_setup)
 
void __init plat_early_device_setup (void)
 
void l2_cache_init (void)
 
void __init plat_irq_setup (void)
 
 arch_initcall (sh7724_sleep_setup)
 

Macro Definition Documentation

#define L2_CACHE_ENABLE   (RAMCR_CACHE_L2E|RAMCR_CACHE_L2FC)

Definition at line 971 of file setup-sh7724.c.

#define RAMCR_CACHE_L2E   0x0001

Definition at line 970 of file setup-sh7724.c.

#define RAMCR_CACHE_L2FC   0x0002

Definition at line 969 of file setup-sh7724.c.

Enumeration Type Documentation

anonymous enum
Enumerator:
UNUSED 
ENABLED 
DISABLED 
IRQ0 
IRQ1 
IRQ2 
IRQ3 
IRQ4 
IRQ5 
IRQ6 
IRQ7 
HUDI 
DMAC1A_DEI0 
DMAC1A_DEI1 
DMAC1A_DEI2 
DMAC1A_DEI3 
_2DG_TRI 
_2DG_INI 
_2DG_CEI 
DMAC0A_DEI0 
DMAC0A_DEI1 
DMAC0A_DEI2 
DMAC0A_DEI3 
VIO_CEU0 
VIO_BEU0 
VIO_VEU1 
VIO_VOU 
SCIFA3 
VPU 
TPU 
CEU1 
BEU1 
USB0 
USB1 
ATAPI 
RTC_ATI 
RTC_PRI 
RTC_CUI 
DMAC1B_DEI4 
DMAC1B_DEI5 
DMAC1B_DADERR 
DMAC0B_DEI4 
DMAC0B_DEI5 
DMAC0B_DADERR 
KEYSC 
SCIF_SCIF0 
SCIF_SCIF1 
SCIF_SCIF2 
VEU0 
MSIOF_MSIOFI0 
MSIOF_MSIOFI1 
SPU_SPUI0 
SPU_SPUI1 
SCIFA4 
ICB 
ETHI 
I2C1_ALI 
I2C1_TACKI 
I2C1_WAITI 
I2C1_DTEI 
I2C0_ALI 
I2C0_TACKI 
I2C0_WAITI 
I2C0_DTEI 
CMT 
TSIF 
FSI 
SCIFA5 
TMU0_TUNI0 
TMU0_TUNI1 
TMU0_TUNI2 
IRDA 
JPU 
_2DDMAC 
MMC_MMC2I 
MMC_MMC3I 
LCDC 
TMU1_TUNI0 
TMU1_TUNI1 
TMU1_TUNI2 
DMAC1A 
_2DG 
DMAC0A 
VIO 
USB 
RTC 
DMAC1B 
DMAC0B 
I2C0 
I2C1 
SDHI0 
SDHI1 
SPU 
MMCIF 

Definition at line 979 of file setup-sh7724.c.

Function Documentation

arch_initcall ( sh7724_devices_setup  )
arch_initcall ( sh7724_sleep_setup  )
void l2_cache_init ( void  )

Definition at line 973 of file setup-sh7724.c.

void __init plat_early_device_setup ( void  )

Definition at line 963 of file setup-sh7724.c.

void __init plat_irq_setup ( void  )

Definition at line 1226 of file setup-sh7724.c.

Variable Documentation

unsigned long cs0bcr

Definition at line 1234 of file setup-sh7724.c.

unsigned long cs4bcr

Definition at line 1235 of file setup-sh7724.c.

unsigned long cs4wcr

Definition at line 1240 of file setup-sh7724.c.

unsigned long cs5abcr

Definition at line 1236 of file setup-sh7724.c.

unsigned long cs5awcr

Definition at line 1241 of file setup-sh7724.c.

unsigned long cs5bbcr

Definition at line 1237 of file setup-sh7724.c.

unsigned long cs5bwcr

Definition at line 1242 of file setup-sh7724.c.

unsigned long cs6abcr

Definition at line 1238 of file setup-sh7724.c.

unsigned long cs6awcr

Definition at line 1243 of file setup-sh7724.c.

unsigned long cs6bbcr

Definition at line 1239 of file setup-sh7724.c.

unsigned long cs6bwcr

Definition at line 1244 of file setup-sh7724.c.

unsigned char imr0

Definition at line 1258 of file setup-sh7724.c.

unsigned char imr1

Definition at line 1259 of file setup-sh7724.c.

unsigned char imr10

Definition at line 1268 of file setup-sh7724.c.

unsigned char imr11

Definition at line 1269 of file setup-sh7724.c.

unsigned char imr12

Definition at line 1270 of file setup-sh7724.c.

unsigned char imr2

Definition at line 1260 of file setup-sh7724.c.

unsigned char imr3

Definition at line 1261 of file setup-sh7724.c.

unsigned char imr4

Definition at line 1262 of file setup-sh7724.c.

unsigned char imr5

Definition at line 1263 of file setup-sh7724.c.

unsigned char imr6

Definition at line 1264 of file setup-sh7724.c.

unsigned char imr7

Definition at line 1265 of file setup-sh7724.c.

unsigned char imr8

Definition at line 1266 of file setup-sh7724.c.

unsigned char imr9

Definition at line 1267 of file setup-sh7724.c.

unsigned short ipra

Definition at line 1246 of file setup-sh7724.c.

unsigned short iprb

Definition at line 1247 of file setup-sh7724.c.

unsigned short iprc

Definition at line 1248 of file setup-sh7724.c.

unsigned short iprd

Definition at line 1249 of file setup-sh7724.c.

unsigned short ipre

Definition at line 1250 of file setup-sh7724.c.

unsigned short iprf

Definition at line 1251 of file setup-sh7724.c.

unsigned short iprg

Definition at line 1252 of file setup-sh7724.c.

unsigned short iprh

Definition at line 1253 of file setup-sh7724.c.

unsigned short ipri

Definition at line 1254 of file setup-sh7724.c.

unsigned short iprj

Definition at line 1255 of file setup-sh7724.c.

unsigned short iprk

Definition at line 1256 of file setup-sh7724.c.

unsigned short iprl

Definition at line 1257 of file setup-sh7724.c.

unsigned long irdaclk

Definition at line 1275 of file setup-sh7724.c.

unsigned long mmselr

Definition at line 1233 of file setup-sh7724.c.

unsigned short rwtcnt

Definition at line 1272 of file setup-sh7724.c.

unsigned short rwtcsr

Definition at line 1273 of file setup-sh7724.c.

unsigned long spuclk

Definition at line 1276 of file setup-sh7724.c.