|
Linux Kernel
3.7.1
|
#include <linux/clk-provider.h>#include <linux/module.h>#include <linux/slab.h>#include <linux/io.h>#include <linux/err.h>#include <linux/string.h>Go to the source code of this file.
Macros | |
| #define | to_clk_divider(_hw) container_of(_hw, struct clk_divider, hw) |
| #define | div_mask(d) ((1 << (d->width)) - 1) |
| #define | is_power_of_two(i) !(i & ~i) |
| #define | MULT_ROUND_UP(r, m) ((r) * (m) + (m) - 1) |
Functions | |
| EXPORT_SYMBOL_GPL (clk_divider_ops) | |
: name of this clock | |
clk_register_divider_table - register a table based divider clock with the clock framework : device registering this clock : name of clock's parent : framework-specific flags : register address to adjust divider : number of bits to shift the bitfield : width of the bitfield : divider-specific flags for this clock : array of divider/value pairs ending with a div set to 0 : shared register lock for this clock | |
| struct clk * | clk_register_divider (struct device *dev, const char *name, const char *parent_name, unsigned long flags, void __iomem *reg, u8 shift, u8 width, u8 clk_divider_flags, spinlock_t *lock) |
| struct clk * | clk_register_divider_table (struct device *dev, const char *name, const char *parent_name, unsigned long flags, void __iomem *reg, u8 shift, u8 width, u8 clk_divider_flags, const struct clk_div_table *table, spinlock_t *lock) |
Variables | |
| struct clk_ops | clk_divider_ops |
Definition at line 32 of file clk-divider.c.
Definition at line 33 of file clk-divider.c.
| #define to_clk_divider | ( | _hw | ) | container_of(_hw, struct clk_divider, hw) |
Definition at line 30 of file clk-divider.c.
|
read |
Definition at line 290 of file clk-divider.c.
|
read |
Definition at line 313 of file clk-divider.c.
| EXPORT_SYMBOL_GPL | ( | clk_divider_ops | ) |
Definition at line 230 of file clk-divider.c.
1.8.2