Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
common.c File Reference
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/platform_device.h>
#include <linux/dma-mapping.h>
#include <linux/serial_8250.h>
#include <linux/ata_platform.h>
#include <linux/clk.h>
#include <linux/clkdev.h>
#include <linux/mv643xx_eth.h>
#include <linux/mv643xx_i2c.h>
#include <net/dsa.h>
#include <linux/platform_data/dma-mv_xor.h>
#include <linux/platform_data/usb-ehci-orion.h>
#include <mach/bridge-regs.h>

Go to the source code of this file.

Functions

void __init orion_clkdev_add (const char *con_id, const char *dev_id, struct clk *clk)
 
void __init orion_clkdev_init (struct clk *tclk)
 
void __init orion_uart0_init (void __iomem *membase, resource_size_t mapbase, unsigned int irq, struct clk *clk)
 
void __init orion_uart1_init (void __iomem *membase, resource_size_t mapbase, unsigned int irq, struct clk *clk)
 
void __init orion_uart2_init (void __iomem *membase, resource_size_t mapbase, unsigned int irq, struct clk *clk)
 
void __init orion_uart3_init (void __iomem *membase, resource_size_t mapbase, unsigned int irq, struct clk *clk)
 
void __init orion_rtc_init (unsigned long mapbase, unsigned long irq)
 
void __init orion_ge00_init (struct mv643xx_eth_platform_data *eth_data, unsigned long mapbase, unsigned long irq, unsigned long irq_err, unsigned int tx_csum_limit)
 
void __init orion_ge01_init (struct mv643xx_eth_platform_data *eth_data, unsigned long mapbase, unsigned long irq, unsigned long irq_err, unsigned int tx_csum_limit)
 
void __init orion_ge10_init (struct mv643xx_eth_platform_data *eth_data, unsigned long mapbase, unsigned long irq, unsigned long irq_err)
 
void __init orion_ge11_init (struct mv643xx_eth_platform_data *eth_data, unsigned long mapbase, unsigned long irq, unsigned long irq_err)
 
void __init orion_ge00_switch_init (struct dsa_platform_data *d, int irq)
 
void __init orion_i2c_init (unsigned long mapbase, unsigned long irq, unsigned long freq_m)
 
void __init orion_i2c_1_init (unsigned long mapbase, unsigned long irq, unsigned long freq_m)
 
void __init orion_spi_init (unsigned long mapbase)
 
void __init orion_spi_1_init (unsigned long mapbase)
 
void __init orion_wdt_init (void)
 
void __init orion_xor_init_channels (struct mv_xor_platform_data *orion_xor0_data, struct platform_device *orion_xor0_channel, struct mv_xor_platform_data *orion_xor1_data, struct platform_device *orion_xor1_channel)
 
void __init orion_xor0_init (unsigned long mapbase_low, unsigned long mapbase_high, unsigned long irq_0, unsigned long irq_1)
 
void __init orion_xor1_init (unsigned long mapbase_low, unsigned long mapbase_high, unsigned long irq_0, unsigned long irq_1)
 
void __init orion_ehci_init (unsigned long mapbase, unsigned long irq, enum orion_ehci_phy_ver phy_version)
 
void __init orion_ehci_1_init (unsigned long mapbase, unsigned long irq)
 
void __init orion_ehci_2_init (unsigned long mapbase, unsigned long irq)
 
void __init orion_sata_init (struct mv_sata_platform_data *sata_data, unsigned long mapbase, unsigned long irq)
 
void __init orion_crypto_init (unsigned long mapbase, unsigned long srambase, unsigned long sram_size, unsigned long irq)
 

Variables

struct
mv643xx_eth_shared_platform_data 
orion_ge00_shared_data
 
struct
mv643xx_eth_shared_platform_data 
orion_ge01_shared_data
 
struct
mv643xx_eth_shared_platform_data 
orion_ge10_shared_data
 
struct
mv643xx_eth_shared_platform_data 
orion_ge11_shared_data
 

Function Documentation

void __init orion_clkdev_add ( const char con_id,
const char dev_id,
struct clk clk 
)

Definition at line 27 of file common.c.

void __init orion_clkdev_init ( struct clk tclk)

Definition at line 41 of file common.c.

void __init orion_crypto_init ( unsigned long  mapbase,
unsigned long  srambase,
unsigned long  sram_size,
unsigned long  irq 
)

Definition at line 937 of file common.c.

void __init orion_ehci_1_init ( unsigned long  mapbase,
unsigned long  irq 
)

Definition at line 855 of file common.c.

void __init orion_ehci_2_init ( unsigned long  mapbase,
unsigned long  irq 
)

Definition at line 879 of file common.c.

void __init orion_ehci_init ( unsigned long  mapbase,
unsigned long  irq,
enum orion_ehci_phy_ver  phy_version 
)

Definition at line 829 of file common.c.

void __init orion_ge00_init ( struct mv643xx_eth_platform_data eth_data,
unsigned long  mapbase,
unsigned long  irq,
unsigned long  irq_err,
unsigned int  tx_csum_limit 
)

Definition at line 291 of file common.c.

void __init orion_ge00_switch_init ( struct dsa_platform_data d,
int  irq 
)

Definition at line 481 of file common.c.

void __init orion_ge01_init ( struct mv643xx_eth_platform_data eth_data,
unsigned long  mapbase,
unsigned long  irq,
unsigned long  irq_err,
unsigned int  tx_csum_limit 
)

Definition at line 345 of file common.c.

void __init orion_ge10_init ( struct mv643xx_eth_platform_data eth_data,
unsigned long  mapbase,
unsigned long  irq,
unsigned long  irq_err 
)

Definition at line 399 of file common.c.

void __init orion_ge11_init ( struct mv643xx_eth_platform_data eth_data,
unsigned long  mapbase,
unsigned long  irq,
unsigned long  irq_err 
)

Definition at line 451 of file common.c.

void __init orion_i2c_1_init ( unsigned long  mapbase,
unsigned long  irq,
unsigned long  freq_m 
)

Definition at line 542 of file common.c.

void __init orion_i2c_init ( unsigned long  mapbase,
unsigned long  irq,
unsigned long  freq_m 
)

Definition at line 532 of file common.c.

void __init orion_rtc_init ( unsigned long  mapbase,
unsigned long  irq 
)

Definition at line 221 of file common.c.

void __init orion_sata_init ( struct mv_sata_platform_data sata_data,
unsigned long  mapbase,
unsigned long  irq 
)

Definition at line 907 of file common.c.

void __init orion_spi_1_init ( unsigned long  mapbase)

Definition at line 579 of file common.c.

void __init orion_spi_init ( unsigned long  mapbase)

Definition at line 572 of file common.c.

void __init orion_uart0_init ( void __iomem membase,
resource_size_t  mapbase,
unsigned int  irq,
struct clk clk 
)

Definition at line 123 of file common.c.

void __init orion_uart1_init ( void __iomem membase,
resource_size_t  mapbase,
unsigned int  irq,
struct clk clk 
)

Definition at line 151 of file common.c.

void __init orion_uart2_init ( void __iomem membase,
resource_size_t  mapbase,
unsigned int  irq,
struct clk clk 
)

Definition at line 179 of file common.c.

void __init orion_uart3_init ( void __iomem membase,
resource_size_t  mapbase,
unsigned int  irq,
struct clk clk 
)

Definition at line 207 of file common.c.

void __init orion_wdt_init ( void  )

Definition at line 599 of file common.c.

void __init orion_xor0_init ( unsigned long  mapbase_low,
unsigned long  mapbase_high,
unsigned long  irq_0,
unsigned long  irq_1 
)

Definition at line 697 of file common.c.

void __init orion_xor1_init ( unsigned long  mapbase_low,
unsigned long  mapbase_high,
unsigned long  irq_0,
unsigned long  irq_1 
)

Definition at line 786 of file common.c.

void __init orion_xor_init_channels ( struct mv_xor_platform_data orion_xor0_data,
struct platform_device orion_xor0_channel,
struct mv_xor_platform_data orion_xor1_data,
struct platform_device orion_xor1_channel 
)

Definition at line 609 of file common.c.

Variable Documentation

struct mv643xx_eth_shared_platform_data orion_ge00_shared_data

Definition at line 256 of file common.c.

struct mv643xx_eth_shared_platform_data orion_ge01_shared_data
Initial value:
= {
.shared_smi = &orion_ge00_shared,
}

Definition at line 308 of file common.c.

struct mv643xx_eth_shared_platform_data orion_ge10_shared_data
Initial value:
= {
.shared_smi = &orion_ge00_shared,
}

Definition at line 362 of file common.c.

struct mv643xx_eth_shared_platform_data orion_ge11_shared_data
Initial value:
= {
.shared_smi = &orion_ge00_shared,
}

Definition at line 414 of file common.c.