Home
last modified time | relevance | path

Searched refs:clk_prepare_enable (Results 1 – 25 of 1357) sorted by relevance

12345678910>>...55

/linux-6.1.9/sound/soc/mediatek/mt2701/
Dmt2701-afe-clock-ctrl.c107 ret = clk_prepare_enable(i2s_path->asrco_ck); in mt2701_afe_enable_i2s()
113 ret = clk_prepare_enable(i2s_path->hop_ck[dir]); in mt2701_afe_enable_i2s()
140 return clk_prepare_enable(i2s_path->mclk_ck); in mt2701_afe_enable_mclk()
155 return clk_prepare_enable(afe_priv->mrgif_ck); in mt2701_enable_btmrg_clk()
171 ret = clk_prepare_enable(afe_priv->base_ck[MT2701_INFRA_SYS_AUDIO]); in mt2701_afe_enable_audsys()
176 ret = clk_prepare_enable(afe_priv->base_ck[MT2701_TOP_AUD_A1SYS]); in mt2701_afe_enable_audsys()
181 ret = clk_prepare_enable(afe_priv->base_ck[MT2701_TOP_AUD_A2SYS]); in mt2701_afe_enable_audsys()
186 ret = clk_prepare_enable(afe_priv->base_ck[MT2701_AUDSYS_AFE]); in mt2701_afe_enable_audsys()
190 ret = clk_prepare_enable(afe_priv->base_ck[MT2701_AUDSYS_A1SYS]); in mt2701_afe_enable_audsys()
194 ret = clk_prepare_enable(afe_priv->base_ck[MT2701_AUDSYS_A2SYS]); in mt2701_afe_enable_audsys()
[all …]
/linux-6.1.9/sound/soc/mediatek/mt8183/
Dmt8183-afe-clk.c120 ret = clk_prepare_enable(afe_priv->clk[CLK_INFRA_SYS_AUDIO]); in mt8183_afe_enable_clock()
127 ret = clk_prepare_enable(afe_priv->clk[CLK_MUX_AUDIO]); in mt8183_afe_enable_clock()
143 ret = clk_prepare_enable(afe_priv->clk[CLK_MUX_AUDIOINTBUS]); in mt8183_afe_enable_clock()
159 ret = clk_prepare_enable(afe_priv->clk[CLK_AFE]); in mt8183_afe_enable_clock()
166 ret = clk_prepare_enable(afe_priv->clk[CLK_I2S1_BCLK_SW]); in mt8183_afe_enable_clock()
173 ret = clk_prepare_enable(afe_priv->clk[CLK_I2S2_BCLK_SW]); in mt8183_afe_enable_clock()
180 ret = clk_prepare_enable(afe_priv->clk[CLK_I2S3_BCLK_SW]); in mt8183_afe_enable_clock()
187 ret = clk_prepare_enable(afe_priv->clk[CLK_I2S4_BCLK_SW]); in mt8183_afe_enable_clock()
237 ret = clk_prepare_enable(afe_priv->clk[CLK_TOP_MUX_AUD_1]); in apll1_mux_setting()
253 ret = clk_prepare_enable(afe_priv->clk[CLK_TOP_MUX_AUD_ENG1]); in apll1_mux_setting()
[all …]
/linux-6.1.9/sound/soc/mediatek/mt8186/
Dmt8186-afe-clk.c99 ret = clk_prepare_enable(afe_priv->clk[CLK_TOP_MUX_AUD_1]); in apll1_mux_setting()
115 ret = clk_prepare_enable(afe_priv->clk[CLK_TOP_MUX_AUD_ENG1]); in apll1_mux_setting()
160 ret = clk_prepare_enable(afe_priv->clk[CLK_TOP_MUX_AUD_2]); in apll2_mux_setting()
176 ret = clk_prepare_enable(afe_priv->clk[CLK_TOP_MUX_AUD_ENG2]); in apll2_mux_setting()
222 ret = clk_prepare_enable(afe_priv->clk[i]); in mt8186_afe_enable_cgs()
247 ret = clk_prepare_enable(afe_priv->clk[CLK_INFRA_SYS_AUDIO]); in mt8186_afe_enable_clock()
254 ret = clk_prepare_enable(afe_priv->clk[CLK_INFRA_AUDIO_26M]); in mt8186_afe_enable_clock()
261 ret = clk_prepare_enable(afe_priv->clk[CLK_MUX_AUDIO]); in mt8186_afe_enable_clock()
276 ret = clk_prepare_enable(afe_priv->clk[CLK_MUX_AUDIOINTBUS]); in mt8186_afe_enable_clock()
296 ret = clk_prepare_enable(afe_priv->clk[CLK_AFE]); in mt8186_afe_enable_clock()
[all …]
/linux-6.1.9/sound/soc/mediatek/mt8192/
Dmt8192-afe-clk.c86 ret = clk_prepare_enable(afe_priv->clk[CLK_TOP_MUX_AUD_1]); in apll1_mux_setting()
102 ret = clk_prepare_enable(afe_priv->clk[CLK_TOP_MUX_AUD_ENG1]); in apll1_mux_setting()
148 ret = clk_prepare_enable(afe_priv->clk[CLK_TOP_MUX_AUD_2]); in apll2_mux_setting()
164 ret = clk_prepare_enable(afe_priv->clk[CLK_TOP_MUX_AUD_ENG2]); in apll2_mux_setting()
211 ret = clk_prepare_enable(afe_priv->clk[CLK_INFRA_SYS_AUDIO]); in mt8192_afe_enable_clock()
218 ret = clk_prepare_enable(afe_priv->clk[CLK_INFRA_AUDIO_26M]); in mt8192_afe_enable_clock()
225 ret = clk_prepare_enable(afe_priv->clk[CLK_MUX_AUDIO]); in mt8192_afe_enable_clock()
240 ret = clk_prepare_enable(afe_priv->clk[CLK_MUX_AUDIOINTBUS]); in mt8192_afe_enable_clock()
264 ret = clk_prepare_enable(afe_priv->clk[CLK_AFE]); in mt8192_afe_enable_clock()
297 ret = clk_prepare_enable(afe_priv->clk[CLK_APLL22M]); in mt8192_apll1_enable()
[all …]
/linux-6.1.9/drivers/clk/mediatek/
Dclk-mt7986-topckgen.c309 clk_prepare_enable(clk_data->hws[CLK_TOP_SYSAXI_SEL]->clk); in clk_mt7986_topckgen_probe()
310 clk_prepare_enable(clk_data->hws[CLK_TOP_SYSAPB_SEL]->clk); in clk_mt7986_topckgen_probe()
311 clk_prepare_enable(clk_data->hws[CLK_TOP_DRAMC_SEL]->clk); in clk_mt7986_topckgen_probe()
312 clk_prepare_enable(clk_data->hws[CLK_TOP_DRAMC_MD32_SEL]->clk); in clk_mt7986_topckgen_probe()
313 clk_prepare_enable(clk_data->hws[CLK_TOP_F26M_SEL]->clk); in clk_mt7986_topckgen_probe()
314 clk_prepare_enable(clk_data->hws[CLK_TOP_SGM_REG_SEL]->clk); in clk_mt7986_topckgen_probe()
Dclk-mt7629.c594 clk_prepare_enable(clk_data->hws[CLK_TOP_AXI_SEL]->clk); in mtk_topckgen_init()
595 clk_prepare_enable(clk_data->hws[CLK_TOP_MEM_SEL]->clk); in mtk_topckgen_init()
596 clk_prepare_enable(clk_data->hws[CLK_TOP_DDRPHYCFG_SEL]->clk); in mtk_topckgen_init()
641 clk_prepare_enable(clk_data->hws[CLK_PERI_UART0_PD]->clk); in mtk_pericfg_init()
661 clk_prepare_enable(clk_data->hws[CLK_APMIXED_ARMPLL]->clk); in mtk_apmixedsys_init()
662 clk_prepare_enable(clk_data->hws[CLK_APMIXED_MAIN_CORE_EN]->clk); in mtk_apmixedsys_init()
/linux-6.1.9/sound/soc/sof/mediatek/mt8195/
Dmt8195-clk.c52 ret = clk_prepare_enable(priv->clk[CLK_TOP_MAINPLL_D7_D2]); in adsp_enable_all_clock()
59 ret = clk_prepare_enable(priv->clk[CLK_TOP_ADSP]); in adsp_enable_all_clock()
66 ret = clk_prepare_enable(priv->clk[CLK_TOP_AUDIO_LOCAL_BUS]); in adsp_enable_all_clock()
73 ret = clk_prepare_enable(priv->clk[CLK_SCP_ADSP_AUDIODSP]); in adsp_enable_all_clock()
80 ret = clk_prepare_enable(priv->clk[CLK_TOP_AUDIO_H]); in adsp_enable_all_clock()
/linux-6.1.9/drivers/clk/imx/
Dclk-imx35.c221 clk_prepare_enable(clk[spba_gate]); in _mx35_clocks_init()
222 clk_prepare_enable(clk[gpio1_gate]); in _mx35_clocks_init()
223 clk_prepare_enable(clk[gpio2_gate]); in _mx35_clocks_init()
224 clk_prepare_enable(clk[gpio3_gate]); in _mx35_clocks_init()
225 clk_prepare_enable(clk[iim_gate]); in _mx35_clocks_init()
226 clk_prepare_enable(clk[emi_gate]); in _mx35_clocks_init()
227 clk_prepare_enable(clk[max_gate]); in _mx35_clocks_init()
228 clk_prepare_enable(clk[iomuxc_gate]); in _mx35_clocks_init()
236 clk_prepare_enable(clk[scc_gate]); in _mx35_clocks_init()
/linux-6.1.9/sound/soc/mediatek/mt6797/
Dmt6797-afe-clk.c62 ret = clk_prepare_enable(afe_priv->clk[CLK_INFRA_SYS_AUD]); in mt6797_afe_enable_clock()
69 ret = clk_prepare_enable(afe_priv->clk[CLK_INFRA_SYS_AUD_26M]); in mt6797_afe_enable_clock()
76 ret = clk_prepare_enable(afe_priv->clk[CLK_TOP_MUX_AUD]); in mt6797_afe_enable_clock()
92 ret = clk_prepare_enable(afe_priv->clk[CLK_TOP_MUX_AUD_BUS]); in mt6797_afe_enable_clock()
/linux-6.1.9/drivers/pwm/
Dpwm-fsl-ftm.c94 ret = clk_prepare_enable(fpc->ipg_clk); in fsl_pwm_request()
263 ret = clk_prepare_enable(fpc->clk[newclk]); in fsl_pwm_apply_config()
335 ret = clk_prepare_enable(fpc->clk[fpc->period.clk_select]); in fsl_pwm_apply()
339 ret = clk_prepare_enable(fpc->clk[FSL_PWM_CLK_CNTEN]); in fsl_pwm_apply()
365 ret = clk_prepare_enable(fpc->ipg_clk); in fsl_pwm_init()
505 clk_prepare_enable(fpc->ipg_clk); in fsl_pwm_resume()
510 clk_prepare_enable(fpc->clk[fpc->period.clk_select]); in fsl_pwm_resume()
511 clk_prepare_enable(fpc->clk[FSL_PWM_CLK_CNTEN]); in fsl_pwm_resume()
Dpwm-ep93xx.c84 ret = clk_prepare_enable(ep93xx_pwm->clk); in ep93xx_pwm_apply()
110 ret = clk_prepare_enable(ep93xx_pwm->clk); in ep93xx_pwm_apply()
148 ret = clk_prepare_enable(ep93xx_pwm->clk); in ep93xx_pwm_apply()
/linux-6.1.9/drivers/gpu/drm/imx/dcss/
Ddcss-dev.c20 clk_prepare_enable(dcss->axi_clk); in dcss_clocks_enable()
21 clk_prepare_enable(dcss->apb_clk); in dcss_clocks_enable()
22 clk_prepare_enable(dcss->rtrm_clk); in dcss_clocks_enable()
23 clk_prepare_enable(dcss->dtrc_clk); in dcss_clocks_enable()
24 clk_prepare_enable(dcss->pix_clk); in dcss_clocks_enable()
/linux-6.1.9/drivers/spi/
Dspi-omap-100k.c277 clk_prepare_enable(spi100k->ick); in omap1_spi100k_setup()
278 clk_prepare_enable(spi100k->fck); in omap1_spi100k_setup()
393 status = clk_prepare_enable(spi100k->ick); in omap1_spi100k_probe()
399 status = clk_prepare_enable(spi100k->fck); in omap1_spi100k_probe()
455 ret = clk_prepare_enable(spi100k->ick); in omap1_spi100k_runtime_resume()
461 ret = clk_prepare_enable(spi100k->fck); in omap1_spi100k_runtime_resume()
/linux-6.1.9/drivers/mmc/host/
Dsdhci-of-at91.c177 clk_prepare_enable(priv->hclock); in sdhci_at91_set_clks_presets()
226 clk_prepare_enable(priv->mainck); in sdhci_at91_set_clks_presets()
227 clk_prepare_enable(priv->gck); in sdhci_at91_set_clks_presets()
284 ret = clk_prepare_enable(priv->mainck); in sdhci_at91_runtime_resume()
290 ret = clk_prepare_enable(priv->hclock); in sdhci_at91_runtime_resume()
296 ret = clk_prepare_enable(priv->gck); in sdhci_at91_runtime_resume()
/linux-6.1.9/drivers/bus/
Dqcom-ssc-block-bus.c68 ret = clk_prepare_enable(data->xo_clk); in qcom_ssc_block_bus_init()
74 ret = clk_prepare_enable(data->aggre2_clk); in qcom_ssc_block_bus_init()
80 ret = clk_prepare_enable(data->gcc_im_sleep_clk); in qcom_ssc_block_bus_init()
95 ret = clk_prepare_enable(data->aggre2_north_clk); in qcom_ssc_block_bus_init()
115 ret = clk_prepare_enable(data->ssc_xo_clk); in qcom_ssc_block_bus_init()
121 ret = clk_prepare_enable(data->ssc_ahbs_clk); in qcom_ssc_block_bus_init()
/linux-6.1.9/drivers/phy/qualcomm/
Dphy-qcom-usb-hsic.c33 ret = clk_prepare_enable(uphy->phy_clk); in qcom_usb_hsic_phy_power_on()
37 ret = clk_prepare_enable(uphy->cal_clk); in qcom_usb_hsic_phy_power_on()
41 ret = clk_prepare_enable(uphy->cal_sleep_clk); in qcom_usb_hsic_phy_power_on()
/linux-6.1.9/arch/powerpc/platforms/512x/
Dclock-commonclk.c928 clk_prepare_enable(clks[MPC512x_CLK_DUMMY]); in mpc512x_clk_setup_clock_tree()
929 clk_prepare_enable(clks[MPC512x_CLK_E300]); /* PowerPC CPU */ in mpc512x_clk_setup_clock_tree()
930 clk_prepare_enable(clks[MPC512x_CLK_DDR]); /* DRAM */ in mpc512x_clk_setup_clock_tree()
931 clk_prepare_enable(clks[MPC512x_CLK_MEM]); /* SRAM */ in mpc512x_clk_setup_clock_tree()
932 clk_prepare_enable(clks[MPC512x_CLK_IPS]); /* SoC periph */ in mpc512x_clk_setup_clock_tree()
933 clk_prepare_enable(clks[MPC512x_CLK_LPC]); /* boot media */ in mpc512x_clk_setup_clock_tree()
972 clk_prepare_enable(clks[MPC512x_CLK_PSC3_MCLK]);/* serial console */ in mpc5121_clk_provide_migration_support()
976 clk_prepare_enable(clks[MPC512x_CLK_PCI]); in mpc5121_clk_provide_migration_support()
1095 clk_prepare_enable(clks[MPC512x_CLK_I2C]); in mpc5121_clk_provide_backwards_compat()
/linux-6.1.9/drivers/cpufreq/
Dkirkwood-cpufreq.c126 err = clk_prepare_enable(priv.cpu_clk); in kirkwood_cpufreq_probe()
141 err = clk_prepare_enable(priv.ddr_clk); in kirkwood_cpufreq_probe()
154 err = clk_prepare_enable(priv.powersave_clk); in kirkwood_cpufreq_probe()
/linux-6.1.9/drivers/clocksource/
Dtimer-armada-370-xp.c343 ret = clk_prepare_enable(clk); in armada_xp_timer_init()
361 ret = clk_prepare_enable(clk); in armada_375_timer_init()
379 ret = clk_prepare_enable(clk); in armada_375_timer_init()
403 ret = clk_prepare_enable(clk); in armada_370_timer_init()
/linux-6.1.9/drivers/crypto/rockchip/
Drk3288_crypto.c25 err = clk_prepare_enable(dev->sclk); in rk_crypto_enable_clk()
31 err = clk_prepare_enable(dev->aclk); in rk_crypto_enable_clk()
37 err = clk_prepare_enable(dev->hclk); in rk_crypto_enable_clk()
43 err = clk_prepare_enable(dev->dmaclk); in rk_crypto_enable_clk()
/linux-6.1.9/drivers/net/ethernet/stmicro/stmmac/
Ddwmac-dwc-qos-eth.c134 err = clk_prepare_enable(plat_dat->stmmac_clk); in dwc_qos_probe()
148 err = clk_prepare_enable(plat_dat->pclk); in dwc_qos_probe()
294 err = clk_prepare_enable(eqos->clk_master); in tegra_eqos_probe()
306 err = clk_prepare_enable(eqos->clk_slave); in tegra_eqos_probe()
316 err = clk_prepare_enable(eqos->clk_rx); in tegra_eqos_probe()
326 err = clk_prepare_enable(eqos->clk_tx); in tegra_eqos_probe()
/linux-6.1.9/arch/arm/mach-omap1/
Dserial.c144 clk_prepare_enable(uart1_ck); in omap_serial_init()
154 clk_prepare_enable(uart2_ck); in omap_serial_init()
166 clk_prepare_enable(uart3_ck); in omap_serial_init()
/linux-6.1.9/sound/soc/fsl/
Dimx-audmux.c65 ret = clk_prepare_enable(audmux_clk); in audmux_read_file()
209 ret = clk_prepare_enable(audmux_clk); in imx_audmux_v2_configure_port()
332 clk_prepare_enable(audmux_clk); in imx_audmux_suspend()
346 clk_prepare_enable(audmux_clk); in imx_audmux_resume()
/linux-6.1.9/drivers/phy/broadcom/
Dphy-brcm-usb.c127 clk_prepare_enable(priv->usb_20_clk); in brcm_usb_phy_init()
128 clk_prepare_enable(priv->usb_30_clk); in brcm_usb_phy_init()
129 clk_prepare_enable(priv->suspend_clk); in brcm_usb_phy_init()
402 err = clk_prepare_enable(priv->usb_20_clk); in brcm_usb_phy_dvr_init()
435 err = clk_prepare_enable(priv->usb_30_clk); in brcm_usb_phy_dvr_init()
619 clk_prepare_enable(priv->usb_20_clk); in brcm_usb_phy_resume()
620 clk_prepare_enable(priv->usb_30_clk); in brcm_usb_phy_resume()
/linux-6.1.9/drivers/clk/
Dclk-gate_test.c167 KUNIT_ASSERT_EQ(test, clk_prepare_enable(clk), 0); in clk_gate_test_enable()
185 KUNIT_ASSERT_EQ(test, clk_prepare_enable(clk), 0); in clk_gate_test_disable()
247 KUNIT_ASSERT_EQ(test, clk_prepare_enable(clk), 0); in clk_gate_test_invert_enable()
265 KUNIT_ASSERT_EQ(test, clk_prepare_enable(clk), 0); in clk_gate_test_invert_disable()
320 KUNIT_ASSERT_EQ(test, clk_prepare_enable(clk), 0); in clk_gate_test_hiword_enable()
338 KUNIT_ASSERT_EQ(test, clk_prepare_enable(clk), 0); in clk_gate_test_hiword_disable()

12345678910>>...55