/drivers/gpu/drm/msm/disp/mdp5/ |
D | mdp5_mdss.c | 22 struct clk *axi_clk; member 139 if (mdp5_mdss->axi_clk) in mdp5_mdss_enable() 140 clk_prepare_enable(mdp5_mdss->axi_clk); in mdp5_mdss_enable() 154 if (mdp5_mdss->axi_clk) in mdp5_mdss_disable() 155 clk_disable_unprepare(mdp5_mdss->axi_clk); in mdp5_mdss_disable() 170 mdp5_mdss->axi_clk = msm_clk_get(pdev, "bus"); in msm_mdss_get_clocks() 171 if (IS_ERR(mdp5_mdss->axi_clk)) in msm_mdss_get_clocks() 172 mdp5_mdss->axi_clk = NULL; in msm_mdss_get_clocks()
|
D | mdp5_kms.c | 303 clk_disable_unprepare(mdp5_kms->axi_clk); in mdp5_disable() 318 clk_prepare_enable(mdp5_kms->axi_clk); in mdp5_enable() 858 ret = get_clk(pdev, &mdp5_kms->axi_clk, "bus", true); in mdp5_init()
|
/drivers/staging/clocking-wizard/ |
D | clk-xlnx-clock-wizard.c | 80 struct clk *axi_clk; member 367 else if (ndata->clk == clk_wzrd->axi_clk) in clk_wzrd_clk_notifier() 388 clk_disable_unprepare(clk_wzrd->axi_clk); in clk_wzrd_suspend() 399 ret = clk_prepare_enable(clk_wzrd->axi_clk); in clk_wzrd_resume() 450 clk_wzrd->axi_clk = devm_clk_get(&pdev->dev, "s_axi_aclk"); in clk_wzrd_probe() 451 if (IS_ERR(clk_wzrd->axi_clk)) { in clk_wzrd_probe() 452 if (clk_wzrd->axi_clk != ERR_PTR(-EPROBE_DEFER)) in clk_wzrd_probe() 454 return PTR_ERR(clk_wzrd->axi_clk); in clk_wzrd_probe() 456 ret = clk_prepare_enable(clk_wzrd->axi_clk); in clk_wzrd_probe() 461 rate = clk_get_rate(clk_wzrd->axi_clk); in clk_wzrd_probe() [all …]
|
/drivers/spi/ |
D | spi-orion.c | 97 struct clk *axi_clk; member 703 spi->axi_clk = devm_clk_get(&pdev->dev, "axi"); in orion_spi_probe() 704 if (PTR_ERR(spi->axi_clk) == -EPROBE_DEFER) { in orion_spi_probe() 708 if (!IS_ERR(spi->axi_clk)) in orion_spi_probe() 709 clk_prepare_enable(spi->axi_clk); in orion_spi_probe() 798 clk_disable_unprepare(spi->axi_clk); in orion_spi_probe() 813 clk_disable_unprepare(spi->axi_clk); in orion_spi_remove() 830 clk_disable_unprepare(spi->axi_clk); in orion_spi_runtime_suspend() 840 if (!IS_ERR(spi->axi_clk)) in orion_spi_runtime_resume() 841 clk_prepare_enable(spi->axi_clk); in orion_spi_runtime_resume()
|
D | spi-mtk-nor.c | 106 struct clk *axi_clk; member 676 clk_disable_unprepare(sp->axi_clk); in mtk_nor_disable_clk() 693 ret = clk_prepare_enable(sp->axi_clk); in mtk_nor_enable_clk() 758 struct clk *spi_clk, *ctlr_clk, *axi_clk; in mtk_nor_probe() local 774 axi_clk = devm_clk_get_optional(&pdev->dev, "axi"); in mtk_nor_probe() 775 if (IS_ERR(axi_clk)) in mtk_nor_probe() 776 return PTR_ERR(axi_clk); in mtk_nor_probe() 810 sp->axi_clk = axi_clk; in mtk_nor_probe()
|
/drivers/gpu/drm/msm/disp/mdp4/ |
D | mdp4_kms.c | 180 if (mdp4_kms->axi_clk) in mdp4_disable() 181 clk_disable_unprepare(mdp4_kms->axi_clk); in mdp4_disable() 195 if (mdp4_kms->axi_clk) in mdp4_enable() 196 clk_prepare_enable(mdp4_kms->axi_clk); in mdp4_enable() 471 mdp4_kms->axi_clk = devm_clk_get(&pdev->dev, "bus_clk"); in mdp4_kms_init() 472 if (IS_ERR(mdp4_kms->axi_clk)) { in mdp4_kms_init() 474 ret = PTR_ERR(mdp4_kms->axi_clk); in mdp4_kms_init()
|
D | mdp4_kms.h | 33 struct clk *axi_clk; member
|
/drivers/gpu/drm/imx/dcss/ |
D | dcss-dev.c | 20 clk_prepare_enable(dcss->axi_clk); in dcss_clocks_enable() 33 clk_disable_unprepare(dcss->axi_clk); in dcss_clocks_disable() 138 {"axi", &dcss->axi_clk}, in dcss_clks_init() 161 devm_clk_put(dcss->dev, dcss->axi_clk); in dcss_clks_release()
|
/drivers/dma/xilinx/ |
D | xilinx_dma.c | 471 int (*clk_init)(struct platform_device *pdev, struct clk **axi_clk, 506 struct clk *axi_clk; member 2578 static int axidma_clk_init(struct platform_device *pdev, struct clk **axi_clk, in axidma_clk_init() argument 2586 *axi_clk = devm_clk_get(&pdev->dev, "s_axi_lite_aclk"); in axidma_clk_init() 2587 if (IS_ERR(*axi_clk)) in axidma_clk_init() 2588 return dev_err_probe(&pdev->dev, PTR_ERR(*axi_clk), "failed to get axi_aclk\n"); in axidma_clk_init() 2602 err = clk_prepare_enable(*axi_clk); in axidma_clk_init() 2633 clk_disable_unprepare(*axi_clk); in axidma_clk_init() 2638 static int axicdma_clk_init(struct platform_device *pdev, struct clk **axi_clk, in axicdma_clk_init() argument 2648 *axi_clk = devm_clk_get(&pdev->dev, "s_axi_lite_aclk"); in axicdma_clk_init() [all …]
|
D | xilinx_dpdma.c | 265 struct clk *axi_clk; member 1639 xdev->axi_clk = devm_clk_get(xdev->dev, "axi_clk"); in xilinx_dpdma_probe() 1640 if (IS_ERR(xdev->axi_clk)) in xilinx_dpdma_probe() 1641 return PTR_ERR(xdev->axi_clk); in xilinx_dpdma_probe() 1696 ret = clk_prepare_enable(xdev->axi_clk); in xilinx_dpdma_probe() 1726 clk_disable_unprepare(xdev->axi_clk); in xilinx_dpdma_probe() 1747 clk_disable_unprepare(xdev->axi_clk); in xilinx_dpdma_remove()
|
/drivers/mmc/host/ |
D | sdhci-xenon.c | 524 priv->axi_clk = devm_clk_get(&pdev->dev, "axi"); in xenon_probe() 525 if (IS_ERR(priv->axi_clk)) { in xenon_probe() 526 err = PTR_ERR(priv->axi_clk); in xenon_probe() 530 err = clk_prepare_enable(priv->axi_clk); in xenon_probe() 573 clk_disable_unprepare(priv->axi_clk); in xenon_probe() 594 clk_disable_unprepare(priv->axi_clk); in xenon_remove()
|
D | sdhci-xenon.h | 90 struct clk *axi_clk; member
|
/drivers/gpu/drm/zte/ |
D | zx_vou.c | 176 struct clk *axi_clk; member 821 vou->axi_clk = devm_clk_get(dev, "aclk"); in zx_crtc_bind() 822 if (IS_ERR(vou->axi_clk)) { in zx_crtc_bind() 823 ret = PTR_ERR(vou->axi_clk); in zx_crtc_bind() 835 ret = clk_prepare_enable(vou->axi_clk); in zx_crtc_bind() 879 clk_disable_unprepare(vou->axi_clk); in zx_crtc_bind() 888 clk_disable_unprepare(vou->axi_clk); in zx_crtc_unbind()
|
/drivers/net/ethernet/xilinx/ |
D | xilinx_axienet_mdio.c | 162 if (lp->axi_clk) { in axienet_mdio_enable() 163 host_clock = clk_get_rate(lp->axi_clk); in axienet_mdio_enable()
|
D | xilinx_axienet_main.c | 1917 lp->axi_clk = devm_clk_get_optional(&pdev->dev, "s_axi_lite_clk"); in axienet_probe() 1918 if (!lp->axi_clk) { in axienet_probe() 1922 lp->axi_clk = devm_clk_get_optional(&pdev->dev, NULL); in axienet_probe() 1924 if (IS_ERR(lp->axi_clk)) { in axienet_probe() 1925 ret = PTR_ERR(lp->axi_clk); in axienet_probe() 1928 ret = clk_prepare_enable(lp->axi_clk); in axienet_probe() 2183 clk_disable_unprepare(lp->axi_clk); in axienet_probe() 2207 clk_disable_unprepare(lp->axi_clk); in axienet_remove()
|
D | xilinx_axienet.h | 440 struct clk *axi_clk; member
|
/drivers/phy/marvell/ |
D | phy-mvebu-cp110-comphy.c | 259 struct clk *axi_clk; member 950 priv->axi_clk = devm_clk_get(priv->dev, "axi_clk"); in mvebu_comphy_init_clks() 951 if (IS_ERR(priv->axi_clk)) { in mvebu_comphy_init_clks() 952 ret = PTR_ERR(priv->axi_clk); in mvebu_comphy_init_clks() 956 ret = clk_prepare_enable(priv->axi_clk); in mvebu_comphy_init_clks() 970 priv->axi_clk = NULL; in mvebu_comphy_init_clks() 977 if (priv->axi_clk) in mvebu_comphy_disable_unprepare_clks() 978 clk_disable_unprepare(priv->axi_clk); in mvebu_comphy_disable_unprepare_clks()
|
/drivers/clk/sunxi-ng/ |
D | ccu-sun8i-v3s.c | 143 static SUNXI_CCU_M(axi_clk, "axi", "cpu", 0x050, 0, 2, 0); 399 &axi_clk.common, 475 &axi_clk.common, 572 [CLK_AXI] = &axi_clk.common.hw, 652 [CLK_AXI] = &axi_clk.common.hw,
|
D | ccu-sun8i-a23.c | 173 static SUNXI_CCU_M(axi_clk, "axi", "cpux", 0x050, 0, 2, 0); 467 &axi_clk.common, 589 [CLK_AXI] = &axi_clk.common.hw,
|
D | ccu-sun5i.c | 197 static SUNXI_CCU_M(axi_clk, "axi", "cpu", 0x054, 0, 2, 0); 521 &axi_clk.common, 649 [CLK_AXI] = &axi_clk.common.hw, 788 [CLK_AXI] = &axi_clk.common.hw, 894 [CLK_AXI] = &axi_clk.common.hw,
|
D | ccu-sun8i-h3.c | 147 static SUNXI_CCU_M(axi_clk, "axi", "cpux", 0x050, 0, 2, 0); 511 &axi_clk.common, 624 &axi_clk.common, 759 [CLK_AXI] = &axi_clk.common.hw, 880 [CLK_AXI] = &axi_clk.common.hw,
|
D | ccu-sun8i-a33.c | 183 static SUNXI_CCU_M(axi_clk, "axi", "cpux", 0x050, 0, 2, 0); 499 &axi_clk.common, 628 [CLK_AXI] = &axi_clk.common.hw,
|
D | ccu-sun50i-a64.c | 223 static SUNXI_CCU_M(axi_clk, "axi", "cpux", 0x050, 0, 2, 0); 645 &axi_clk.common, 761 [CLK_AXI] = &axi_clk.common.hw,
|
D | ccu-sun50i-h616.c | 243 static SUNXI_CCU_M(axi_clk, "axi", "cpux", 0x500, 0, 2, 0); 739 &axi_clk.common, 871 [CLK_AXI] = &axi_clk.common.hw,
|
/drivers/misc/ |
D | xilinx_sdfec.c | 180 struct clk *axi_clk; member 1215 clks->axi_clk = devm_clk_get(&pdev->dev, "s_axi_aclk"); in xsdfec_clk_init() 1216 if (IS_ERR(clks->axi_clk)) { in xsdfec_clk_init() 1218 return PTR_ERR(clks->axi_clk); in xsdfec_clk_init() 1282 err = clk_prepare_enable(clks->axi_clk); in xsdfec_clk_init() 1338 clk_disable_unprepare(clks->axi_clk); in xsdfec_clk_init() 1354 clk_disable_unprepare(clks->axi_clk); in xsdfec_disable_all_clks()
|