Searched refs:clk_ahb (Results 1 – 14 of 14) sorted by relevance
/drivers/watchdog/ |
D | asm9260_wdt.c | 60 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/ |
D | sdhci-of-arasan.c | 89 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()
|
D | sdhci-esdhc-imx.c | 197 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()
|
D | sunxi-mmc.c | 267 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/ |
D | ci_hdrc_imx.c | 96 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/ |
D | imx-sdma.c | 384 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/ |
D | imxfb.c | 143 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/ |
D | mxs-auart.c | 436 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/ |
D | sahara.c | 199 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/ |
D | coda-common.c | 1723 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()
|
D | coda.h | 81 struct clk *clk_ahb; member
|
D | coda-bit.c | 686 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/ |
D | fec_main.c | 1849 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()
|
D | fec.h | 496 struct clk *clk_ahb; member
|