Home
last modified time | relevance | path

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

12

/Linux-v5.4/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 …]
/Linux-v5.4/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()
/Linux-v5.4/sound/soc/xilinx/
Dxlnx_spdif.c51 struct clk *axi_clk; member
251 ctx->axi_clk = devm_clk_get(dev, "s_axi_aclk"); in xlnx_spdif_probe()
252 if (IS_ERR(ctx->axi_clk)) { in xlnx_spdif_probe()
253 ret = PTR_ERR(ctx->axi_clk); in xlnx_spdif_probe()
257 ret = clk_prepare_enable(ctx->axi_clk); in xlnx_spdif_probe()
314 clk_disable_unprepare(ctx->axi_clk); in xlnx_spdif_probe()
322 clk_disable_unprepare(ctx->axi_clk); in xlnx_spdif_remove()
Dxlnx_formatter_pcm.c85 struct clk *axi_clk; member
574 aud_drv_data->axi_clk = devm_clk_get(dev, "s_axi_lite_aclk"); in xlnx_formatter_pcm_probe()
575 if (IS_ERR(aud_drv_data->axi_clk)) { in xlnx_formatter_pcm_probe()
576 ret = PTR_ERR(aud_drv_data->axi_clk); in xlnx_formatter_pcm_probe()
580 ret = clk_prepare_enable(aud_drv_data->axi_clk); in xlnx_formatter_pcm_probe()
667 clk_disable_unprepare(aud_drv_data->axi_clk); in xlnx_formatter_pcm_probe()
686 clk_disable_unprepare(adata->axi_clk); in xlnx_formatter_pcm_remove()
/Linux-v5.4/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 …]
/Linux-v5.4/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
/Linux-v5.4/arch/arm/boot/dts/
Dbcm63138.dtsi53 axi_clk: axi_clk { label
107 clocks = <&axi_clk>;
115 clocks = <&axi_clk>;
Dvexpress-v2p-ca5s.dts83 clocks = <&axi_clk>;
92 clocks = <&axi_clk>;
156 axi_clk: oscclk1 { label
/Linux-v5.4/drivers/dma/xilinx/
Dxilinx_dma.c406 int (*clk_init)(struct platform_device *pdev, struct clk **axi_clk,
441 struct clk *axi_clk; member
2186 static int axidma_clk_init(struct platform_device *pdev, struct clk **axi_clk, in axidma_clk_init() argument
2194 *axi_clk = devm_clk_get(&pdev->dev, "s_axi_lite_aclk"); in axidma_clk_init()
2195 if (IS_ERR(*axi_clk)) { in axidma_clk_init()
2196 err = PTR_ERR(*axi_clk); in axidma_clk_init()
2213 err = clk_prepare_enable(*axi_clk); in axidma_clk_init()
2244 clk_disable_unprepare(*axi_clk); in axidma_clk_init()
2249 static int axicdma_clk_init(struct platform_device *pdev, struct clk **axi_clk, in axicdma_clk_init() argument
2259 *axi_clk = devm_clk_get(&pdev->dev, "s_axi_lite_aclk"); in axicdma_clk_init()
[all …]
/Linux-v5.4/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
/Linux-v5.4/Documentation/devicetree/bindings/phy/
Dphy-mvebu-comphy.txt33 "mg_clk", "mg_core_clk" and "axi_clk".
51 clock-names = "mg_clk", "mg_core_clk", "axi_clk";
/Linux-v5.4/Documentation/devicetree/bindings/net/
Dqcom-emac.txt43 clock-names = "axi_clk", "cfg_ahb_clk", "high_speed_clk",
92 clock-names = "axi_clk", "cfg_ahb_clk", "high_speed_clk",
Dmarvell-pp2.txt27 "mg_core_clk" and "axi_clk" (the 3 latter only for armada-7k-pp2).
87 clock-names = "pp_clk", "gop_clk", "mg_clk", "mg_core_clk", "axi_clk";
/Linux-v5.4/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()
/Linux-v5.4/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()
/Linux-v5.4/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,
/Linux-v5.4/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()
/Linux-v5.4/Documentation/devicetree/bindings/mmc/
Dmarvell,xenon-sdhci.txt111 clocks = <&emmc_clk>,<&axi_clk>;
131 clocks = <&sdclk>, <&axi_clk>;

12