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

Go to the source code of this file.

Macros

#define pr_fmt(fmt)   "clk-gpt-synth: " fmt
 
#define GPT_MSCALE_MASK   0xFFF
 
#define GPT_NSCALE_SHIFT   12
 
#define GPT_NSCALE_MASK   0xF
 
#define to_clk_gpt(_hw)   container_of(_hw, struct clk_gpt, hw)
 

Functions

struct clkclk_register_gpt (const char *name, const char *parent_name, unsigned long flags, void __iomem *reg, struct gpt_rate_tbl *rtbl, u8 rtbl_cnt, spinlock_t *lock)
 

Macro Definition Documentation

#define GPT_MSCALE_MASK   0xFFF

Definition at line 20 of file clk-gpt-synth.c.

#define GPT_NSCALE_MASK   0xF

Definition at line 22 of file clk-gpt-synth.c.

#define GPT_NSCALE_SHIFT   12

Definition at line 21 of file clk-gpt-synth.c.

#define pr_fmt (   fmt)    "clk-gpt-synth: " fmt

Definition at line 12 of file clk-gpt-synth.c.

#define to_clk_gpt (   _hw)    container_of(_hw, struct clk_gpt, hw)

Definition at line 32 of file clk-gpt-synth.c.

Function Documentation

struct clk* clk_register_gpt ( const char name,
const char parent_name,
unsigned long  flags,
void __iomem reg,
struct gpt_rate_tbl rtbl,
u8  rtbl_cnt,
spinlock_t lock 
)
read

Definition at line 114 of file clk-gpt-synth.c.