| /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 …]
|
| /linux/drivers/net/ethernet/cadence/ |
| H A D | macb_pci.c | 68 plat_data.hclk = clk_register_fixed_rate(&pci->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_fixed_rate(plat_data.hclk); in macb_probe() 113 struct clk *hclk = plat_data->hclk; in macb_remove() local 117 clk_unregister_fixed_rate(hclk); in macb_remove()
|
| /linux/drivers/crypto/starfive/ |
| H A D | jh7110-cryp.c | 108 cryp->hclk = devm_clk_get(&pdev->dev, "hclk"); in starfive_cryp_probe() 109 if (IS_ERR(cryp->hclk)) in starfive_cryp_probe() 110 return dev_err_probe(&pdev->dev, PTR_ERR(cryp->hclk), in starfive_cryp_probe() 123 clk_prepare_enable(cryp->hclk); in starfive_cryp_probe() 173 clk_disable_unprepare(cryp->hclk); in starfive_cryp_probe() 196 clk_disable_unprepare(cryp->hclk); in starfive_cryp_remove()
|
| /linux/drivers/clk/samsung/ |
| H A D | clk-s5pv210-audss.c | 74 struct clk *hclk, *pll_ref, *pll_in, *cdclk, *sclk_audio; in s5pv210_audss_clk_probe() local 90 hclk = devm_clk_get(&pdev->dev, "hclk"); in s5pv210_audss_clk_probe() 91 if (IS_ERR(hclk)) { in s5pv210_audss_clk_probe() 93 return PTR_ERR(hclk); in s5pv210_audss_clk_probe() 144 hclk_p = __clk_get_name(hclk); in s5pv210_audss_clk_probe()
|
| /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 …]
|
| /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()
|
| /linux/sound/soc/rockchip/ |
| H A D | rockchip_pdm.c | 33 struct clk *hclk; member 419 clk_disable_unprepare(pdm->hclk); 429 ret = clk_prepare_enable(pdm->hclk); in rockchip_pdm_runtime_resume() 437 clk_disable_unprepare(pdm->hclk); in rockchip_pdm_runtime_resume() 614 pdm->hclk = devm_clk_get(&pdev->dev, "pdm_hclk"); in rockchip_pdm_probe() 615 if (IS_ERR(pdm->hclk)) in rockchip_pdm_probe() 616 return PTR_ERR(pdm->hclk); in rockchip_pdm_probe() 618 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() [all...] |
| H A D | rockchip_i2s_tdm.c | 51 struct clk *hclk; member 133 clk_disable_unprepare(i2s_tdm->hclk); in i2s_tdm_runtime_suspend() 143 ret = clk_prepare_enable(i2s_tdm->hclk); in i2s_tdm_runtime_resume() 163 clk_disable_unprepare(i2s_tdm->hclk); in i2s_tdm_runtime_resume() 1277 i2s_tdm->hclk = devm_clk_get(&pdev->dev, "hclk"); in rockchip_i2s_tdm_probe() 1278 if (IS_ERR(i2s_tdm->hclk)) { in rockchip_i2s_tdm_probe() 1279 return dev_err_probe(i2s_tdm->dev, PTR_ERR(i2s_tdm->hclk), in rockchip_i2s_tdm_probe() 1280 "Failed to get clock hclk\n"); in rockchip_i2s_tdm_probe() 1337 ret = clk_prepare_enable(i2s_tdm->hclk); in rockchip_i2s_tdm_probe() [all...] |
| H A D | rockchip_sai.c | 45 struct clk *hclk; member 247 clk_disable_unprepare(sai->hclk); in rockchip_sai_runtime_suspend() 257 ret = clk_prepare_enable(sai->hclk); in rockchip_sai_runtime_resume() 276 clk_disable_unprepare(sai->hclk); in rockchip_sai_runtime_resume() 1447 sai->hclk = devm_clk_get_enabled(&pdev->dev, "hclk"); in rockchip_sai_probe() 1448 if (IS_ERR(sai->hclk)) in rockchip_sai_probe() 1449 return dev_err_probe(&pdev->dev, PTR_ERR(sai->hclk), in rockchip_sai_probe() 1487 clk_disable_unprepare(sai->hclk); in rockchip_sai_probe()
|
| /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()
|
| /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()
|
| /linux/drivers/net/can/m_can/ |
| H A D | m_can_platform.c | 193 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()
|
| /linux/arch/arm64/boot/dts/lg/ |
| H A D | lg1312.dtsi | 28 clock-names = "hclk", "pclk";
|
| H A D | lg1313.dtsi | 28 clock-names = "hclk", "pclk";
|
| /linux/drivers/soundwire/ |
| H A D | qcom.c | 202 struct clk *hclk; member 722 clk_prepare_enable(ctrl->hclk); in qcom_swrm_irq_handler() 855 clk_disable_unprepare(ctrl->hclk); in qcom_swrm_irq_handler() 1602 ctrl->hclk = devm_clk_get(dev, "iface"); 1603 if (IS_ERR(ctrl->hclk)) { 1604 ret = dev_err_probe(dev, PTR_ERR(ctrl->hclk), "unable to get iface clock\n"); 1608 clk_prepare_enable(ctrl->hclk); 1709 clk_disable_unprepare(ctrl->hclk); 1719 clk_disable_unprepare(ctrl->hclk); 1732 clk_prepare_enable(ctrl->hclk); [all …]
|
| /linux/arch/arm/boot/dts/microchip/ |
| H A D | sama7g5.dtsi | 386 clock-names = "hclk", "cclk"; 402 clock-names = "hclk", "cclk"; 418 clock-names = "hclk", "cclk"; 434 clock-names = "hclk", "cclk"; 450 clock-names = "hclk", "cclk"; 466 clock-names = "hclk", "cclk"; 868 clock-names = "pclk", "hclk", "tx_clk", "tsu_clk"; 880 clock-names = "pclk", "hclk";
|
| H A D | at91sam9x5_macb1.dtsi | 40 clock-names = "hclk", "pclk";
|
| H A D | sama5d3_emac.dtsi | 43 clock-names = "hclk", "pclk";
|
| H A D | at91sam9x5_macb0.dtsi | 52 clock-names = "hclk", "pclk";
|
| H A D | lan966x.dtsi | 94 clock-names = "pclk", "hclk"; 485 clock-names = "hclk", "cclk"; 500 clock-names = "hclk", "cclk";
|
| H A D | at91sam9261.dtsi | 85 clock-names = "ohci_clk", "hclk", "uhpck"; 96 clock-names = "lcdc_clk", "hclk"; 150 clock-names = "pclk", "hclk";
|
| H A D | sama5d2.dtsi | 137 clock-names = "pclk", "hclk"; 146 clock-names = "ohci_clk", "hclk", "uhpck"; 392 clock-names = "hclk", "pclk"; 750 clock-names = "hclk", "cclk"; 1150 clock-names = "hclk", "cclk";
|
| /linux/arch/arm64/boot/dts/ti/ |
| H A D | k3-am62-mcu.dtsi | 161 clock-names = "hclk", "cclk"; 173 clock-names = "hclk", "cclk";
|
| /linux/Documentation/devicetree/bindings/clock/ |
| H A D | st,nomadik.txt | 39 - compatible: must be "st,nomadik-hclk-clock"
|
| /linux/drivers/net/dsa/ |
| H A D | rzn1_a5psw.h | 252 struct clk *hclk; member
|