#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/module.h>
#include <linux/mutex.h>
#include <linux/list.h>
#include <linux/syscore_ops.h>
#include <linux/seq_file.h>
#include <linux/err.h>
#include <linux/io.h>
#include <linux/cpufreq.h>
#include <linux/clk.h>
#include <linux/sh_clk.h>
Go to the source code of this file.
|
void | clk_rate_table_build (struct clk *clk, struct cpufreq_frequency_table *freq_table, int nr_freqs, struct clk_div_mult_table *src_table, unsigned long *bitmap) |
|
long | clk_rate_table_round (struct clk *clk, struct cpufreq_frequency_table *freq_table, unsigned long rate) |
|
long | clk_rate_div_range_round (struct clk *clk, unsigned int div_min, unsigned int div_max, unsigned long rate) |
|
long | clk_rate_mult_range_round (struct clk *clk, unsigned int mult_min, unsigned int mult_max, unsigned long rate) |
|
int | clk_rate_table_find (struct clk *clk, struct cpufreq_frequency_table *freq_table, unsigned long rate) |
|
unsigned long | followparent_recalc (struct clk *clk) |
|
int | clk_reparent (struct clk *child, struct clk *parent) |
|
void | propagate_rate (struct clk *tclk) |
|
void | clk_disable (struct clk *clk) |
|
| EXPORT_SYMBOL_GPL (clk_disable) |
|
int | clk_enable (struct clk *clk) |
|
| EXPORT_SYMBOL_GPL (clk_enable) |
|
void | recalculate_root_clocks (void) |
|
int | clk_register (struct clk *clk) |
|
| EXPORT_SYMBOL_GPL (clk_register) |
|
void | clk_unregister (struct clk *clk) |
|
| EXPORT_SYMBOL_GPL (clk_unregister) |
|
void | clk_enable_init_clocks (void) |
|
unsigned long | clk_get_rate (struct clk *clk) |
|
| EXPORT_SYMBOL_GPL (clk_get_rate) |
|
int | clk_set_rate (struct clk *clk, unsigned long rate) |
|
| EXPORT_SYMBOL_GPL (clk_set_rate) |
|
int | clk_set_parent (struct clk *clk, struct clk *parent) |
|
| EXPORT_SYMBOL_GPL (clk_set_parent) |
|
struct clk * | clk_get_parent (struct clk *clk) |
|
| EXPORT_SYMBOL_GPL (clk_get_parent) |
|
long | clk_round_rate (struct clk *clk, unsigned long rate) |
|
| EXPORT_SYMBOL_GPL (clk_round_rate) |
|
long | clk_round_parent (struct clk *clk, unsigned long target, unsigned long *best_freq, unsigned long *parent_freq, unsigned int div_min, unsigned int div_max) |
|
| EXPORT_SYMBOL_GPL (clk_round_parent) |
|
| late_initcall (clk_late_init) |
|
#define for_each_frequency |
( |
|
pos, |
|
|
|
r, |
|
|
|
freq |
|
) |
| |
Value:
Definition at line 84 of file core.c.
#define pr_fmt |
( |
|
fmt | ) |
"clock: " fmt |
long clk_rate_mult_range_round |
( |
struct clk * |
clk, |
|
|
unsigned int |
mult_min, |
|
|
unsigned int |
mult_max, |
|
|
unsigned long |
rate |
|
) |
| |
long clk_round_parent |
( |
struct clk * |
clk, |
|
|
unsigned long |
target, |
|
|
unsigned long * |
best_freq, |
|
|
unsigned long * |
parent_freq, |
|
|
unsigned int |
div_min, |
|
|
unsigned int |
div_max |
|
) |
| |
clk_unregister - unregister a currently registered clock : clock to unregister
Currently unimplemented.
Definition at line 457 of file core.c.
late_initcall |
( |
clk_late_init |
| ) |
|
recalculate_root_clocks - recalculate and propagate all root clocks
Recalculates all root clocks (clocks with no parent), which if the clock's .recalc is set correctly, should also propagate their rates. Called at init.
Definition at line 322 of file core.c.