/linux/arch/arm/mach-omap1/ |
H A D | serial.c | 133 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 D | krait-cc.c | 415 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 D | spear-cpufreq.c | 88 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 D | omap-cpufreq.c | 86 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 D | s3c64xx-cpufreq.c | 75 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 D | phy-jh7110-dphy-rx.c | 122 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 D | clk-cpu.c | 53 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 D | clk-imx6sx.c | 500 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 D | clk-imx5.c | 351 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 D | clk-vf610.c | 448 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 D | clk_test.c | 121 * 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 D | rockchip_vpu_hw.c | 431 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 D | clk.c | 123 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 D | mmp-sspa.c | 118 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 D | mdp5_cmd_encoder.c | 84 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 D | clk.c | 81 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 D | smdk_spdif.c | 85 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 D | clk.h | 647 * 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 D | ep93xx-i2s.c | 335 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 D | axg-pdm.c | 176 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 D | vdec_hevc.c | 167 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 D | tegra_audio_graph_card.c | 132 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 D | clk-54xx.c | 637 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 D | qfprom.c | 164 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 D | lpass-cdc-dma.c | 180 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()
|