Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Variables
at91_ramc.h File Reference
#include <mach/at91rm9200_sdramc.h>
#include <mach/at91sam9_ddrsdr.h>
#include <mach/at91sam9_sdramc.h>

Go to the source code of this file.

Macros

#define at91_ramc_read(id, field)   __raw_readl(at91_ramc_base[id] + field)
 
#define at91_ramc_write(id, field, value)   __raw_writel(value, at91_ramc_base[id] + field)
 
#define AT91_MEMCTRL_MC   0
 
#define AT91_MEMCTRL_SDRAMC   1
 
#define AT91_MEMCTRL_DDRSDR   2
 

Variables

void __iomemat91_ramc_base []
 

Macro Definition Documentation

#define AT91_MEMCTRL_DDRSDR   2

Definition at line 26 of file at91_ramc.h.

#define AT91_MEMCTRL_MC   0

Definition at line 24 of file at91_ramc.h.

#define AT91_MEMCTRL_SDRAMC   1

Definition at line 25 of file at91_ramc.h.

#define at91_ramc_read (   id,
  field 
)    __raw_readl(at91_ramc_base[id] + field)

Definition at line 15 of file at91_ramc.h.

#define at91_ramc_write (   id,
  field,
  value 
)    __raw_writel(value, at91_ramc_base[id] + field)

Definition at line 18 of file at91_ramc.h.

Variable Documentation

void __iomem* at91_ramc_base[]

Definition at line 56 of file setup.c.