Lines Matching defs:core
54 struct clk_core *core; member
103 struct clk_core *core; member
114 static int clk_pm_runtime_get(struct clk_core *core) in clk_pm_runtime_get()
122 static void clk_pm_runtime_put(struct clk_core *core) in clk_pm_runtime_put()
148 struct clk_core *core, *failed; in clk_pm_runtime_get_all() local
193 struct clk_core *core; in clk_pm_runtime_put_all() local
200 static void clk_pm_runtime_init(struct clk_core *core) in clk_pm_runtime_init()
282 static bool clk_core_rate_is_protected(struct clk_core *core) in clk_core_rate_is_protected()
287 static bool clk_core_is_prepared(struct clk_core *core) in clk_core_is_prepared()
306 static bool clk_core_is_enabled(struct clk_core *core) in clk_core_is_enabled()
387 struct clk_core *core) in __clk_lookup_subtree()
484 static struct clk_core *clk_core_get(struct clk_core *core, u8 p_index) in clk_core_get()
515 static void clk_core_fill_parent_index(struct clk_core *core, u8 index) in clk_core_fill_parent_index()
541 static struct clk_core *clk_core_get_parent_by_index(struct clk_core *core, in clk_core_get_parent_by_index()
569 static unsigned long clk_core_get_rate_nolock(struct clk_core *core) in clk_core_get_rate_nolock()
591 static unsigned long clk_core_get_accuracy_no_lock(struct clk_core *core) in clk_core_get_accuracy_no_lock()
648 static bool clk_core_has_parent(struct clk_core *core, const struct clk_core *parent) in clk_core_has_parent()
670 clk_core_forward_rate_req(struct clk_core *core, in clk_core_forward_rate_req()
692 struct clk_core *core = hw->core; in clk_core_determine_rate_no_reparent() local
733 struct clk_core *core = hw->core, *parent, *best_parent = NULL; in clk_mux_determine_rate_flags() local
788 struct clk_core *core = clk_core_lookup(name); in __clk_lookup() local
793 static void clk_core_get_boundaries(struct clk_core *core, in clk_core_get_boundaries()
827 static bool clk_core_check_boundaries(struct clk_core *core, in clk_core_check_boundaries()
899 static void clk_core_rate_unprotect(struct clk_core *core) in clk_core_rate_unprotect()
916 static int clk_core_rate_nuke_protect(struct clk_core *core) in clk_core_rate_nuke_protect()
974 static void clk_core_rate_protect(struct clk_core *core) in clk_core_rate_protect()
987 static void clk_core_rate_restore_protect(struct clk_core *core, int count) in clk_core_rate_restore_protect()
1052 static void clk_core_unprepare(struct clk_core *core) in clk_core_unprepare()
1085 static void clk_core_unprepare_lock(struct clk_core *core) in clk_core_unprepare_lock()
1112 static int clk_core_prepare(struct clk_core *core) in clk_core_prepare()
1161 static int clk_core_prepare_lock(struct clk_core *core) in clk_core_prepare_lock()
1193 static void clk_core_disable(struct clk_core *core) in clk_core_disable()
1220 static void clk_core_disable_lock(struct clk_core *core) in clk_core_disable_lock()
1250 static int clk_core_enable(struct clk_core *core) in clk_core_enable()
1286 static int clk_core_enable_lock(struct clk_core *core) in clk_core_enable_lock()
1310 struct clk_core *core = hw->core; in clk_gate_restore_context() local
1319 static int clk_core_save_context(struct clk_core *core) in clk_core_save_context()
1336 static void clk_core_restore_context(struct clk_core *core) in clk_core_restore_context()
1383 struct clk_core *core; in clk_restore_context() local
1436 static int clk_core_prepare_enable(struct clk_core *core) in clk_core_prepare_enable()
1451 static void clk_core_disable_unprepare(struct clk_core *core) in clk_core_disable_unprepare()
1457 static void __init clk_unprepare_unused_subtree(struct clk_core *core) in clk_unprepare_unused_subtree()
1482 static void __init clk_disable_unused_subtree(struct clk_core *core) in clk_disable_unused_subtree()
1533 struct clk_core *core; in clk_disable_unused() local
1572 static int clk_core_determine_round_nolock(struct clk_core *core, in clk_core_determine_round_nolock()
1620 static void clk_core_init_rate_req(struct clk_core * const core, in clk_core_init_rate_req()
1695 static bool clk_core_can_round(struct clk_core * const core) in clk_core_can_round()
1700 static int clk_core_round_rate_nolock(struct clk_core *core, in clk_core_round_rate_nolock()
1846 static int __clk_notify(struct clk_core *core, unsigned long msg, in __clk_notify()
1878 static void __clk_recalc_accuracies(struct clk_core *core) in __clk_recalc_accuracies()
1898 static long clk_core_get_accuracy_recalc(struct clk_core *core) in clk_core_get_accuracy_recalc()
1930 static unsigned long clk_recalc(struct clk_core *core, in clk_recalc()
1955 static void __clk_recalc_rates(struct clk_core *core, bool update_req, in __clk_recalc_rates()
1984 static unsigned long clk_core_get_rate_recalc(struct clk_core *core) in clk_core_get_rate_recalc()
2016 static int clk_fetch_parent_index(struct clk_core *core, in clk_fetch_parent_index()
2080 static void clk_core_update_orphan_status(struct clk_core *core, bool is_orphan) in clk_core_update_orphan_status()
2090 static void clk_reparent(struct clk_core *core, struct clk_core *new_parent) in clk_reparent()
2116 static struct clk_core *__clk_set_parent_before(struct clk_core *core, in __clk_set_parent_before()
2162 static void __clk_set_parent_after(struct clk_core *core, in __clk_set_parent_after()
2182 static int __clk_set_parent(struct clk_core *core, struct clk_core *parent, in __clk_set_parent()
2228 static int __clk_speculate_rates(struct clk_core *core, in __clk_speculate_rates()
2259 static void clk_calc_subtree(struct clk_core *core, unsigned long new_rate, in clk_calc_subtree()
2282 static struct clk_core *clk_calc_new_rates(struct clk_core *core, in clk_calc_new_rates()
2369 static struct clk_core *clk_propagate_rate_change(struct clk_core *core, in clk_propagate_rate_change()
2407 static void clk_change_rate(struct clk_core *core) in clk_change_rate()
2496 static unsigned long clk_core_req_round_rate_nolock(struct clk_core *core, in clk_core_req_round_rate_nolock()
2526 static int clk_core_set_rate_nolock(struct clk_core *core, in clk_core_set_rate_nolock()
2821 static struct clk_core *__clk_init_parent(struct clk_core *core) in __clk_init_parent()
2831 static void clk_core_reparent(struct clk_core *core, in clk_core_reparent()
2867 static int clk_core_set_parent_nolock(struct clk_core *core, in clk_core_set_parent_nolock()
2979 static int clk_core_set_phase_nolock(struct clk_core *core, int degrees) in clk_core_set_phase_nolock()
3052 static int clk_core_get_phase(struct clk_core *core) in clk_core_get_phase()
3090 static void clk_core_reset_duty_cycle_nolock(struct clk_core *core) in clk_core_reset_duty_cycle_nolock()
3099 static int clk_core_update_duty_cycle_nolock(struct clk_core *core) in clk_core_update_duty_cycle_nolock()
3124 static int clk_core_update_duty_cycle_parent_nolock(struct clk_core *core) in clk_core_update_duty_cycle_parent_nolock()
3142 static int clk_core_set_duty_cycle_nolock(struct clk_core *core, in clk_core_set_duty_cycle_nolock()
3166 static int clk_core_set_duty_cycle_parent_nolock(struct clk_core *core, in clk_core_set_duty_cycle_parent_nolock()
3222 static int clk_core_get_scaled_duty_cycle(struct clk_core *core, in clk_core_get_scaled_duty_cycle()
3454 struct clk_core *core = data; in clk_rate_set() local
3468 struct clk_core *core = data; in clk_phase_set() local
3483 struct clk_core *core = data; in clk_prepare_enable_set() local
3496 struct clk_core *core = data; in clk_prepare_enable_get() local
3515 struct clk_core *core = data; in clk_rate_get() local
3528 struct clk_core *core = data; in clk_phase_get() local
3558 struct clk_core *core = s->private; in clk_flags_show() local
3577 static void possible_parent_show(struct seq_file *s, struct clk_core *core, in possible_parent_show()
3616 struct clk_core *core = s->private; in possible_parents_show() local
3630 struct clk_core *core = s->private; in current_parent_show() local
3644 struct clk_core *core = s->private; in current_parent_write() local
3677 struct clk_core *core = s->private; in clk_duty_cycle_show() local
3688 struct clk_core *core = s->private; in clk_min_rate_show() local
3702 struct clk_core *core = s->private; in clk_max_rate_show() local
3714 static void clk_debug_create_one(struct clk_core *core, struct dentry *pdentry) in clk_debug_create_one()
3767 static void clk_debug_register(struct clk_core *core) in clk_debug_register()
3784 static void clk_debug_unregister(struct clk_core *core) in clk_debug_unregister()
3804 struct clk_core *core; in clk_debug_init() local
3846 static inline void clk_debug_register(struct clk_core *core) { } in clk_debug_register()
3847 static inline void clk_debug_unregister(struct clk_core *core) in clk_debug_unregister()
3900 static int __clk_core_init(struct clk_core *core) in __clk_core_init()
4103 static void clk_core_link_consumer(struct clk_core *core, struct clk *clk) in clk_core_link_consumer()
4128 static struct clk *alloc_clk(struct clk_core *core, const char *dev_id, in alloc_clk()
4174 struct clk_core *core; in clk_hw_create_clk() local
4233 static int clk_core_populate_parent_map(struct clk_core *core, in clk_core_populate_parent_map()
4295 static void clk_core_free_parent_map(struct clk_core *core) in clk_core_free_parent_map()
4313 struct clk_core *core = container_of(ref, struct clk_core, ref); in __clk_release() local
4330 struct clk_core *core; in __clk_register() local
4541 static void clk_core_evict_parent_cache(struct clk_core *core) in clk_core_evict_parent_cache()