Lines Matching defs:core
86 struct clk_core *core; member
96 static int clk_pm_runtime_get(struct clk_core *core) in clk_pm_runtime_get()
107 static void clk_pm_runtime_put(struct clk_core *core) in clk_pm_runtime_put()
184 static bool clk_core_rate_is_protected(struct clk_core *core) in clk_core_rate_is_protected()
189 static bool clk_core_is_prepared(struct clk_core *core) in clk_core_is_prepared()
208 static bool clk_core_is_enabled(struct clk_core *core) in clk_core_is_enabled()
278 struct clk_core *core) in __clk_lookup_subtree()
320 static struct clk_core *clk_core_get_parent_by_index(struct clk_core *core, in clk_core_get_parent_by_index()
349 static unsigned long clk_core_get_rate_nolock(struct clk_core *core) in clk_core_get_rate_nolock()
376 static unsigned long __clk_get_accuracy(struct clk_core *core) in __clk_get_accuracy()
433 struct clk_core *core = hw->core, *parent, *best_parent = NULL; in clk_mux_determine_rate_flags() local
495 struct clk_core *core = clk_core_lookup(name); in __clk_lookup() local
500 static void clk_core_get_boundaries(struct clk_core *core, in clk_core_get_boundaries()
545 static void clk_core_rate_unprotect(struct clk_core *core) in clk_core_rate_unprotect()
562 static int clk_core_rate_nuke_protect(struct clk_core *core) in clk_core_rate_nuke_protect()
620 static void clk_core_rate_protect(struct clk_core *core) in clk_core_rate_protect()
633 static void clk_core_rate_restore_protect(struct clk_core *core, int count) in clk_core_rate_restore_protect()
679 static void clk_core_unprepare(struct clk_core *core) in clk_core_unprepare()
713 static void clk_core_unprepare_lock(struct clk_core *core) in clk_core_unprepare_lock()
740 static int clk_core_prepare(struct clk_core *core) in clk_core_prepare()
789 static int clk_core_prepare_lock(struct clk_core *core) in clk_core_prepare_lock()
821 static void clk_core_disable(struct clk_core *core) in clk_core_disable()
848 static void clk_core_disable_lock(struct clk_core *core) in clk_core_disable_lock()
878 static int clk_core_enable(struct clk_core *core) in clk_core_enable()
914 static int clk_core_enable_lock(struct clk_core *core) in clk_core_enable_lock()
948 static int clk_core_prepare_enable(struct clk_core *core) in clk_core_prepare_enable()
963 static void clk_core_disable_unprepare(struct clk_core *core) in clk_core_disable_unprepare()
969 static void clk_unprepare_unused_subtree(struct clk_core *core) in clk_unprepare_unused_subtree()
999 static void clk_disable_unused_subtree(struct clk_core *core) in clk_disable_unused_subtree()
1055 struct clk_core *core; in clk_disable_unused() local
1082 static int clk_core_determine_round_nolock(struct clk_core *core, in clk_core_determine_round_nolock()
1116 static void clk_core_init_rate_req(struct clk_core * const core, in clk_core_init_rate_req()
1134 static bool clk_core_can_round(struct clk_core * const core) in clk_core_can_round()
1142 static int clk_core_round_rate_nolock(struct clk_core *core, in clk_core_round_rate_nolock()
1250 static int __clk_notify(struct clk_core *core, unsigned long msg, in __clk_notify()
1282 static void __clk_recalc_accuracies(struct clk_core *core) in __clk_recalc_accuracies()
1302 static long clk_core_get_accuracy(struct clk_core *core) in clk_core_get_accuracy()
1334 static unsigned long clk_recalc(struct clk_core *core, in clk_recalc()
1358 static void __clk_recalc_rates(struct clk_core *core, unsigned long msg) in __clk_recalc_rates()
1384 static unsigned long clk_core_get_rate(struct clk_core *core) in clk_core_get_rate()
1416 static int clk_fetch_parent_index(struct clk_core *core, in clk_fetch_parent_index()
1434 static void clk_core_update_orphan_status(struct clk_core *core, bool is_orphan) in clk_core_update_orphan_status()
1444 static void clk_reparent(struct clk_core *core, struct clk_core *new_parent) in clk_reparent()
1470 static struct clk_core *__clk_set_parent_before(struct clk_core *core, in __clk_set_parent_before()
1516 static void __clk_set_parent_after(struct clk_core *core, in __clk_set_parent_after()
1536 static int __clk_set_parent(struct clk_core *core, struct clk_core *parent, in __clk_set_parent()
1581 static int __clk_speculate_rates(struct clk_core *core, in __clk_speculate_rates()
1612 static void clk_calc_subtree(struct clk_core *core, unsigned long new_rate, in clk_calc_subtree()
1635 static struct clk_core *clk_calc_new_rates(struct clk_core *core, in clk_calc_new_rates()
1722 static struct clk_core *clk_propagate_rate_change(struct clk_core *core, in clk_propagate_rate_change()
1760 static void clk_change_rate(struct clk_core *core) in clk_change_rate()
1857 static unsigned long clk_core_req_round_rate_nolock(struct clk_core *core, in clk_core_req_round_rate_nolock()
1884 static int clk_core_set_rate_nolock(struct clk_core *core, in clk_core_set_rate_nolock()
2150 static struct clk_core *__clk_init_parent(struct clk_core *core) in __clk_init_parent()
2160 static void clk_core_reparent(struct clk_core *core, in clk_core_reparent()
2188 struct clk_core *core, *parent_core; in clk_has_parent() local
2206 static int clk_core_set_parent_nolock(struct clk_core *core, in clk_core_set_parent_nolock()
2312 static int clk_core_set_phase_nolock(struct clk_core *core, int degrees) in clk_core_set_phase_nolock()
2385 static int clk_core_get_phase(struct clk_core *core) in clk_core_get_phase()
2415 static void clk_core_reset_duty_cycle_nolock(struct clk_core *core) in clk_core_reset_duty_cycle_nolock()
2424 static int clk_core_update_duty_cycle_nolock(struct clk_core *core) in clk_core_update_duty_cycle_nolock()
2449 static int clk_core_update_duty_cycle_parent_nolock(struct clk_core *core) in clk_core_update_duty_cycle_parent_nolock()
2467 static int clk_core_set_duty_cycle_nolock(struct clk_core *core, in clk_core_set_duty_cycle_nolock()
2491 static int clk_core_set_duty_cycle_parent_nolock(struct clk_core *core, in clk_core_set_duty_cycle_parent_nolock()
2547 static int clk_core_get_scaled_duty_cycle(struct clk_core *core, in clk_core_get_scaled_duty_cycle()
2760 struct clk_core *core = s->private; in clk_flags_show() local
2781 struct clk_core *core = s->private; in possible_parents_show() local
2795 struct clk_core *core = s->private; in clk_duty_cycle_show() local
2804 static void clk_debug_create_one(struct clk_core *core, struct dentry *pdentry) in clk_debug_create_one()
2841 static void clk_debug_register(struct clk_core *core) in clk_debug_register()
2858 static void clk_debug_unregister(struct clk_core *core) in clk_debug_unregister()
2878 struct clk_core *core; in clk_debug_init() local
2902 static inline void clk_debug_register(struct clk_core *core) { } in clk_debug_register()
2903 static inline void clk_debug_reparent(struct clk_core *core, in clk_debug_reparent()
2907 static inline void clk_debug_unregister(struct clk_core *core) in clk_debug_unregister()
2919 static int __clk_core_init(struct clk_core *core) in __clk_core_init()
3160 struct clk_core *core; in clk_register() local
3269 struct clk_core *core = container_of(ref, struct clk_core, ref); in __clk_release() local
3504 struct clk_core *core = !clk ? NULL : clk->core; in __clk_get() local