Home
last modified time | relevance | path

Searched refs:hclk (Results 1 – 25 of 150) sorted by relevance

123456

/linux/arch/arm/mach-mv78xx0/
H A Dcommon.c47 int hclk; in get_hclk() local
54 hclk = 166666667; in get_hclk()
57 hclk = 200000000; in get_hclk()
60 hclk = 266666667; in get_hclk()
63 hclk = 333333333; in get_hclk()
66 hclk = 400000000; in get_hclk()
73 return hclk; in get_hclk()
94 *pclk = ((u64)hclk * (2 + (cfg & 0xf))) >> 1; in get_pclk_l2clk()
408 int hclk; in mv78xx0_init() local
413 hclk = get_hclk(); in mv78xx0_init()
[all …]
/linux/drivers/net/ethernet/cadence/
H A Dmacb_pci.c68 plat_data.hclk = clk_register_fixed_rate(&pdev->dev, "hclk", NULL, 0, in macb_probe()
70 if (IS_ERR(plat_data.hclk)) { in macb_probe()
71 err = PTR_ERR(plat_data.hclk); in macb_probe()
99 clk_unregister(plat_data.hclk); in macb_probe()
114 clk_unregister(plat_data->hclk); in macb_remove()
/linux/drivers/crypto/starfive/
H A Djh7110-cryp.c114 cryp->hclk = devm_clk_get(&pdev->dev, "hclk"); in starfive_cryp_probe()
115 if (IS_ERR(cryp->hclk)) in starfive_cryp_probe()
116 return dev_err_probe(&pdev->dev, PTR_ERR(cryp->hclk), in starfive_cryp_probe()
129 clk_prepare_enable(cryp->hclk); in starfive_cryp_probe()
181 clk_disable_unprepare(cryp->hclk); in starfive_cryp_probe()
205 clk_disable_unprepare(cryp->hclk); in starfive_cryp_remove()
/linux/drivers/char/hw_random/
H A Djh7110-trng.c98 struct clk *hclk; member
241 clk_disable_unprepare(trng->hclk); in starfive_trng_cleanup()
306 trng->hclk = devm_clk_get(&pdev->dev, "hclk"); in starfive_trng_probe()
307 if (IS_ERR(trng->hclk)) in starfive_trng_probe()
308 return dev_err_probe(&pdev->dev, PTR_ERR(trng->hclk), in starfive_trng_probe()
321 clk_prepare_enable(trng->hclk); in starfive_trng_probe()
344 clk_disable_unprepare(trng->hclk); in starfive_trng_probe()
356 clk_disable_unprepare(trng->hclk); in starfive_trng_suspend()
366 clk_prepare_enable(trng->hclk); in starfive_trng_resume()
/linux/drivers/soc/qcom/
H A Dqcom_gsbi.c111 struct clk *hclk; member
181 gsbi->hclk = devm_clk_get_enabled(&pdev->dev, "iface"); in gsbi_probe()
182 if (IS_ERR(gsbi->hclk)) in gsbi_probe()
183 return PTR_ERR(gsbi->hclk); in gsbi_probe()
219 clk_disable_unprepare(gsbi->hclk); in gsbi_remove()
/linux/drivers/clk/samsung/
H A Dclk-s5pv210-audss.c70 struct clk *hclk, *pll_ref, *pll_in, *cdclk, *sclk_audio; in s5pv210_audss_clk_probe() local
86 hclk = devm_clk_get(&pdev->dev, "hclk"); in s5pv210_audss_clk_probe()
87 if (IS_ERR(hclk)) { in s5pv210_audss_clk_probe()
89 return PTR_ERR(hclk); in s5pv210_audss_clk_probe()
140 hclk_p = __clk_get_name(hclk); in s5pv210_audss_clk_probe()
/linux/sound/soc/rockchip/
H A Drockchip_spdif.c36 struct clk *hclk; member
72 clk_disable_unprepare(spdif->hclk); in rk_spdif_runtime_suspend()
88 ret = clk_prepare_enable(spdif->hclk); in rk_spdif_runtime_resume()
101 clk_disable_unprepare(spdif->hclk); in rk_spdif_runtime_resume()
313 spdif->hclk = devm_clk_get(&pdev->dev, "hclk"); in rk_spdif_probe()
314 if (IS_ERR(spdif->hclk)) in rk_spdif_probe()
315 return PTR_ERR(spdif->hclk); in rk_spdif_probe()
H A Drockchip_pdm.c33 struct clk *hclk; member
415 clk_disable_unprepare(pdm->hclk); in rockchip_pdm_runtime_suspend()
431 ret = clk_prepare_enable(pdm->hclk); in rockchip_pdm_runtime_resume()
610 pdm->hclk = devm_clk_get(&pdev->dev, "pdm_hclk"); in rockchip_pdm_probe()
611 if (IS_ERR(pdm->hclk)) in rockchip_pdm_probe()
612 return PTR_ERR(pdm->hclk); in rockchip_pdm_probe()
614 ret = clk_prepare_enable(pdm->hclk); in rockchip_pdm_probe()
654 clk_disable_unprepare(pdm->hclk); in rockchip_pdm_probe()
668 clk_disable_unprepare(pdm->hclk); in rockchip_pdm_remove()
H A Drockchip_i2s.c34 struct clk *hclk; member
760 i2s->hclk = devm_clk_get(&pdev->dev, "i2s_hclk"); in rockchip_i2s_probe()
761 if (IS_ERR(i2s->hclk)) { in rockchip_i2s_probe()
763 return PTR_ERR(i2s->hclk); in rockchip_i2s_probe()
765 ret = clk_prepare_enable(i2s->hclk); in rockchip_i2s_probe()
847 clk_disable_unprepare(i2s->hclk); in rockchip_i2s_probe()
859 clk_disable_unprepare(i2s->hclk); in rockchip_i2s_remove()
/linux/arch/arm/boot/dts/st/
H A Dste-nomadik-stn8815.dtsi227 hclk: hclk@0 { label
238 clocks = <&hclk>;
302 clocks = <&hclk>;
308 clocks = <&hclk>;
314 clocks = <&hclk>;
320 clocks = <&hclk>;
326 clocks = <&hclk>;
380 clocks = <&hclk>;
386 clocks = <&hclk>;
392 clocks = <&hclk>;
[all …]
H A Dstm32mp153.dtsi42 clock-names = "hclk", "cclk";
56 clock-names = "hclk", "cclk";
/linux/Documentation/devicetree/bindings/usb/
H A Datmel-usb.txt13 "hclk" for the host clock
25 clock-names = "ohci_clk", "hclk", "uhpck";
67 "hclk" for the AHB clock
78 clock-names = "pclk", "hclk";
98 "hclk" for the host clock
123 clock-names = "hclk", "pclk";
/linux/drivers/spi/
H A Dspi-sun4i.c80 struct clk *hclk; member
394 ret = clk_prepare_enable(sspi->hclk); in sun4i_spi_runtime_resume()
412 clk_disable_unprepare(sspi->hclk); in sun4i_spi_runtime_resume()
423 clk_disable_unprepare(sspi->hclk); in sun4i_spi_runtime_suspend()
474 sspi->hclk = devm_clk_get(&pdev->dev, "ahb"); in sun4i_spi_probe()
475 if (IS_ERR(sspi->hclk)) { in sun4i_spi_probe()
477 ret = PTR_ERR(sspi->hclk); in sun4i_spi_probe()
H A Dspi-rockchip-sfc.c175 struct clk *hclk; member
588 sfc->hclk = devm_clk_get(&pdev->dev, "hclk_sfc"); in rockchip_sfc_probe()
589 if (IS_ERR(sfc->hclk)) { in rockchip_sfc_probe()
591 return PTR_ERR(sfc->hclk); in rockchip_sfc_probe()
611 ret = clk_prepare_enable(sfc->hclk); in rockchip_sfc_probe()
652 clk_disable_unprepare(sfc->hclk); in rockchip_sfc_probe()
665 clk_disable_unprepare(sfc->hclk); in rockchip_sfc_remove()
H A Dspi-sun6i.c104 struct clk *hclk; member
572 ret = clk_prepare_enable(sspi->hclk); in sun6i_spi_runtime_resume()
598 clk_disable_unprepare(sspi->hclk); in sun6i_spi_runtime_resume()
610 clk_disable_unprepare(sspi->hclk); in sun6i_spi_runtime_suspend()
680 sspi->hclk = devm_clk_get(&pdev->dev, "ahb"); in sun6i_spi_probe()
681 if (IS_ERR(sspi->hclk)) { in sun6i_spi_probe()
683 ret = PTR_ERR(sspi->hclk); in sun6i_spi_probe()
/linux/Documentation/devicetree/bindings/rng/
H A Dstarfive,jh7110-trng.yaml30 - const: hclk
55 clock-names = "hclk", "ahb";
/linux/drivers/slimbus/
H A Dqcom-ctrl.c117 struct clk *hclk; member
282 clk_prepare_enable(ctrl->hclk); in qcom_clk_pause_wakeup()
498 ctrl->hclk = devm_clk_get(&pdev->dev, "iface"); in qcom_slim_probe()
499 if (IS_ERR(ctrl->hclk)) in qcom_slim_probe()
500 return PTR_ERR(ctrl->hclk); in qcom_slim_probe()
562 ret = clk_prepare_enable(ctrl->hclk); in qcom_slim_probe()
623 clk_disable_unprepare(ctrl->hclk); in qcom_slim_probe()
637 clk_disable_unprepare(ctrl->hclk); in qcom_slim_remove()
657 clk_disable_unprepare(ctrl->hclk); in qcom_slim_runtime_suspend()
/linux/Documentation/devicetree/bindings/mmc/
H A Dmtk-sd.yaml206 - const: hclk
227 - const: hclk
261 - const: hclk
284 - const: hclk
307 - const: hclk
329 clock-names = "source", "hclk";
344 clock-names = "source", "hclk";
/linux/drivers/cpufreq/
H A Dhighbank-cpufreq.c34 unsigned long action, void *hclk) in hb_cpufreq_clk_notify() argument
36 struct clk_notifier_data *clk_data = hclk; in hb_cpufreq_clk_notify()
/linux/drivers/usb/host/
H A Dohci-at91.c55 struct clk *hclk; member
79 clk_prepare_enable(ohci_at91->hclk); in at91_start_clock()
92 clk_disable_unprepare(ohci_at91->hclk); in at91_stop_clock()
221 ohci_at91->hclk = devm_clk_get(dev, "hclk"); in usb_hcd_at91_probe()
222 if (IS_ERR(ohci_at91->hclk)) { in usb_hcd_at91_probe()
224 retval = PTR_ERR(ohci_at91->hclk); in usb_hcd_at91_probe()
/linux/Documentation/devicetree/bindings/rtc/
H A Drenesas,rzn1-rtc.yaml39 const: hclk
67 clock-names = "hclk";
/linux/Documentation/devicetree/bindings/mtd/
H A Drenesas-nandc.yaml36 - const: hclk
62 clock-names = "hclk", "eclk";
/linux/Documentation/devicetree/bindings/media/
H A Drockchip,rk3568-vepu.yaml34 - const: hclk
66 clock-names = "aclk", "hclk";
/linux/Documentation/devicetree/bindings/crypto/
H A Dstarfive,jh7110-crypto.yaml29 - const: hclk
89 clock-names = "hclk", "ahb";
/linux/drivers/net/can/m_can/
H A Dm_can_platform.c193 clk_disable_unprepare(mcan_class->hclk); in m_can_runtime_suspend()
204 err = clk_prepare_enable(mcan_class->hclk); in m_can_runtime_resume()
210 clk_disable_unprepare(mcan_class->hclk); in m_can_runtime_resume()

123456