Home
last modified time | relevance | path

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

1234567

/openbmc/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 …]
/openbmc/linux/drivers/net/ethernet/cadence/
H A Dmacb_pci.c69 plat_data.hclk = clk_register_fixed_rate(&pdev->dev, "hclk", NULL, 0, in macb_probe()
71 if (IS_ERR(plat_data.hclk)) { in macb_probe()
72 err = PTR_ERR(plat_data.hclk); in macb_probe()
100 clk_unregister(plat_data.hclk); in macb_probe()
115 clk_unregister(plat_data->hclk); in macb_remove()
/openbmc/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()
/openbmc/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()
/openbmc/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()
/openbmc/linux/sound/soc/rockchip/
H A Drockchip_spdif.c37 struct clk *hclk; member
73 clk_disable_unprepare(spdif->hclk); in rk_spdif_runtime_suspend()
89 ret = clk_prepare_enable(spdif->hclk); in rk_spdif_runtime_resume()
102 clk_disable_unprepare(spdif->hclk); in rk_spdif_runtime_resume()
314 spdif->hclk = devm_clk_get(&pdev->dev, "hclk"); in rk_spdif_probe()
315 if (IS_ERR(spdif->hclk)) in rk_spdif_probe()
316 return PTR_ERR(spdif->hclk); in rk_spdif_probe()
H A Drockchip_pdm.c34 struct clk *hclk; member
416 clk_disable_unprepare(pdm->hclk); in rockchip_pdm_runtime_suspend()
432 ret = clk_prepare_enable(pdm->hclk); in rockchip_pdm_runtime_resume()
615 pdm->hclk = devm_clk_get(&pdev->dev, "pdm_hclk"); in rockchip_pdm_probe()
616 if (IS_ERR(pdm->hclk)) in rockchip_pdm_probe()
617 return PTR_ERR(pdm->hclk); in rockchip_pdm_probe()
619 ret = clk_prepare_enable(pdm->hclk); in rockchip_pdm_probe()
659 clk_disable_unprepare(pdm->hclk); in rockchip_pdm_probe()
673 clk_disable_unprepare(pdm->hclk); in rockchip_pdm_remove()
/openbmc/u-boot/drivers/ddr/marvell/axp/
H A Dddr3_init.c1143 u32 tmp, hclk; in get_target_freq() local
1147 hclk = 84; in get_target_freq()
1160 hclk = 150; in get_target_freq()
1166 hclk = 165; in get_target_freq()
1170 hclk = 180; in get_target_freq()
1177 hclk = 200; in get_target_freq()
1182 hclk = 222; in get_target_freq()
1188 hclk = 250; in get_target_freq()
1194 hclk = 267; in get_target_freq()
1200 hclk = 300; in get_target_freq()
[all …]
/openbmc/linux/drivers/crypto/starfive/
H A Djh7110-cryp.c147 cryp->hclk = devm_clk_get(&pdev->dev, "hclk"); in starfive_cryp_probe()
148 if (IS_ERR(cryp->hclk)) in starfive_cryp_probe()
149 return dev_err_probe(&pdev->dev, PTR_ERR(cryp->hclk), in starfive_cryp_probe()
174 clk_prepare_enable(cryp->hclk); in starfive_cryp_probe()
226 clk_disable_unprepare(cryp->hclk); in starfive_cryp_probe()
256 clk_disable_unprepare(cryp->hclk); in starfive_cryp_remove()
/openbmc/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.dtsi41 clock-names = "hclk", "cclk";
54 clock-names = "hclk", "cclk";
/openbmc/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";
/openbmc/linux/drivers/spi/
H A Dspi-sun4i.c80 struct clk *hclk; member
393 ret = clk_prepare_enable(sspi->hclk); in sun4i_spi_runtime_resume()
411 clk_disable_unprepare(sspi->hclk); in sun4i_spi_runtime_resume()
422 clk_disable_unprepare(sspi->hclk); in sun4i_spi_runtime_suspend()
473 sspi->hclk = devm_clk_get(&pdev->dev, "ahb"); in sun4i_spi_probe()
474 if (IS_ERR(sspi->hclk)) { in sun4i_spi_probe()
476 ret = PTR_ERR(sspi->hclk); in sun4i_spi_probe()
/openbmc/u-boot/drivers/mtd/nand/raw/
H A Dlpc32xx_nand_slc.c112 uint32_t hclk = get_hclk_clk_rate(); in lpc32xx_nand_init() local
127 TAC_W_WIDTH(hclk / CONFIG_LPC32XX_NAND_SLC_WWIDTH) | in lpc32xx_nand_init()
128 TAC_W_HOLD(hclk / CONFIG_LPC32XX_NAND_SLC_WHOLD) | in lpc32xx_nand_init()
129 TAC_W_SETUP(hclk / CONFIG_LPC32XX_NAND_SLC_WSETUP) | in lpc32xx_nand_init()
131 TAC_R_WIDTH(hclk / CONFIG_LPC32XX_NAND_SLC_RWIDTH) | in lpc32xx_nand_init()
132 TAC_R_HOLD(hclk / CONFIG_LPC32XX_NAND_SLC_RHOLD) | in lpc32xx_nand_init()
133 TAC_R_SETUP(hclk / CONFIG_LPC32XX_NAND_SLC_RSETUP), in lpc32xx_nand_init()
/openbmc/linux/Documentation/devicetree/bindings/rng/
H A Dstarfive,jh7110-trng.yaml26 - const: hclk
51 clock-names = "hclk", "ahb";
/openbmc/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()
/openbmc/u-boot/arch/arm/mach-s5pc1xx/
H A Dclock.c217 unsigned long hclk; in get_hclk_sys() local
236 hclk = get_pll_clk(MPLL) / (hclk_sys_ratio + 1); in get_hclk_sys()
238 return hclk; in get_hclk_sys()
/openbmc/u-boot/arch/arm/dts/
H A Dzynqmp-clk-ccf.dtsi193 clock-names = "pclk", "hclk", "tx_clk", "rx_clk", "tsu_clk";
198 clock-names = "pclk", "hclk", "tx_clk", "rx_clk", "tsu_clk";
203 clock-names = "pclk", "hclk", "tx_clk", "rx_clk", "tsu_clk";
208 clock-names = "pclk", "hclk", "tx_clk", "rx_clk", "tsu_clk";
/openbmc/linux/Documentation/devicetree/bindings/mmc/
H A Dmtk-sd.yaml197 - const: hclk
218 - const: hclk
252 - const: hclk
275 - const: hclk
298 - const: hclk
320 clock-names = "source", "hclk";
335 clock-names = "source", "hclk";
/openbmc/linux/Documentation/devicetree/bindings/crypto/
H A Dstarfive,jh7110-crypto.yaml27 - const: hclk
63 clock-names = "hclk", "ahb";
/openbmc/linux/Documentation/devicetree/bindings/rtc/
H A Drenesas,rzn1-rtc.yaml39 const: hclk
67 clock-names = "hclk";
/openbmc/linux/drivers/slimbus/
H A Dqcom-ctrl.c117 struct clk *hclk; member
282 clk_prepare_enable(ctrl->hclk); in qcom_clk_pause_wakeup()
497 ctrl->hclk = devm_clk_get(&pdev->dev, "iface"); in qcom_slim_probe()
498 if (IS_ERR(ctrl->hclk)) in qcom_slim_probe()
499 return PTR_ERR(ctrl->hclk); in qcom_slim_probe()
561 ret = clk_prepare_enable(ctrl->hclk); in qcom_slim_probe()
622 clk_disable_unprepare(ctrl->hclk); in qcom_slim_probe()
636 clk_disable_unprepare(ctrl->hclk); in qcom_slim_remove()
657 clk_disable_unprepare(ctrl->hclk); in qcom_slim_runtime_suspend()
/openbmc/linux/Documentation/devicetree/bindings/media/
H A Drockchip,rk3568-vepu.yaml33 - const: hclk
65 clock-names = "aclk", "hclk";
/openbmc/linux/Documentation/devicetree/bindings/mtd/
H A Drenesas-nandc.yaml36 - const: hclk
62 clock-names = "hclk", "eclk";
/openbmc/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()

1234567