/kernel/linux/linux-5.10/drivers/watchdog/ |
H A D | asm9260_wdt.c | 58 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()
|
/kernel/linux/linux-6.6/drivers/watchdog/ |
H A D | asm9260_wdt.c | 58 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()
|
/kernel/linux/linux-5.10/drivers/mmc/host/ |
H A D | sdhci-esdhc-mcf.c | 27 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()
|
H A D | sdhci-of-arasan.c | 134 * @clk_ahb: Pointer to the AHB clock 146 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() 1572 sdhci_arasan->clk_ahb = devm_clk_get(&pdev->dev, "clk_ahb"); in sdhci_arasan_probe() 1573 if (IS_ERR(sdhci_arasan->clk_ahb)) { in sdhci_arasan_probe() 1574 dev_err(&pdev->dev, "clk_ahb clock not found.\n"); in sdhci_arasan_probe() 1575 ret = PTR_ERR(sdhci_arasan->clk_ahb); in sdhci_arasan_probe() 1586 ret = clk_prepare_enable(sdhci_arasan->clk_ahb); in sdhci_arasan_probe() 1697 struct clk *clk_ahb = sdhci_arasan->clk_ahb; sdhci_arasan_remove() local [all...] |
H A D | sunxi-mmc.c | 277 struct clk *clk_ahb; member 1206 ret = clk_prepare_enable(host->clk_ahb); in sunxi_mmc_enable() 1247 clk_disable_unprepare(host->clk_ahb); in sunxi_mmc_enable() 1261 clk_disable_unprepare(host->clk_ahb); in sunxi_mmc_disable() 1284 host->clk_ahb = devm_clk_get(&pdev->dev, "ahb"); in sunxi_mmc_resource_request() 1285 if (IS_ERR(host->clk_ahb)) { in sunxi_mmc_resource_request() 1287 return PTR_ERR(host->clk_ahb); in sunxi_mmc_resource_request()
|
H A D | sdhci-esdhc-imx.c | 287 struct clk *clk_ahb; member 1572 imx_data->clk_ahb = devm_clk_get(&pdev->dev, "ahb"); in sdhci_esdhc_imx_probe() 1573 if (IS_ERR(imx_data->clk_ahb)) { in sdhci_esdhc_imx_probe() 1574 err = PTR_ERR(imx_data->clk_ahb); in sdhci_esdhc_imx_probe() 1592 err = clk_prepare_enable(imx_data->clk_ahb); in sdhci_esdhc_imx_probe() 1678 clk_disable_unprepare(imx_data->clk_ahb); in sdhci_esdhc_imx_probe() 1706 clk_disable_unprepare(imx_data->clk_ahb); in sdhci_esdhc_imx_remove() 1803 clk_disable_unprepare(imx_data->clk_ahb); in sdhci_esdhc_runtime_suspend() 1824 err = clk_prepare_enable(imx_data->clk_ahb); in sdhci_esdhc_runtime_resume() 1852 clk_disable_unprepare(imx_data->clk_ahb); in sdhci_esdhc_runtime_resume() [all...] |
/kernel/linux/linux-6.6/drivers/mmc/host/ |
H A D | sdhci-esdhc-mcf.c | 27 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()
|
H A D | sdhci-of-arasan.c | 170 * @clk_ahb: Pointer to the AHB clock 183 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() 1881 "clk_ahb clock not found.\n"); in sdhci_arasan_probe() 1891 ret = clk_prepare_enable(sdhci_arasan->clk_ahb); in sdhci_arasan_probe() 2024 struct clk *clk_ahb = sdhci_arasan->clk_ahb; sdhci_arasan_remove() local [all...] |
H A D | sunxi-mmc.c | 279 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()
|
H A D | sdhci-esdhc-imx.c | 338 struct clk *clk_ahb; member 1676 imx_data->clk_ahb = devm_clk_get(&pdev->dev, "ahb"); in sdhci_esdhc_imx_probe() 1677 if (IS_ERR(imx_data->clk_ahb)) { in sdhci_esdhc_imx_probe() 1678 err = PTR_ERR(imx_data->clk_ahb); in sdhci_esdhc_imx_probe() 1696 err = clk_prepare_enable(imx_data->clk_ahb); in sdhci_esdhc_imx_probe() 1794 clk_disable_unprepare(imx_data->clk_ahb); in sdhci_esdhc_imx_probe() 1822 clk_disable_unprepare(imx_data->clk_ahb); in sdhci_esdhc_imx_remove() 1917 clk_disable_unprepare(imx_data->clk_ahb); in sdhci_esdhc_runtime_suspend() 1938 err = clk_prepare_enable(imx_data->clk_ahb); in sdhci_esdhc_runtime_resume() 1966 clk_disable_unprepare(imx_data->clk_ahb); in sdhci_esdhc_runtime_resume() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/imx/lcdc/ |
H A D | imx-lcdc.c | 108 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()
|
/kernel/linux/linux-5.10/drivers/usb/chipidea/ |
H A D | ci_hdrc_imx.c | 106 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()
|
/kernel/linux/linux-6.6/drivers/usb/chipidea/ |
H A D | ci_hdrc_imx.c | 109 struct clk *clk_ahb; member 214 data->clk_ahb = devm_clk_get(dev, "ahb"); in imx_get_clks() 215 if (IS_ERR(data->clk_ahb)) { in imx_get_clks() 216 ret = PTR_ERR(data->clk_ahb); in imx_get_clks() 248 ret = clk_prepare_enable(data->clk_ahb); in imx_prepare_enable_clks() 262 clk_disable_unprepare(data->clk_ahb); in imx_prepare_enable_clks() 285 clk_disable_unprepare(data->clk_ahb); in imx_disable_unprepare_clks()
|
/kernel/linux/linux-5.10/drivers/dma/ |
H A D | imx-sdma.c | 435 struct clk *clk_ahb; member 1299 ret = clk_enable(sdmac->sdma->clk_ahb); in sdma_alloc_chan_resources() 1310 clk_disable(sdmac->sdma->clk_ahb); in sdma_alloc_chan_resources() 1335 clk_disable(sdma->clk_ahb); in sdma_free_chan_resources() 1764 clk_enable(sdma->clk_ahb); in sdma_load_firmware() 1770 clk_disable(sdma->clk_ahb); in sdma_load_firmware() 1868 ret = clk_enable(sdma->clk_ahb); in sdma_init() 1873 (clk_get_rate(sdma->clk_ahb) == clk_get_rate(sdma->clk_ipg))) in sdma_init() 1923 clk_disable(sdma->clk_ahb); in sdma_init() 1928 clk_disable(sdma->clk_ahb); in sdma_init() [all...] |
/kernel/linux/linux-6.6/drivers/dma/ |
H A D | imx-sdma.c | 525 struct clk *clk_ahb; member 1463 ret = clk_enable(sdmac->sdma->clk_ahb); in sdma_alloc_chan_resources() 1474 clk_disable(sdmac->sdma->clk_ahb); in sdma_alloc_chan_resources() 1499 clk_disable(sdma->clk_ahb); in sdma_free_chan_resources() 1973 clk_enable(sdma->clk_ahb); in sdma_load_firmware() 1979 clk_disable(sdma->clk_ahb); in sdma_load_firmware() 2079 ret = clk_enable(sdma->clk_ahb); in sdma_init() 2084 (clk_get_rate(sdma->clk_ahb) == clk_get_rate(sdma->clk_ipg))) in sdma_init() 2134 clk_disable(sdma->clk_ahb); in sdma_init() 2139 clk_disable(sdma->clk_ahb); in sdma_init() [all...] |
/kernel/linux/linux-6.6/drivers/video/fbdev/ |
H A D | imxfb.c | 164 struct clk *clk_ahb; member 540 ret = clk_prepare_enable(fbi->clk_ahb); in imxfb_enable_controller() 552 clk_disable_unprepare(fbi->clk_ahb); in imxfb_enable_controller() 569 clk_disable_unprepare(fbi->clk_ahb); in imxfb_disable_controller() 977 fbi->clk_ahb = devm_clk_get(&pdev->dev, "ahb"); in imxfb_probe() 978 if (IS_ERR(fbi->clk_ahb)) { in imxfb_probe() 979 ret = PTR_ERR(fbi->clk_ahb); in imxfb_probe()
|
/kernel/linux/linux-6.6/drivers/tty/serial/ |
H A D | mxs-auart.c | 427 struct clk *clk_ahb; member 1473 s->clk_ahb = devm_clk_get(s->dev, "ahb"); in mxs_get_clks() 1474 if (IS_ERR(s->clk_ahb)) { in mxs_get_clks() 1476 return PTR_ERR(s->clk_ahb); in mxs_get_clks() 1479 err = clk_prepare_enable(s->clk_ahb); in mxs_get_clks() 1485 err = clk_set_rate(s->clk, clk_get_rate(s->clk_ahb)); in mxs_get_clks() 1500 clk_disable_unprepare(s->clk_ahb); in mxs_get_clks() 1687 clk_disable_unprepare(s->clk_ahb); in mxs_auart_probe() 1702 clk_disable_unprepare(s->clk_ahb); in mxs_auart_remove()
|
/kernel/linux/linux-5.10/drivers/crypto/ |
H A D | sahara.c | 195 struct clk *clk_ahb; member 1372 dev->clk_ahb = devm_clk_get(&pdev->dev, "ahb"); in sahara_probe() 1373 if (IS_ERR(dev->clk_ahb)) { in sahara_probe() 1375 return PTR_ERR(dev->clk_ahb); in sahara_probe() 1439 err = clk_prepare_enable(dev->clk_ahb); in sahara_probe() 1480 clk_disable_unprepare(dev->clk_ahb); in sahara_probe() 1496 clk_disable_unprepare(dev->clk_ahb); in sahara_remove()
|
/kernel/linux/linux-5.10/drivers/video/fbdev/ |
H A D | imxfb.c | 146 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()
|
/kernel/linux/linux-6.6/drivers/crypto/ |
H A D | sahara.c | 195 struct clk *clk_ahb; member 1366 dev->clk_ahb = devm_clk_get(&pdev->dev, "ahb"); in sahara_probe() 1367 if (IS_ERR(dev->clk_ahb)) { in sahara_probe() 1369 return PTR_ERR(dev->clk_ahb); in sahara_probe() 1433 err = clk_prepare_enable(dev->clk_ahb); in sahara_probe() 1474 clk_disable_unprepare(dev->clk_ahb); in sahara_probe() 1490 clk_disable_unprepare(dev->clk_ahb); in sahara_remove()
|
/kernel/linux/linux-5.10/drivers/tty/serial/ |
H A D | mxs-auart.c | 429 struct clk *clk_ahb; member 1515 s->clk_ahb = devm_clk_get(s->dev, "ahb"); in mxs_get_clks() 1516 if (IS_ERR(s->clk_ahb)) { in mxs_get_clks() 1518 return PTR_ERR(s->clk_ahb); in mxs_get_clks() 1521 err = clk_prepare_enable(s->clk_ahb); in mxs_get_clks() 1527 err = clk_set_rate(s->clk, clk_get_rate(s->clk_ahb)); in mxs_get_clks() 1542 clk_disable_unprepare(s->clk_ahb); in mxs_get_clks() 1755 clk_disable_unprepare(s->clk_ahb); in mxs_auart_probe() 1770 clk_disable_unprepare(s->clk_ahb); in mxs_auart_remove()
|
/kernel/linux/linux-5.10/drivers/clk/actions/ |
H A D | owl-s700.c | 173 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,
|
/kernel/linux/linux-6.6/drivers/clk/actions/ |
H A D | owl-s700.c | 174 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,
|
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/ |
H A D | fec_main.c | 2564 /* ITR clock source is enet system clock (clk_ahb). 3693 fep->clk_ahb = devm_clk_get(&pdev->dev, "ahb"); in fec_probe() 3694 if (IS_ERR(fep->clk_ahb)) { in fec_probe() 3695 ret = PTR_ERR(fep->clk_ahb); in fec_probe() 3699 fep->itr_clk_rate = clk_get_rate(fep->clk_ahb); in fec_probe() 3728 ret = clk_prepare_enable(fep->clk_ahb); in fec_probe() 3824 clk_disable_unprepare(fep->clk_ahb); in fec_probe() 3871 clk_disable_unprepare(fep->clk_ahb); in fec_drv_remove() 3966 clk_disable_unprepare(fep->clk_ahb); in fec_runtime_suspend() 3978 ret = clk_prepare_enable(fep->clk_ahb); in fec_runtime_resume() [all...] |
/kernel/linux/linux-5.10/drivers/media/platform/coda/ |
H A D | coda.h | 80 struct clk *clk_ahb; member
|