Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
common.c File Reference
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/platform_device.h>
#include <linux/serial_8250.h>
#include <linux/ata_platform.h>
#include <linux/mtd/nand.h>
#include <linux/dma-mapping.h>
#include <linux/clk-provider.h>
#include <linux/spinlock.h>
#include <linux/mv643xx_i2c.h>
#include <net/dsa.h>
#include <asm/page.h>
#include <asm/timex.h>
#include <asm/kexec.h>
#include <asm/mach/map.h>
#include <asm/mach/time.h>
#include <mach/kirkwood.h>
#include <mach/bridge-regs.h>
#include <linux/platform_data/asoc-kirkwood.h>
#include <plat/cache-feroceon-l2.h>
#include <linux/platform_data/mmc-mvsdio.h>
#include <linux/platform_data/mtd-orion_nand.h>
#include <linux/platform_data/usb-ehci-orion.h>
#include <plat/common.h>
#include <plat/time.h>
#include <plat/addr-map.h>
#include <linux/platform_data/dma-mv_xor.h>
#include "common.h"

Go to the source code of this file.

Data Structures

struct  clk_gate_fn
 

Macros

#define to_clk_gate_fn(_gate)   container_of(_gate, struct clk_gate_fn, gate)
 
#define to_clk_gate(_hw)   container_of(_hw, struct clk_gate, hw)
 

Functions

void __init kirkwood_map_io (void)
 
void __init kirkwood_clk_init (void)
 
void __init kirkwood_ehci_init (void)
 
void __init kirkwood_ge00_init (struct mv643xx_eth_platform_data *eth_data)
 
void __init kirkwood_ge01_init (struct mv643xx_eth_platform_data *eth_data)
 
void __init kirkwood_ge00_switch_init (struct dsa_platform_data *d, int irq)
 
void __init kirkwood_nand_init (struct mtd_partition *parts, int nr_parts, int chip_delay)
 
void __init kirkwood_nand_init_rnb (struct mtd_partition *parts, int nr_parts, int(*dev_ready)(struct mtd_info *))
 
void __init kirkwood_sata_init (struct mv_sata_platform_data *sata_data)
 
void __init kirkwood_sdio_init (struct mvsdio_platform_data *mvsdio_data)
 
void __init kirkwood_spi_init ()
 
void __init kirkwood_i2c_init (void)
 
void __init kirkwood_uart0_init (void)
 
void __init kirkwood_uart1_init (void)
 
void __init kirkwood_crypto_init (void)
 
void __init kirkwood_xor0_init (void)
 
void __init kirkwood_xor1_init (void)
 
void __init kirkwood_wdt_init (void)
 
void __init kirkwood_init_early (void)
 
void __init kirkwood_audio_init (void)
 
char *__init kirkwood_id (void)
 
void __init kirkwood_l2_init (void)
 
void __init kirkwood_init (void)
 
void kirkwood_restart (char mode, const char *cmd)
 

Variables

int kirkwood_tclk
 
struct sys_timer kirkwood_timer
 

Macro Definition Documentation

#define to_clk_gate (   _hw)    container_of(_hw, struct clk_gate, hw)

Definition at line 127 of file common.c.

#define to_clk_gate_fn (   _gate)    container_of(_gate, struct clk_gate_fn, gate)

Definition at line 126 of file common.c.

Function Documentation

void __init kirkwood_audio_init ( void  )

Definition at line 579 of file common.c.

void __init kirkwood_clk_init ( void  )

Definition at line 223 of file common.c.

void __init kirkwood_crypto_init ( void  )

Definition at line 466 of file common.c.

void __init kirkwood_ehci_init ( void  )

Definition at line 279 of file common.c.

void __init kirkwood_ge00_init ( struct mv643xx_eth_platform_data eth_data)

Definition at line 288 of file common.c.

void __init kirkwood_ge00_switch_init ( struct dsa_platform_data d,
int  irq 
)

Definition at line 314 of file common.c.

void __init kirkwood_ge01_init ( struct mv643xx_eth_platform_data eth_data)

Definition at line 302 of file common.c.

void __init kirkwood_i2c_init ( void  )

Definition at line 437 of file common.c.

char* __init kirkwood_id ( void  )

Definition at line 591 of file common.c.

void __init kirkwood_init ( void  )

Definition at line 647 of file common.c.

void __init kirkwood_init_early ( void  )

Definition at line 505 of file common.c.

void __init kirkwood_l2_init ( void  )

Definition at line 634 of file common.c.

void __init kirkwood_map_io ( void  )

Definition at line 52 of file common.c.

void __init kirkwood_nand_init ( struct mtd_partition parts,
int  nr_parts,
int  chip_delay 
)

Definition at line 346 of file common.c.

void __init kirkwood_nand_init_rnb ( struct mtd_partition parts,
int  nr_parts,
int(*)(struct mtd_info *)  dev_ready 
)

Definition at line 355 of file common.c.

void kirkwood_restart ( char  mode,
const char cmd 
)

Definition at line 679 of file common.c.

void __init kirkwood_sata_init ( struct mv_sata_platform_data sata_data)

Definition at line 376 of file common.c.

void __init kirkwood_sdio_init ( struct mvsdio_platform_data mvsdio_data)

Definition at line 411 of file common.c.

void __init kirkwood_spi_init ( void  )

Definition at line 428 of file common.c.

void __init kirkwood_uart0_init ( void  )

Definition at line 447 of file common.c.

void __init kirkwood_uart1_init ( void  )

Definition at line 457 of file common.c.

void __init kirkwood_wdt_init ( void  )

Definition at line 496 of file common.c.

void __init kirkwood_xor0_init ( void  )

Definition at line 476 of file common.c.

void __init kirkwood_xor1_init ( void  )

Definition at line 486 of file common.c.

Variable Documentation

int kirkwood_tclk

Definition at line 517 of file common.c.

struct sys_timer kirkwood_timer
Initial value:
= {
.init = kirkwood_timer_init,
}

Definition at line 540 of file common.c.