/openbmc/linux/Documentation/devicetree/bindings/mmc/ |
H A D | arasan,sdhci.yaml | 108 - 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"; 243 clock-names = "clk_xin", "clk_ahb"; 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";
|
H A D | sdhci-am654.yaml | 50 - const: clk_ahb 228 clock-names = "clk_ahb", "clk_xin";
|
/openbmc/linux/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()
|
/openbmc/linux/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() 2013 clk_disable_unprepare(sdhci_arasan->clk_ahb); in sdhci_arasan_probe() [all …]
|
H A D | sdhci-esdhc-imx.c | 343 struct clk *clk_ahb; member 1682 imx_data->clk_ahb = devm_clk_get(&pdev->dev, "ahb"); in sdhci_esdhc_imx_probe() 1683 if (IS_ERR(imx_data->clk_ahb)) { in sdhci_esdhc_imx_probe() 1684 err = PTR_ERR(imx_data->clk_ahb); in sdhci_esdhc_imx_probe() 1702 err = clk_prepare_enable(imx_data->clk_ahb); in sdhci_esdhc_imx_probe() 1800 clk_disable_unprepare(imx_data->clk_ahb); in sdhci_esdhc_imx_probe() 1828 clk_disable_unprepare(imx_data->clk_ahb); in sdhci_esdhc_imx_remove() 1923 clk_disable_unprepare(imx_data->clk_ahb); in sdhci_esdhc_runtime_suspend() 1944 err = clk_prepare_enable(imx_data->clk_ahb); in sdhci_esdhc_runtime_resume() 1972 clk_disable_unprepare(imx_data->clk_ahb); in sdhci_esdhc_runtime_resume()
|
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()
|
/openbmc/linux/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()
|
/openbmc/linux/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()
|
/openbmc/u-boot/drivers/spi/ |
H A D | spi-sunxi.c | 130 struct clk clk_ahb, clk_mod; member 265 clk_disable(&priv->clk_ahb); in sun4i_spi_set_clock() 272 ret = clk_enable(&priv->clk_ahb); in sun4i_spi_set_clock() 297 clk_disable(&priv->clk_ahb); in sun4i_spi_set_clock() 487 ret = clk_get_by_name(bus, "ahb", &priv->clk_ahb); in sun4i_spi_probe()
|
/openbmc/linux/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 …]
|
/openbmc/linux/drivers/clk/sunxi-ng/ |
H A D | ccu-suniv-f1c100s.h | 27 #define CLK_AHB 12 macro
|
H A D | ccu-sun5i.h | 36 #define CLK_AHB 19 macro
|
H A D | ccu-sun4i-a10.h | 38 #define CLK_AHB 23 macro
|
/openbmc/linux/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()
|
/openbmc/linux/include/dt-bindings/clock/ |
H A D | microchip,mpfs-clock.h | 12 #define CLK_AHB 2 macro
|
H A D | actions,s500-cmu.h | 31 #define CLK_AHB 13 macro
|
H A D | actions,s700-cmu.h | 31 #define CLK_AHB 12 macro
|
H A D | actions,s900-cmu.h | 33 #define CLK_AHB 20 macro
|
/openbmc/u-boot/arch/arm/dts/ |
H A D | zynqmp-mini-emmc0.dts | 55 clock-names = "clk_xin", "clk_ahb";
|
H A D | zynqmp-mini-emmc1.dts | 55 clock-names = "clk_xin", "clk_ahb";
|
H A D | versal-mini-emmc1.dts | 42 clock-names = "clk_xin", "clk_ahb";
|
H A D | versal-mini-emmc0.dts | 42 clock-names = "clk_xin", "clk_ahb";
|
/openbmc/linux/drivers/tty/serial/ |
H A D | mxs-auart.c | 427 struct clk *clk_ahb; member 1477 s->clk_ahb = devm_clk_get(s->dev, "ahb"); in mxs_get_clks() 1478 if (IS_ERR(s->clk_ahb)) { in mxs_get_clks() 1480 return PTR_ERR(s->clk_ahb); in mxs_get_clks() 1483 err = clk_prepare_enable(s->clk_ahb); in mxs_get_clks() 1489 err = clk_set_rate(s->clk, clk_get_rate(s->clk_ahb)); in mxs_get_clks() 1504 clk_disable_unprepare(s->clk_ahb); in mxs_get_clks() 1691 clk_disable_unprepare(s->clk_ahb); in mxs_auart_probe() 1706 clk_disable_unprepare(s->clk_ahb); in mxs_auart_remove()
|
/openbmc/linux/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()
|