Searched refs:clk_core (Results 1 - 6 of 6) sorted by relevance

/linux-4.4.14/include/trace/events/
H A Dclk.h21 struct clk_core;
25 TP_PROTO(struct clk_core *core),
42 TP_PROTO(struct clk_core *core),
49 TP_PROTO(struct clk_core *core),
56 TP_PROTO(struct clk_core *core),
63 TP_PROTO(struct clk_core *core),
70 TP_PROTO(struct clk_core *core),
77 TP_PROTO(struct clk_core *core),
84 TP_PROTO(struct clk_core *core),
91 TP_PROTO(struct clk_core *core),
98 TP_PROTO(struct clk_core *core, unsigned long rate),
117 TP_PROTO(struct clk_core *core, unsigned long rate),
124 TP_PROTO(struct clk_core *core, unsigned long rate),
131 TP_PROTO(struct clk_core *core, struct clk_core *parent),
150 TP_PROTO(struct clk_core *core, struct clk_core *parent),
157 TP_PROTO(struct clk_core *core, struct clk_core *parent),
164 TP_PROTO(struct clk_core *core, int phase),
183 TP_PROTO(struct clk_core *core, int phase),
190 TP_PROTO(struct clk_core *core, int phase),
/linux-4.4.14/arch/metag/kernel/
H A Dclock.c39 static struct clk *clk_core; variable in typeref:struct:clk
44 return clk_get_rate(clk_core); get_core_freq_clk()
67 clk_core = of_clk_get_by_name(node, "core"); init_metag_core_clock()
68 if (IS_ERR(clk_core)) { init_metag_core_clock()
/linux-4.4.14/drivers/clk/
H A Dclk.c44 struct clk_core { struct
49 struct clk_core *parent;
51 struct clk_core **parents;
57 struct clk_core *new_parent;
58 struct clk_core *new_child;
82 struct clk_core *core;
151 static bool clk_core_is_prepared(struct clk_core *core) clk_core_is_prepared()
163 static bool clk_core_is_enabled(struct clk_core *core) clk_core_is_enabled()
175 static void clk_unprepare_unused_subtree(struct clk_core *core) clk_unprepare_unused_subtree()
177 struct clk_core *child; clk_unprepare_unused_subtree()
200 static void clk_disable_unused_subtree(struct clk_core *core) clk_disable_unused_subtree()
202 struct clk_core *child; clk_disable_unused_subtree()
246 struct clk_core *core; clk_disable_unused()
305 static struct clk_core *__clk_lookup_subtree(const char *name, __clk_lookup_subtree()
306 struct clk_core *core) __clk_lookup_subtree()
308 struct clk_core *child; __clk_lookup_subtree()
309 struct clk_core *ret; __clk_lookup_subtree()
323 static struct clk_core *clk_core_lookup(const char *name) clk_core_lookup()
325 struct clk_core *root_clk; clk_core_lookup()
326 struct clk_core *ret; clk_core_lookup()
348 static struct clk_core *clk_core_get_parent_by_index(struct clk_core *core, clk_core_get_parent_by_index()
365 struct clk_core *parent; clk_hw_get_parent_by_index()
378 static unsigned long clk_core_get_rate_nolock(struct clk_core *core) clk_core_get_rate_nolock()
405 static unsigned long __clk_get_accuracy(struct clk_core *core) __clk_get_accuracy()
457 struct clk_core *core = hw->core, *parent, *best_parent = NULL; clk_mux_determine_rate_flags()
518 struct clk_core *core = clk_core_lookup(name); __clk_lookup()
523 static void clk_core_get_boundaries(struct clk_core *core, clk_core_get_boundaries()
568 static void clk_core_unprepare(struct clk_core *core) clk_core_unprepare()
614 static int clk_core_prepare(struct clk_core *core) clk_core_prepare()
673 static void clk_core_disable(struct clk_core *core) clk_core_disable()
721 static int clk_core_enable(struct clk_core *core) clk_core_enable()
785 static int clk_core_round_rate_nolock(struct clk_core *core, clk_core_round_rate_nolock()
788 struct clk_core *parent; clk_core_round_rate_nolock()
905 static int __clk_notify(struct clk_core *core, unsigned long msg, __clk_notify()
935 static void __clk_recalc_accuracies(struct clk_core *core) __clk_recalc_accuracies()
938 struct clk_core *child; __clk_recalc_accuracies()
955 static long clk_core_get_accuracy(struct clk_core *core) clk_core_get_accuracy()
987 static unsigned long clk_recalc(struct clk_core *core, clk_recalc()
1007 static void __clk_recalc_rates(struct clk_core *core, unsigned long msg) __clk_recalc_rates()
1011 struct clk_core *child; __clk_recalc_rates()
1033 static unsigned long clk_core_get_rate(struct clk_core *core) clk_core_get_rate()
1065 static int clk_fetch_parent_index(struct clk_core *core, clk_fetch_parent_index()
1066 struct clk_core *parent) clk_fetch_parent_index()
1101 static void clk_core_update_orphan_status(struct clk_core *core, bool is_orphan) clk_core_update_orphan_status()
1103 struct clk_core *child; clk_core_update_orphan_status()
1111 static void clk_reparent(struct clk_core *core, struct clk_core *new_parent) clk_reparent()
1137 static struct clk_core *__clk_set_parent_before(struct clk_core *core, __clk_set_parent_before()
1138 struct clk_core *parent) __clk_set_parent_before()
1141 struct clk_core *old_parent = core->parent; __clk_set_parent_before()
1176 static void __clk_set_parent_after(struct clk_core *core, __clk_set_parent_after()
1177 struct clk_core *parent, __clk_set_parent_after()
1178 struct clk_core *old_parent) __clk_set_parent_after()
1195 static int __clk_set_parent(struct clk_core *core, struct clk_core *parent, __clk_set_parent()
1200 struct clk_core *old_parent; __clk_set_parent()
1240 static int __clk_speculate_rates(struct clk_core *core, __clk_speculate_rates()
1243 struct clk_core *child; __clk_speculate_rates()
1271 static void clk_calc_subtree(struct clk_core *core, unsigned long new_rate, clk_calc_subtree()
1272 struct clk_core *new_parent, u8 p_index) clk_calc_subtree()
1274 struct clk_core *child; clk_calc_subtree()
1294 static struct clk_core *clk_calc_new_rates(struct clk_core *core, clk_calc_new_rates()
1297 struct clk_core *top = core; clk_calc_new_rates()
1298 struct clk_core *old_parent, *parent; clk_calc_new_rates()
1392 static struct clk_core *clk_propagate_rate_change(struct clk_core *core, clk_propagate_rate_change()
1395 struct clk_core *child, *tmp_clk, *fail_clk = NULL; clk_propagate_rate_change()
1430 static void clk_change_rate(struct clk_core *core) clk_change_rate()
1432 struct clk_core *child; clk_change_rate()
1437 struct clk_core *old_parent; clk_change_rate()
1494 static int clk_core_set_rate_nolock(struct clk_core *core, clk_core_set_rate_nolock()
1497 struct clk_core *top, *fail_clk; clk_core_set_rate_nolock()
1671 static struct clk_core *__clk_init_parent(struct clk_core *core) __clk_init_parent()
1673 struct clk_core *ret = NULL; __clk_init_parent()
1714 static void clk_core_reparent(struct clk_core *core, clk_core_reparent()
1715 struct clk_core *new_parent) clk_core_reparent()
1742 struct clk_core *core, *parent_core; clk_has_parent()
1764 static int clk_core_set_parent(struct clk_core *core, struct clk_core *parent) clk_core_set_parent()
1903 static int clk_core_get_phase(struct clk_core *core) clk_core_get_phase()
1937 * share the same struct clk_core object.
1977 static void clk_summary_show_one(struct seq_file *s, struct clk_core *c, clk_summary_show_one()
1990 static void clk_summary_show_subtree(struct seq_file *s, struct clk_core *c, clk_summary_show_subtree()
1993 struct clk_core *child; clk_summary_show_subtree()
2006 struct clk_core *c; clk_summary_show()
2036 static void clk_dump_one(struct seq_file *s, struct clk_core *c, int level) clk_dump_one()
2050 static void clk_dump_subtree(struct seq_file *s, struct clk_core *c, int level) clk_dump_subtree()
2052 struct clk_core *child; clk_dump_subtree()
2069 struct clk_core *c; clk_dump()
2105 static int clk_debug_create_one(struct clk_core *core, struct dentry *pdentry) clk_debug_create_one()
2180 static int clk_debug_register(struct clk_core *core) clk_debug_register()
2205 static void clk_debug_unregister(struct clk_core *core) clk_debug_unregister()
2238 struct clk_core *core; clk_debug_init()
2277 static inline int clk_debug_register(struct clk_core *core) { return 0; } clk_debug_reparent()
2278 static inline void clk_debug_reparent(struct clk_core *core, clk_debug_reparent()
2279 struct clk_core *new_parent) clk_debug_reparent()
2282 static inline void clk_debug_unregister(struct clk_core *core) clk_debug_unregister()
2292 * Initializes the lists in struct clk_core, queries the hardware for the
2298 struct clk_core *orphan; __clk_init()
2300 struct clk_core *core; __clk_init()
2527 struct clk_core *core; clk_register()
2601 struct clk_core *core = container_of(ref, struct clk_core, ref); __clk_release()
2679 struct clk_core *child; clk_unregister()
2761 struct clk_core *core = !clk ? NULL : clk->core; __clk_get()
/linux-4.4.14/drivers/mmc/host/
H A Dsdhci-pxav3.c62 struct clk *clk_core; member in struct:sdhci_pxa
395 pxa->clk_core = devm_clk_get(dev, "core"); sdhci_pxav3_probe()
396 if (!IS_ERR(pxa->clk_core)) sdhci_pxav3_probe()
397 clk_prepare_enable(pxa->clk_core); sdhci_pxav3_probe()
479 clk_disable_unprepare(pxa->clk_core); sdhci_pxav3_probe()
498 clk_disable_unprepare(pxa->clk_core); sdhci_pxav3_remove()
546 if (!IS_ERR(pxa->clk_core)) sdhci_pxav3_runtime_suspend()
547 clk_disable_unprepare(pxa->clk_core); sdhci_pxav3_runtime_suspend()
559 if (!IS_ERR(pxa->clk_core)) sdhci_pxav3_runtime_resume()
560 clk_prepare_enable(pxa->clk_core); sdhci_pxav3_runtime_resume()
/linux-4.4.14/include/linux/
H A Dclk-provider.h37 struct clk_core;
242 * @core: pointer to the struct clk_core instance that points back to this
252 struct clk_core *core;
H A Dclk.h135 * share the same struct clk_core object.

Completed in 372 milliseconds