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 | |
struct clk * | clk_register_gate2 (struct device *dev, const char *name, const char *parent_name, unsigned long flags, void __iomem *reg, u8 bit_idx, u8 clk_gate2_flags, spinlock_t *lock) |
#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-gate2.c.