Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
v2m.c File Reference
#include <linux/device.h>
#include <linux/amba/bus.h>
#include <linux/amba/mmci.h>
#include <linux/io.h>
#include <linux/smp.h>
#include <linux/init.h>
#include <linux/of_address.h>
#include <linux/of_fdt.h>
#include <linux/of_irq.h>
#include <linux/of_platform.h>
#include <linux/platform_device.h>
#include <linux/ata_platform.h>
#include <linux/smsc911x.h>
#include <linux/spinlock.h>
#include <linux/usb/isp1760.h>
#include <linux/clkdev.h>
#include <linux/clk-provider.h>
#include <linux/mtd/physmap.h>
#include <linux/regulator/fixed.h>
#include <linux/regulator/machine.h>
#include <asm/arch_timer.h>
#include <asm/mach-types.h>
#include <asm/sizes.h>
#include <asm/smp_twd.h>
#include <asm/mach/arch.h>
#include <asm/mach/map.h>
#include <asm/mach/time.h>
#include <asm/hardware/arm_timer.h>
#include <asm/hardware/cache-l2x0.h>
#include <asm/hardware/gic.h>
#include <asm/hardware/timer-sp.h>
#include <asm/hardware/sp810.h>
#include <mach/ct-ca9x4.h>
#include <mach/motherboard.h>
#include <plat/sched_clock.h>
#include <plat/platsmp.h>
#include "core.h"

Go to the source code of this file.

Macros

#define V2M_PA_CS0   0x40000000
 
#define V2M_PA_CS1   0x44000000
 
#define V2M_PA_CS2   0x48000000
 
#define V2M_PA_CS3   0x4c000000
 
#define V2M_PA_CS7   0x10000000
 

Functions

int v2m_cfg_write (u32 devfn, u32 data)
 
int v2m_cfg_read (u32 devfn, u32 *data)
 
void __init v2m_flags_set (u32 data)
 
int v2m_get_master_site (void)
 
struct clk *__init v2m_osc_register (const char *name, struct v2m_osc *osc)
 
void __init v2m_dt_map_io (void)
 
void __init v2m_dt_init_early (void)
 

Variables

struct ct_descct_desc
 
 atag_offset = 0x100
 
 smp = smp_ops(vexpress_smp_ops)
 
 map_io = v2m_map_io
 
 init_early = v2m_init_early
 
 init_irq = v2m_init_irq
 
 timer = &v2m_timer
 
 handle_irq = gic_handle_irq
 
 init_machine = v2m_init
 
 restart = v2m_restart
 
 dt_compat = v2m_dt_match
 

Macro Definition Documentation

#define V2M_PA_CS0   0x40000000

Definition at line 46 of file v2m.c.

#define V2M_PA_CS1   0x44000000

Definition at line 47 of file v2m.c.

#define V2M_PA_CS2   0x48000000

Definition at line 48 of file v2m.c.

#define V2M_PA_CS3   0x4c000000

Definition at line 49 of file v2m.c.

#define V2M_PA_CS7   0x10000000

Definition at line 50 of file v2m.c.

Function Documentation

int v2m_cfg_read ( u32  devfn,
u32 data 
)

Definition at line 116 of file v2m.c.

int v2m_cfg_write ( u32  devfn,
u32  data 
)

Definition at line 92 of file v2m.c.

void __init v2m_dt_init_early ( void  )

Definition at line 581 of file v2m.c.

void __init v2m_dt_map_io ( void  )

Definition at line 565 of file v2m.c.

void __init v2m_flags_set ( u32  data)

Definition at line 139 of file v2m.c.

int v2m_get_master_site ( void  )

Definition at line 145 of file v2m.c.

struct clk* __init v2m_osc_register ( const char name,
struct v2m_osc osc 
)
read

Definition at line 368 of file v2m.c.

Variable Documentation

atag_offset = 0x100

Definition at line 534 of file v2m.c.

Definition at line 471 of file v2m.c.

dt_compat = v2m_dt_match

Definition at line 667 of file v2m.c.

handle_irq = gic_handle_irq

Definition at line 540 of file v2m.c.

init_early = v2m_init_early

Definition at line 537 of file v2m.c.

init_irq = v2m_init_irq

Definition at line 538 of file v2m.c.

init_machine = v2m_init

Definition at line 541 of file v2m.c.

map_io = v2m_map_io

Definition at line 536 of file v2m.c.

restart = v2m_restart

Definition at line 542 of file v2m.c.

Definition at line 535 of file v2m.c.

timer = &v2m_timer

Definition at line 539 of file v2m.c.