Home
last modified time | relevance | path

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

/drivers/spi/
Dspi-rb4xx.c136 struct clk *ahb_clk; in rb4xx_spi_probe() local
149 ahb_clk = devm_clk_get(&pdev->dev, "ahb"); in rb4xx_spi_probe()
150 if (IS_ERR(ahb_clk)) in rb4xx_spi_probe()
151 return PTR_ERR(ahb_clk); in rb4xx_spi_probe()
167 err = clk_prepare_enable(ahb_clk); in rb4xx_spi_probe()
173 rbspi->clk = ahb_clk; in rb4xx_spi_probe()
/drivers/staging/media/sunxi/cedrus/
Dcedrus_hw.c196 dev->ahb_clk = devm_clk_get(dev->dev, "ahb"); in cedrus_hw_probe()
197 if (IS_ERR(dev->ahb_clk)) { in cedrus_hw_probe()
200 ret = PTR_ERR(dev->ahb_clk); in cedrus_hw_probe()
244 ret = clk_prepare_enable(dev->ahb_clk); in cedrus_hw_probe()
279 clk_disable_unprepare(dev->ahb_clk); in cedrus_hw_probe()
294 clk_disable_unprepare(dev->ahb_clk); in cedrus_hw_remove()
Dcedrus.h148 struct clk *ahb_clk; member
/drivers/gpu/drm/msm/disp/mdp5/
Dmdp5_mdss.c21 struct clk *ahb_clk; member
139 clk_prepare_enable(mdp5_mdss->ahb_clk); in mdp5_mdss_enable()
157 clk_disable_unprepare(mdp5_mdss->ahb_clk); in mdp5_mdss_disable()
167 mdp5_mdss->ahb_clk = msm_clk_get(pdev, "iface"); in msm_mdss_get_clocks()
168 if (IS_ERR(mdp5_mdss->ahb_clk)) in msm_mdss_get_clocks()
169 mdp5_mdss->ahb_clk = NULL; in msm_mdss_get_clocks()
Dmdp5_kms.c317 clk_disable_unprepare(mdp5_kms->ahb_clk); in mdp5_disable()
332 clk_prepare_enable(mdp5_kms->ahb_clk); in mdp5_enable()
965 ret = get_clk(pdev, &mdp5_kms->ahb_clk, "iface", true); in mdp5_init()
Dmdp5_kms.h53 struct clk *ahb_clk; member
/drivers/gpu/drm/msm/edp/
Dedp_ctrl.c66 struct clk *ahb_clk; member
164 ctrl->ahb_clk = msm_clk_get(pdev, "iface"); in edp_clk_init()
165 if (IS_ERR(ctrl->ahb_clk)) { in edp_clk_init()
166 ret = PTR_ERR(ctrl->ahb_clk); in edp_clk_init()
168 ctrl->ahb_clk = NULL; in edp_clk_init()
199 ret = clk_prepare_enable(ctrl->ahb_clk); in edp_clk_enable()
273 clk_disable_unprepare(ctrl->ahb_clk); in edp_clk_enable()
289 clk_disable_unprepare(ctrl->ahb_clk); in edp_clk_disable()
/drivers/clk/sunxi-ng/
Dccu-suniv-f1c100s.c117 static struct ccu_div ahb_clk = { variable
320 &ahb_clk.common,
411 [CLK_AHB] = &ahb_clk.common.hw,
Dccu-sun5i.c203 static struct ccu_div ahb_clk = { variable
522 &ahb_clk.common,
650 [CLK_AHB] = &ahb_clk.common.hw,
789 [CLK_AHB] = &ahb_clk.common.hw,
895 [CLK_AHB] = &ahb_clk.common.hw,
/drivers/clk/actions/
Dowl-s500.c190 static OWL_FACTOR(ahb_clk, "ahb_clk", "h_clk", CMU_BUSCLK1, 2, 2, ahb_factor_table, 0, 0);
411 &ahb_clk.common,
476 [CLK_AHB] = &ahb_clk.common.hw,
Dowl-s900.c162 static OWL_DIVIDER(ahb_clk, "ahb_clk", "noc_clk_div", CMU_BUSCLK, 4, 1, NULL, 0, 0);
515 &ahb_clk.common,
608 [CLK_AHB] = &ahb_clk.common.hw,
/drivers/gpu/drm/msm/dsi/phy/
Ddsi_phy.c469 ret = clk_prepare_enable(phy->ahb_clk); in dsi_phy_enable_resource()
480 clk_disable_unprepare(phy->ahb_clk); in dsi_phy_disable_resource()
594 phy->ahb_clk = msm_clk_get(pdev, "iface"); in dsi_phy_driver_probe()
595 if (IS_ERR(phy->ahb_clk)) { in dsi_phy_driver_probe()
597 ret = PTR_ERR(phy->ahb_clk); in dsi_phy_driver_probe()
Ddsi_phy.h82 struct clk *ahb_clk; member
/drivers/pci/controller/dwc/
Dpcie-qcom.c140 struct clk *ahb_clk; member
944 res->ahb_clk = devm_clk_get(dev, "ahb"); in qcom_pcie_get_resources_2_3_3()
945 if (IS_ERR(res->ahb_clk)) in qcom_pcie_get_resources_2_3_3()
946 return PTR_ERR(res->ahb_clk); in qcom_pcie_get_resources_2_3_3()
968 clk_disable_unprepare(res->ahb_clk); in qcom_pcie_deinit_2_3_3()
1023 ret = clk_prepare_enable(res->ahb_clk); in qcom_pcie_init_2_3_3()
1064 clk_disable_unprepare(res->ahb_clk); in qcom_pcie_init_2_3_3()
/drivers/ata/
Dahci_imx.c96 struct clk *ahb_clk; member
1088 imxpriv->ahb_clk = devm_clk_get(dev, "ahb"); in imx_ahci_probe()
1089 if (IS_ERR(imxpriv->ahb_clk)) { in imx_ahci_probe()
1091 return PTR_ERR(imxpriv->ahb_clk); in imx_ahci_probe()
1170 reg_val = clk_get_rate(imxpriv->ahb_clk) / 1000; in imx_ahci_probe()
/drivers/mtd/nand/raw/
Dsunxi_nand.c241 struct clk *ahb_clk; member
2079 nfc->ahb_clk = devm_clk_get(dev, "ahb"); in sunxi_nfc_probe()
2080 if (IS_ERR(nfc->ahb_clk)) { in sunxi_nfc_probe()
2082 return PTR_ERR(nfc->ahb_clk); in sunxi_nfc_probe()
2085 ret = clk_prepare_enable(nfc->ahb_clk); in sunxi_nfc_probe()
2166 clk_disable_unprepare(nfc->ahb_clk); in sunxi_nfc_probe()
2182 clk_disable_unprepare(nfc->ahb_clk); in sunxi_nfc_remove()
/drivers/gpu/drm/msm/dsi/
Ddsi_host.c204 struct clk *ahb_clk; in dsi_get_config() local
214 ahb_clk = msm_clk_get(msm_host->pdev, "iface"); in dsi_get_config()
215 if (IS_ERR(ahb_clk)) { in dsi_get_config()
228 ret = clk_prepare_enable(ahb_clk); in dsi_get_config()
245 clk_disable_unprepare(ahb_clk); in dsi_get_config()
/drivers/pinctrl/tegra/
Dpinctrl-tegra20.c1898 FUNCTION(ahb_clk),