Home
last modified time | relevance | path

Searched full:clk_ahb (Results 1 – 25 of 39) sorted by relevance

12

/Linux-v5.10/Documentation/devicetree/bindings/mmc/
Darasan,sdhci.yaml103 - const: clk_ahb
173 clock-names = "clk_xin", "clk_ahb";
183 clock-names = "clk_xin", "clk_ahb";
200 clock-names = "clk_xin", "clk_ahb";
217 clock-names = "clk_xin", "clk_ahb";
230 clock-names = "clk_xin", "clk_ahb";
247 clock-names = "clk_xin", "clk_ahb", "gate";
265 clock-names = "clk_xin", "clk_ahb", "gate";
280 clock-names = "clk_xin", "clk_ahb";
299 clock-names = "clk_xin", "clk_ahb";
Dsdhci-am654.yaml43 - const: clk_ahb
205 clock-names = "clk_ahb", "clk_xin";
/Linux-v5.10/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-v5.10/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.c133 * @clk_ahb: Pointer to the AHB clock
145 struct clk *clk_ahb; member
473 clk_disable(sdhci_arasan->clk_ahb); in sdhci_arasan_suspend()
493 ret = clk_enable(sdhci_arasan->clk_ahb); in sdhci_arasan_resume()
1543 sdhci_arasan->clk_ahb = devm_clk_get(&pdev->dev, "clk_ahb"); in sdhci_arasan_probe()
1544 if (IS_ERR(sdhci_arasan->clk_ahb)) { in sdhci_arasan_probe()
1545 dev_err(&pdev->dev, "clk_ahb clock not found.\n"); in sdhci_arasan_probe()
1546 ret = PTR_ERR(sdhci_arasan->clk_ahb); in sdhci_arasan_probe()
1557 ret = clk_prepare_enable(sdhci_arasan->clk_ahb); in sdhci_arasan_probe()
1654 clk_disable_unprepare(sdhci_arasan->clk_ahb); in sdhci_arasan_probe()
[all …]
Dsdhci-esdhc-imx.c287 struct clk *clk_ahb; member
1631 imx_data->clk_ahb = devm_clk_get(&pdev->dev, "ahb"); in sdhci_esdhc_imx_probe()
1632 if (IS_ERR(imx_data->clk_ahb)) { in sdhci_esdhc_imx_probe()
1633 err = PTR_ERR(imx_data->clk_ahb); in sdhci_esdhc_imx_probe()
1651 err = clk_prepare_enable(imx_data->clk_ahb); in sdhci_esdhc_imx_probe()
1738 clk_disable_unprepare(imx_data->clk_ahb); in sdhci_esdhc_imx_probe()
1765 clk_disable_unprepare(imx_data->clk_ahb); in sdhci_esdhc_imx_remove()
1862 clk_disable_unprepare(imx_data->clk_ahb); in sdhci_esdhc_runtime_suspend()
1883 err = clk_prepare_enable(imx_data->clk_ahb); in sdhci_esdhc_runtime_resume()
1911 clk_disable_unprepare(imx_data->clk_ahb); in sdhci_esdhc_runtime_resume()
Dsunxi-mmc.c277 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()
/Linux-v5.10/drivers/usb/chipidea/
Dci_hdrc_imx.c100 struct clk *clk_ahb; member
196 data->clk_ahb = devm_clk_get(dev, "ahb"); in imx_get_clks()
197 if (IS_ERR(data->clk_ahb)) { in imx_get_clks()
198 ret = PTR_ERR(data->clk_ahb); in imx_get_clks()
230 ret = clk_prepare_enable(data->clk_ahb); in imx_prepare_enable_clks()
244 clk_disable_unprepare(data->clk_ahb); in imx_prepare_enable_clks()
267 clk_disable_unprepare(data->clk_ahb); in imx_disable_unprepare_clks()
/Linux-v5.10/drivers/dma/
Dimx-sdma.c436 struct clk *clk_ahb; member
1309 ret = clk_enable(sdmac->sdma->clk_ahb); in sdma_alloc_chan_resources()
1320 clk_disable(sdmac->sdma->clk_ahb); in sdma_alloc_chan_resources()
1346 clk_disable(sdma->clk_ahb); in sdma_free_chan_resources()
1773 clk_enable(sdma->clk_ahb); in sdma_load_firmware()
1779 clk_disable(sdma->clk_ahb); in sdma_load_firmware()
1877 ret = clk_enable(sdma->clk_ahb); in sdma_init()
1882 (clk_get_rate(sdma->clk_ahb) == clk_get_rate(sdma->clk_ipg))) in sdma_init()
1932 clk_disable(sdma->clk_ahb); in sdma_init()
1937 clk_disable(sdma->clk_ahb); in sdma_init()
[all …]
/Linux-v5.10/arch/arm/boot/dts/
Dtango4-common.dtsi104 clock-names = "clk_xin", "clk_ahb";
112 clock-names = "clk_xin", "clk_ahb";
Dzynq-7000.dtsi258 clock-names = "clk_xin", "clk_ahb";
268 clock-names = "clk_xin", "clk_ahb";
/Linux-v5.10/drivers/clk/sunxi-ng/
Dccu-suniv-f1c100s.h27 #define CLK_AHB 12 macro
Dccu-sun5i.h36 #define CLK_AHB 19 macro
Dccu-sun4i-a10.h38 #define CLK_AHB 23 macro
/Linux-v5.10/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()
/Linux-v5.10/include/dt-bindings/clock/
Dactions,s500-cmu.h31 #define CLK_AHB 13 macro
Dactions,s700-cmu.h31 #define CLK_AHB 12 macro
Dactions,s900-cmu.h33 #define CLK_AHB 20 macro
/Linux-v5.10/drivers/tty/serial/
Dmxs-auart.c429 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()
/Linux-v5.10/drivers/crypto/
Dsahara.c197 struct clk *clk_ahb; member
1404 dev->clk_ahb = devm_clk_get(&pdev->dev, "ahb"); in sahara_probe()
1405 if (IS_ERR(dev->clk_ahb)) { in sahara_probe()
1407 return PTR_ERR(dev->clk_ahb); in sahara_probe()
1471 err = clk_prepare_enable(dev->clk_ahb); in sahara_probe()
1512 clk_disable_unprepare(dev->clk_ahb); in sahara_probe()
1528 clk_disable_unprepare(dev->clk_ahb); in sahara_remove()
/Linux-v5.10/arch/arm64/boot/dts/xilinx/
Dzynqmp.dtsi595 clock-names = "clk_xin", "clk_ahb";
607 clock-names = "clk_xin", "clk_ahb";
716 clock-names = "clk_xin", "clk_ahb";
726 clock-names = "clk_xin", "clk_ahb";
/Linux-v5.10/drivers/clk/hisilicon/
Dcrg-hi3798cv200.c47 { HISTB_AHB_CLK, "clk_ahb", NULL, 0, 200000000, },
161 { HISTB_USB2_BUS_CLK, "clk_u2_bus", "clk_ahb",
/Linux-v5.10/drivers/clk/actions/
Dowl-s700.c172 static OWL_DIVIDER(clk_ahb, "ahb_clk", "hp_clk_div", CMU_BUSCLK1, 2, 2, NULL, 0, 0);
418 &clk_ahb.common,
501 [CLK_AHB] = &clk_ahb.common.hw,
/Linux-v5.10/drivers/net/ethernet/freescale/
Dfec_main.c2517 /* ITR clock source is enet system clock (clk_ahb).
3614 fep->clk_ahb = devm_clk_get(&pdev->dev, "ahb"); in fec_probe()
3615 if (IS_ERR(fep->clk_ahb)) { in fec_probe()
3616 ret = PTR_ERR(fep->clk_ahb); in fec_probe()
3620 fep->itr_clk_rate = clk_get_rate(fep->clk_ahb); in fec_probe()
3649 ret = clk_prepare_enable(fep->clk_ahb); in fec_probe()
3745 clk_disable_unprepare(fep->clk_ahb); in fec_probe()
3787 clk_disable_unprepare(fep->clk_ahb); in fec_drv_remove()
3880 clk_disable_unprepare(fep->clk_ahb); in fec_runtime_suspend()
3892 ret = clk_prepare_enable(fep->clk_ahb); in fec_runtime_resume()
[all …]
/Linux-v5.10/arch/arm64/boot/dts/ti/
Dk3-j7200-main.dtsi388 clock-names = "clk_xin", "clk_ahb";
407 clock-names = "clk_xin", "clk_ahb";

12