/linux/drivers/clk/imx/ |
H A D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 3 mxc-clk-objs += clk.o 4 mxc-clk-obj [all...] |
H A D | clk-vf610.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Copyright 2012-2013 Freescale Semiconductor, Inc. 8 #include <linux/clk.h> 10 #include <dt-bindings/clock/vf610-clock.h> 12 #include "clk 113 static struct clk *clk[VF610_CLK_END]; global() variable 134 struct clk *clk = of_clk_get_by_name(ccm_node, name); vf610_get_fixed_clock() local [all...] |
H A D | clk-imx27.c | 1 // SPDX-License-Identifier: GPL-2.0 2 #include <linux/clk.h> 3 #include <linux/clk-provider.h> 9 #include <dt-bindings/clock/imx27-clock.h> 13 #include "clk.h" 48 static struct clk *cl variable [all...] |
H A D | clk-imx5.c | 1 // SPDX-License-Identifier: GPL-2.0-only 7 #include <linux/clk.h> 10 #include <linux/clk-provider.h> 17 #include <dt-bindings/clock/imx5-clock.h> 19 #include "clk 128 static struct clk *clk[IMX5_CLK_END]; global() variable [all...] |
H A D | clk-scu.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Copyright 2018-2021 NXP 7 #include <dt-bindings/firmware/imx/rsrc.h> 8 #include <linux/arm-smccc.h> 10 #include <linux/clk-provider.h> 20 #include "clk-sc 90 u8 clk; global() member 95 u8 clk; global() member 131 u8 clk; global() member 149 u8 clk; global() member 166 u8 clk; global() member 232 struct clk_scu *clk = to_clk_scu(hw); clk_scu_recalc_rate() local 275 struct clk_scu *clk = to_clk_scu(hw); clk_scu_atf_set_cpu_rate() local 305 struct clk_scu *clk = to_clk_scu(hw); clk_scu_set_rate() local 323 struct clk_scu *clk = to_clk_scu(hw); clk_scu_get_parent() local 350 struct clk_scu *clk = to_clk_scu(hw); clk_scu_set_parent() local 377 sc_pm_clock_enable(struct imx_sc_ipc * ipc,u16 resource,u8 clk,bool enable,bool autog) sc_pm_clock_enable() argument 403 struct clk_scu *clk = to_clk_scu(hw); clk_scu_prepare() local 417 struct clk_scu *clk = to_clk_scu(hw); clk_scu_unprepare() local 456 struct clk_scu *clk; __imx_clk_scu() local 508 struct imx_scu_clk_node *clk; imx_scu_of_clk_src_get() local 521 struct imx_scu_clk_node *clk = dev_get_platdata(dev); imx_clk_scu_probe() local 563 struct clk_scu *clk = dev_get_drvdata(dev); imx_clk_scu_suspend() local 597 struct clk_scu *clk = dev_get_drvdata(dev); imx_clk_scu_resume() local 672 struct imx_scu_clk_node clk = { imx_clk_scu_alloc_dev() local 723 struct imx_scu_clk_node *clk, *n; imx_clk_scu_unregister() local 737 struct clk_gpr_scu *clk = to_clk_gpr_scu(hw); clk_gpr_div_scu_recalc_rate() local 764 struct clk_gpr_scu *clk = to_clk_gpr_scu(hw); clk_gpr_div_scu_set_rate() local 783 struct clk_gpr_scu *clk = to_clk_gpr_scu(hw); clk_gpr_mux_scu_get_parent() local 794 struct clk_gpr_scu *clk = to_clk_gpr_scu(hw); clk_gpr_mux_scu_set_parent() local 808 struct clk_gpr_scu *clk = to_clk_gpr_scu(hw); clk_gpr_gate_scu_prepare() local 816 struct clk_gpr_scu *clk = to_clk_gpr_scu(hw); clk_gpr_gate_scu_unprepare() local 828 struct clk_gpr_scu *clk = to_clk_gpr_scu(hw); clk_gpr_gate_scu_is_prepared() local 851 struct clk_gpr_scu *clk; __imx_clk_gpr_scu() local [all...] |
H A D | clk-imx35.c | 1 // SPDX-License-Identifier: GPL-2.0-only 7 #include <linux/clk.h> 15 #include "clk.h" 82 static struct clk *clk[clk_max]; variable 97 if (!aad->arm) { in _mx35_clocks_init() 98 pr_err("i.MX35 clk in _mx35_clocks_init() [all...] |
H A D | clk-imx25.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 9 #include <linux/clk.h> 18 #include "clk.h" 75 static struct clk *clk[clk_max]; variable 81 clk[dumm in __mx25_clocks_init() [all...] |
H A D | clk-imx31.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 7 #include <linux/clk.h> 16 #include "clk.h" 50 static struct clk *clk[clk_max]; variable 55 clk[dumm in _mx31_clocks_init() [all...] |
/linux/drivers/sh/clk/ |
H A D | cpg.c | 5 * Copyright (C) 2010 - 2012 Paul Mundt 11 #include <linux/clk.h> 19 static unsigned int sh_clk_read(struct clk *clk) in sh_clk_read() argument 21 if (clk->flags & CLK_ENABLE_REG_8BIT) in sh_clk_read() 22 return ioread8(clk->mapped_reg); in sh_clk_read() 23 else if (clk->flag in sh_clk_read() 29 sh_clk_read_status(struct clk * clk) sh_clk_read_status() argument 42 sh_clk_write(int value,struct clk * clk) sh_clk_write() argument 52 sh_clk_mstp_enable(struct clk * clk) sh_clk_mstp_enable() argument 71 sh_clk_mstp_disable(struct clk * clk) sh_clk_mstp_disable() argument 100 clk_to_div_table(struct clk * clk) clk_to_div_table() argument 105 clk_to_div_mult_table(struct clk * clk) clk_to_div_mult_table() argument 113 sh_clk_div_round_rate(struct clk * clk,unsigned long rate) sh_clk_div_round_rate() argument 118 sh_clk_div_recalc(struct clk * clk) sh_clk_div_recalc() argument 131 sh_clk_div_set_rate(struct clk * clk,unsigned long rate) sh_clk_div_set_rate() argument 153 sh_clk_div_enable(struct clk * clk) sh_clk_div_enable() argument 165 sh_clk_div_disable(struct clk * clk) sh_clk_div_disable() argument 197 sh_clk_init_parent(struct clk * clk) sh_clk_init_parent() argument 282 sh_clk_div6_set_parent(struct clk * clk,struct clk * parent) sh_clk_div6_set_parent() argument 339 sh_clk_div4_set_parent(struct clk * clk,struct clk * parent) sh_clk_div4_set_parent() argument 398 fsidiv_recalc(struct clk * clk) fsidiv_recalc() argument 411 fsidiv_round_rate(struct clk * clk,unsigned long rate) fsidiv_round_rate() argument 416 fsidiv_disable(struct clk * clk) fsidiv_disable() argument 421 fsidiv_enable(struct clk * clk) fsidiv_enable() argument 434 fsidiv_set_rate(struct clk * clk,unsigned long rate) fsidiv_set_rate() argument [all...] |
H A D | core.c | 4 * Copyright (C) 2005 - 2010 Paul Mundt 8 * Copyright (C) 2004 - 2008 Nokia Corporation 29 #include <linux/clk.h> 39 void clk_rate_table_build(struct clk *clk, in clk_rate_table_build() argument 49 clk->nr_freqs = nr_freqs; in clk_rate_table_build() 55 if (src_table->divisors && i < src_table->nr_divisors) in clk_rate_table_build() 56 div = src_table->divisor in clk_rate_table_build() 137 clk_rate_table_round(struct clk * clk,struct cpufreq_frequency_table * freq_table,unsigned long rate) clk_rate_table_round() argument 161 clk_rate_div_range_round(struct clk * clk,unsigned int div_min,unsigned int div_max,unsigned long rate) clk_rate_div_range_round() argument 181 clk_rate_mult_range_round(struct clk * clk,unsigned int mult_min,unsigned int mult_max,unsigned long rate) clk_rate_mult_range_round() argument 195 clk_rate_table_find(struct clk * clk,struct cpufreq_frequency_table * freq_table,unsigned long rate) clk_rate_table_find() argument 210 followparent_recalc(struct clk * clk) followparent_recalc() argument 238 __clk_disable(struct clk * clk) __clk_disable() argument 252 clk_disable(struct clk * clk) clk_disable() argument 265 __clk_enable(struct clk * clk) __clk_enable() argument 292 clk_enable(struct clk * clk) clk_enable() argument 330 lookup_root_clock(struct clk * clk) lookup_root_clock() argument 338 clk_establish_mapping(struct clk * clk) clk_establish_mapping() argument 397 clk_teardown_mapping(struct clk * clk) clk_teardown_mapping() argument 411 clk_register(struct clk * clk) clk_register() argument 452 clk_unregister(struct clk * clk) clk_unregister() argument 471 clk_get_rate(struct clk * clk) clk_get_rate() argument 480 clk_set_rate(struct clk * clk,unsigned long rate) clk_set_rate() argument 511 clk_set_parent(struct clk * clk,struct clk * parent) clk_set_parent() argument 543 clk_get_parent(struct clk * clk) clk_get_parent() argument 552 clk_round_rate(struct clk * clk,unsigned long rate) clk_round_rate() argument 607 struct clk *clk; clk_late_init() local [all...] |
/linux/arch/mips/lantiq/ |
H A D | clk.c | 1 // SPDX-License-Identifier: GPL-2.0-only 12 #include <linux/clk.h> 23 #include "clk.h" 27 static struct clk cpu_clk_generic[4]; 38 struct clk *clk_get_cpu(void) in clk_get_cpu() 43 struct clk *clk_get_fpi(void) in clk_get_fpi() 49 struct clk *clk_get_i 61 clk_good(struct clk * clk) clk_good() argument 66 clk_get_rate(struct clk * clk) clk_get_rate() argument 81 clk_set_rate(struct clk * clk,unsigned long rate) clk_set_rate() argument 101 clk_round_rate(struct clk * clk,unsigned long rate) clk_round_rate() argument 118 clk_enable(struct clk * clk) clk_enable() argument 130 clk_disable(struct clk * clk) clk_disable() argument 140 clk_activate(struct clk * clk) clk_activate() argument 152 clk_deactivate(struct clk * clk) clk_deactivate() argument 162 clk_get_parent(struct clk * clk) clk_get_parent() argument 168 clk_set_parent(struct clk * clk,struct clk * parent) clk_set_parent() argument 192 struct clk *clk; plat_time_init() local [all...] |
/linux/drivers/clk/st/ |
H A D | clk-flexgen.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * clk-flexgen.c 5 * Copyright (C) ST-Microelectronics SA 2013 6 * Author: Maxime Coquelin <maxime.coquelin@st.com> for ST-Microelectronics. 9 #include <linux/clk.h> 10 #include <linux/clk 211 struct clk *clk; clk_register_flexgen() local 707 struct clk *clk; st_of_flexgen_setup() local [all...] |
/linux/arch/arm64/boot/dts/freescale/ |
H A D | imx8mp-nominal.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 &clk { 7 assigned-clocks = <&clk IMX8MP_CLK_A53_SRC>, 8 <&clk IMX8MP_CLK_A53_CORE>, 9 <&clk IMX8MP_SYS_PLL3>, 10 <&clk IMX8MP_CLK_NOC>, 11 <&clk IMX8MP_CLK_NOC_I [all...] |
/linux/drivers/clk/ |
H A D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 3 obj-$(CONFIG_HAVE_CLK) += clk-devres.o clk-bulk.o clkdev.o 4 obj-$(CONFIG_COMMON_CLK) += clk [all...] |
H A D | clk_kunit_helpers.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * KUnit helpers for clk providers and consumers 5 #include <linux/clk.h> 6 #include <linux/clk-provider.h> 11 #include <kunit/clk.h> 15 clk_disable_unprepare, struct clk *); 17 * clk_prepare_enable_kunit() - Tes 23 clk_prepare_enable_kunit(struct kunit * test,struct clk * clk) clk_prepare_enable_kunit() argument 38 __clk_get_kunit(struct kunit * test,struct clk * clk) __clk_get_kunit() argument 66 struct clk *clk; clk_get_kunit() local 88 struct clk *clk; of_clk_get_kunit() local 110 struct clk *clk; clk_hw_get_clk_kunit() local 142 struct clk *clk; clk_hw_get_clk_prepared_enabled_kunit() local [all...] |
/linux/include/linux/ |
H A D | clk.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * linux/include/linux/clk.h 7 * Copyright (C) 2011-2012 Linaro Ltd <mturquette@linaro.org> 17 struct clk; 22 * DOC: clk notifier callback types 24 * PRE_RATE_CHANGE - called immediately before the clk rat 55 struct clk *clk; global() member 72 struct clk *clk; global() member 89 struct clk *clk; global() member 233 clk_notifier_register(struct clk * clk,struct notifier_block * nb) clk_notifier_register() argument 239 clk_notifier_unregister(struct clk * clk,struct notifier_block * nb) clk_notifier_unregister() argument 246 devm_clk_notifier_register(struct device * dev,struct clk * clk,struct notifier_block * nb) devm_clk_notifier_register() argument 252 clk_get_accuracy(struct clk * clk) clk_get_accuracy() argument 257 clk_set_phase(struct clk * clk,int phase) clk_set_phase() argument 262 clk_get_phase(struct clk * clk) clk_get_phase() argument 267 clk_set_duty_cycle(struct clk * clk,unsigned int num,unsigned int den) clk_set_duty_cycle() argument 273 clk_get_scaled_duty_cycle(struct clk * clk,unsigned int scale) clk_get_scaled_duty_cycle() argument 284 clk_rate_exclusive_get(struct clk * clk) clk_rate_exclusive_get() argument 289 devm_clk_rate_exclusive_get(struct device * dev,struct clk * clk) devm_clk_rate_exclusive_get() argument 294 clk_rate_exclusive_put(struct clk * clk) clk_rate_exclusive_put() argument 328 clk_prepare(struct clk * clk) clk_prepare() argument 341 clk_is_enabled_when_prepared(struct clk * clk) clk_is_enabled_when_prepared() argument 360 clk_unprepare(struct clk * clk) clk_unprepare() argument 1051 clk_put(struct clk * clk) clk_put() argument 1057 devm_clk_put(struct device * dev,struct clk * clk) devm_clk_put() argument 1059 clk_enable(struct clk * clk) clk_enable() argument 1070 clk_disable(struct clk * clk) clk_disable() argument 1076 clk_get_rate(struct clk * clk) clk_get_rate() argument 1081 clk_set_rate(struct clk * clk,unsigned long rate) clk_set_rate() argument 1086 clk_set_rate_exclusive(struct clk * clk,unsigned long rate) clk_set_rate_exclusive() argument 1091 clk_round_rate(struct clk * clk,unsigned long rate) clk_round_rate() argument 1096 clk_has_parent(struct clk * clk,struct clk * parent) clk_has_parent() argument 1101 clk_set_rate_range(struct clk * clk,unsigned long min,unsigned long max) clk_set_rate_range() argument 1107 clk_set_min_rate(struct clk * clk,unsigned long rate) clk_set_min_rate() argument 1112 clk_set_max_rate(struct clk * clk,unsigned long rate) clk_set_max_rate() argument 1117 clk_set_parent(struct clk * clk,struct clk * parent) clk_set_parent() argument 1122 clk_get_parent(struct clk * clk) clk_get_parent() argument 1142 clk_prepare_enable(struct clk * clk) clk_prepare_enable() argument 1157 clk_disable_unprepare(struct clk * clk) clk_disable_unprepare() argument 1191 clk_drop_range(struct clk * clk) clk_drop_range() argument 1207 struct clk *clk = clk_get(dev, id); clk_get_optional() local [all...] |
/linux/arch/m68k/coldfire/ |
H A D | clk.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * clk.c -- general ColdFire CPU kernel clk handling 16 #include <linux/clk.h> 31 void __clk_init_enabled(struct clk *clk) in __clk_init_enabled() argument 37 __clk_init_disabled(struct clk * clk) __clk_init_disabled() argument 43 __clk_enable0(struct clk * clk) __clk_enable0() argument 48 __clk_disable0(struct clk * clk) __clk_disable0() argument 59 __clk_enable1(struct clk * clk) __clk_enable1() argument 64 __clk_disable1(struct clk * clk) __clk_disable1() argument 76 clk_enable(struct clk * clk) clk_enable() argument 92 clk_disable(struct clk * clk) clk_disable() argument 106 clk_get_rate(struct clk * clk) clk_get_rate() argument 116 clk_round_rate(struct clk * clk,unsigned long rate) clk_round_rate() argument 123 clk_set_rate(struct clk * clk,unsigned long rate) clk_set_rate() argument 130 clk_set_parent(struct clk * clk,struct clk * parent) clk_set_parent() argument 137 clk_get_parent(struct clk * clk) clk_get_parent() argument [all...] |
/linux/drivers/clk/ux500/ |
H A D | u8500_of_clk.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2012 ST-Ericsson SA 11 #include <linux/clk-provider.h> 12 #include <linux/mfd/dbx500-prcmu.h> 14 #include "clk.h" 16 #include "reset-prc 22 PRCC_SHOW(clk,base,bit) global() argument 24 PRCC_PCLK_STORE(clk,base,bit) global() argument 26 PRCC_KCLK_STORE(clk,base,bit) global() argument 130 struct clk *clk, *rtc_clk, *twd_clk; u8500_clk_init() local [all...] |
H A D | clk-sysctrl.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2013 ST-Ericsson SA 9 #include <linux/clk-provider.h> 10 #include <linux/mfd/abx500/ab8500-sysctrl.h> 16 #include "clk.h" 38 struct clk_sysctrl *clk in clk_sysctrl_prepare() local 52 struct clk_sysctrl *clk = to_clk_sysctrl(hw); clk_sysctrl_unprepare() local 61 struct clk_sysctrl *clk = to_clk_sysctrl(hw); clk_sysctrl_recalc_rate() local 67 struct clk_sysctrl *clk = to_clk_sysctrl(hw); clk_sysctrl_set_parent() local 97 struct clk_sysctrl *clk = to_clk_sysctrl(hw); clk_sysctrl_get_parent() local 130 struct clk_sysctrl *clk; clk_reg_sysctrl() local [all...] |
H A D | clk-prcc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2012 ST-Ericsson SA 9 #include <linux/clk-provider.h> 15 #include "clk.h" 37 struct clk_prcc *clk = to_clk_prcc(hw); in clk_prcc_pclk_enable() local 39 writel(clk in clk_prcc_pclk_enable() 49 struct clk_prcc *clk = to_clk_prcc(hw); clk_prcc_pclk_disable() local 57 struct clk_prcc *clk = to_clk_prcc(hw); clk_prcc_kclk_enable() local 69 struct clk_prcc *clk = to_clk_prcc(hw); clk_prcc_kclk_disable() local 77 struct clk_prcc *clk = to_clk_prcc(hw); clk_prcc_is_enabled() local 100 struct clk_prcc *clk; clk_reg_prcc() local [all...] |
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/clk/ |
H A D | base.c | 41 nvkm_clk_adjust(struct nvkm_clk *clk, bool adjust, in nvkm_clk_adjust() argument 44 struct nvkm_bios *bios = clk->subdev.device->bios; in nvkm_clk_adjust() 76 * C-States 79 nvkm_cstate_valid(struct nvkm_clk *clk, struct nvkm_cstate *cstate, in nvkm_cstate_valid() argument 82 const struct nvkm_domain *domain = clk->domains; in nvkm_cstate_valid() 83 struct nvkm_volt *volt = clk->subde in nvkm_cstate_valid() 112 nvkm_cstate_find_best(struct nvkm_clk * clk,struct nvkm_pstate * pstate,struct nvkm_cstate * cstate) nvkm_cstate_find_best() argument 145 nvkm_cstate_get(struct nvkm_clk * clk,struct nvkm_pstate * pstate,int cstatei) nvkm_cstate_get() argument 160 nvkm_cstate_prog(struct nvkm_clk * clk,struct nvkm_pstate * pstate,int cstatei) nvkm_cstate_prog() argument 225 nvkm_cstate_new(struct nvkm_clk * clk,int idx,struct nvkm_pstate * pstate) nvkm_cstate_new() argument 267 nvkm_pstate_prog(struct nvkm_clk * clk,int pstatei) nvkm_pstate_prog() argument 302 struct nvkm_clk *clk = container_of(work, typeof(*clk), work); nvkm_pstate_work() local 336 nvkm_pstate_calc(struct nvkm_clk * clk,bool wait) nvkm_pstate_calc() argument 346 nvkm_pstate_info(struct nvkm_clk * clk,struct nvkm_pstate * pstate) nvkm_pstate_info() argument 402 nvkm_pstate_new(struct nvkm_clk * clk,int idx) nvkm_pstate_new() argument 473 nvkm_clk_ustate_update(struct nvkm_clk * clk,int req) nvkm_clk_ustate_update() argument 497 nvkm_clk_nstate(struct nvkm_clk * clk,const char * mode,int arglen) nvkm_clk_nstate() argument 521 nvkm_clk_ustate(struct nvkm_clk * clk,int req,int pwr) nvkm_clk_ustate() argument 533 nvkm_clk_astate(struct nvkm_clk * clk,int req,int rel,bool wait) nvkm_clk_astate() argument 543 nvkm_clk_tstate(struct nvkm_clk * clk,u8 temp) nvkm_clk_tstate() argument 552 nvkm_clk_dstate(struct nvkm_clk * clk,int req,int rel) nvkm_clk_dstate() argument 574 nvkm_clk_read(struct nvkm_clk * clk,enum nv_clk_src src) nvkm_clk_read() argument 582 struct nvkm_clk *clk = nvkm_clk(subdev); nvkm_clk_fini() local 592 struct nvkm_clk *clk = nvkm_clk(subdev); nvkm_clk_init() local 626 struct nvkm_clk *clk = nvkm_clk(subdev); nvkm_clk_dtor() local 649 nvkm_clk_ctor(const struct nvkm_clk_func * func,struct nvkm_device * device,enum nvkm_subdev_type type,int inst,bool allow_reclock,struct nvkm_clk * clk) nvkm_clk_ctor() argument [all...] |
/linux/kernel/time/ |
H A D | posix-clock.c | 1 // SPDX-License-Identifier: GPL-2.0+ 10 #include <linux/posix-clock.h> 15 #include "posix-timers.h" 22 struct posix_clock_context *pccontext = fp->private_data; in get_posix_clock() 23 struct posix_clock *clk = pccontext->clk; in get_posix_clock() local 25 down_read(&clk in get_posix_clock() 35 put_posix_clock(struct posix_clock * clk) put_posix_clock() argument 44 struct posix_clock *clk = get_posix_clock(fp); posix_clock_read() local 61 struct posix_clock *clk = get_posix_clock(fp); posix_clock_poll() local 79 struct posix_clock *clk = get_posix_clock(fp); posix_clock_ioctl() local 96 struct posix_clock *clk = posix_clock_open() local 132 struct posix_clock *clk; posix_clock_release() local 160 posix_clock_register(struct posix_clock * clk,struct device * dev) posix_clock_register() argument 180 posix_clock_unregister(struct posix_clock * clk) posix_clock_unregister() argument 194 struct posix_clock *clk; global() member [all...] |
/linux/arch/arm/mach-omap1/ |
H A D | clock.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * linux/arch/arm/mach-omap1/clock.c 5 * Copyright (C) 2004 - 2005, 2009-2010 Nokia Corporation 17 #include <linux/clk.h> 19 #include <linux/clk-provide 47 omap1_uart_recalc(struct omap1_clk * clk,unsigned long p_rate) omap1_uart_recalc() argument 53 omap1_sossi_recalc(struct omap1_clk * clk,unsigned long p_rate) omap1_sossi_recalc() argument 63 omap1_clk_allow_idle(struct omap1_clk * clk) omap1_clk_allow_idle() argument 74 omap1_clk_deny_idle(struct omap1_clk * clk) omap1_clk_deny_idle() argument 166 omap1_ckctl_recalc(struct omap1_clk * clk,unsigned long p_rate) omap1_ckctl_recalc() argument 178 struct omap1_clk *clk = to_omap1_clk(hw); omap1_clk_is_enabled() local 207 omap1_ckctl_recalc_dsp_domain(struct omap1_clk * clk,unsigned long p_rate) omap1_ckctl_recalc_dsp_domain() argument 230 omap1_select_table_rate(struct omap1_clk * clk,unsigned long rate,unsigned long p_rate) omap1_select_table_rate() argument 265 omap1_clk_set_rate_dsp_domain(struct omap1_clk * clk,unsigned long rate,unsigned long p_rate) omap1_clk_set_rate_dsp_domain() argument 285 omap1_clk_round_rate_ckctl_arm(struct omap1_clk * clk,unsigned long rate,unsigned long * p_rate) omap1_clk_round_rate_ckctl_arm() argument 297 omap1_clk_set_rate_ckctl_arm(struct omap1_clk * clk,unsigned long rate,unsigned long p_rate) omap1_clk_set_rate_ckctl_arm() argument 324 omap1_round_to_table_rate(struct omap1_clk * clk,unsigned long rate,unsigned long * p_rate) omap1_round_to_table_rate() argument 375 omap1_round_uart_rate(struct omap1_clk * clk,unsigned long rate,unsigned long * p_rate) omap1_round_uart_rate() argument 380 omap1_set_uart_rate(struct omap1_clk * clk,unsigned long rate,unsigned long p_rate) omap1_set_uart_rate() argument 406 omap1_set_ext_clk_rate(struct omap1_clk * clk,unsigned long rate,unsigned long p_rate) omap1_set_ext_clk_rate() argument 440 omap1_round_sossi_rate(struct omap1_clk * clk,unsigned long rate,unsigned long * p_rate) omap1_round_sossi_rate() argument 453 omap1_set_sossi_rate(struct omap1_clk * clk,unsigned long rate,unsigned long p_rate) omap1_set_sossi_rate() argument 478 omap1_round_ext_clk_rate(struct omap1_clk * clk,unsigned long rate,unsigned long * p_rate) omap1_round_ext_clk_rate() argument 483 omap1_init_ext_clk(struct omap1_clk * clk) omap1_init_ext_clk() argument 505 struct omap1_clk *clk = to_omap1_clk(hw), *parent = to_omap1_clk(clk_hw_get_parent(hw)); omap1_clk_enable() local 519 struct omap1_clk *clk = to_omap1_clk(hw), *parent = to_omap1_clk(clk_hw_get_parent(hw)); omap1_clk_disable() local 528 omap1_clk_enable_generic(struct omap1_clk * clk) omap1_clk_enable_generic() argument 576 omap1_clk_disable_generic(struct omap1_clk * clk) omap1_clk_disable_generic() argument 624 omap1_clk_enable_dsp_domain(struct omap1_clk * clk) omap1_clk_enable_dsp_domain() argument 643 omap1_clk_disable_dsp_domain(struct omap1_clk * clk) omap1_clk_disable_dsp_domain() argument 664 omap1_clk_enable_uart_functional_16xx(struct omap1_clk * clk) omap1_clk_enable_uart_functional_16xx() argument 681 omap1_clk_disable_uart_functional_16xx(struct omap1_clk * clk) omap1_clk_disable_uart_functional_16xx() argument 700 struct omap1_clk *clk = to_omap1_clk(hw); omap1_clk_recalc_rate() local 710 struct omap1_clk *clk = to_omap1_clk(hw); omap1_clk_round_rate() local 720 struct omap1_clk *clk = to_omap1_clk(hw); omap1_clk_set_rate() local 734 struct omap1_clk *clk = to_omap1_clk(hw); omap1_clk_init_op() local 746 struct omap1_clk *clk = to_omap1_clk(hw); omap1_clk_disable_unused() local 797 followparent_recalc(struct omap1_clk * clk,unsigned long p_rate) followparent_recalc() argument 806 omap_fixed_divisor_recalc(struct omap1_clk * clk,unsigned long p_rate) omap_fixed_divisor_recalc() argument [all...] |
/linux/drivers/clk/spear/ |
H A D | spear6xx_clock.c | 1 // SPDX-License-Identifier: GPL-2.0-only 10 #include <linux/clk/spear.h> 13 #include "clk.h" 27 /* CORE CLK CFG register masks */ 116 struct clk *clk, *clk1; in spear6xx_clk_init() local 118 clk in spear6xx_clk_init() [all...] |
/linux/drivers/clk/ti/ |
H A D | autoidle.c | 1 // SPDX-License-Identifier: GPL-2.0-only 7 * Tero Kristo <t-kristo@ti.com> 10 #include <linux/clk-provider.h> 15 #include <linux/clk/ti.h> 32 * we have some non-atomic read/write 39 static int _omap2_clk_deny_idle(struct clk_hw_omap *clk) in _omap2_clk_deny_idle() argument 54 _omap2_clk_allow_idle(struct clk_hw_omap * clk) _omap2_clk_allow_idle() argument 75 omap2_clk_deny_idle(struct clk * clk) omap2_clk_deny_idle() argument 99 omap2_clk_allow_idle(struct clk * clk) omap2_clk_allow_idle() argument 117 _allow_autoidle(struct clk_ti_autoidle * clk) _allow_autoidle() argument 131 _deny_autoidle(struct clk_ti_autoidle * clk) _deny_autoidle() argument 187 struct clk_ti_autoidle *clk; of_ti_clk_autoidle_setup() local [all...] |