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/module.h>
#include <linux/types.h>
#include <linux/spinlock.h>
#include <asm/mach-ath79/ath79.h>
#include <asm/mach-ath79/ar71xx_regs.h>
#include "common.h"

Go to the source code of this file.

Functions

 EXPORT_SYMBOL_GPL (ath79_cpu_freq)
 
 EXPORT_SYMBOL_GPL (ath79_ahb_freq)
 
 EXPORT_SYMBOL_GPL (ath79_ddr_freq)
 
 EXPORT_SYMBOL_GPL (ath79_reset_base)
 
void ath79_ddr_wb_flush (u32 reg)
 
 EXPORT_SYMBOL_GPL (ath79_ddr_wb_flush)
 
void ath79_device_reset_set (u32 mask)
 
 EXPORT_SYMBOL_GPL (ath79_device_reset_set)
 
void ath79_device_reset_clear (u32 mask)
 
 EXPORT_SYMBOL_GPL (ath79_device_reset_clear)
 

Variables

u32 ath79_cpu_freq
 
u32 ath79_ahb_freq
 
u32 ath79_ddr_freq
 
enum ath79_soc_type ath79_soc
 
unsigned int ath79_soc_rev
 
void __iomemath79_pll_base
 
void __iomemath79_reset_base
 
void __iomemath79_ddr_base
 

Function Documentation

void ath79_ddr_wb_flush ( u32  reg)

Definition at line 43 of file common.c.

void ath79_device_reset_clear ( u32  mask)

Definition at line 85 of file common.c.

void ath79_device_reset_set ( u32  mask)

Definition at line 59 of file common.c.

EXPORT_SYMBOL_GPL ( ath79_cpu_freq  )
EXPORT_SYMBOL_GPL ( ath79_ahb_freq  )
EXPORT_SYMBOL_GPL ( ath79_ddr_freq  )
EXPORT_SYMBOL_GPL ( ath79_reset_base  )
EXPORT_SYMBOL_GPL ( ath79_ddr_wb_flush  )
EXPORT_SYMBOL_GPL ( ath79_device_reset_set  )
EXPORT_SYMBOL_GPL ( ath79_device_reset_clear  )

Variable Documentation

u32 ath79_ahb_freq

Definition at line 29 of file common.c.

u32 ath79_cpu_freq

Definition at line 26 of file common.c.

void __iomem* ath79_ddr_base

Definition at line 41 of file common.c.

u32 ath79_ddr_freq

Definition at line 32 of file common.c.

void __iomem* ath79_pll_base

Definition at line 38 of file common.c.

void __iomem* ath79_reset_base

Definition at line 39 of file common.c.

enum ath79_soc_type ath79_soc

Definition at line 35 of file common.c.

unsigned int ath79_soc_rev

Definition at line 36 of file common.c.