Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
clk-apbc.c File Reference
#include <linux/kernel.h>
#include <linux/clk.h>
#include <linux/io.h>
#include <linux/err.h>
#include <linux/delay.h>
#include <linux/slab.h>
#include "clk.h"

Go to the source code of this file.

Data Structures

struct  clk_apbc
 

Macros

#define APBC_APBCLK   (1 << 0) /* APB Bus Clock Enable */
 
#define APBC_FNCLK   (1 << 1) /* Functional Clock Enable */
 
#define APBC_RST   (1 << 2) /* Reset Generation */
 
#define APBC_POWER   (1 << 7) /* Reset Generation */
 
#define to_clk_apbc(hw)   container_of(hw, struct clk_apbc, hw)
 

Functions

struct clkmmp_clk_register_apbc (const char *name, const char *parent_name, void __iomem *base, unsigned int delay, unsigned int apbc_flags, spinlock_t *lock)
 

Variables

struct clk_ops clk_apbc_ops
 

Macro Definition Documentation

#define APBC_APBCLK   (1 << 0) /* APB Bus Clock Enable */

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

#define APBC_FNCLK   (1 << 1) /* Functional Clock Enable */

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

#define APBC_POWER   (1 << 7) /* Reset Generation */

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

#define APBC_RST   (1 << 2) /* Reset Generation */

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

#define to_clk_apbc (   hw)    container_of(hw, struct clk_apbc, hw)

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

Function Documentation

struct clk* mmp_clk_register_apbc ( const char name,
const char parent_name,
void __iomem base,
unsigned int  delay,
unsigned int  apbc_flags,
spinlock_t lock 
)
read

Definition at line 123 of file clk-apbc.c.

Variable Documentation

struct clk_ops clk_apbc_ops
Initial value:
= {
.prepare = clk_apbc_prepare,
.unprepare = clk_apbc_unprepare,
}

Definition at line 118 of file clk-apbc.c.