Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
clk-frac-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-frac-synth: " fmt
 
#define DIV_FACTOR_MASK   0x1FFFF
 
#define to_clk_frac(_hw)   container_of(_hw, struct clk_frac, hw)
 

Functions

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

Variables

struct clk_ops clk_frac_ops
 

Macro Definition Documentation

#define DIV_FACTOR_MASK   0x1FFFF

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

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

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

#define to_clk_frac (   _hw)    container_of(_hw, struct clk_frac, hw)

Definition at line 42 of file clk-frac-synth.c.

Function Documentation

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

Definition at line 125 of file clk-frac-synth.c.

Variable Documentation

struct clk_ops clk_frac_ops
Initial value:
= {
.recalc_rate = clk_frac_recalc_rate,
.round_rate = clk_frac_round_rate,
.set_rate = clk_frac_set_rate,
}

Definition at line 119 of file clk-frac-synth.c.