Searched refs:ahb_clk (Results 1 – 10 of 10) sorted by relevance
/drivers/spi/ |
D | spi-rb4xx.c | 140 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/ |
D | dsi_phy.c | 254 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()
|
D | dsi_phy.h | 69 struct clk *ahb_clk; member
|
/drivers/ata/ |
D | ahci_imx.c | 65 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/ |
D | edp_ctrl.c | 76 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/ |
D | dsi_host.c | 97 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/ |
D | sunxi_nand.c | 270 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/ |
D | mdp5_kms.c | 177 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()
|
D | mdp5_kms.h | 51 struct clk *ahb_clk; member
|
/drivers/pinctrl/ |
D | pinctrl-tegra20.c | 1903 FUNCTION(ahb_clk),
|