Home
last modified time | relevance | path

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

12

/linux-6.12.1/Documentation/devicetree/bindings/mmc/
Darasan,sdhci.yaml108 - const: clk_ahb
186 clock-names = "clk_xin", "clk_ahb";
196 clock-names = "clk_xin", "clk_ahb";
213 clock-names = "clk_xin", "clk_ahb";
230 clock-names = "clk_xin", "clk_ahb", "gate";
243 clock-names = "clk_xin", "clk_ahb", "gate";
260 clock-names = "clk_xin", "clk_ahb", "gate";
278 clock-names = "clk_xin", "clk_ahb", "gate";
293 clock-names = "clk_xin", "clk_ahb";
312 clock-names = "clk_xin", "clk_ahb";
Dsdhci-am654.yaml50 - const: clk_ahb
228 clock-names = "clk_ahb", "clk_xin";
/linux-6.12.1/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-6.12.1/drivers/mmc/host/
Dsdhci-esdhc-mcf.c27 struct clk *clk_ahb; member
434 mcf_data->clk_ahb = devm_clk_get(&pdev->dev, "ahb"); in sdhci_esdhc_mcf_probe()
435 if (IS_ERR(mcf_data->clk_ahb)) { in sdhci_esdhc_mcf_probe()
436 err = PTR_ERR(mcf_data->clk_ahb); in sdhci_esdhc_mcf_probe()
456 err = clk_prepare_enable(mcf_data->clk_ahb); in sdhci_esdhc_mcf_probe()
483 clk_disable_unprepare(mcf_data->clk_ahb); in sdhci_esdhc_mcf_probe()
503 clk_disable_unprepare(mcf_data->clk_ahb); in sdhci_esdhc_mcf_remove()
Dsdhci-of-arasan.c170 * @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()
2013 clk_disable_unprepare(sdhci_arasan->clk_ahb); in sdhci_arasan_probe()
[all …]
Dsdhci-esdhc-imx.c341 struct clk *clk_ahb; member
1699 imx_data->clk_ahb = devm_clk_get(&pdev->dev, "ahb"); in sdhci_esdhc_imx_probe()
1700 if (IS_ERR(imx_data->clk_ahb)) { in sdhci_esdhc_imx_probe()
1701 err = PTR_ERR(imx_data->clk_ahb); in sdhci_esdhc_imx_probe()
1718 err = clk_prepare_enable(imx_data->clk_ahb); in sdhci_esdhc_imx_probe()
1824 clk_disable_unprepare(imx_data->clk_ahb); in sdhci_esdhc_imx_probe()
1852 clk_disable_unprepare(imx_data->clk_ahb); in sdhci_esdhc_imx_remove()
1947 clk_disable_unprepare(imx_data->clk_ahb); in sdhci_esdhc_runtime_suspend()
1968 err = clk_prepare_enable(imx_data->clk_ahb); in sdhci_esdhc_runtime_resume()
1996 clk_disable_unprepare(imx_data->clk_ahb); in sdhci_esdhc_runtime_resume()
Dsunxi-mmc.c279 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()
/linux-6.12.1/drivers/gpu/drm/imx/lcdc/
Dimx-lcdc.c108 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()
/linux-6.12.1/drivers/usb/chipidea/
Dci_hdrc_imx.c110 struct clk *clk_ahb; member
222 data->clk_ahb = devm_clk_get(dev, "ahb"); in imx_get_clks()
223 if (IS_ERR(data->clk_ahb)) { in imx_get_clks()
224 ret = PTR_ERR(data->clk_ahb); in imx_get_clks()
256 ret = clk_prepare_enable(data->clk_ahb); in imx_prepare_enable_clks()
270 clk_disable_unprepare(data->clk_ahb); in imx_prepare_enable_clks()
293 clk_disable_unprepare(data->clk_ahb); in imx_disable_unprepare_clks()
/linux-6.12.1/drivers/dma/
Dimx-sdma.c532 struct clk *clk_ahb; member
1499 ret = clk_enable(sdmac->sdma->clk_ahb); in sdma_alloc_chan_resources()
1510 clk_disable(sdmac->sdma->clk_ahb); in sdma_alloc_chan_resources()
1535 clk_disable(sdma->clk_ahb); in sdma_free_chan_resources()
2019 clk_enable(sdma->clk_ahb); in sdma_load_firmware()
2025 clk_disable(sdma->clk_ahb); in sdma_load_firmware()
2125 ret = clk_enable(sdma->clk_ahb); in sdma_init()
2130 (clk_get_rate(sdma->clk_ahb) == clk_get_rate(sdma->clk_ipg))) in sdma_init()
2184 clk_disable(sdma->clk_ahb); in sdma_init()
2189 clk_disable(sdma->clk_ahb); in sdma_init()
[all …]
/linux-6.12.1/drivers/video/fbdev/
Dimxfb.c163 struct clk *clk_ahb; member
539 ret = clk_prepare_enable(fbi->clk_ahb); in imxfb_enable_controller()
551 clk_disable_unprepare(fbi->clk_ahb); in imxfb_enable_controller()
568 clk_disable_unprepare(fbi->clk_ahb); in imxfb_disable_controller()
980 fbi->clk_ahb = devm_clk_get(&pdev->dev, "ahb"); in imxfb_probe()
981 if (IS_ERR(fbi->clk_ahb)) { in imxfb_probe()
982 ret = PTR_ERR(fbi->clk_ahb); in imxfb_probe()
/linux-6.12.1/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-6.12.1/include/dt-bindings/clock/
Dmicrochip,mpfs-clock.h12 #define CLK_AHB 2 macro
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-6.12.1/drivers/tty/serial/
Dmxs-auart.c427 struct clk *clk_ahb; member
1472 s->clk_ahb = devm_clk_get(s->dev, "ahb"); in mxs_get_clks()
1473 if (IS_ERR(s->clk_ahb)) { in mxs_get_clks()
1475 return PTR_ERR(s->clk_ahb); in mxs_get_clks()
1478 err = clk_prepare_enable(s->clk_ahb); in mxs_get_clks()
1484 err = clk_set_rate(s->clk, clk_get_rate(s->clk_ahb)); in mxs_get_clks()
1499 clk_disable_unprepare(s->clk_ahb); in mxs_get_clks()
1686 clk_disable_unprepare(s->clk_ahb); in mxs_auart_probe()
1701 clk_disable_unprepare(s->clk_ahb); in mxs_auart_remove()
/linux-6.12.1/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-6.12.1/drivers/clk/actions/
Dowl-s700.c174 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,
/linux-6.12.1/drivers/clk/microchip/
Dclk-mpfs.c244 CLK_CFG(CLK_AHB, "clk_ahb", "clk_msspll", 4, 2, mpfs_div_ahb_table, 0,
/linux-6.12.1/arch/arm/boot/dts/xilinx/
Dzynq-7000.dtsi293 clock-names = "clk_xin", "clk_ahb";
303 clock-names = "clk_xin", "clk_ahb";
/linux-6.12.1/drivers/crypto/
Dsahara.c190 struct clk *clk_ahb; member
1317 dev->clk_ahb = devm_clk_get_enabled(&pdev->dev, "ahb"); in sahara_probe()
1318 if (IS_ERR(dev->clk_ahb)) in sahara_probe()
1319 return dev_err_probe(&pdev->dev, PTR_ERR(dev->clk_ahb), in sahara_probe()
/linux-6.12.1/arch/riscv/boot/dts/microchip/
Dmpfs.dtsi448 clocks = <&clkcfg CLK_MAC0>, <&clkcfg CLK_AHB>;
462 clocks = <&clkcfg CLK_MAC1>, <&clkcfg CLK_AHB>;

12