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_gate(_hw) container_of(_hw, struct clk_gate, hw) |
Functions | |
EXPORT_SYMBOL_GPL (clk_gate_ops) | |
: name of this clock | |
clk_register_gate - register a gate clock with the clock framework : device that is registering this clock : name of this clock's parent : framework-specific flags for this clock : register address to control gating of this clock : which bit in the register controls gating of this clock : gate-specific flags for this clock : shared register lock for this clock | |
struct clk * | clk_register_gate (struct device *dev, const char *name, const char *parent_name, unsigned long flags, void __iomem *reg, u8 bit_idx, u8 clk_gate_flags, spinlock_t *lock) |
Variables | |
struct clk_ops | clk_gate_ops |
#define to_clk_gate | ( | _hw | ) | container_of(_hw, struct clk_gate, hw) |
DOC: basic gatable clock which can gate and ungate it's ouput
Traits of this clock: prepare - clk_(un)prepare only ensures parent is (un)prepared enable - clk_enable and clk_disable are functional & control gating rate - inherits rate from parent. No clk_set_rate support parent - fixed parent. No clk_set_parent support
Definition at line 29 of file clk-gate.c.
|
read |
Definition at line 115 of file clk-gate.c.
EXPORT_SYMBOL_GPL | ( | clk_gate_ops | ) |
Definition at line 97 of file clk-gate.c.