Home
last modified time | relevance | path

Searched refs:clk_ahb (Results 1 – 24 of 24) sorted by relevance

/Linux-v5.4/drivers/watchdog/
Dasm9260_wdt.c58 struct clk *clk_ahb; member
215 priv->clk_ahb = devm_clk_get(priv->dev, "ahb"); in asm9260_wdt_get_dt_clks()
216 if (IS_ERR(priv->clk_ahb)) { in asm9260_wdt_get_dt_clks()
218 return PTR_ERR(priv->clk_ahb); in asm9260_wdt_get_dt_clks()
221 err = clk_prepare_enable(priv->clk_ahb); in asm9260_wdt_get_dt_clks()
228 priv->clk_ahb); in asm9260_wdt_get_dt_clks()
/Linux-v5.4/drivers/mmc/host/
Dsdhci-of-arasan.c87 struct clk *clk_ahb; member
426 clk_disable(sdhci_arasan->clk_ahb); in sdhci_arasan_suspend()
445 ret = clk_enable(sdhci_arasan->clk_ahb); in sdhci_arasan_resume()
771 sdhci_arasan->clk_ahb = devm_clk_get(&pdev->dev, "clk_ahb"); in sdhci_arasan_probe()
772 if (IS_ERR(sdhci_arasan->clk_ahb)) { in sdhci_arasan_probe()
774 ret = PTR_ERR(sdhci_arasan->clk_ahb); in sdhci_arasan_probe()
785 ret = clk_prepare_enable(sdhci_arasan->clk_ahb); in sdhci_arasan_probe()
866 clk_disable_unprepare(sdhci_arasan->clk_ahb); in sdhci_arasan_probe()
878 struct clk *clk_ahb = sdhci_arasan->clk_ahb; in sdhci_arasan_remove() local
890 clk_disable_unprepare(clk_ahb); in sdhci_arasan_remove()
Dsdhci-esdhc-imx.c233 struct clk *clk_ahb; member
1465 imx_data->clk_ahb = devm_clk_get(&pdev->dev, "ahb"); in sdhci_esdhc_imx_probe()
1466 if (IS_ERR(imx_data->clk_ahb)) { in sdhci_esdhc_imx_probe()
1467 err = PTR_ERR(imx_data->clk_ahb); in sdhci_esdhc_imx_probe()
1485 err = clk_prepare_enable(imx_data->clk_ahb); in sdhci_esdhc_imx_probe()
1574 clk_disable_unprepare(imx_data->clk_ahb); in sdhci_esdhc_imx_probe()
1601 clk_disable_unprepare(imx_data->clk_ahb); in sdhci_esdhc_imx_remove()
1673 clk_disable_unprepare(imx_data->clk_ahb); in sdhci_esdhc_runtime_suspend()
1692 err = clk_prepare_enable(imx_data->clk_ahb); in sdhci_esdhc_runtime_resume()
1720 clk_disable_unprepare(imx_data->clk_ahb); in sdhci_esdhc_runtime_resume()
Dsunxi-mmc.c277 struct clk *clk_ahb; member
1202 ret = clk_prepare_enable(host->clk_ahb); in sunxi_mmc_enable()
1243 clk_disable_unprepare(host->clk_ahb); in sunxi_mmc_enable()
1257 clk_disable_unprepare(host->clk_ahb); in sunxi_mmc_disable()
1281 host->clk_ahb = devm_clk_get(&pdev->dev, "ahb"); in sunxi_mmc_resource_request()
1282 if (IS_ERR(host->clk_ahb)) { in sunxi_mmc_resource_request()
1284 return PTR_ERR(host->clk_ahb); in sunxi_mmc_resource_request()
/Linux-v5.4/Documentation/devicetree/bindings/mmc/
Darasan,sdhci.txt27 - clock-names: From clock bindings: Tuple including "clk_xin" and "clk_ahb"
54 clock-names = "clk_xin", "clk_ahb";
63 clock-names = "clk_xin", "clk_ahb";
76 clock-names = "clk_xin", "clk_ahb";
93 clock-names = "clk_xin", "clk_ahb", "gate";
Dsdhci-am654.txt19 - clock-names: Tuple including "clk_xin" and "clk_ahb"
37 clock-names = "clk_ahb", "clk_xin";
/Linux-v5.4/drivers/usb/chipidea/
Dci_hdrc_imx.c100 struct clk *clk_ahb; member
191 data->clk_ahb = devm_clk_get(dev, "ahb"); in imx_get_clks()
192 if (IS_ERR(data->clk_ahb)) { in imx_get_clks()
193 ret = PTR_ERR(data->clk_ahb); in imx_get_clks()
225 ret = clk_prepare_enable(data->clk_ahb); in imx_prepare_enable_clks()
239 clk_disable_unprepare(data->clk_ahb); in imx_prepare_enable_clks()
262 clk_disable_unprepare(data->clk_ahb); in imx_disable_unprepare_clks()
/Linux-v5.4/drivers/dma/
Dimx-sdma.c435 struct clk *clk_ahb; member
1305 ret = clk_enable(sdmac->sdma->clk_ahb); in sdma_alloc_chan_resources()
1316 clk_disable(sdmac->sdma->clk_ahb); in sdma_alloc_chan_resources()
1342 clk_disable(sdma->clk_ahb); in sdma_free_chan_resources()
1767 clk_enable(sdma->clk_ahb); in sdma_load_firmware()
1773 clk_disable(sdma->clk_ahb); in sdma_load_firmware()
1871 ret = clk_enable(sdma->clk_ahb); in sdma_init()
1876 (clk_get_rate(sdma->clk_ahb) == clk_get_rate(sdma->clk_ipg))) in sdma_init()
1926 clk_disable(sdma->clk_ahb); in sdma_init()
1931 clk_disable(sdma->clk_ahb); in sdma_init()
[all …]
/Linux-v5.4/drivers/video/fbdev/
Dimxfb.c146 struct clk *clk_ahb; member
513 ret = clk_prepare_enable(fbi->clk_ahb); in imxfb_enable_controller()
525 clk_disable_unprepare(fbi->clk_ahb); in imxfb_enable_controller()
542 clk_disable_unprepare(fbi->clk_ahb); in imxfb_disable_controller()
957 fbi->clk_ahb = devm_clk_get(&pdev->dev, "ahb"); in imxfb_probe()
958 if (IS_ERR(fbi->clk_ahb)) { in imxfb_probe()
959 ret = PTR_ERR(fbi->clk_ahb); in imxfb_probe()
/Linux-v5.4/arch/arm/boot/dts/
Dtango4-common.dtsi104 clock-names = "clk_xin", "clk_ahb";
112 clock-names = "clk_xin", "clk_ahb";
Dzynq-7000.dtsi225 clock-names = "clk_xin", "clk_ahb";
235 clock-names = "clk_xin", "clk_ahb";
/Linux-v5.4/drivers/tty/serial/
Dmxs-auart.c433 struct clk *clk_ahb; member
1519 s->clk_ahb = devm_clk_get(s->dev, "ahb"); in mxs_get_clks()
1520 if (IS_ERR(s->clk_ahb)) { in mxs_get_clks()
1522 return PTR_ERR(s->clk_ahb); in mxs_get_clks()
1525 err = clk_prepare_enable(s->clk_ahb); in mxs_get_clks()
1531 err = clk_set_rate(s->clk, clk_get_rate(s->clk_ahb)); in mxs_get_clks()
1546 clk_disable_unprepare(s->clk_ahb); in mxs_get_clks()
1755 clk_disable_unprepare(s->clk_ahb); in mxs_auart_probe()
1769 clk_disable_unprepare(s->clk_ahb); in mxs_auart_remove()
/Linux-v5.4/drivers/crypto/
Dsahara.c196 struct clk *clk_ahb; member
1423 dev->clk_ahb = devm_clk_get(&pdev->dev, "ahb"); in sahara_probe()
1424 if (IS_ERR(dev->clk_ahb)) { in sahara_probe()
1426 return PTR_ERR(dev->clk_ahb); in sahara_probe()
1490 err = clk_prepare_enable(dev->clk_ahb); in sahara_probe()
1531 clk_disable_unprepare(dev->clk_ahb); in sahara_probe()
1547 clk_disable_unprepare(dev->clk_ahb); in sahara_remove()
/Linux-v5.4/arch/arm64/boot/dts/xilinx/
Dzynqmp.dtsi501 clock-names = "clk_xin", "clk_ahb";
510 clock-names = "clk_xin", "clk_ahb";
608 clock-names = "clk_xin", "clk_ahb";
617 clock-names = "clk_xin", "clk_ahb";
/Linux-v5.4/drivers/clk/actions/
Dowl-s700.c172 static OWL_DIVIDER(clk_ahb, "ahb_clk", "hp_clk_div", CMU_BUSCLK1, 2, 2, NULL, 0, 0);
418 &clk_ahb.common,
501 [CLK_AHB] = &clk_ahb.common.hw,
/Linux-v5.4/drivers/net/ethernet/freescale/
Dfec_main.c3486 fep->clk_ahb = devm_clk_get(&pdev->dev, "ahb"); in fec_probe()
3487 if (IS_ERR(fep->clk_ahb)) { in fec_probe()
3488 ret = PTR_ERR(fep->clk_ahb); in fec_probe()
3492 fep->itr_clk_rate = clk_get_rate(fep->clk_ahb); in fec_probe()
3521 ret = clk_prepare_enable(fep->clk_ahb); in fec_probe()
3616 clk_disable_unprepare(fep->clk_ahb); in fec_probe()
3657 clk_disable_unprepare(fep->clk_ahb); in fec_drv_remove()
3751 clk_disable_unprepare(fep->clk_ahb); in fec_runtime_suspend()
3763 ret = clk_prepare_enable(fep->clk_ahb); in fec_runtime_resume()
3773 clk_disable_unprepare(fep->clk_ahb); in fec_runtime_resume()
Dfec.h506 struct clk *clk_ahb; member
/Linux-v5.4/drivers/media/platform/coda/
Dcoda-common.c2485 ret = clk_prepare_enable(dev->clk_ahb); in coda_open()
2519 clk_disable_unprepare(dev->clk_ahb); in coda_open()
2560 clk_disable_unprepare(dev->clk_ahb); in coda_release()
2593 ret = clk_prepare_enable(dev->clk_ahb); in coda_hw_init()
2671 clk_disable_unprepare(dev->clk_ahb); in coda_hw_init()
2971 dev->clk_ahb = devm_clk_get(&pdev->dev, "ahb"); in coda_probe()
2972 if (IS_ERR(dev->clk_ahb)) { in coda_probe()
2974 return PTR_ERR(dev->clk_ahb); in coda_probe()
Dcoda.h80 struct clk *clk_ahb; member
Dcoda-bit.c947 ret = clk_prepare_enable(dev->clk_ahb); in coda_check_firmware()
976 clk_disable_unprepare(dev->clk_ahb); in coda_check_firmware()
1001 clk_disable_unprepare(dev->clk_ahb); in coda_check_firmware()
/Linux-v5.4/arch/arm64/boot/dts/ti/
Dk3-am65-main.dtsi252 clock-names = "clk_ahb", "clk_xin";
/Linux-v5.4/arch/arm64/boot/dts/apm/
Dapm-shadowcat.dtsi698 clock-names = "clk_xin", "clk_ahb";
Dapm-storm.dtsi814 clock-names = "clk_xin", "clk_ahb";
/Linux-v5.4/arch/arm64/boot/dts/rockchip/
Drk3399.dtsi336 clock-names = "clk_xin", "clk_ahb";