Home
last modified time | relevance | path

Searched refs:ahb_clk (Results 1 – 10 of 10) sorted by relevance

/drivers/spi/
Dspi-rb4xx.c140 struct clk *ahb_clk; in rb4xx_spi_probe() local
155 ahb_clk = devm_clk_get(&pdev->dev, "ahb"); in rb4xx_spi_probe()
156 if (IS_ERR(ahb_clk)) in rb4xx_spi_probe()
157 return PTR_ERR(ahb_clk); in rb4xx_spi_probe()
173 err = clk_prepare_enable(ahb_clk); in rb4xx_spi_probe()
179 rbspi->clk = ahb_clk; in rb4xx_spi_probe()
/drivers/gpu/drm/msm/dsi/phy/
Ddsi_phy.c254 ret = clk_prepare_enable(phy->ahb_clk); in dsi_phy_enable_resource()
265 clk_disable_unprepare(phy->ahb_clk); in dsi_phy_disable_resource()
334 phy->ahb_clk = devm_clk_get(dev, "iface_clk"); in dsi_phy_driver_probe()
335 if (IS_ERR(phy->ahb_clk)) { in dsi_phy_driver_probe()
337 ret = PTR_ERR(phy->ahb_clk); in dsi_phy_driver_probe()
Ddsi_phy.h69 struct clk *ahb_clk; member
/drivers/ata/
Dahci_imx.c65 struct clk *ahb_clk; member
563 imxpriv->ahb_clk = devm_clk_get(dev, "ahb"); in imx_ahci_probe()
564 if (IS_ERR(imxpriv->ahb_clk)) { in imx_ahci_probe()
566 return PTR_ERR(imxpriv->ahb_clk); in imx_ahci_probe()
622 reg_val = clk_get_rate(imxpriv->ahb_clk) / 1000; in imx_ahci_probe()
/drivers/gpu/drm/msm/edp/
Dedp_ctrl.c76 struct clk *ahb_clk; member
174 ctrl->ahb_clk = devm_clk_get(dev, "iface_clk"); in edp_clk_init()
175 if (IS_ERR(ctrl->ahb_clk)) { in edp_clk_init()
176 ret = PTR_ERR(ctrl->ahb_clk); in edp_clk_init()
178 ctrl->ahb_clk = NULL; in edp_clk_init()
209 ret = clk_prepare_enable(ctrl->ahb_clk); in edp_clk_enable()
283 clk_disable_unprepare(ctrl->ahb_clk); in edp_clk_enable()
299 clk_disable_unprepare(ctrl->ahb_clk); in edp_clk_disable()
/drivers/gpu/drm/msm/dsi/
Ddsi_host.c97 struct clk *ahb_clk; member
184 ret = clk_prepare_enable(msm_host->ahb_clk); in dsi_get_config()
201 clk_disable_unprepare(msm_host->ahb_clk); in dsi_get_config()
310 msm_host->ahb_clk = devm_clk_get(dev, "iface_clk"); in dsi_clk_init()
311 if (IS_ERR(msm_host->ahb_clk)) { in dsi_clk_init()
312 ret = PTR_ERR(msm_host->ahb_clk); in dsi_clk_init()
394 ret = clk_prepare_enable(msm_host->ahb_clk); in dsi_bus_clk_enable()
418 clk_disable_unprepare(msm_host->ahb_clk); in dsi_bus_clk_enable()
430 clk_disable_unprepare(msm_host->ahb_clk); in dsi_bus_clk_disable()
/drivers/mtd/nand/
Dsunxi_nand.c270 struct clk *ahb_clk; member
1450 nfc->ahb_clk = devm_clk_get(dev, "ahb"); in sunxi_nfc_probe()
1451 if (IS_ERR(nfc->ahb_clk)) { in sunxi_nfc_probe()
1453 return PTR_ERR(nfc->ahb_clk); in sunxi_nfc_probe()
1456 ret = clk_prepare_enable(nfc->ahb_clk); in sunxi_nfc_probe()
1494 clk_disable_unprepare(nfc->ahb_clk); in sunxi_nfc_probe()
/drivers/gpu/drm/msm/mdp/mdp5/
Dmdp5_kms.c177 clk_disable_unprepare(mdp5_kms->ahb_clk); in mdp5_disable()
190 clk_prepare_enable(mdp5_kms->ahb_clk); in mdp5_enable()
525 ret = get_clk(pdev, &mdp5_kms->ahb_clk, "iface_clk", true); in mdp5_kms_init()
Dmdp5_kms.h51 struct clk *ahb_clk; member
/drivers/pinctrl/
Dpinctrl-tegra20.c1903 FUNCTION(ahb_clk),