clk_core
static void clk_core_unprepare(struct clk_core *core)
static void clk_core_unprepare_lock(struct clk_core *core)
struct clk_core *core;
static int clk_core_prepare(struct clk_core *core)
static int clk_core_prepare_lock(struct clk_core *core)
static void clk_core_disable(struct clk_core *core)
static void clk_core_disable_lock(struct clk_core *core)
static int clk_pm_runtime_get(struct clk_core *core)
static int clk_core_enable(struct clk_core *core)
static int clk_core_enable_lock(struct clk_core *core)
static void clk_pm_runtime_put(struct clk_core *core)
struct clk_core *core = hw->core;
static int clk_core_save_context(struct clk_core *core)
struct clk_core *child;
static void clk_core_restore_context(struct clk_core *core)
struct clk_core *child;
struct clk_core *clk;
struct clk_core *core;
static int clk_core_prepare_enable(struct clk_core *core)
static void clk_core_disable_unprepare(struct clk_core *core)
static void __init clk_unprepare_unused_subtree(struct clk_core *core)
struct clk_core *child;
static void __init clk_disable_unused_subtree(struct clk_core *core)
struct clk_core *child;
struct clk_core *core;
struct clk_core *core, *failed;
static int clk_core_determine_round_nolock(struct clk_core *core,
static void clk_core_init_rate_req(struct clk_core * const core,
struct clk_core *parent;
static bool clk_core_can_round(struct clk_core * const core)
static int clk_core_round_rate_nolock(struct clk_core *core,
static int __clk_notify(struct clk_core *core, unsigned long msg,
static void __clk_recalc_accuracies(struct clk_core *core)
struct clk_core *child;
static long clk_core_get_accuracy_recalc(struct clk_core *core)
static unsigned long clk_recalc(struct clk_core *core,
static void __clk_recalc_rates(struct clk_core *core, bool update_req,
struct clk_core *child;
static unsigned long clk_core_get_rate_recalc(struct clk_core *core)
struct clk_core *core;
static int clk_fetch_parent_index(struct clk_core *core,
struct clk_core *parent)
static void clk_core_update_orphan_status(struct clk_core *core, bool is_orphan)
static void clk_pm_runtime_init(struct clk_core *core)
struct clk_core *child;
static void clk_reparent(struct clk_core *core, struct clk_core *new_parent)
static struct clk_core *__clk_set_parent_before(struct clk_core *core,
struct clk_core *parent)
struct clk_core *old_parent = core->parent;
static void __clk_set_parent_after(struct clk_core *core,
struct clk_core *parent,
struct clk_core *old_parent)
static int __clk_set_parent(struct clk_core *core, struct clk_core *parent,
struct clk_core *old_parent;
static int __clk_speculate_rates(struct clk_core *core,
struct clk_core *child;
static void clk_calc_subtree(struct clk_core *core, unsigned long new_rate,
struct clk_core *new_parent, u8 p_index)
struct clk_core *child;
static struct clk_core *clk_calc_new_rates(struct clk_core *core,
struct clk_core *top = core;
struct clk_core *old_parent, *parent;
static struct clk_core *clk_propagate_rate_change(struct clk_core *core,
struct clk_core *child, *tmp_clk, *fail_clk = NULL;
static void clk_change_rate(struct clk_core *core)
struct clk_core *child;
struct clk_core *old_parent;
struct clk_core *parent = NULL;
static unsigned long clk_core_req_round_rate_nolock(struct clk_core *core,
static int clk_core_set_rate_nolock(struct clk_core *core,
struct clk_core *top, *fail_clk;
static struct clk_core *__clk_init_parent(struct clk_core *core)
static void clk_core_reparent(struct clk_core *core,
struct clk_core *new_parent)
static int clk_core_set_parent_nolock(struct clk_core *core,
struct clk_core *parent)
static bool clk_core_rate_is_protected(struct clk_core *core)
static bool clk_core_is_prepared(struct clk_core *core)
static int clk_core_set_phase_nolock(struct clk_core *core, int degrees)
static int clk_core_get_phase(struct clk_core *core)
static void clk_core_reset_duty_cycle_nolock(struct clk_core *core)
static int clk_core_update_duty_cycle_parent_nolock(struct clk_core *core);
static int clk_core_update_duty_cycle_nolock(struct clk_core *core)
static int clk_core_update_duty_cycle_parent_nolock(struct clk_core *core)
static int clk_core_set_duty_cycle_parent_nolock(struct clk_core *core,
static bool clk_core_is_enabled(struct clk_core *core)
static int clk_core_set_duty_cycle_nolock(struct clk_core *core,
static int clk_core_set_duty_cycle_parent_nolock(struct clk_core *core,
static int clk_core_get_scaled_duty_cycle(struct clk_core *core,
static void clk_summary_show_one(struct seq_file *s, struct clk_core *c,
static void clk_summary_show_subtree(struct seq_file *s, struct clk_core *c,
struct clk_core *child;
struct clk_core *c;
static void clk_dump_one(struct seq_file *s, struct clk_core *c, int level)
static void clk_dump_subtree(struct seq_file *s, struct clk_core *c, int level)
struct clk_core *child;
struct clk_core *c;
struct clk_core *core = data;
struct clk_core *core = data;
struct clk_core *core = data;
struct clk_core *core = data;
struct clk_core *core = data;
struct clk_core *core = data;
struct clk_core *core = s->private;
static void possible_parent_show(struct seq_file *s, struct clk_core *core,
struct clk_core *parent;
struct clk_core *core = s->private;
struct clk_core *core = s->private;
struct clk_core *core = s->private;
struct clk_core *parent;
struct clk_core *core = s->private;
struct clk_core *core = s->private;
struct clk_core *core = s->private;
static void clk_debug_create_one(struct clk_core *core, struct dentry *pdentry)
static void clk_debug_register(struct clk_core *core)
static void clk_debug_unregister(struct clk_core *core)
struct clk_core *core;
static inline void clk_debug_register(struct clk_core *core) { }
static inline void clk_debug_unregister(struct clk_core *core)
struct clk_core *orphan;
struct clk_core *parent = __clk_init_parent(orphan);
static int __clk_core_init(struct clk_core *core)
struct clk_core *parent;
static struct clk_core *clk_core_lookup(const char *name)
struct clk_core *core;
static void clk_core_link_consumer(struct clk_core *core, struct clk *clk)
static struct clk *alloc_clk(struct clk_core *core, const char *dev_id,
struct clk_core *core;
static int clk_core_populate_parent_map(struct clk_core *core,
static void clk_core_free_parent_map(struct clk_core *core)
struct clk_core *core = container_of(ref, struct clk_core, ref);
struct clk_core *core;
static void clk_core_evict_parent_cache_subtree(struct clk_core *root,
const struct clk_core *target)
struct clk_core *child;
static void clk_core_evict_parent_cache(struct clk_core *core)
struct clk_core *root;
struct clk_core *child;
static struct clk_core *clk_core_get(struct clk_core *core, u8 p_index)
static void clk_core_fill_parent_index(struct clk_core *core, u8 index)
struct clk_core *parent;
static struct clk_core *clk_core_get_parent_by_index(struct clk_core *core,
struct clk_core *parent;
static unsigned long clk_core_get_rate_nolock(struct clk_core *core)
static unsigned long clk_core_get_accuracy_no_lock(struct clk_core *core)
struct clk_core *core;
static void clk_core_init_rate_req(struct clk_core * const core,
static int clk_core_round_rate_nolock(struct clk_core *core,
static bool clk_core_has_parent(struct clk_core *core, const struct clk_core *parent)
struct clk_core *tmp;
clk_core_forward_rate_req(struct clk_core *core,
struct clk_core *parent,
struct clk_core *core = hw->core;
struct clk_core *parent = core->parent;
struct clk_core *core = hw->core, *parent, *best_parent = NULL;
struct clk_core *parent;
struct clk_core *core = clk_core_lookup(name);
static void clk_core_get_boundaries(struct clk_core *core,
struct clk_core *new_parent;
static bool clk_core_check_boundaries(struct clk_core *core,
struct clk_core *new_child;
static void clk_core_rate_unprotect(struct clk_core *core)
static int clk_core_rate_nuke_protect(struct clk_core *core)
static void clk_core_rate_protect(struct clk_core *core)
static void clk_core_rate_restore_protect(struct clk_core *core, int count)
return (unsigned int) clk_get_rate(data->clk_core) / 1000;
clk_set_rate(data->clk_core, new_freq_cpu * 1000);
pxa_cpufreq_data.clk_core = clk_get_sys(NULL, "core");
if (IS_ERR(pxa_cpufreq_data.clk_core))
return PTR_ERR(pxa_cpufreq_data.clk_core);
struct clk *clk_core;
ret = clk_prepare_enable(gpu->clk_core);
clk_disable_unprepare(gpu->clk_core);
clk_disable_unprepare(gpu->clk_core);
gpu->clk_core = devm_clk_get(&pdev->dev, "core");
DBG("clk_core: %p", gpu->clk_core);
if (IS_ERR(gpu->clk_core))
return PTR_ERR(gpu->clk_core);
gpu->base_rate_core = clk_get_rate(gpu->clk_core);
clk_set_rate(gpu->clk_core,
struct clk *clk_core;
clk_rate = clk_get_rate(dev->clk_core);
struct clk *clk_core;
dev->clk_core = devm_clk_get(&pdev->dev, "core_clk");
if (IS_ERR(dev->clk_core))
return PTR_ERR(dev->clk_core);
unsigned int clk_core;
err = regmap_read(settings, VCU_CORE_CLK, &clk_core);
err = clk_set_rate(dev->clk_core, MHZ_TO_HZ(clk_core));
err = clk_prepare_enable(dev->clk_core);
clk_disable_unprepare(dev->clk_core);
clk_disable_unprepare(dev->clk_core);
sdhst->clk_core = devm_clk_get_enabled(dev, "core");
if (IS_ERR(sdhst->clk_core))
struct clk *clk_core;
struct clk *clk, *clk_core;
clk_core = devm_clk_get_optional_enabled(dev, "core");
if (IS_ERR(clk_core))
return dev_err_probe(dev, PTR_ERR(clk_core),
pxa->clk_core = devm_clk_get(dev, "core");
if (!IS_ERR(pxa->clk_core))
clk_prepare_enable(pxa->clk_core);
clk_disable_unprepare(pxa->clk_core);
struct clk *clk_core;
clk_disable_unprepare(pxa->clk_core);
if (!IS_ERR(pxa->clk_core))
clk_disable_unprepare(pxa->clk_core);
if (!IS_ERR(pxa->clk_core))
clk_prepare_enable(pxa->clk_core);
tcphy->clk_core = devm_clk_get(dev, "tcpdcore");
if (IS_ERR(tcphy->clk_core)) {
return PTR_ERR(tcphy->clk_core);
struct clk *clk_core;
ret = clk_prepare_enable(tcphy->clk_core);
clk_disable_unprepare(tcphy->clk_core);
clk_disable_unprepare(tcphy->clk_core);
struct clk_core *core;
struct clk_core;
struct clk_core *core;
TP_PROTO(struct clk_core *core, unsigned long rate),
TP_PROTO(struct clk_core *core, unsigned long rate),
TP_PROTO(struct clk_core *core, unsigned long rate),
struct clk_core;
TP_PROTO(struct clk_core *core, unsigned long rate),
TP_PROTO(struct clk_core *core, unsigned long min, unsigned long max),
TP_PROTO(struct clk_core *core, unsigned long min, unsigned long max),
TP_PROTO(struct clk_core *core, struct clk_core *parent),
TP_PROTO(struct clk_core *core),
TP_PROTO(struct clk_core *core, struct clk_core *parent),
TP_PROTO(struct clk_core *core, struct clk_core *parent),
TP_PROTO(struct clk_core *core, int phase),
TP_PROTO(struct clk_core *core, int phase),
TP_PROTO(struct clk_core *core, int phase),
TP_PROTO(struct clk_core *core, struct clk_duty *duty),
TP_PROTO(struct clk_core *core, struct clk_duty *duty),
TP_PROTO(struct clk_core *core, struct clk_duty *duty),
TP_PROTO(struct clk_core *core),
TP_PROTO(struct clk_core *core),
TP_PROTO(struct clk_core *core),
TP_PROTO(struct clk_core *core),
TP_PROTO(struct clk_core *core),
TP_PROTO(struct clk_core *core),
TP_PROTO(struct clk_core *core),
TP_PROTO(struct clk_core *core),
TP_PROTO(struct clk_core *core, unsigned long rate),