Home
last modified time | relevance | path

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

/drivers/watchdog/
Dasm9260_wdt.c60 struct clk *clk_ahb; member
213 priv->clk_ahb = devm_clk_get(priv->dev, "ahb"); in asm9260_wdt_get_dt_clks()
214 if (IS_ERR(priv->clk_ahb)) { in asm9260_wdt_get_dt_clks()
216 return PTR_ERR(priv->clk_ahb); in asm9260_wdt_get_dt_clks()
219 err = clk_prepare_enable(priv->clk_ahb); in asm9260_wdt_get_dt_clks()
227 clk_disable_unprepare(priv->clk_ahb); in asm9260_wdt_get_dt_clks()
234 clk_disable_unprepare(priv->clk_ahb); in asm9260_wdt_get_dt_clks()
243 clk_disable_unprepare(priv->clk_ahb); in asm9260_wdt_get_dt_clks()
356 clk_disable_unprepare(priv->clk_ahb); in asm9260_wdt_probe()
378 clk_disable_unprepare(priv->clk_ahb); in asm9260_wdt_remove()
/drivers/mmc/host/
Dsdhci-of-arasan.c89 struct clk *clk_ahb; member
333 clk_disable(sdhci_arasan->clk_ahb); in sdhci_arasan_suspend()
353 ret = clk_enable(sdhci_arasan->clk_ahb); in sdhci_arasan_resume()
614 sdhci_arasan->clk_ahb = devm_clk_get(&pdev->dev, "clk_ahb"); in sdhci_arasan_probe()
615 if (IS_ERR(sdhci_arasan->clk_ahb)) { in sdhci_arasan_probe()
617 ret = PTR_ERR(sdhci_arasan->clk_ahb); in sdhci_arasan_probe()
628 ret = clk_prepare_enable(sdhci_arasan->clk_ahb); in sdhci_arasan_probe()
700 clk_disable_unprepare(sdhci_arasan->clk_ahb); in sdhci_arasan_probe()
712 struct clk *clk_ahb = sdhci_arasan->clk_ahb; in sdhci_arasan_remove() local
724 clk_disable_unprepare(clk_ahb); in sdhci_arasan_remove()
Dsdhci-esdhc-imx.c197 struct clk *clk_ahb; member
1213 imx_data->clk_ahb = devm_clk_get(&pdev->dev, "ahb"); in sdhci_esdhc_imx_probe()
1214 if (IS_ERR(imx_data->clk_ahb)) { in sdhci_esdhc_imx_probe()
1215 err = PTR_ERR(imx_data->clk_ahb); in sdhci_esdhc_imx_probe()
1229 clk_prepare_enable(imx_data->clk_ahb); in sdhci_esdhc_imx_probe()
1293 clk_disable_unprepare(imx_data->clk_ahb); in sdhci_esdhc_imx_probe()
1314 clk_disable_unprepare(imx_data->clk_ahb); in sdhci_esdhc_imx_remove()
1354 clk_disable_unprepare(imx_data->clk_ahb); in sdhci_esdhc_runtime_suspend()
1369 clk_prepare_enable(imx_data->clk_ahb); in sdhci_esdhc_runtime_resume()
Dsunxi-mmc.c267 struct clk *clk_ahb; member
1120 host->clk_ahb = devm_clk_get(&pdev->dev, "ahb"); in sunxi_mmc_resource_request()
1121 if (IS_ERR(host->clk_ahb)) { in sunxi_mmc_resource_request()
1123 return PTR_ERR(host->clk_ahb); in sunxi_mmc_resource_request()
1150 ret = clk_prepare_enable(host->clk_ahb); in sunxi_mmc_resource_request()
1204 clk_disable_unprepare(host->clk_ahb); in sunxi_mmc_resource_request()
1285 clk_disable_unprepare(host->clk_ahb); in sunxi_mmc_remove()
/drivers/usb/chipidea/
Dci_hdrc_imx.c96 struct clk *clk_ahb; member
172 data->clk_ahb = devm_clk_get(dev, "ahb"); in imx_get_clks()
173 if (IS_ERR(data->clk_ahb)) { in imx_get_clks()
174 ret = PTR_ERR(data->clk_ahb); in imx_get_clks()
206 ret = clk_prepare_enable(data->clk_ahb); in imx_prepare_enable_clks()
220 clk_disable_unprepare(data->clk_ahb); in imx_prepare_enable_clks()
243 clk_disable_unprepare(data->clk_ahb); in imx_disable_unprepare_clks()
/drivers/dma/
Dimx-sdma.c384 struct clk *clk_ahb; member
1138 ret = clk_enable(sdmac->sdma->clk_ahb); in sdma_alloc_chan_resources()
1158 clk_disable(sdmac->sdma->clk_ahb); in sdma_alloc_chan_resources()
1184 clk_disable(sdma->clk_ahb); in sdma_free_chan_resources()
1493 clk_enable(sdma->clk_ahb); in sdma_load_firmware()
1499 clk_disable(sdma->clk_ahb); in sdma_load_firmware()
1597 ret = clk_enable(sdma->clk_ahb); in sdma_init()
1650 clk_disable(sdma->clk_ahb); in sdma_init()
1655 clk_disable(sdma->clk_ahb); in sdma_init()
1754 sdma->clk_ahb = devm_clk_get(&pdev->dev, "ahb"); in sdma_probe()
[all …]
/drivers/video/fbdev/
Dimxfb.c143 struct clk *clk_ahb; member
504 ret = clk_prepare_enable(fbi->clk_ahb); in imxfb_enable_controller()
516 clk_disable_unprepare(fbi->clk_ahb); in imxfb_enable_controller()
533 clk_disable_unprepare(fbi->clk_ahb); in imxfb_disable_controller()
940 fbi->clk_ahb = devm_clk_get(&pdev->dev, "ahb"); in imxfb_probe()
941 if (IS_ERR(fbi->clk_ahb)) { in imxfb_probe()
942 ret = PTR_ERR(fbi->clk_ahb); in imxfb_probe()
/drivers/tty/serial/
Dmxs-auart.c436 struct clk *clk_ahb; member
1522 s->clk_ahb = devm_clk_get(s->dev, "ahb"); in mxs_get_clks()
1523 if (IS_ERR(s->clk_ahb)) { in mxs_get_clks()
1525 return PTR_ERR(s->clk_ahb); in mxs_get_clks()
1528 err = clk_prepare_enable(s->clk_ahb); in mxs_get_clks()
1534 err = clk_set_rate(s->clk, clk_get_rate(s->clk_ahb)); in mxs_get_clks()
1549 clk_disable_unprepare(s->clk_ahb); in mxs_get_clks()
/drivers/crypto/
Dsahara.c199 struct clk *clk_ahb; member
1437 dev->clk_ahb = devm_clk_get(&pdev->dev, "ahb"); in sahara_probe()
1438 if (IS_ERR(dev->clk_ahb)) { in sahara_probe()
1440 return PTR_ERR(dev->clk_ahb); in sahara_probe()
1505 err = clk_prepare_enable(dev->clk_ahb); in sahara_probe()
1546 clk_disable_unprepare(dev->clk_ahb); in sahara_probe()
1562 clk_disable_unprepare(dev->clk_ahb); in sahara_remove()
/drivers/media/platform/coda/
Dcoda-common.c1723 ret = clk_prepare_enable(dev->clk_ahb); in coda_open()
1763 clk_disable_unprepare(dev->clk_ahb); in coda_open()
1806 clk_disable_unprepare(dev->clk_ahb); in coda_release()
1839 ret = clk_prepare_enable(dev->clk_ahb); in coda_hw_init()
1916 clk_disable_unprepare(dev->clk_ahb); in coda_hw_init()
2188 dev->clk_ahb = devm_clk_get(&pdev->dev, "ahb"); in coda_probe()
2189 if (IS_ERR(dev->clk_ahb)) { in coda_probe()
2191 return PTR_ERR(dev->clk_ahb); in coda_probe()
Dcoda.h81 struct clk *clk_ahb; member
Dcoda-bit.c686 ret = clk_prepare_enable(dev->clk_ahb); in coda_check_firmware()
715 clk_disable_unprepare(dev->clk_ahb); in coda_check_firmware()
740 clk_disable_unprepare(dev->clk_ahb); in coda_check_firmware()
/drivers/net/ethernet/freescale/
Dfec_main.c1849 ret = clk_prepare_enable(fep->clk_ahb); in fec_enet_clk_enable()
1874 clk_disable_unprepare(fep->clk_ahb); in fec_enet_clk_enable()
1896 clk_disable_unprepare(fep->clk_ahb); in fec_enet_clk_enable()
3392 fep->clk_ahb = devm_clk_get(&pdev->dev, "ahb"); in fec_probe()
3393 if (IS_ERR(fep->clk_ahb)) { in fec_probe()
3394 ret = PTR_ERR(fep->clk_ahb); in fec_probe()
3398 fep->itr_clk_rate = clk_get_rate(fep->clk_ahb); in fec_probe()
Dfec.h496 struct clk *clk_ahb; member