/openbmc/linux/arch/arm/mach-mv78xx0/ |
H A D | common.c | 47 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() 76 static void get_pclk_l2clk(int hclk, int core_index, int *pclk, int *l2clk) in get_pclk_l2clk() argument 94 *pclk = ((u64)hclk * (2 + (cfg & 0xf))) >> 1; in get_pclk_l2clk() 408 int hclk; in mv78xx0_init() local [all …]
|
/openbmc/linux/drivers/net/ethernet/cadence/ |
H A D | macb_pci.c | 69 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 D | jh7110-trng.c | 98 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 D | qcom_gsbi.c | 111 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 D | clk-s5pv210-audss.c | 70 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 D | rockchip_spdif.c | 37 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 D | rockchip_pdm.c | 34 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()
|
H A D | rockchip_i2s.c | 35 struct clk *hclk; member 763 i2s->hclk = devm_clk_get(&pdev->dev, "i2s_hclk"); in rockchip_i2s_probe() 764 if (IS_ERR(i2s->hclk)) { in rockchip_i2s_probe() 766 return PTR_ERR(i2s->hclk); in rockchip_i2s_probe() 768 ret = clk_prepare_enable(i2s->hclk); in rockchip_i2s_probe() 850 clk_disable_unprepare(i2s->hclk); in rockchip_i2s_probe() 862 clk_disable_unprepare(i2s->hclk); in rockchip_i2s_remove()
|
/openbmc/u-boot/drivers/ddr/marvell/axp/ |
H A D | ddr3_init.c | 1143 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 D | jh7110-cryp.c | 147 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 D | ste-nomadik-stn8815.dtsi | 227 hclk: hclk@0 { label 229 compatible = "st,nomadik-hclk-clock"; 238 clocks = <&hclk>; 302 clocks = <&hclk>; 308 clocks = <&hclk>; 314 clocks = <&hclk>; 320 clocks = <&hclk>; 326 clocks = <&hclk>; 380 clocks = <&hclk>; 386 clocks = <&hclk>; [all …]
|
H A D | stm32mp153.dtsi | 41 clock-names = "hclk", "cclk"; 54 clock-names = "hclk", "cclk";
|
H A D | stm32mp133.dtsi | 19 clock-names = "hclk", "cclk"; 32 clock-names = "hclk", "cclk";
|
/openbmc/linux/Documentation/devicetree/bindings/usb/ |
H A D | atmel-usb.txt | 13 "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 D | spi-sun4i.c | 80 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()
|
H A D | spi-rockchip-sfc.c | 175 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 D | spi-sun6i.c | 104 struct clk *hclk; member 571 ret = clk_prepare_enable(sspi->hclk); in sun6i_spi_runtime_resume() 597 clk_disable_unprepare(sspi->hclk); in sun6i_spi_runtime_resume() 609 clk_disable_unprepare(sspi->hclk); in sun6i_spi_runtime_suspend() 679 sspi->hclk = devm_clk_get(&pdev->dev, "ahb"); in sun6i_spi_probe() 680 if (IS_ERR(sspi->hclk)) { in sun6i_spi_probe() 682 ret = PTR_ERR(sspi->hclk); in sun6i_spi_probe()
|
/openbmc/u-boot/drivers/mtd/nand/raw/ |
H A D | lpc32xx_nand_slc.c | 112 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/u-boot/arch/arm/dts/ |
H A D | zynqmp-clk-ccf.dtsi | 193 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/drivers/slimbus/ |
H A D | qcom-ctrl.c | 117 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/u-boot/arch/arm/mach-s5pc1xx/ |
H A D | clock.c | 217 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/linux/drivers/cpufreq/ |
H A D | highbank-cpufreq.c | 34 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/linux/drivers/usb/host/ |
H A D | ohci-at91.c | 55 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()
|
/openbmc/linux/drivers/net/can/m_can/ |
H A D | m_can_platform.c | 196 clk_disable_unprepare(mcan_class->hclk); in m_can_runtime_suspend() 207 err = clk_prepare_enable(mcan_class->hclk); in m_can_runtime_resume() 213 clk_disable_unprepare(mcan_class->hclk); in m_can_runtime_resume()
|
/openbmc/linux/arch/arm/boot/dts/renesas/ |
H A D | r9a06g032.dtsi | 77 clock-names = "hclk"; 284 clock-names = "hclk", "eclk"; 295 clock-names = "hclk"; 309 clock-names = "hclk"; 346 clock-names = "mii_ref", "rgmii_ref", "rmii_ref", "hclk"; 381 clock-names = "hclk", "clk";
|