Home
last modified time | relevance | path

Searched refs:ahb_clk (Results 1 – 11 of 11) 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.c241 ret = clk_prepare_enable(phy->ahb_clk); in dsi_phy_enable_resource()
252 clk_disable_unprepare(phy->ahb_clk); in dsi_phy_disable_resource()
349 phy->ahb_clk = devm_clk_get(dev, "iface_clk"); in dsi_phy_driver_probe()
350 if (IS_ERR(phy->ahb_clk)) { in dsi_phy_driver_probe()
352 ret = PTR_ERR(phy->ahb_clk); in dsi_phy_driver_probe()
Ddsi_phy.h72 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/remoteproc/
Dqcom_q6v5_pil.c115 struct clk *ahb_clk; member
493 ret = clk_prepare_enable(qproc->ahb_clk); in q6v5_start()
551 clk_disable_unprepare(qproc->ahb_clk); in q6v5_start()
584 clk_disable_unprepare(qproc->ahb_clk); in q6v5_stop()
707 qproc->ahb_clk = devm_clk_get(qproc->dev, "iface"); in q6v5_init_clocks()
708 if (IS_ERR(qproc->ahb_clk)) { in q6v5_init_clocks()
710 return PTR_ERR(qproc->ahb_clk); in q6v5_init_clocks()
/drivers/gpu/drm/msm/edp/
Dedp_ctrl.c74 struct clk *ahb_clk; member
172 ctrl->ahb_clk = devm_clk_get(dev, "iface_clk"); in edp_clk_init()
173 if (IS_ERR(ctrl->ahb_clk)) { in edp_clk_init()
174 ret = PTR_ERR(ctrl->ahb_clk); in edp_clk_init()
176 ctrl->ahb_clk = NULL; in edp_clk_init()
207 ret = clk_prepare_enable(ctrl->ahb_clk); in edp_clk_enable()
281 clk_disable_unprepare(ctrl->ahb_clk); in edp_clk_enable()
297 clk_disable_unprepare(ctrl->ahb_clk); in edp_clk_disable()
/drivers/gpu/drm/msm/mdp/mdp5/
Dmdp5_kms.c152 clk_disable_unprepare(mdp5_kms->ahb_clk); in mdp5_disable()
165 clk_prepare_enable(mdp5_kms->ahb_clk); in mdp5_enable()
709 ret = get_clk(pdev, &mdp5_kms->ahb_clk, "iface_clk", true); in mdp5_init()
Dmdp5_kms.h51 struct clk *ahb_clk; member
/drivers/mtd/nand/
Dsunxi_nand.c272 struct clk *ahb_clk; member
2183 nfc->ahb_clk = devm_clk_get(dev, "ahb"); in sunxi_nfc_probe()
2184 if (IS_ERR(nfc->ahb_clk)) { in sunxi_nfc_probe()
2186 return PTR_ERR(nfc->ahb_clk); in sunxi_nfc_probe()
2189 ret = clk_prepare_enable(nfc->ahb_clk); in sunxi_nfc_probe()
2260 clk_disable_unprepare(nfc->ahb_clk); in sunxi_nfc_probe()
2277 clk_disable_unprepare(nfc->ahb_clk); in sunxi_nfc_remove()
/drivers/gpu/drm/msm/dsi/
Ddsi_host.c207 struct clk *ahb_clk; in dsi_get_config() local
217 ahb_clk = clk_get(dev, "iface_clk"); in dsi_get_config()
218 if (IS_ERR(ahb_clk)) { in dsi_get_config()
229 ret = clk_prepare_enable(ahb_clk); in dsi_get_config()
246 clk_disable_unprepare(ahb_clk); in dsi_get_config()
250 clk_put(ahb_clk); in dsi_get_config()
/drivers/pinctrl/tegra/
Dpinctrl-tegra20.c1903 FUNCTION(ahb_clk),