Home
last modified time | relevance | path

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

/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()
/drivers/mmc/host/
Dsdhci-esdhc-mcf.c27 struct clk *clk_ahb; member
432 mcf_data->clk_ahb = devm_clk_get(&pdev->dev, "ahb"); in sdhci_esdhc_mcf_probe()
433 if (IS_ERR(mcf_data->clk_ahb)) { in sdhci_esdhc_mcf_probe()
434 err = PTR_ERR(mcf_data->clk_ahb); in sdhci_esdhc_mcf_probe()
454 err = clk_prepare_enable(mcf_data->clk_ahb); in sdhci_esdhc_mcf_probe()
481 clk_disable_unprepare(mcf_data->clk_ahb); in sdhci_esdhc_mcf_probe()
501 clk_disable_unprepare(mcf_data->clk_ahb); in sdhci_esdhc_mcf_remove()
Dsdhci-of-arasan.c146 struct clk *clk_ahb; member
502 clk_disable(sdhci_arasan->clk_ahb); in sdhci_arasan_suspend()
522 ret = clk_enable(sdhci_arasan->clk_ahb); in sdhci_arasan_resume()
1582 sdhci_arasan->clk_ahb = devm_clk_get(dev, "clk_ahb"); in sdhci_arasan_probe()
1583 if (IS_ERR(sdhci_arasan->clk_ahb)) { in sdhci_arasan_probe()
1584 ret = dev_err_probe(dev, PTR_ERR(sdhci_arasan->clk_ahb), in sdhci_arasan_probe()
1595 ret = clk_prepare_enable(sdhci_arasan->clk_ahb); in sdhci_arasan_probe()
1699 clk_disable_unprepare(sdhci_arasan->clk_ahb); in sdhci_arasan_probe()
1711 struct clk *clk_ahb = sdhci_arasan->clk_ahb; in sdhci_arasan_remove() local
1723 clk_disable_unprepare(clk_ahb); in sdhci_arasan_remove()
Dsdhci-esdhc-imx.c324 struct clk *clk_ahb; member
1610 imx_data->clk_ahb = devm_clk_get(&pdev->dev, "ahb"); in sdhci_esdhc_imx_probe()
1611 if (IS_ERR(imx_data->clk_ahb)) { in sdhci_esdhc_imx_probe()
1612 err = PTR_ERR(imx_data->clk_ahb); in sdhci_esdhc_imx_probe()
1630 err = clk_prepare_enable(imx_data->clk_ahb); in sdhci_esdhc_imx_probe()
1722 clk_disable_unprepare(imx_data->clk_ahb); in sdhci_esdhc_imx_probe()
1750 clk_disable_unprepare(imx_data->clk_ahb); in sdhci_esdhc_imx_remove()
1847 clk_disable_unprepare(imx_data->clk_ahb); in sdhci_esdhc_runtime_suspend()
1868 err = clk_prepare_enable(imx_data->clk_ahb); in sdhci_esdhc_runtime_resume()
1896 clk_disable_unprepare(imx_data->clk_ahb); in sdhci_esdhc_runtime_resume()
Dsunxi-mmc.c279 struct clk *clk_ahb; member
1230 ret = clk_prepare_enable(host->clk_ahb); in sunxi_mmc_enable()
1271 clk_disable_unprepare(host->clk_ahb); in sunxi_mmc_enable()
1285 clk_disable_unprepare(host->clk_ahb); in sunxi_mmc_disable()
1308 host->clk_ahb = devm_clk_get(&pdev->dev, "ahb"); in sunxi_mmc_resource_request()
1309 if (IS_ERR(host->clk_ahb)) { in sunxi_mmc_resource_request()
1311 return PTR_ERR(host->clk_ahb); in sunxi_mmc_resource_request()
/drivers/usb/chipidea/
Dci_hdrc_imx.c106 struct clk *clk_ahb; member
208 data->clk_ahb = devm_clk_get(dev, "ahb"); in imx_get_clks()
209 if (IS_ERR(data->clk_ahb)) { in imx_get_clks()
210 ret = PTR_ERR(data->clk_ahb); in imx_get_clks()
242 ret = clk_prepare_enable(data->clk_ahb); in imx_prepare_enable_clks()
256 clk_disable_unprepare(data->clk_ahb); in imx_prepare_enable_clks()
279 clk_disable_unprepare(data->clk_ahb); in imx_disable_unprepare_clks()
/drivers/dma/
Dimx-sdma.c502 struct clk *clk_ahb; member
1359 ret = clk_enable(sdmac->sdma->clk_ahb); in sdma_alloc_chan_resources()
1370 clk_disable(sdmac->sdma->clk_ahb); in sdma_alloc_chan_resources()
1395 clk_disable(sdma->clk_ahb); in sdma_free_chan_resources()
1842 clk_enable(sdma->clk_ahb); in sdma_load_firmware()
1848 clk_disable(sdma->clk_ahb); in sdma_load_firmware()
1948 ret = clk_enable(sdma->clk_ahb); in sdma_init()
1953 (clk_get_rate(sdma->clk_ahb) == clk_get_rate(sdma->clk_ipg))) in sdma_init()
2003 clk_disable(sdma->clk_ahb); in sdma_init()
2008 clk_disable(sdma->clk_ahb); in sdma_init()
[all …]
/drivers/video/fbdev/
Dimxfb.c146 struct clk *clk_ahb; member
514 ret = clk_prepare_enable(fbi->clk_ahb); in imxfb_enable_controller()
526 clk_disable_unprepare(fbi->clk_ahb); in imxfb_enable_controller()
543 clk_disable_unprepare(fbi->clk_ahb); in imxfb_disable_controller()
972 fbi->clk_ahb = devm_clk_get(&pdev->dev, "ahb"); in imxfb_probe()
973 if (IS_ERR(fbi->clk_ahb)) { in imxfb_probe()
974 ret = PTR_ERR(fbi->clk_ahb); in imxfb_probe()
/drivers/tty/serial/
Dmxs-auart.c427 struct clk *clk_ahb; member
1487 s->clk_ahb = devm_clk_get(s->dev, "ahb"); in mxs_get_clks()
1488 if (IS_ERR(s->clk_ahb)) { in mxs_get_clks()
1490 return PTR_ERR(s->clk_ahb); in mxs_get_clks()
1493 err = clk_prepare_enable(s->clk_ahb); in mxs_get_clks()
1499 err = clk_set_rate(s->clk, clk_get_rate(s->clk_ahb)); in mxs_get_clks()
1514 clk_disable_unprepare(s->clk_ahb); in mxs_get_clks()
1701 clk_disable_unprepare(s->clk_ahb); in mxs_auart_probe()
1716 clk_disable_unprepare(s->clk_ahb); in mxs_auart_remove()
/drivers/crypto/
Dsahara.c196 struct clk *clk_ahb; member
1367 dev->clk_ahb = devm_clk_get(&pdev->dev, "ahb"); in sahara_probe()
1368 if (IS_ERR(dev->clk_ahb)) { in sahara_probe()
1370 return PTR_ERR(dev->clk_ahb); in sahara_probe()
1434 err = clk_prepare_enable(dev->clk_ahb); in sahara_probe()
1475 clk_disable_unprepare(dev->clk_ahb); in sahara_probe()
1491 clk_disable_unprepare(dev->clk_ahb); in sahara_remove()
/drivers/clk/actions/
Dowl-s700.c173 static OWL_DIVIDER(clk_ahb, "ahb_clk", "hp_clk_div", CMU_BUSCLK1, 2, 2, NULL, 0, 0);
419 &clk_ahb.common,
502 [CLK_AHB] = &clk_ahb.common.hw,
/drivers/net/ethernet/freescale/
Dfec_main.c3885 fep->clk_ahb = devm_clk_get(&pdev->dev, "ahb"); in fec_probe()
3886 if (IS_ERR(fep->clk_ahb)) { in fec_probe()
3887 ret = PTR_ERR(fep->clk_ahb); in fec_probe()
3891 fep->itr_clk_rate = clk_get_rate(fep->clk_ahb); in fec_probe()
3928 ret = clk_prepare_enable(fep->clk_ahb); in fec_probe()
4027 clk_disable_unprepare(fep->clk_ahb); in fec_probe()
4075 clk_disable_unprepare(fep->clk_ahb); in fec_drv_remove()
4171 clk_disable_unprepare(fep->clk_ahb); in fec_runtime_suspend()
4183 ret = clk_prepare_enable(fep->clk_ahb); in fec_runtime_resume()
4193 clk_disable_unprepare(fep->clk_ahb); in fec_runtime_resume()
Dfec.h553 struct clk *clk_ahb; member
/drivers/media/platform/coda/
Dcoda-common.c2687 ret = clk_prepare_enable(dev->clk_ahb); in coda_open()
2721 clk_disable_unprepare(dev->clk_ahb); in coda_open()
2762 clk_disable_unprepare(dev->clk_ahb); in coda_release()
2795 ret = clk_prepare_enable(dev->clk_ahb); in coda_hw_init()
2873 clk_disable_unprepare(dev->clk_ahb); in coda_hw_init()
3151 dev->clk_ahb = devm_clk_get(&pdev->dev, "ahb"); in coda_probe()
3152 if (IS_ERR(dev->clk_ahb)) { in coda_probe()
3154 return PTR_ERR(dev->clk_ahb); in coda_probe()
Dcoda.h88 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()