Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
common.h File Reference

Go to the source code of this file.

Macros

#define KW_PCIE0   (1 << 0)
 
#define KW_PCIE1   (1 << 1)
 
#define ARRAY_AND_SIZE(x)   (x), ARRAY_SIZE(x)
 

Functions

void kirkwood_map_io (void)
 
void kirkwood_init (void)
 
void kirkwood_init_early (void)
 
void kirkwood_init_irq (void)
 
void kirkwood_setup_cpu_mbus (void)
 
void kirkwood_enable_pcie (void)
 
void kirkwood_pcie_id (u32 *dev, u32 *rev)
 
void kirkwood_ehci_init (void)
 
void kirkwood_ge00_init (struct mv643xx_eth_platform_data *eth_data)
 
void kirkwood_ge01_init (struct mv643xx_eth_platform_data *eth_data)
 
void kirkwood_ge00_switch_init (struct dsa_platform_data *d, int irq)
 
void kirkwood_pcie_init (unsigned int portmask)
 
void kirkwood_sata_init (struct mv_sata_platform_data *sata_data)
 
void kirkwood_sdio_init (struct mvsdio_platform_data *mvsdio_data)
 
void kirkwood_spi_init (void)
 
void kirkwood_i2c_init (void)
 
void kirkwood_uart0_init (void)
 
void kirkwood_uart1_init (void)
 
void kirkwood_nand_init (struct mtd_partition *parts, int nr_parts, int delay)
 
void kirkwood_nand_init_rnb (struct mtd_partition *parts, int nr_parts, int(*dev_ready)(struct mtd_info *))
 
void kirkwood_audio_init (void)
 
void kirkwood_restart (char, const char *)
 
void kirkwood_clk_init (void)
 
charkirkwood_id (void)
 
void kirkwood_l2_init (void)
 
void kirkwood_wdt_init (void)
 
void kirkwood_xor0_init (void)
 
void kirkwood_xor1_init (void)
 
void kirkwood_crypto_init (void)
 

Variables

int kirkwood_tclk
 
struct sys_timer kirkwood_timer
 

Macro Definition Documentation

#define ARRAY_AND_SIZE (   x)    (x), ARRAY_SIZE(x)

Definition at line 126 of file common.h.

#define KW_PCIE0   (1 << 0)

Definition at line 22 of file common.h.

#define KW_PCIE1   (1 << 1)

Definition at line 23 of file common.h.

Function Documentation

void kirkwood_audio_init ( void  )

Definition at line 579 of file common.c.

void kirkwood_clk_init ( void  )

Definition at line 223 of file common.c.

void kirkwood_crypto_init ( void  )

Definition at line 466 of file common.c.

void kirkwood_ehci_init ( void  )

Definition at line 279 of file common.c.

void kirkwood_enable_pcie ( void  )

Definition at line 40 of file pcie.c.

void kirkwood_ge00_init ( struct mv643xx_eth_platform_data eth_data)

Definition at line 288 of file common.c.

void kirkwood_ge00_switch_init ( struct dsa_platform_data d,
int  irq 
)

Definition at line 314 of file common.c.

void kirkwood_ge01_init ( struct mv643xx_eth_platform_data eth_data)

Definition at line 302 of file common.c.

void kirkwood_i2c_init ( void  )

Definition at line 437 of file common.c.

char* kirkwood_id ( void  )

Definition at line 591 of file common.c.

void kirkwood_init ( void  )

Definition at line 647 of file common.c.

void kirkwood_init_early ( void  )

Definition at line 505 of file common.c.

void kirkwood_init_irq ( void  )

Definition at line 32 of file irq.c.

void kirkwood_l2_init ( void  )

Definition at line 634 of file common.c.

void kirkwood_map_io ( void  )

Definition at line 52 of file common.c.

void kirkwood_nand_init ( struct mtd_partition parts,
int  nr_parts,
int  delay 
)

Definition at line 346 of file common.c.

void 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_pcie_id ( u32 dev,
u32 rev 
)

Definition at line 47 of file pcie.c.

void kirkwood_pcie_init ( unsigned int  portmask)

Definition at line 274 of file pcie.c.

void kirkwood_restart ( char  ,
const char  
)

Definition at line 679 of file common.c.

void kirkwood_sata_init ( struct mv_sata_platform_data sata_data)

Definition at line 376 of file common.c.

void kirkwood_sdio_init ( struct mvsdio_platform_data mvsdio_data)

Definition at line 411 of file common.c.

void kirkwood_setup_cpu_mbus ( void  )

Definition at line 79 of file addr-map.c.

void kirkwood_spi_init ( void  )

Definition at line 428 of file common.c.

void kirkwood_uart0_init ( void  )

Definition at line 447 of file common.c.

void kirkwood_uart1_init ( void  )

Definition at line 457 of file common.c.

void kirkwood_wdt_init ( void  )

Definition at line 496 of file common.c.

void kirkwood_xor0_init ( void  )

Definition at line 476 of file common.c.

void 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

Definition at line 540 of file common.c.