Home
last modified time | relevance | path

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

12

/linux-6.12.1/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-6.12.1/drivers/mmc/host/
Dsdhci-esdhc-mcf.c27 struct clk *clk_ahb; member
434 mcf_data->clk_ahb = devm_clk_get(&pdev->dev, "ahb"); in sdhci_esdhc_mcf_probe()
435 if (IS_ERR(mcf_data->clk_ahb)) { in sdhci_esdhc_mcf_probe()
436 err = PTR_ERR(mcf_data->clk_ahb); in sdhci_esdhc_mcf_probe()
456 err = clk_prepare_enable(mcf_data->clk_ahb); in sdhci_esdhc_mcf_probe()
483 clk_disable_unprepare(mcf_data->clk_ahb); in sdhci_esdhc_mcf_probe()
503 clk_disable_unprepare(mcf_data->clk_ahb); in sdhci_esdhc_mcf_remove()
Dsdhci-of-arasan.c183 struct clk *clk_ahb; member
608 clk_disable(sdhci_arasan->clk_ahb); in sdhci_arasan_suspend()
628 ret = clk_enable(sdhci_arasan->clk_ahb); in sdhci_arasan_resume()
1878 sdhci_arasan->clk_ahb = devm_clk_get(dev, "clk_ahb"); in sdhci_arasan_probe()
1879 if (IS_ERR(sdhci_arasan->clk_ahb)) { in sdhci_arasan_probe()
1880 ret = dev_err_probe(dev, PTR_ERR(sdhci_arasan->clk_ahb), in sdhci_arasan_probe()
1891 ret = clk_prepare_enable(sdhci_arasan->clk_ahb); in sdhci_arasan_probe()
2013 clk_disable_unprepare(sdhci_arasan->clk_ahb); in sdhci_arasan_probe()
2024 struct clk *clk_ahb = sdhci_arasan->clk_ahb; in sdhci_arasan_remove() local
2038 clk_disable_unprepare(clk_ahb); in sdhci_arasan_remove()
Dsdhci-esdhc-imx.c341 struct clk *clk_ahb; member
1699 imx_data->clk_ahb = devm_clk_get(&pdev->dev, "ahb"); in sdhci_esdhc_imx_probe()
1700 if (IS_ERR(imx_data->clk_ahb)) { in sdhci_esdhc_imx_probe()
1701 err = PTR_ERR(imx_data->clk_ahb); in sdhci_esdhc_imx_probe()
1718 err = clk_prepare_enable(imx_data->clk_ahb); in sdhci_esdhc_imx_probe()
1824 clk_disable_unprepare(imx_data->clk_ahb); in sdhci_esdhc_imx_probe()
1852 clk_disable_unprepare(imx_data->clk_ahb); in sdhci_esdhc_imx_remove()
1947 clk_disable_unprepare(imx_data->clk_ahb); in sdhci_esdhc_runtime_suspend()
1968 err = clk_prepare_enable(imx_data->clk_ahb); in sdhci_esdhc_runtime_resume()
1996 clk_disable_unprepare(imx_data->clk_ahb); in sdhci_esdhc_runtime_resume()
Dsunxi-mmc.c279 struct clk *clk_ahb; member
1239 ret = clk_prepare_enable(host->clk_ahb); in sunxi_mmc_enable()
1280 clk_disable_unprepare(host->clk_ahb); in sunxi_mmc_enable()
1294 clk_disable_unprepare(host->clk_ahb); in sunxi_mmc_disable()
1317 host->clk_ahb = devm_clk_get(&pdev->dev, "ahb"); in sunxi_mmc_resource_request()
1318 if (IS_ERR(host->clk_ahb)) { in sunxi_mmc_resource_request()
1320 return PTR_ERR(host->clk_ahb); in sunxi_mmc_resource_request()
/linux-6.12.1/drivers/gpu/drm/imx/lcdc/
Dimx-lcdc.c108 struct clk *clk_ahb; member
235 ret = clk_prepare_enable(lcdc->clk_ahb); in imx_lcdc_pipe_enable()
256 clk_disable_unprepare(lcdc->clk_ahb); in imx_lcdc_pipe_disable()
412 lcdc->clk_ahb = devm_clk_get(dev, "ahb"); in imx_lcdc_probe()
413 if (IS_ERR(lcdc->clk_ahb)) in imx_lcdc_probe()
414 return dev_err_probe(dev, PTR_ERR(lcdc->clk_ahb), "Failed to get %s clk\n", "ahb"); in imx_lcdc_probe()
473 ret = clk_prepare_enable(lcdc->clk_ahb); in imx_lcdc_probe()
476 clk_disable_unprepare(lcdc->clk_ahb); in imx_lcdc_probe()
/linux-6.12.1/drivers/usb/chipidea/
Dci_hdrc_imx.c110 struct clk *clk_ahb; member
222 data->clk_ahb = devm_clk_get(dev, "ahb"); in imx_get_clks()
223 if (IS_ERR(data->clk_ahb)) { in imx_get_clks()
224 ret = PTR_ERR(data->clk_ahb); in imx_get_clks()
256 ret = clk_prepare_enable(data->clk_ahb); in imx_prepare_enable_clks()
270 clk_disable_unprepare(data->clk_ahb); in imx_prepare_enable_clks()
293 clk_disable_unprepare(data->clk_ahb); in imx_disable_unprepare_clks()
/linux-6.12.1/drivers/dma/
Dimx-sdma.c532 struct clk *clk_ahb; member
1499 ret = clk_enable(sdmac->sdma->clk_ahb); in sdma_alloc_chan_resources()
1510 clk_disable(sdmac->sdma->clk_ahb); in sdma_alloc_chan_resources()
1535 clk_disable(sdma->clk_ahb); in sdma_free_chan_resources()
2019 clk_enable(sdma->clk_ahb); in sdma_load_firmware()
2025 clk_disable(sdma->clk_ahb); in sdma_load_firmware()
2125 ret = clk_enable(sdma->clk_ahb); in sdma_init()
2130 (clk_get_rate(sdma->clk_ahb) == clk_get_rate(sdma->clk_ipg))) in sdma_init()
2184 clk_disable(sdma->clk_ahb); in sdma_init()
2189 clk_disable(sdma->clk_ahb); in sdma_init()
[all …]
/linux-6.12.1/drivers/video/fbdev/
Dimxfb.c163 struct clk *clk_ahb; member
539 ret = clk_prepare_enable(fbi->clk_ahb); in imxfb_enable_controller()
551 clk_disable_unprepare(fbi->clk_ahb); in imxfb_enable_controller()
568 clk_disable_unprepare(fbi->clk_ahb); in imxfb_disable_controller()
980 fbi->clk_ahb = devm_clk_get(&pdev->dev, "ahb"); in imxfb_probe()
981 if (IS_ERR(fbi->clk_ahb)) { in imxfb_probe()
982 ret = PTR_ERR(fbi->clk_ahb); in imxfb_probe()
/linux-6.12.1/drivers/tty/serial/
Dmxs-auart.c427 struct clk *clk_ahb; member
1472 s->clk_ahb = devm_clk_get(s->dev, "ahb"); in mxs_get_clks()
1473 if (IS_ERR(s->clk_ahb)) { in mxs_get_clks()
1475 return PTR_ERR(s->clk_ahb); in mxs_get_clks()
1478 err = clk_prepare_enable(s->clk_ahb); in mxs_get_clks()
1484 err = clk_set_rate(s->clk, clk_get_rate(s->clk_ahb)); in mxs_get_clks()
1499 clk_disable_unprepare(s->clk_ahb); in mxs_get_clks()
1686 clk_disable_unprepare(s->clk_ahb); in mxs_auart_probe()
1701 clk_disable_unprepare(s->clk_ahb); in mxs_auart_remove()
/linux-6.12.1/drivers/clk/actions/
Dowl-s700.c174 static OWL_DIVIDER(clk_ahb, "ahb_clk", "hp_clk_div", CMU_BUSCLK1, 2, 2, NULL, 0, 0);
421 &clk_ahb.common,
504 [CLK_AHB] = &clk_ahb.common.hw,
/linux-6.12.1/drivers/crypto/
Dsahara.c190 struct clk *clk_ahb; member
1317 dev->clk_ahb = devm_clk_get_enabled(&pdev->dev, "ahb"); in sahara_probe()
1318 if (IS_ERR(dev->clk_ahb)) in sahara_probe()
1319 return dev_err_probe(&pdev->dev, PTR_ERR(dev->clk_ahb), in sahara_probe()
/linux-6.12.1/arch/arm/boot/dts/xilinx/
Dzynq-7000.dtsi293 clock-names = "clk_xin", "clk_ahb";
303 clock-names = "clk_xin", "clk_ahb";
/linux-6.12.1/drivers/media/platform/chips-media/coda/
Dcoda-common.c2686 ret = clk_prepare_enable(dev->clk_ahb); in coda_open()
2720 clk_disable_unprepare(dev->clk_ahb); in coda_open()
2761 clk_disable_unprepare(dev->clk_ahb); in coda_release()
2794 ret = clk_prepare_enable(dev->clk_ahb); in coda_hw_init()
2872 clk_disable_unprepare(dev->clk_ahb); in coda_hw_init()
3167 dev->clk_ahb = devm_clk_get(&pdev->dev, "ahb"); in coda_probe()
3168 if (IS_ERR(dev->clk_ahb)) { in coda_probe()
3170 return PTR_ERR(dev->clk_ahb); in coda_probe()
Dcoda.h88 struct clk *clk_ahb; member
Dcoda-bit.c949 ret = clk_prepare_enable(dev->clk_ahb); in coda_check_firmware()
978 clk_disable_unprepare(dev->clk_ahb); in coda_check_firmware()
1003 clk_disable_unprepare(dev->clk_ahb); in coda_check_firmware()
/linux-6.12.1/drivers/net/ethernet/freescale/
Dfec_main.c4411 fep->clk_ahb = devm_clk_get(&pdev->dev, "ahb"); in fec_probe()
4412 if (IS_ERR(fep->clk_ahb)) { in fec_probe()
4413 ret = PTR_ERR(fep->clk_ahb); in fec_probe()
4417 fep->itr_clk_rate = clk_get_rate(fep->clk_ahb); in fec_probe()
4458 ret = clk_prepare_enable(fep->clk_ahb); in fec_probe()
4557 clk_disable_unprepare(fep->clk_ahb); in fec_probe()
4606 clk_disable_unprepare(fep->clk_ahb); in fec_drv_remove()
4729 clk_disable_unprepare(fep->clk_ahb); in fec_runtime_suspend()
4741 ret = clk_prepare_enable(fep->clk_ahb); in fec_runtime_resume()
4751 clk_disable_unprepare(fep->clk_ahb); in fec_runtime_resume()
Dfec.h606 struct clk *clk_ahb; member
/linux-6.12.1/arch/arm64/boot/dts/ti/
Dk3-am62p-j722s-common-main.dtsi566 clock-names = "clk_ahb", "clk_xin";
593 clock-names = "clk_ahb", "clk_xin";
616 clock-names = "clk_ahb", "clk_xin";
Dk3-am62-main.dtsi555 clock-names = "clk_ahb", "clk_xin";
577 clock-names = "clk_ahb", "clk_xin";
600 clock-names = "clk_ahb", "clk_xin";
Dk3-am62a-main.dtsi578 clock-names = "clk_ahb", "clk_xin";
596 clock-names = "clk_ahb", "clk_xin";
619 clock-names = "clk_ahb", "clk_xin";
Dk3-am65-main.dtsi442 clock-names = "clk_ahb", "clk_xin";
462 clock-names = "clk_ahb", "clk_xin";
Dk3-am64-main.dtsi630 clock-names = "clk_ahb", "clk_xin";
652 clock-names = "clk_ahb", "clk_xin";
Dk3-j7200-main.dtsi637 clock-names = "clk_ahb", "clk_xin";
663 clock-names = "clk_ahb", "clk_xin";
/linux-6.12.1/arch/arm64/boot/dts/xilinx/
Dzynqmp.dtsi929 clock-names = "clk_xin", "clk_ahb";
944 clock-names = "clk_xin", "clk_ahb";

12