Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
clk-prcc.c File Reference
#include <linux/clk-provider.h>
#include <linux/clk-private.h>
#include <linux/slab.h>
#include <linux/io.h>
#include <linux/err.h>
#include <linux/types.h>
#include <mach/hardware.h>
#include "clk.h"

Go to the source code of this file.

Data Structures

struct  clk_prcc
 

Macros

#define PRCC_PCKEN   0x000
 
#define PRCC_PCKDIS   0x004
 
#define PRCC_KCKEN   0x008
 
#define PRCC_KCKDIS   0x00C
 
#define PRCC_PCKSR   0x010
 
#define PRCC_KCKSR   0x014
 
#define to_clk_prcc(_hw)   container_of(_hw, struct clk_prcc, hw)
 

Functions

struct clkclk_reg_prcc_pclk (const char *name, const char *parent_name, resource_size_t phy_base, u32 cg_sel, unsigned long flags)
 
struct clkclk_reg_prcc_kclk (const char *name, const char *parent_name, resource_size_t phy_base, u32 cg_sel, unsigned long flags)
 

Macro Definition Documentation

#define PRCC_KCKDIS   0x00C

Definition at line 23 of file clk-prcc.c.

#define PRCC_KCKEN   0x008

Definition at line 22 of file clk-prcc.c.

#define PRCC_KCKSR   0x014

Definition at line 25 of file clk-prcc.c.

#define PRCC_PCKDIS   0x004

Definition at line 21 of file clk-prcc.c.

#define PRCC_PCKEN   0x000

Definition at line 20 of file clk-prcc.c.

#define PRCC_PCKSR   0x010

Definition at line 24 of file clk-prcc.c.

#define to_clk_prcc (   _hw)    container_of(_hw, struct clk_prcc, hw)

Definition at line 27 of file clk-prcc.c.

Function Documentation

struct clk* clk_reg_prcc_kclk ( const char name,
const char parent_name,
resource_size_t  phy_base,
u32  cg_sel,
unsigned long  flags 
)
read

Definition at line 156 of file clk-prcc.c.

struct clk* clk_reg_prcc_pclk ( const char name,
const char parent_name,
resource_size_t  phy_base,
u32  cg_sel,
unsigned long  flags 
)
read

Definition at line 146 of file clk-prcc.c.