clk_core 50 drivers/clk/clk.c struct clk_core *core; clk_core 63 drivers/clk/clk.c struct clk_core *parent; clk_core 70 drivers/clk/clk.c struct clk_core *new_parent; clk_core 71 drivers/clk/clk.c struct clk_core *new_child; clk_core 98 drivers/clk/clk.c struct clk_core *core; clk_core 109 drivers/clk/clk.c static int clk_pm_runtime_get(struct clk_core *core) clk_core 124 drivers/clk/clk.c static void clk_pm_runtime_put(struct clk_core *core) clk_core 201 drivers/clk/clk.c static bool clk_core_rate_is_protected(struct clk_core *core) clk_core 206 drivers/clk/clk.c static bool clk_core_is_prepared(struct clk_core *core) clk_core 225 drivers/clk/clk.c static bool clk_core_is_enabled(struct clk_core *core) clk_core 294 drivers/clk/clk.c static struct clk_core *__clk_lookup_subtree(const char *name, clk_core 295 drivers/clk/clk.c struct clk_core *core) clk_core 297 drivers/clk/clk.c struct clk_core *child; clk_core 298 drivers/clk/clk.c struct clk_core *ret; clk_core 312 drivers/clk/clk.c static struct clk_core *clk_core_lookup(const char *name) clk_core 314 drivers/clk/clk.c struct clk_core *root_clk; clk_core 315 drivers/clk/clk.c struct clk_core *ret; clk_core 392 drivers/clk/clk.c static struct clk_core *clk_core_get(struct clk_core *core, u8 p_index) clk_core 420 drivers/clk/clk.c static void clk_core_fill_parent_index(struct clk_core *core, u8 index) clk_core 423 drivers/clk/clk.c struct clk_core *parent = ERR_PTR(-ENOENT); clk_core 445 drivers/clk/clk.c static struct clk_core *clk_core_get_parent_by_index(struct clk_core *core, clk_core 460 drivers/clk/clk.c struct clk_core *parent; clk_core 473 drivers/clk/clk.c static unsigned long clk_core_get_rate_nolock(struct clk_core *core) clk_core 495 drivers/clk/clk.c static unsigned long __clk_get_accuracy(struct clk_core *core) clk_core 555 drivers/clk/clk.c struct clk_core *core = hw->core, *parent, *best_parent = NULL; clk_core 617 drivers/clk/clk.c struct clk_core *core = clk_core_lookup(name); clk_core 622 drivers/clk/clk.c static void clk_core_get_boundaries(struct clk_core *core, clk_core 675 drivers/clk/clk.c static void clk_core_rate_unprotect(struct clk_core *core) clk_core 692 drivers/clk/clk.c static int clk_core_rate_nuke_protect(struct clk_core *core) clk_core 750 drivers/clk/clk.c static void clk_core_rate_protect(struct clk_core *core) clk_core 763 drivers/clk/clk.c static void clk_core_rate_restore_protect(struct clk_core *core, int count) clk_core 809 drivers/clk/clk.c static void clk_core_unprepare(struct clk_core *core) clk_core 843 drivers/clk/clk.c static void clk_core_unprepare_lock(struct clk_core *core) clk_core 870 drivers/clk/clk.c static int clk_core_prepare(struct clk_core *core) clk_core 919 drivers/clk/clk.c static int clk_core_prepare_lock(struct clk_core *core) clk_core 951 drivers/clk/clk.c static void clk_core_disable(struct clk_core *core) clk_core 978 drivers/clk/clk.c static void clk_core_disable_lock(struct clk_core *core) clk_core 1008 drivers/clk/clk.c static int clk_core_enable(struct clk_core *core) clk_core 1044 drivers/clk/clk.c static int clk_core_enable_lock(struct clk_core *core) clk_core 1068 drivers/clk/clk.c struct clk_core *core = hw->core; clk_core 1077 drivers/clk/clk.c static int clk_core_save_context(struct clk_core *core) clk_core 1079 drivers/clk/clk.c struct clk_core *child; clk_core 1094 drivers/clk/clk.c static void clk_core_restore_context(struct clk_core *core) clk_core 1096 drivers/clk/clk.c struct clk_core *child; clk_core 1114 drivers/clk/clk.c struct clk_core *clk; clk_core 1141 drivers/clk/clk.c struct clk_core *core; clk_core 1173 drivers/clk/clk.c static int clk_core_prepare_enable(struct clk_core *core) clk_core 1188 drivers/clk/clk.c static void clk_core_disable_unprepare(struct clk_core *core) clk_core 1194 drivers/clk/clk.c static void clk_unprepare_unused_subtree(struct clk_core *core) clk_core 1196 drivers/clk/clk.c struct clk_core *child; clk_core 1224 drivers/clk/clk.c static void clk_disable_unused_subtree(struct clk_core *core) clk_core 1226 drivers/clk/clk.c struct clk_core *child; clk_core 1280 drivers/clk/clk.c struct clk_core *core; clk_core 1307 drivers/clk/clk.c static int clk_core_determine_round_nolock(struct clk_core *core, clk_core 1341 drivers/clk/clk.c static void clk_core_init_rate_req(struct clk_core * const core, clk_core 1344 drivers/clk/clk.c struct clk_core *parent; clk_core 1359 drivers/clk/clk.c static bool clk_core_can_round(struct clk_core * const core) clk_core 1364 drivers/clk/clk.c static int clk_core_round_rate_nolock(struct clk_core *core, clk_core 1472 drivers/clk/clk.c static int __clk_notify(struct clk_core *core, unsigned long msg, clk_core 1504 drivers/clk/clk.c static void __clk_recalc_accuracies(struct clk_core *core) clk_core 1507 drivers/clk/clk.c struct clk_core *child; clk_core 1524 drivers/clk/clk.c static long clk_core_get_accuracy(struct clk_core *core) clk_core 1556 drivers/clk/clk.c static unsigned long clk_recalc(struct clk_core *core, clk_core 1580 drivers/clk/clk.c static void __clk_recalc_rates(struct clk_core *core, unsigned long msg) clk_core 1584 drivers/clk/clk.c struct clk_core *child; clk_core 1606 drivers/clk/clk.c static unsigned long clk_core_get_rate(struct clk_core *core) clk_core 1638 drivers/clk/clk.c static int clk_fetch_parent_index(struct clk_core *core, clk_core 1639 drivers/clk/clk.c struct clk_core *parent) clk_core 1684 drivers/clk/clk.c static void clk_core_update_orphan_status(struct clk_core *core, bool is_orphan) clk_core 1686 drivers/clk/clk.c struct clk_core *child; clk_core 1694 drivers/clk/clk.c static void clk_reparent(struct clk_core *core, struct clk_core *new_parent) clk_core 1720 drivers/clk/clk.c static struct clk_core *__clk_set_parent_before(struct clk_core *core, clk_core 1721 drivers/clk/clk.c struct clk_core *parent) clk_core 1724 drivers/clk/clk.c struct clk_core *old_parent = core->parent; clk_core 1766 drivers/clk/clk.c static void __clk_set_parent_after(struct clk_core *core, clk_core 1767 drivers/clk/clk.c struct clk_core *parent, clk_core 1768 drivers/clk/clk.c struct clk_core *old_parent) clk_core 1786 drivers/clk/clk.c static int __clk_set_parent(struct clk_core *core, struct clk_core *parent, clk_core 1791 drivers/clk/clk.c struct clk_core *old_parent; clk_core 1831 drivers/clk/clk.c static int __clk_speculate_rates(struct clk_core *core, clk_core 1834 drivers/clk/clk.c struct clk_core *child; clk_core 1862 drivers/clk/clk.c static void clk_calc_subtree(struct clk_core *core, unsigned long new_rate, clk_core 1863 drivers/clk/clk.c struct clk_core *new_parent, u8 p_index) clk_core 1865 drivers/clk/clk.c struct clk_core *child; clk_core 1885 drivers/clk/clk.c static struct clk_core *clk_calc_new_rates(struct clk_core *core, clk_core 1888 drivers/clk/clk.c struct clk_core *top = core; clk_core 1889 drivers/clk/clk.c struct clk_core *old_parent, *parent; clk_core 1972 drivers/clk/clk.c static struct clk_core *clk_propagate_rate_change(struct clk_core *core, clk_core 1975 drivers/clk/clk.c struct clk_core *child, *tmp_clk, *fail_clk = NULL; clk_core 2010 drivers/clk/clk.c static void clk_change_rate(struct clk_core *core) clk_core 2012 drivers/clk/clk.c struct clk_core *child; clk_core 2017 drivers/clk/clk.c struct clk_core *old_parent; clk_core 2018 drivers/clk/clk.c struct clk_core *parent = NULL; clk_core 2107 drivers/clk/clk.c static unsigned long clk_core_req_round_rate_nolock(struct clk_core *core, clk_core 2134 drivers/clk/clk.c static int clk_core_set_rate_nolock(struct clk_core *core, clk_core 2137 drivers/clk/clk.c struct clk_core *top, *fail_clk; clk_core 2400 drivers/clk/clk.c static struct clk_core *__clk_init_parent(struct clk_core *core) clk_core 2410 drivers/clk/clk.c static void clk_core_reparent(struct clk_core *core, clk_core 2411 drivers/clk/clk.c struct clk_core *new_parent) clk_core 2438 drivers/clk/clk.c struct clk_core *core, *parent_core; clk_core 2460 drivers/clk/clk.c static int clk_core_set_parent_nolock(struct clk_core *core, clk_core 2461 drivers/clk/clk.c struct clk_core *parent) clk_core 2572 drivers/clk/clk.c static int clk_core_set_phase_nolock(struct clk_core *core, int degrees) clk_core 2645 drivers/clk/clk.c static int clk_core_get_phase(struct clk_core *core) clk_core 2683 drivers/clk/clk.c static void clk_core_reset_duty_cycle_nolock(struct clk_core *core) clk_core 2690 drivers/clk/clk.c static int clk_core_update_duty_cycle_parent_nolock(struct clk_core *core); clk_core 2692 drivers/clk/clk.c static int clk_core_update_duty_cycle_nolock(struct clk_core *core) clk_core 2717 drivers/clk/clk.c static int clk_core_update_duty_cycle_parent_nolock(struct clk_core *core) clk_core 2732 drivers/clk/clk.c static int clk_core_set_duty_cycle_parent_nolock(struct clk_core *core, clk_core 2735 drivers/clk/clk.c static int clk_core_set_duty_cycle_nolock(struct clk_core *core, clk_core 2759 drivers/clk/clk.c static int clk_core_set_duty_cycle_parent_nolock(struct clk_core *core, clk_core 2815 drivers/clk/clk.c static int clk_core_get_scaled_duty_cycle(struct clk_core *core, clk_core 2890 drivers/clk/clk.c static void clk_summary_show_one(struct seq_file *s, struct clk_core *c, clk_core 2910 drivers/clk/clk.c static void clk_summary_show_subtree(struct seq_file *s, struct clk_core *c, clk_core 2913 drivers/clk/clk.c struct clk_core *child; clk_core 2923 drivers/clk/clk.c struct clk_core *c; clk_core 2942 drivers/clk/clk.c static void clk_dump_one(struct seq_file *s, struct clk_core *c, int level) clk_core 2965 drivers/clk/clk.c static void clk_dump_subtree(struct seq_file *s, struct clk_core *c, int level) clk_core 2967 drivers/clk/clk.c struct clk_core *child; clk_core 2981 drivers/clk/clk.c struct clk_core *c; clk_core 3026 drivers/clk/clk.c struct clk_core *core = s->private; clk_core 3045 drivers/clk/clk.c static void possible_parent_show(struct seq_file *s, struct clk_core *core, clk_core 3048 drivers/clk/clk.c struct clk_core *parent; clk_core 3081 drivers/clk/clk.c struct clk_core *core = s->private; clk_core 3095 drivers/clk/clk.c struct clk_core *core = s->private; clk_core 3106 drivers/clk/clk.c struct clk_core *core = s->private; clk_core 3117 drivers/clk/clk.c struct clk_core *core = s->private; clk_core 3131 drivers/clk/clk.c struct clk_core *core = s->private; clk_core 3143 drivers/clk/clk.c static void clk_debug_create_one(struct clk_core *core, struct dentry *pdentry) clk_core 3186 drivers/clk/clk.c static void clk_debug_register(struct clk_core *core) clk_core 3203 drivers/clk/clk.c static void clk_debug_unregister(struct clk_core *core) clk_core 3223 drivers/clk/clk.c struct clk_core *core; clk_core 3247 drivers/clk/clk.c static inline void clk_debug_register(struct clk_core *core) { } clk_core 3248 drivers/clk/clk.c static inline void clk_debug_reparent(struct clk_core *core, clk_core 3249 drivers/clk/clk.c struct clk_core *new_parent) clk_core 3252 drivers/clk/clk.c static inline void clk_debug_unregister(struct clk_core *core) clk_core 3259 drivers/clk/clk.c struct clk_core *orphan; clk_core 3267 drivers/clk/clk.c struct clk_core *parent = __clk_init_parent(orphan); clk_core 3292 drivers/clk/clk.c static int __clk_core_init(struct clk_core *core) clk_core 3471 drivers/clk/clk.c static void clk_core_link_consumer(struct clk_core *core, struct clk *clk) clk_core 3496 drivers/clk/clk.c static struct clk *alloc_clk(struct clk_core *core, const char *dev_id, clk_core 3542 drivers/clk/clk.c struct clk_core *core; clk_core 3582 drivers/clk/clk.c static int clk_core_populate_parent_map(struct clk_core *core, clk_core 3644 drivers/clk/clk.c static void clk_core_free_parent_map(struct clk_core *core) clk_core 3663 drivers/clk/clk.c struct clk_core *core; clk_core 3822 drivers/clk/clk.c struct clk_core *core = container_of(ref, struct clk_core, ref); clk_core 3866 drivers/clk/clk.c static void clk_core_evict_parent_cache_subtree(struct clk_core *root, clk_core 3867 drivers/clk/clk.c struct clk_core *target) clk_core 3870 drivers/clk/clk.c struct clk_core *child; clk_core 3881 drivers/clk/clk.c static void clk_core_evict_parent_cache(struct clk_core *core) clk_core 3884 drivers/clk/clk.c struct clk_core *root; clk_core 3923 drivers/clk/clk.c struct clk_core *child; clk_core 48 drivers/cpufreq/pxa2xx-cpufreq.c struct clk *clk_core; clk_core 185 drivers/cpufreq/pxa2xx-cpufreq.c return (unsigned int) clk_get_rate(data->clk_core) / 1000; clk_core 211 drivers/cpufreq/pxa2xx-cpufreq.c clk_set_rate(data->clk_core, new_freq_cpu * 1000); clk_core 306 drivers/cpufreq/pxa2xx-cpufreq.c pxa_cpufreq_data.clk_core = clk_get_sys(NULL, "core"); clk_core 307 drivers/cpufreq/pxa2xx-cpufreq.c if (IS_ERR(pxa_cpufreq_data.clk_core)) clk_core 308 drivers/cpufreq/pxa2xx-cpufreq.c return PTR_ERR(pxa_cpufreq_data.clk_core); clk_core 453 drivers/gpu/drm/etnaviv/etnaviv_gpu.c clk_set_rate(gpu->clk_core, clk_core 1463 drivers/gpu/drm/etnaviv/etnaviv_gpu.c if (gpu->clk_core) { clk_core 1464 drivers/gpu/drm/etnaviv/etnaviv_gpu.c ret = clk_prepare_enable(gpu->clk_core); clk_core 1478 drivers/gpu/drm/etnaviv/etnaviv_gpu.c if (gpu->clk_core) clk_core 1479 drivers/gpu/drm/etnaviv/etnaviv_gpu.c clk_disable_unprepare(gpu->clk_core); clk_core 1491 drivers/gpu/drm/etnaviv/etnaviv_gpu.c if (gpu->clk_core) clk_core 1492 drivers/gpu/drm/etnaviv/etnaviv_gpu.c clk_disable_unprepare(gpu->clk_core); clk_core 1757 drivers/gpu/drm/etnaviv/etnaviv_gpu.c gpu->clk_core = devm_clk_get(&pdev->dev, "core"); clk_core 1758 drivers/gpu/drm/etnaviv/etnaviv_gpu.c DBG("clk_core: %p", gpu->clk_core); clk_core 1759 drivers/gpu/drm/etnaviv/etnaviv_gpu.c if (IS_ERR(gpu->clk_core)) clk_core 1760 drivers/gpu/drm/etnaviv/etnaviv_gpu.c gpu->clk_core = NULL; clk_core 1761 drivers/gpu/drm/etnaviv/etnaviv_gpu.c gpu->base_rate_core = clk_get_rate(gpu->clk_core); clk_core 142 drivers/gpu/drm/etnaviv/etnaviv_gpu.h struct clk *clk_core; clk_core 50 drivers/mmc/host/sdhci-pxav3.c struct clk *clk_core; clk_core 400 drivers/mmc/host/sdhci-pxav3.c pxa->clk_core = devm_clk_get(dev, "core"); clk_core 401 drivers/mmc/host/sdhci-pxav3.c if (!IS_ERR(pxa->clk_core)) clk_core 402 drivers/mmc/host/sdhci-pxav3.c clk_prepare_enable(pxa->clk_core); clk_core 469 drivers/mmc/host/sdhci-pxav3.c clk_disable_unprepare(pxa->clk_core); clk_core 488 drivers/mmc/host/sdhci-pxav3.c clk_disable_unprepare(pxa->clk_core); clk_core 541 drivers/mmc/host/sdhci-pxav3.c if (!IS_ERR(pxa->clk_core)) clk_core 542 drivers/mmc/host/sdhci-pxav3.c clk_disable_unprepare(pxa->clk_core); clk_core 554 drivers/mmc/host/sdhci-pxav3.c if (!IS_ERR(pxa->clk_core)) clk_core 555 drivers/mmc/host/sdhci-pxav3.c clk_prepare_enable(pxa->clk_core); clk_core 376 drivers/phy/rockchip/phy-rockchip-typec.c struct clk *clk_core; clk_core 728 drivers/phy/rockchip/phy-rockchip-typec.c ret = clk_prepare_enable(tcphy->clk_core); clk_core 793 drivers/phy/rockchip/phy-rockchip-typec.c clk_disable_unprepare(tcphy->clk_core); clk_core 802 drivers/phy/rockchip/phy-rockchip-typec.c clk_disable_unprepare(tcphy->clk_core); clk_core 1051 drivers/phy/rockchip/phy-rockchip-typec.c tcphy->clk_core = devm_clk_get(dev, "tcpdcore"); clk_core 1052 drivers/phy/rockchip/phy-rockchip-typec.c if (IS_ERR(tcphy->clk_core)) { clk_core 1054 drivers/phy/rockchip/phy-rockchip-typec.c return PTR_ERR(tcphy->clk_core); clk_core 38 include/linux/clk-provider.h struct clk_core; clk_core 306 include/linux/clk-provider.h struct clk_core *core; clk_core 13 include/trace/events/clk.h struct clk_core; clk_core 17 include/trace/events/clk.h TP_PROTO(struct clk_core *core), clk_core 34 include/trace/events/clk.h TP_PROTO(struct clk_core *core), clk_core 41 include/trace/events/clk.h TP_PROTO(struct clk_core *core), clk_core 48 include/trace/events/clk.h TP_PROTO(struct clk_core *core), clk_core 55 include/trace/events/clk.h TP_PROTO(struct clk_core *core), clk_core 62 include/trace/events/clk.h TP_PROTO(struct clk_core *core), clk_core 69 include/trace/events/clk.h TP_PROTO(struct clk_core *core), clk_core 76 include/trace/events/clk.h TP_PROTO(struct clk_core *core), clk_core 83 include/trace/events/clk.h TP_PROTO(struct clk_core *core), clk_core 90 include/trace/events/clk.h TP_PROTO(struct clk_core *core, unsigned long rate), clk_core 109 include/trace/events/clk.h TP_PROTO(struct clk_core *core, unsigned long rate), clk_core 116 include/trace/events/clk.h TP_PROTO(struct clk_core *core, unsigned long rate), clk_core 123 include/trace/events/clk.h TP_PROTO(struct clk_core *core, struct clk_core *parent), clk_core 142 include/trace/events/clk.h TP_PROTO(struct clk_core *core, struct clk_core *parent), clk_core 149 include/trace/events/clk.h TP_PROTO(struct clk_core *core, struct clk_core *parent), clk_core 156 include/trace/events/clk.h TP_PROTO(struct clk_core *core, int phase), clk_core 175 include/trace/events/clk.h TP_PROTO(struct clk_core *core, int phase), clk_core 182 include/trace/events/clk.h TP_PROTO(struct clk_core *core, int phase), clk_core 189 include/trace/events/clk.h TP_PROTO(struct clk_core *core, struct clk_duty *duty), clk_core 211 include/trace/events/clk.h TP_PROTO(struct clk_core *core, struct clk_duty *duty), clk_core 218 include/trace/events/clk.h TP_PROTO(struct clk_core *core, struct clk_duty *duty),