Home
last modified time | relevance | path

Searched refs:clk_set_rate (Results 1 – 25 of 457) sorted by relevance

12345678910>>...19

/linux-6.1.9/drivers/net/ethernet/stmicro/stmmac/
Ddwmac-sunxi.c48 clk_set_rate(gmac->tx_clk, SUN7I_GMAC_GMII_RGMII_RATE); in sun7i_gmac_init()
52 clk_set_rate(gmac->tx_clk, SUN7I_GMAC_MII_RATE); in sun7i_gmac_init()
90 clk_set_rate(gmac->tx_clk, SUN7I_GMAC_GMII_RGMII_RATE); in sun7i_fix_speed()
94 clk_set_rate(gmac->tx_clk, SUN7I_GMAC_MII_RATE); in sun7i_fix_speed()
Ddwmac-intel-plat.c57 ret = clk_set_rate(dwmac->tx_clk, rate); in kmb_eth_fix_mac_speed()
125 ret = clk_set_rate(dwmac->tx_clk, rate); in intel_eth_plat_probe()
139 ret = clk_set_rate(plat_dat->clk_ptp_ref, rate); in intel_eth_plat_probe()
/linux-6.1.9/arch/arm/mach-omap1/
Dserial.c146 clk_set_rate(uart1_ck, 12000000); in omap_serial_init()
156 clk_set_rate(uart2_ck, 12000000); in omap_serial_init()
158 clk_set_rate(uart2_ck, 48000000); in omap_serial_init()
168 clk_set_rate(uart3_ck, 12000000); in omap_serial_init()
/linux-6.1.9/drivers/clk/qcom/
Dkrait-cc.c371 clk_set_rate(l2_pri_mux_clk, aux_rate); in krait_cc_probe()
372 clk_set_rate(l2_pri_mux_clk, 2); in krait_cc_probe()
373 clk_set_rate(l2_pri_mux_clk, cur_rate); in krait_cc_probe()
383 clk_set_rate(clk, aux_rate); in krait_cc_probe()
384 clk_set_rate(clk, 2); in krait_cc_probe()
385 clk_set_rate(clk, cur_rate); in krait_cc_probe()
/linux-6.1.9/drivers/clk/imx/
Dclk-imx6sx.c499 clk_set_rate(hws[IMX6SX_CLK_EIM_SLOW]->clk, 132000000); in imx6sx_clocks_init()
515 clk_set_rate(hws[IMX6SX_CLK_ENET_PODF]->clk, 200000000); in imx6sx_clocks_init()
516 clk_set_rate(hws[IMX6SX_CLK_ENET_REF]->clk, 125000000); in imx6sx_clocks_init()
517 clk_set_rate(hws[IMX6SX_CLK_ENET2_REF]->clk, 125000000); in imx6sx_clocks_init()
520 clk_set_rate(hws[IMX6SX_CLK_PLL4_AUDIO_DIV]->clk, 393216000); in imx6sx_clocks_init()
523 clk_set_rate(hws[IMX6SX_CLK_SPDIF_PODF]->clk, 98304000); in imx6sx_clocks_init()
526 clk_set_rate(hws[IMX6SX_CLK_AUDIO_PODF]->clk, 24000000); in imx6sx_clocks_init()
531 clk_set_rate(hws[IMX6SX_CLK_SSI1_PODF]->clk, 24576000); in imx6sx_clocks_init()
532 clk_set_rate(hws[IMX6SX_CLK_SSI2_PODF]->clk, 24576000); in imx6sx_clocks_init()
533 clk_set_rate(hws[IMX6SX_CLK_SSI3_PODF]->clk, 24576000); in imx6sx_clocks_init()
[all …]
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()
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()
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-6.1.9/arch/m68k/coldfire/
Dclk.c123 int clk_set_rate(struct clk *clk, unsigned long rate) in clk_set_rate() function
128 EXPORT_SYMBOL(clk_set_rate);
/linux-6.1.9/drivers/cpufreq/
Ddavinci-cpufreq.c52 ret = clk_set_rate(armclk, new_freq * 1000); in davinci_target()
57 ret = clk_set_rate(cpufreq.asyncclk, cpufreq.asyncrate); in davinci_target()
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()
Domap-cpufreq.c89 ret = clk_set_rate(policy->clk, new_freq * 1000); in omap_target()
97 clk_set_rate(policy->clk, old_freq * 1000); in omap_target()
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()
Dimx6q-cpufreq.c127 clk_set_rate(clks[ARM].clk, (old_freq >> 1) * 1000); in imx6q_set_target()
138 clk_set_rate(clks[PLL1_SYS].clk, new_freq * 1000); in imx6q_set_target()
145 clk_set_rate(clks[PLL1_SYS].clk, new_freq * 1000); in imx6q_set_target()
155 ret = clk_set_rate(clks[ARM].clk, new_freq * 1000); in imx6q_set_target()
/linux-6.1.9/arch/mips/lantiq/
Dclk.c81 int clk_set_rate(struct clk *clk, unsigned long rate) in clk_set_rate() function
99 EXPORT_SYMBOL(clk_set_rate);
/linux-6.1.9/sound/soc/meson/
Daxg-tdm-interface.c109 ret = clk_set_rate(iface->mclk, freq); in axg_tdm_iface_set_sysclk()
211 ret = clk_set_rate(iface->lrclk, params_rate(params)); in axg_tdm_iface_set_lrclk()
270 clk_set_rate(iface->mclk, 4 * srate); in axg_tdm_iface_set_sclk()
281 ret = clk_set_rate(iface->sclk, srate); in axg_tdm_iface_set_sclk()
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()
396 ret = clk_set_rate(priv->sysclk, priv->cfg->sys_rate); in axg_pdm_dai_probe()
/linux-6.1.9/sound/soc/samsung/
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-6.1.9/drivers/clk/
Dclk_test.c221 clk_set_rate(clk, DUMMY_CLOCK_RATE_1), in clk_test_set_get_rate()
246 clk_set_rate(clk, DUMMY_CLOCK_RATE_1), in clk_test_set_set_get_rate()
250 clk_set_rate(clk, DUMMY_CLOCK_RATE_2), in clk_test_set_set_get_rate()
276 clk_set_rate(clk, DUMMY_CLOCK_RATE_1), in clk_test_round_set_get_rate()
545 ret = clk_set_rate(parent1, DUMMY_CLOCK_RATE_1); in clk_test_multiple_parents_mux_set_range_set_parent_get_rate()
548 ret = clk_set_rate(parent2, DUMMY_CLOCK_RATE_2); in clk_test_multiple_parents_mux_set_range_set_parent_get_rate()
1544 clk_set_rate(clk, DUMMY_CLOCK_RATE_1 - 1000), in clk_range_test_set_range_set_rate_lower()
1578 clk_set_rate(clk, DUMMY_CLOCK_RATE_1 - 1000), in clk_range_test_set_range_set_round_rate_consistent_lower()
1629 clk_set_rate(clk, DUMMY_CLOCK_RATE_2 + 1000), in clk_range_test_set_range_set_rate_higher()
1663 clk_set_rate(clk, DUMMY_CLOCK_RATE_2 + 1000), in clk_range_test_set_range_set_round_rate_consistent_higher()
[all …]
/linux-6.1.9/sound/soc/tegra/
Dtegra_audio_graph_card.c116 err = clk_set_rate(priv->clk_plla, plla_rate); in tegra_audio_graph_update_pll()
125 err = clk_set_rate(priv->clk_plla_out0, plla_out0_rate); in tegra_audio_graph_update_pll()
/linux-6.1.9/arch/powerpc/platforms/512x/
Dmpc512x_shared.c139 clk_set_rate(clk_diu, want); in mpc512x_set_pixel_clock()
148 clk_set_rate(clk_diu, want); in mpc512x_set_pixel_clock()
169 clk_set_rate(clk_diu, pixclock); in mpc512x_set_pixel_clock()
/linux-6.1.9/sound/soc/pxa/
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-6.1.9/arch/arm/mach-omap2/
Domap2-restart.c36 clk_set_rate(reset_virt_prcm_set_ck, rate); in omap2xxx_restart()
/linux-6.1.9/drivers/clk/ti/
Dclk-54xx.c633 rc = clk_set_rate(abe_dpll, OMAP5_DPLL_ABE_DEFFREQ); in omap5xxx_dt_clk_init()
639 rc = clk_set_rate(abe_dpll, OMAP5_DPLL_ABE_DEFFREQ * 2); in omap5xxx_dt_clk_init()
644 rc = clk_set_rate(usb_dpll, OMAP5_DPLL_USB_DEFFREQ); in omap5xxx_dt_clk_init()
649 rc = clk_set_rate(usb_dpll, OMAP5_DPLL_USB_DEFFREQ/2); in omap5xxx_dt_clk_init()
/linux-6.1.9/drivers/nvmem/
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()

12345678910>>...19