Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
spear13xx.c File Reference
#include <linux/amba/pl022.h>
#include <linux/clk.h>
#include <linux/dw_dmac.h>
#include <linux/err.h>
#include <linux/of_irq.h>
#include <asm/hardware/cache-l2x0.h>
#include <asm/hardware/gic.h>
#include <asm/mach/map.h>
#include <asm/smp_twd.h>
#include <mach/dma.h>
#include <mach/generic.h>
#include <mach/spear.h>

Go to the source code of this file.

Macros

#define pr_fmt(fmt)   "SPEAr13xx: " fmt
 

Functions

bool dw_dma_filter (struct dma_chan *chan, void *slave)
 
void __init spear13xx_l2x0_init (void)
 
void __init spear13xx_map_io (void)
 
void __init spear13xx_dt_init_irq (void)
 

Variables

struct pl022_ssp_controller pl022_plat_data
 
struct dw_dma_slave cf_dma_priv
 
struct dw_dma_platform_data dmac_plat_data
 
struct map_desc spear13xx_io_desc[] __initdata
 
struct sys_timer spear13xx_timer
 

Macro Definition Documentation

#define pr_fmt (   fmt)    "SPEAr13xx: " fmt

Definition at line 14 of file spear13xx.c.

Function Documentation

bool dw_dma_filter ( struct dma_chan chan,
void slave 
)

Definition at line 30 of file spear13xx.c.

void __init spear13xx_dt_init_irq ( void  )

Definition at line 197 of file spear13xx.c.

void __init spear13xx_l2x0_init ( void  )

Definition at line 86 of file spear13xx.c.

void __init spear13xx_map_io ( void  )

Definition at line 143 of file spear13xx.c.

Variable Documentation

struct map_desc spear13xx_io_desc [] __initdata
Initial value:
= {
{
.virtual = (unsigned long)VA_PERIP_GRP2_BASE,
.length = SZ_16M,
.type = MT_DEVICE
}, {
.virtual = (unsigned long)VA_PERIP_GRP1_BASE,
.length = SZ_16M,
.type = MT_DEVICE
}, {
.virtual = (unsigned long)VA_A9SM_AND_MPMC_BASE,
.length = SZ_16M,
.type = MT_DEVICE
}, {
.virtual = (unsigned long)VA_L2CC_BASE,
.length = SZ_4K,
.type = MT_DEVICE
},
}

Definition at line 118 of file spear13xx.c.

struct dw_dma_slave cf_dma_priv
Initial value:
= {
.cfg_hi = 0,
.cfg_lo = 0,
.src_master = 0,
.dst_master = 0,
}

Definition at line 69 of file spear13xx.c.

struct dw_dma_platform_data dmac_plat_data
Initial value:
= {
.nr_channels = 8,
.chan_allocation_order = CHAN_ALLOCATION_DESCENDING,
.chan_priority = CHAN_PRIORITY_DESCENDING,
.block_size = 4095U,
.nr_masters = 2,
.data_width = { 3, 3, 0, 0 },
}

Definition at line 77 of file spear13xx.c.

struct pl022_ssp_controller pl022_plat_data
Initial value:
= {
.bus_id = 0,
.enable_dma = 1,
.dma_filter = dw_dma_filter,
.dma_rx_param = &ssp_dma_param[1],
.dma_tx_param = &ssp_dma_param[0],
.num_chipselect = 3,
}

Definition at line 59 of file spear13xx.c.

struct sys_timer spear13xx_timer
Initial value:
= {
.init = spear13xx_timer_init,
}

Definition at line 188 of file spear13xx.c.