Home
last modified time | relevance | path

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

1234567

/drivers/cpufreq/
Dtegra20-cpufreq.c103 clk_set_rate(emc_clk, 600000000); /* cpu 816 MHz, emc max */ in tegra_target()
105 clk_set_rate(emc_clk, 300000000); /* cpu 456 MHz, emc 150Mhz */ in tegra_target()
107 clk_set_rate(emc_clk, 100000000); /* emc 50Mhz */ in tegra_target()
116 ret = clk_set_rate(pll_x_clk, rate * 1000); in tegra_target()
Dloongson2_cpufreq.c65 clk_set_rate(policy->clk, freq * 1000); in loongson2_cpufreq_target()
95 ret = clk_set_rate(cpuclk, rate * 1000); in loongson2_cpufreq_cpu_init()
Ds3c64xx-cpufreq.c80 ret = clk_set_rate(policy->clk, new_freq * 1000); in s3c64xx_cpufreq_set_target()
95 if (clk_set_rate(policy->clk, old_freq * 1000) < 0) in s3c64xx_cpufreq_set_target()
Domap-cpufreq.c91 ret = clk_set_rate(policy->clk, new_freq * 1000); in omap_target()
99 clk_set_rate(policy->clk, old_freq * 1000); in omap_target()
Ddavinci-cpufreq.c78 ret = clk_set_rate(armclk, idx); in davinci_target()
83 ret = clk_set_rate(cpufreq.asyncclk, cpufreq.asyncrate); in davinci_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.c113 clk_set_rate(arm_clk, (old_freq >> 1) * 1000); in imx6q_set_target()
125 clk_set_rate(pll1_sys_clk, new_freq * 1000); in imx6q_set_target()
131 ret = clk_set_rate(arm_clk, new_freq * 1000); in imx6q_set_target()
Ddbx500-cpufreq.c26 return clk_set_rate(armss_clk, freq_table[index].frequency * 1000); in dbx500_cpufreq_target()
Dunicore2-cpufreq.c48 ret = clk_set_rate(policy->clk, target_freq * 1000); in ucv2_target()
/drivers/net/ethernet/stmicro/stmmac/
Ddwmac-sunxi.c57 clk_set_rate(gmac->tx_clk, SUN7I_GMAC_GMII_RGMII_RATE); in sun7i_gmac_init()
61 clk_set_rate(gmac->tx_clk, SUN7I_GMAC_MII_RATE); in sun7i_gmac_init()
99 clk_set_rate(gmac->tx_clk, SUN7I_GMAC_GMII_RGMII_RATE); in sun7i_fix_speed()
103 clk_set_rate(gmac->tx_clk, SUN7I_GMAC_MII_RATE); in sun7i_fix_speed()
/drivers/clk/imx/
Dclk-imx6sx.c515 clk_set_rate(clks[IMX6SX_CLK_EIM_SLOW], 132000000); in imx6sx_clocks_init()
533 clk_set_rate(clks[IMX6SX_CLK_ENET_PODF], 200000000); in imx6sx_clocks_init()
534 clk_set_rate(clks[IMX6SX_CLK_ENET_REF], 125000000); in imx6sx_clocks_init()
535 clk_set_rate(clks[IMX6SX_CLK_ENET2_REF], 125000000); in imx6sx_clocks_init()
538 clk_set_rate(clks[IMX6SX_CLK_PLL4_AUDIO_DIV], 393216000); in imx6sx_clocks_init()
541 clk_set_rate(clks[IMX6SX_CLK_SPDIF_PODF], 98304000); in imx6sx_clocks_init()
544 clk_set_rate(clks[IMX6SX_CLK_AUDIO_PODF], 24000000); in imx6sx_clocks_init()
549 clk_set_rate(clks[IMX6SX_CLK_SSI1_PODF], 24576000); in imx6sx_clocks_init()
550 clk_set_rate(clks[IMX6SX_CLK_SSI2_PODF], 24576000); in imx6sx_clocks_init()
551 clk_set_rate(clks[IMX6SX_CLK_SSI3_PODF], 24576000); in imx6sx_clocks_init()
[all …]
Dclk-imx51-imx53.c381 clk_set_rate(clk[IMX5_CLK_ESDHC_A_PODF], 200000000); in mx50_clocks_init()
382 clk_set_rate(clk[IMX5_CLK_ESDHC_B_PODF], 200000000); in mx50_clocks_init()
389 clk_set_rate(clk[IMX5_CLK_USBOH3_PER_GATE], r); in mx50_clocks_init()
458 clk_set_rate(clk[IMX5_CLK_ESDHC_A_PODF], 166250000); in mx51_clocks_init()
459 clk_set_rate(clk[IMX5_CLK_ESDHC_B_PODF], 166250000); in mx51_clocks_init()
570 clk_set_rate(clk[IMX5_CLK_ESDHC_A_PODF], 200000000); in mx53_clocks_init()
571 clk_set_rate(clk[IMX5_CLK_ESDHC_B_PODF], 200000000); in mx53_clocks_init()
584 clk_set_rate(clk[IMX5_CLK_USBOH3_PER_GATE], r); in mx53_clocks_init()
Dclk-cpu.c58 ret = clk_set_rate(cpu->pll, rate); in clk_cpu_set_rate()
67 clk_set_rate(cpu->div, rate); in clk_cpu_set_rate()
Dclk-vf610.c396 clk_set_rate(clk[VF610_CLK_QSPI0_X4_DIV], clk_get_rate(clk[VF610_CLK_QSPI0_SEL]) / 2); in vf610_clocks_init()
397 clk_set_rate(clk[VF610_CLK_QSPI0_X2_DIV], clk_get_rate(clk[VF610_CLK_QSPI0_X4_DIV]) / 2); in vf610_clocks_init()
398 clk_set_rate(clk[VF610_CLK_QSPI0_X1_DIV], clk_get_rate(clk[VF610_CLK_QSPI0_X2_DIV]) / 2); in vf610_clocks_init()
401 clk_set_rate(clk[VF610_CLK_QSPI1_X4_DIV], clk_get_rate(clk[VF610_CLK_QSPI1_SEL]) / 2); in vf610_clocks_init()
402 clk_set_rate(clk[VF610_CLK_QSPI1_X2_DIV], clk_get_rate(clk[VF610_CLK_QSPI1_X4_DIV]) / 2); in vf610_clocks_init()
403 clk_set_rate(clk[VF610_CLK_QSPI1_X1_DIV], clk_get_rate(clk[VF610_CLK_QSPI1_X2_DIV]) / 2); in vf610_clocks_init()
Dclk-imx6ul.c418 clk_set_rate(clks[IMX6UL_CLK_AHB], 99000000); in imx6ul_clocks_init()
427 clk_set_rate(clks[IMX6UL_CLK_AHB], 132000000); in imx6ul_clocks_init()
432 clk_set_rate(clks[IMX6UL_CLK_ENET_REF], 50000000); in imx6ul_clocks_init()
433 clk_set_rate(clks[IMX6UL_CLK_ENET2_REF], 50000000); in imx6ul_clocks_init()
434 clk_set_rate(clks[IMX6UL_CLK_CSI], 24000000); in imx6ul_clocks_init()
/drivers/clk/ti/
Dclk-54xx.c241 rc = clk_set_rate(abe_dpll, OMAP5_DPLL_ABE_DEFFREQ); in omap5xxx_dt_clk_init()
247 rc = clk_set_rate(abe_dpll, OMAP5_DPLL_ABE_DEFFREQ * 2); in omap5xxx_dt_clk_init()
252 rc = clk_set_rate(usb_dpll, OMAP5_DPLL_USB_DEFFREQ); in omap5xxx_dt_clk_init()
257 rc = clk_set_rate(usb_dpll, OMAP5_DPLL_USB_DEFFREQ/2); in omap5xxx_dt_clk_init()
Dclk-7xx.c322 rc = clk_set_rate(dpll_ck, DRA7_DPLL_GMAC_DEFFREQ); in dra7xx_dt_clk_init()
327 rc = clk_set_rate(dpll_ck, DRA7_DPLL_USB_DEFFREQ); in dra7xx_dt_clk_init()
332 rc = clk_set_rate(dpll_ck, DRA7_DPLL_USB_DEFFREQ/2); in dra7xx_dt_clk_init()
Dclk-44xx.c286 rc = clk_set_rate(usb_dpll, OMAP4_DPLL_USB_DEFFREQ); in omap4xxx_dt_clk_init()
301 rc = clk_set_rate(abe_dpll, OMAP4_DPLL_ABE_DEFFREQ); in omap4xxx_dt_clk_init()
/drivers/mmc/host/
Ddw_mmc-k3.c39 ret = clk_set_rate(host->ciu_clk, ios->clock); in dw_mci_k3_set_ios()
121 ret = clk_set_rate(host->biu_clk, clock); in dw_mci_hi6220_set_ios()
Dsdhci-st.c172 clk_set_rate(pltfm_host->clk, mhost->f_max); in st_mmcss_cconfig()
176 clk_set_rate(pltfm_host->clk, mhost->f_max); in st_mmcss_cconfig()
180 clk_set_rate(pltfm_host->clk, 50000000); in st_mmcss_cconfig()
/drivers/devfreq/exynos/
Dexynos5_bus.c129 err = clk_set_rate(data->int_clk, freq * 1000); in exynos5_busfreq_int_target()
223 err = clk_set_rate(data->int_clk, freq * 1000); in exynos5_busfreq_int_pm_notifier_event()
323 err = clk_set_rate(data->int_clk, initial_freq * 1000); in exynos5_busfreq_int_probe()
/drivers/phy/
Dphy-ti-pipe3.c395 clk_set_rate(clk, 1500000000); in ti_pipe3_probe()
402 clk_set_rate(clk, 100000000); in ti_pipe3_probe()
409 clk_set_rate(clk, 100000000); in ti_pipe3_probe()
/drivers/media/platform/s5p-tv/
Dsdo_drv.c206 ret = clk_set_rate(sdev->fout_vpll, 54000000); in sdo_streamon()
227 clk_set_rate(sdev->fout_vpll, sdev->vpll_rate); in sdo_streamon()
245 clk_set_rate(sdev->fout_vpll, sdev->vpll_rate); in sdo_streamoff()
/drivers/gpu/drm/armada/
Darmada_510.c72 clk_set_rate(clk, ref); in armada510_crtc_compute_clock()
/drivers/input/keyboard/
Dep93xx_keypad.c141 clk_set_rate(keypad->clk, EP93XX_KEYTCHCLK_DIV4); in ep93xx_keypad_config()
143 clk_set_rate(keypad->clk, EP93XX_KEYTCHCLK_DIV16); in ep93xx_keypad_config()

1234567