Home
last modified time | relevance | path

Searched refs:axi_clk (Results 1 – 25 of 25) sorted by relevance

/drivers/staging/clocking-wizard/
Dclk-xlnx-clock-wizard.c57 struct clk *axi_clk; member
85 else if (ndata->clk == clk_wzrd->axi_clk) in clk_wzrd_clk_notifier()
106 clk_disable_unprepare(clk_wzrd->axi_clk); in clk_wzrd_suspend()
117 ret = clk_prepare_enable(clk_wzrd->axi_clk); in clk_wzrd_resume()
167 clk_wzrd->axi_clk = devm_clk_get(&pdev->dev, "s_axi_aclk"); in clk_wzrd_probe()
168 if (IS_ERR(clk_wzrd->axi_clk)) { in clk_wzrd_probe()
169 if (clk_wzrd->axi_clk != ERR_PTR(-EPROBE_DEFER)) in clk_wzrd_probe()
171 return PTR_ERR(clk_wzrd->axi_clk); in clk_wzrd_probe()
173 ret = clk_prepare_enable(clk_wzrd->axi_clk); in clk_wzrd_probe()
178 rate = clk_get_rate(clk_wzrd->axi_clk); in clk_wzrd_probe()
[all …]
/drivers/gpu/drm/msm/disp/mdp5/
Dmdp5_mdss.c22 struct clk *axi_clk; member
140 if (mdp5_mdss->axi_clk) in mdp5_mdss_enable()
141 clk_prepare_enable(mdp5_mdss->axi_clk); in mdp5_mdss_enable()
155 if (mdp5_mdss->axi_clk) in mdp5_mdss_disable()
156 clk_disable_unprepare(mdp5_mdss->axi_clk); in mdp5_mdss_disable()
171 mdp5_mdss->axi_clk = msm_clk_get(pdev, "bus"); in msm_mdss_get_clocks()
172 if (IS_ERR(mdp5_mdss->axi_clk)) in msm_mdss_get_clocks()
173 mdp5_mdss->axi_clk = NULL; in msm_mdss_get_clocks()
Dmdp5_kms.c318 clk_disable_unprepare(mdp5_kms->axi_clk); in mdp5_disable()
333 clk_prepare_enable(mdp5_kms->axi_clk); in mdp5_enable()
962 ret = get_clk(pdev, &mdp5_kms->axi_clk, "bus", true); in mdp5_init()
Dmdp5_kms.h52 struct clk *axi_clk; member
/drivers/spi/
Dspi-orion.c99 struct clk *axi_clk; member
650 spi->axi_clk = devm_clk_get(&pdev->dev, "axi"); in orion_spi_probe()
651 if (IS_ERR(spi->axi_clk) && in orion_spi_probe()
652 PTR_ERR(spi->axi_clk) == -EPROBE_DEFER) { in orion_spi_probe()
656 if (!IS_ERR(spi->axi_clk)) in orion_spi_probe()
657 clk_prepare_enable(spi->axi_clk); in orion_spi_probe()
788 clk_disable_unprepare(spi->axi_clk); in orion_spi_probe()
803 clk_disable_unprepare(spi->axi_clk); in orion_spi_remove()
820 clk_disable_unprepare(spi->axi_clk); in orion_spi_runtime_suspend()
830 if (!IS_ERR(spi->axi_clk)) in orion_spi_runtime_resume()
[all …]
/drivers/gpu/drm/msm/disp/mdp4/
Dmdp4_kms.c217 if (mdp4_kms->axi_clk) in mdp4_disable()
218 clk_disable_unprepare(mdp4_kms->axi_clk); in mdp4_disable()
232 if (mdp4_kms->axi_clk) in mdp4_enable()
233 clk_prepare_enable(mdp4_kms->axi_clk); in mdp4_enable()
492 mdp4_kms->axi_clk = devm_clk_get(&pdev->dev, "bus_clk"); in mdp4_kms_init()
493 if (IS_ERR(mdp4_kms->axi_clk)) { in mdp4_kms_init()
495 ret = PTR_ERR(mdp4_kms->axi_clk); in mdp4_kms_init()
Dmdp4_kms.h33 struct clk *axi_clk; member
/drivers/dma/xilinx/
Dxilinx_dma.c406 int (*clk_init)(struct platform_device *pdev, struct clk **axi_clk,
441 struct clk *axi_clk; member
2187 static int axidma_clk_init(struct platform_device *pdev, struct clk **axi_clk, in axidma_clk_init() argument
2195 *axi_clk = devm_clk_get(&pdev->dev, "s_axi_lite_aclk"); in axidma_clk_init()
2196 if (IS_ERR(*axi_clk)) { in axidma_clk_init()
2197 err = PTR_ERR(*axi_clk); in axidma_clk_init()
2214 err = clk_prepare_enable(*axi_clk); in axidma_clk_init()
2245 clk_disable_unprepare(*axi_clk); in axidma_clk_init()
2250 static int axicdma_clk_init(struct platform_device *pdev, struct clk **axi_clk, in axicdma_clk_init() argument
2260 *axi_clk = devm_clk_get(&pdev->dev, "s_axi_lite_aclk"); in axicdma_clk_init()
[all …]
/drivers/mmc/host/
Dsdhci-xenon.c504 priv->axi_clk = devm_clk_get(&pdev->dev, "axi"); in xenon_probe()
505 if (IS_ERR(priv->axi_clk)) { in xenon_probe()
506 err = PTR_ERR(priv->axi_clk); in xenon_probe()
510 err = clk_prepare_enable(priv->axi_clk); in xenon_probe()
552 clk_disable_unprepare(priv->axi_clk); in xenon_probe()
573 clk_disable_unprepare(priv->axi_clk); in xenon_remove()
Dsdhci-xenon.h83 struct clk *axi_clk; member
/drivers/gpu/drm/zte/
Dzx_vou.c176 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/phy/marvell/
Dphy-mvebu-cp110-comphy.c260 struct clk *axi_clk; member
942 priv->axi_clk = devm_clk_get(priv->dev, "axi_clk"); in mvebu_comphy_init_clks()
943 if (IS_ERR(priv->axi_clk)) { in mvebu_comphy_init_clks()
944 ret = PTR_ERR(priv->axi_clk); in mvebu_comphy_init_clks()
948 ret = clk_prepare_enable(priv->axi_clk); in mvebu_comphy_init_clks()
962 priv->axi_clk = NULL; in mvebu_comphy_init_clks()
969 if (priv->axi_clk) in mvebu_comphy_disable_unprepare_clks()
970 clk_disable_unprepare(priv->axi_clk); in mvebu_comphy_disable_unprepare_clks()
/drivers/clk/sunxi-ng/
Dccu-sun8i-v3s.c132 static SUNXI_CCU_M(axi_clk, "axi", "cpu", 0x050, 0, 2, 0);
388 &axi_clk.common,
464 &axi_clk.common,
561 [CLK_AXI] = &axi_clk.common.hw,
641 [CLK_AXI] = &axi_clk.common.hw,
Dccu-sun8i-a23.c173 static SUNXI_CCU_M(axi_clk, "axi", "cpux", 0x050, 0, 2, 0);
467 &axi_clk.common,
589 [CLK_AXI] = &axi_clk.common.hw,
Dccu-sun5i.c197 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,
Dccu-sun8i-h3.c147 static SUNXI_CCU_M(axi_clk, "axi", "cpux", 0x050, 0, 2, 0);
510 &axi_clk.common,
623 &axi_clk.common,
758 [CLK_AXI] = &axi_clk.common.hw,
879 [CLK_AXI] = &axi_clk.common.hw,
Dccu-sun8i-a33.c183 static SUNXI_CCU_M(axi_clk, "axi", "cpux", 0x050, 0, 2, 0);
499 &axi_clk.common,
628 [CLK_AXI] = &axi_clk.common.hw,
Dccu-sun50i-a64.c223 static SUNXI_CCU_M(axi_clk, "axi", "cpux", 0x050, 0, 2, 0);
644 &axi_clk.common,
760 [CLK_AXI] = &axi_clk.common.hw,
Dccu-sun50i-h6.c223 static SUNXI_CCU_M(axi_clk, "axi", "cpux", 0x500, 0, 2, 0);
809 &axi_clk.common,
950 [CLK_AXI] = &axi_clk.common.hw,
Dccu-sun4i-a10.c238 static SUNXI_CCU_M(axi_clk, "axi", "cpu", 0x054, 0, 2, 0);
875 &axi_clk.common,
1078 [CLK_AXI] = &axi_clk.common.hw,
1231 [CLK_AXI] = &axi_clk.common.hw,
Dccu-sun6i-a31.c196 static SUNXI_CCU_DIV_TABLE(axi_clk, "axi", "cpu",
818 &axi_clk.common,
1006 [CLK_AXI] = &axi_clk.common.hw,
Dccu-sun8i-r40.c255 static SUNXI_CCU_M(axi_clk, "axi", "cpu", 0x050, 0, 2, 0);
805 &axi_clk.common,
1008 [CLK_AXI] = &axi_clk.common.hw,
/drivers/misc/
Dxilinx_sdfec.c180 struct clk *axi_clk; member
1239 clks->axi_clk = devm_clk_get(&pdev->dev, "s_axi_aclk"); in xsdfec_clk_init()
1240 if (IS_ERR(clks->axi_clk)) { in xsdfec_clk_init()
1242 return PTR_ERR(clks->axi_clk); in xsdfec_clk_init()
1306 err = clk_prepare_enable(clks->axi_clk); in xsdfec_clk_init()
1362 clk_disable_unprepare(clks->axi_clk); in xsdfec_clk_init()
1378 clk_disable_unprepare(clks->axi_clk); in xsdfec_disable_all_clks()
/drivers/net/ethernet/marvell/mvpp2/
Dmvpp2_main.c5825 priv->axi_clk = devm_clk_get(&pdev->dev, "axi_clk"); in mvpp2_probe()
5826 if (IS_ERR(priv->axi_clk)) { in mvpp2_probe()
5827 err = PTR_ERR(priv->axi_clk); in mvpp2_probe()
5830 priv->axi_clk = NULL; in mvpp2_probe()
5832 err = clk_prepare_enable(priv->axi_clk); in mvpp2_probe()
5907 clk_disable_unprepare(priv->axi_clk); in mvpp2_probe()
5959 clk_disable_unprepare(priv->axi_clk); in mvpp2_remove()
Dmvpp2.h777 struct clk *axi_clk; member