Home
last modified time | relevance | path

Searched full:clk_set_rate (Results 1 – 25 of 397) sorted by relevance

12345678910>>...16

/linux/arch/arm/mach-omap1/
H A Dserial.c133 clk_set_rate(uart1_ck, 12000000); in omap_serial_init()
143 clk_set_rate(uart2_ck, 12000000); in omap_serial_init()
145 clk_set_rate(uart2_ck, 48000000); in omap_serial_init()
155 clk_set_rate(uart3_ck, 12000000); in omap_serial_init()
/linux/drivers/clk/qcom/
H A Dkrait-cc.c415 clk_set_rate(clks[l2_mux], aux_rate); in krait_cc_probe()
416 clk_set_rate(clks[l2_mux], 2); in krait_cc_probe()
417 clk_set_rate(clks[l2_mux], cur_rate); in krait_cc_probe()
427 clk_set_rate(clk, aux_rate); in krait_cc_probe()
428 clk_set_rate(clk, 2); in krait_cc_probe()
429 clk_set_rate(clk, cur_rate); in krait_cc_probe()
/linux/drivers/cpufreq/
H A Dspear-cpufreq.c88 ret = clk_set_rate(sys_pclk, newfreq); in spear1340_set_cpu_rate()
145 ret = clk_set_rate(spear_cpufreq.clk, newfreq); in spear_cpufreq_target()
148 pr_err("CPU Freq: cpu clk_set_rate failed: %d\n", ret); in spear_cpufreq_target()
H A Domap-cpufreq.c86 ret = clk_set_rate(policy->clk, new_freq * 1000); in omap_target()
94 clk_set_rate(policy->clk, old_freq * 1000); in omap_target()
H A Ds3c64xx-cpufreq.c75 ret = clk_set_rate(policy->clk, new_freq * 1000); in s3c64xx_cpufreq_set_target()
90 if (clk_set_rate(policy->clk, old_freq * 1000) < 0) in s3c64xx_cpufreq_set_target()
/linux/drivers/phy/starfive/
H A Dphy-jh7110-dphy-rx.c122 clk_set_rate(dphy->cfg_clk, 99000000); in stf_dphy_power_on()
123 clk_set_rate(dphy->ref_clk, 49500000); in stf_dphy_power_on()
124 clk_set_rate(dphy->tx_clk, 19800000); in stf_dphy_power_on()
/linux/drivers/clk/imx/
H A Dclk-cpu.c53 ret = clk_set_rate(cpu->pll, rate); in clk_cpu_set_rate()
62 clk_set_rate(cpu->div, rate); in clk_cpu_set_rate()
H A Dclk-imx6sx.c500 clk_set_rate(hws[IMX6SX_CLK_EIM_SLOW]->clk, 132000000); in imx6sx_clocks_init()
523 clk_set_rate(hws[IMX6SX_CLK_ENET_PODF]->clk, 200000000); in imx6sx_clocks_init()
524 clk_set_rate(hws[IMX6SX_CLK_ENET_REF]->clk, 125000000); in imx6sx_clocks_init()
525 clk_set_rate(hws[IMX6SX_CLK_ENET2_REF]->clk, 125000000); in imx6sx_clocks_init()
528 clk_set_rate(hws[IMX6SX_CLK_PLL4_AUDIO_DIV]->clk, 393216000); in imx6sx_clocks_init()
531 clk_set_rate(hws[IMX6SX_CLK_SPDIF_PODF]->clk, 98304000); in imx6sx_clocks_init()
534 clk_set_rate(hws[IMX6SX_CLK_AUDIO_PODF]->clk, 24000000); in imx6sx_clocks_init()
539 clk_set_rate(hws[IMX6SX_CLK_SSI1_PODF]->clk, 24576000); in imx6sx_clocks_init()
540 clk_set_rate(hws[IMX6SX_CLK_SSI2_PODF]->clk, 24576000); in imx6sx_clocks_init()
541 clk_set_rate(hws[IMX6SX_CLK_SSI3_PODF]->clk, 24576000); in imx6sx_clocks_init()
[all …]
H A Dclk-imx5.c351 clk_set_rate(clk[IMX5_CLK_ESDHC_A_PODF], 200000000); in mx50_clocks_init()
352 clk_set_rate(clk[IMX5_CLK_ESDHC_B_PODF], 200000000); in mx50_clocks_init()
359 clk_set_rate(clk[IMX5_CLK_USBOH3_PER_GATE], r); in mx50_clocks_init()
445 clk_set_rate(clk[IMX5_CLK_ESDHC_A_PODF], 166250000); in mx51_clocks_init()
446 clk_set_rate(clk[IMX5_CLK_ESDHC_B_PODF], 166250000); in mx51_clocks_init()
596 clk_set_rate(clk[IMX5_CLK_ESDHC_A_PODF], 200000000); in mx53_clocks_init()
597 clk_set_rate(clk[IMX5_CLK_ESDHC_B_PODF], 200000000); in mx53_clocks_init()
610 clk_set_rate(clk[IMX5_CLK_USBOH3_PER_GATE], r); in mx53_clocks_init()
H A Dclk-vf610.c448 clk_set_rate(clk[VF610_CLK_QSPI0_X4_DIV], clk_get_rate(clk[VF610_CLK_QSPI0_SEL]) / 2); in vf610_clocks_init()
449 clk_set_rate(clk[VF610_CLK_QSPI0_X2_DIV], clk_get_rate(clk[VF610_CLK_QSPI0_X4_DIV]) / 2); in vf610_clocks_init()
450 clk_set_rate(clk[VF610_CLK_QSPI0_X1_DIV], clk_get_rate(clk[VF610_CLK_QSPI0_X2_DIV]) / 2); in vf610_clocks_init()
453 clk_set_rate(clk[VF610_CLK_QSPI1_X4_DIV], clk_get_rate(clk[VF610_CLK_QSPI1_SEL]) / 2); in vf610_clocks_init()
454 clk_set_rate(clk[VF610_CLK_QSPI1_X2_DIV], clk_get_rate(clk[VF610_CLK_QSPI1_X4_DIV]) / 2); in vf610_clocks_init()
455 clk_set_rate(clk[VF610_CLK_QSPI1_X1_DIV], clk_get_rate(clk[VF610_CLK_QSPI1_X2_DIV]) / 2); in vf610_clocks_init()
/linux/drivers/clk/
H A Dclk_test.c121 * clk_round_rate() or clk_set_rate() with a rate lower than
241 * Test that, after a call to clk_set_rate(), the rate returned by
255 clk_set_rate(clk, DUMMY_CLOCK_RATE_1), in clk_test_set_get_rate()
266 * Test that, after several calls to clk_set_rate(), the rate returned
280 clk_set_rate(clk, DUMMY_CLOCK_RATE_1), in clk_test_set_set_get_rate()
284 clk_set_rate(clk, DUMMY_CLOCK_RATE_2), in clk_test_set_set_get_rate()
295 * Test that clk_round_rate and clk_set_rate are consitent and will
311 clk_set_rate(clk, DUMMY_CLOCK_RATE_1), in clk_test_round_set_get_rate()
570 ret = clk_set_rate(parent1, DUMMY_CLOCK_RATE_1); in clk_test_multiple_parents_mux_set_range_set_parent_get_rate()
573 ret = clk_set_rate(parent2, DUMMY_CLOCK_RATE_2); in clk_test_multiple_parents_mux_set_range_set_parent_get_rate()
[all …]
/linux/drivers/media/platform/verisilicon/
H A Drockchip_vpu_hw.c431 clk_set_rate(vpu->clocks[0].clk, RK3066_ACLK_MAX_FREQ); in rk3036_vpu_hw_init()
438 clk_set_rate(vpu->clocks[0].clk, RK3066_ACLK_MAX_FREQ); in rk3066_vpu_hw_init()
439 clk_set_rate(vpu->clocks[2].clk, RK3066_ACLK_MAX_FREQ); in rk3066_vpu_hw_init()
446 clk_set_rate(vpu->clocks[0].clk, RK3588_ACLK_MAX_FREQ); in rk3588_vpu981_hw_init()
453 clk_set_rate(vpu->clocks[0].clk, RK3288_ACLK_MAX_FREQ); in rockchip_vpu_hw_init()
/linux/arch/m68k/coldfire/
H A Dclk.c123 int clk_set_rate(struct clk *clk, unsigned long rate) in clk_set_rate() function
128 EXPORT_SYMBOL(clk_set_rate);
/linux/sound/soc/pxa/
H A Dmmp-sspa.c118 ret = clk_set_rate(sspa->audio_clk, freq); in mmp_sspa_set_dai_sysclk()
146 ret = clk_set_rate(sspa->sysclk, freq_out); in mmp_sspa_set_dai_pll()
151 ret = clk_set_rate(sspa->clk, freq_out); in mmp_sspa_set_dai_pll()
265 clk_set_rate(sspa->clk, params_rate(params) * in mmp_sspa_hw_params()
/linux/drivers/gpu/drm/msm/disp/mdp5/
H A Dmdp5_cmd_encoder.c84 ret = clk_set_rate(mdp5_kms->vsync_clk, in pingpong_tearcheck_enable()
88 "vsync_clk clk_set_rate failed, %d\n", ret); in pingpong_tearcheck_enable()
/linux/arch/mips/lantiq/
H A Dclk.c81 int clk_set_rate(struct clk *clk, unsigned long rate) in clk_set_rate() function
99 EXPORT_SYMBOL(clk_set_rate);
/linux/sound/soc/samsung/
H A Dsmdk_spdif.c85 clk_set_rate(fout_epll, epll_rate); in set_audio_clock_rate()
94 clk_set_rate(sclk_spdif, audio_rate); in set_audio_clock_rate()
/linux/include/linux/
H A Dclk.h647 * clk_set_rate() +
814 * This answers the question "if I were to pass @rate to clk_set_rate(),
822 * clk_set_rate(clk, r);
833 * clk_set_rate - set the clock rate for a clock source
842 int clk_set_rate(struct clk *clk, unsigned long rate);
853 * It is essentially a combination of clk_set_rate() and
1081 static inline int clk_set_rate(struct clk *clk, unsigned long rate) in clk_set_rate() function
/linux/sound/soc/cirrus/
H A Dep93xx-i2s.c335 err = clk_set_rate(info->sclk, clk_get_rate(info->mclk) / sdiv); in ep93xx_i2s_hw_params()
339 err = clk_set_rate(info->lrclk, clk_get_rate(info->sclk) / lrdiv); in ep93xx_i2s_hw_params()
356 return clk_set_rate(info->mclk, freq); in ep93xx_i2s_set_sysclk()
/linux/sound/soc/meson/
H A Daxg-pdm.c176 return clk_set_rate(priv->sysclk, sys_rate); in axg_pdm_set_sysclk()
178 return clk_set_rate(priv->sysclk, priv->cfg->sys_rate); in axg_pdm_set_sysclk()
253 ret = clk_set_rate(priv->dclk, rate * os); in axg_pdm_hw_params()
389 ret = clk_set_rate(priv->sysclk, priv->cfg->sys_rate); in axg_pdm_dai_probe()
/linux/drivers/staging/media/meson/vdec/
H A Dvdec_hevc.c167 clk_set_rate(core->vdec_hevc_clk, 666666666); in __vdec_hevc_start()
237 clk_set_rate(core->vdec_hevcf_clk, 666666666); in vdec_hevc_start()
/linux/sound/soc/tegra/
H A Dtegra_audio_graph_card.c132 err = clk_set_rate(priv->clk_plla, plla_rate); in tegra_audio_graph_update_pll()
141 err = clk_set_rate(priv->clk_plla_out0, plla_out0_rate); in tegra_audio_graph_update_pll()
/linux/drivers/clk/ti/
H A Dclk-54xx.c637 rc = clk_set_rate(abe_dpll, OMAP5_DPLL_ABE_DEFFREQ); in omap5xxx_dt_clk_init()
643 rc = clk_set_rate(abe_dpll, OMAP5_DPLL_ABE_DEFFREQ * 2); in omap5xxx_dt_clk_init()
648 rc = clk_set_rate(usb_dpll, OMAP5_DPLL_USB_DEFFREQ); in omap5xxx_dt_clk_init()
653 rc = clk_set_rate(usb_dpll, OMAP5_DPLL_USB_DEFFREQ/2); in omap5xxx_dt_clk_init()
/linux/drivers/nvmem/
H A Dqfprom.c164 ret = clk_set_rate(priv->secclk, old->clk_rate); in qfprom_disable_fuse_blowing()
197 ret = clk_set_rate(priv->secclk, priv->soc_data->qfprom_blow_set_freq); in qfprom_enable_fuse_blowing()
239 clk_set_rate(priv->secclk, old->clk_rate); in qfprom_enable_fuse_blowing()
/linux/sound/soc/qcom/
H A Dlpass-cdc-dma.c180 clk_set_rate(drvdata->codec_mem0, CODEC_MEM_HZ_NORMAL); in lpass_cdc_dma_daiops_startup()
184 clk_set_rate(drvdata->va_mem0, CODEC_MEM_HZ_NORMAL); in lpass_cdc_dma_daiops_startup()

12345678910>>...16