Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/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()
165 clk_wzrd->axi_clk = devm_clk_get(&pdev->dev, "s_axi_aclk"); in clk_wzrd_probe()
166 if (IS_ERR(clk_wzrd->axi_clk)) { in clk_wzrd_probe()
167 if (clk_wzrd->axi_clk != ERR_PTR(-EPROBE_DEFER)) in clk_wzrd_probe()
169 return PTR_ERR(clk_wzrd->axi_clk); in clk_wzrd_probe()
171 ret = clk_prepare_enable(clk_wzrd->axi_clk); in clk_wzrd_probe()
176 rate = clk_get_rate(clk_wzrd->axi_clk); in clk_wzrd_probe()
[all …]
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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.c86 struct clk *axi_clk; member
599 aud_drv_data->axi_clk = devm_clk_get(dev, "s_axi_lite_aclk"); in xlnx_formatter_pcm_probe()
600 if (IS_ERR(aud_drv_data->axi_clk)) { in xlnx_formatter_pcm_probe()
601 ret = PTR_ERR(aud_drv_data->axi_clk); in xlnx_formatter_pcm_probe()
605 ret = clk_prepare_enable(aud_drv_data->axi_clk); in xlnx_formatter_pcm_probe()
686 clk_disable_unprepare(aud_drv_data->axi_clk); in xlnx_formatter_pcm_probe()
705 clk_disable_unprepare(adata->axi_clk); in xlnx_formatter_pcm_remove()
/kernel/linux/linux-5.10/drivers/spi/
Dspi-orion.c97 struct clk *axi_clk; member
649 spi->axi_clk = devm_clk_get(&pdev->dev, "axi"); in orion_spi_probe()
650 if (PTR_ERR(spi->axi_clk) == -EPROBE_DEFER) { in orion_spi_probe()
654 if (!IS_ERR(spi->axi_clk)) in orion_spi_probe()
655 clk_prepare_enable(spi->axi_clk); in orion_spi_probe()
744 clk_disable_unprepare(spi->axi_clk); in orion_spi_probe()
759 clk_disable_unprepare(spi->axi_clk); in orion_spi_remove()
776 clk_disable_unprepare(spi->axi_clk); in orion_spi_runtime_suspend()
786 if (!IS_ERR(spi->axi_clk)) in orion_spi_runtime_resume()
787 clk_prepare_enable(spi->axi_clk); in orion_spi_runtime_resume()
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/disp/mdp4/
Dmdp4_kms.c178 if (mdp4_kms->axi_clk) in mdp4_disable()
179 clk_disable_unprepare(mdp4_kms->axi_clk); in mdp4_disable()
193 if (mdp4_kms->axi_clk) in mdp4_enable()
194 clk_prepare_enable(mdp4_kms->axi_clk); in mdp4_enable()
465 mdp4_kms->axi_clk = devm_clk_get(&pdev->dev, "bus_clk"); in mdp4_kms_init()
466 if (IS_ERR(mdp4_kms->axi_clk)) { in mdp4_kms_init()
468 ret = PTR_ERR(mdp4_kms->axi_clk); in mdp4_kms_init()
/kernel/linux/linux-5.10/drivers/gpu/drm/imx/dcss/
Ddcss-dev.c20 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()
/kernel/linux/linux-5.10/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
/kernel/linux/linux-5.10/drivers/mmc/host/
Dsdhci-xenon.c509 priv->axi_clk = devm_clk_get(&pdev->dev, "axi"); in xenon_probe()
510 if (IS_ERR(priv->axi_clk)) { in xenon_probe()
511 err = PTR_ERR(priv->axi_clk); in xenon_probe()
515 err = clk_prepare_enable(priv->axi_clk); in xenon_probe()
557 clk_disable_unprepare(priv->axi_clk); in xenon_probe()
578 clk_disable_unprepare(priv->axi_clk); in xenon_remove()
Dsdhci-xenon.h83 struct clk *axi_clk; member
/kernel/linux/linux-5.10/drivers/dma/xilinx/
Dxilinx_dma.c471 int (*clk_init)(struct platform_device *pdev, struct clk **axi_clk,
506 struct clk *axi_clk; member
2561 static int axidma_clk_init(struct platform_device *pdev, struct clk **axi_clk, in axidma_clk_init() argument
2569 *axi_clk = devm_clk_get(&pdev->dev, "s_axi_lite_aclk"); in axidma_clk_init()
2570 if (IS_ERR(*axi_clk)) in axidma_clk_init()
2571 return dev_err_probe(&pdev->dev, PTR_ERR(*axi_clk), "failed to get axi_aclk\n"); in axidma_clk_init()
2585 err = clk_prepare_enable(*axi_clk); in axidma_clk_init()
2616 clk_disable_unprepare(*axi_clk); in axidma_clk_init()
2621 static int axicdma_clk_init(struct platform_device *pdev, struct clk **axi_clk, in axicdma_clk_init() argument
2631 *axi_clk = devm_clk_get(&pdev->dev, "s_axi_lite_aclk"); in axicdma_clk_init()
[all …]
Dxilinx_dpdma.c265 struct clk *axi_clk; member
1640 xdev->axi_clk = devm_clk_get(xdev->dev, "axi_clk"); in xilinx_dpdma_probe()
1641 if (IS_ERR(xdev->axi_clk)) in xilinx_dpdma_probe()
1642 return PTR_ERR(xdev->axi_clk); in xilinx_dpdma_probe()
1697 ret = clk_prepare_enable(xdev->axi_clk); in xilinx_dpdma_probe()
1727 clk_disable_unprepare(xdev->axi_clk); in xilinx_dpdma_probe()
1748 clk_disable_unprepare(xdev->axi_clk); in xilinx_dpdma_remove()
/kernel/linux/linux-5.10/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";
/kernel/linux/linux-5.10/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";
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/phy/marvell/
Dphy-mvebu-cp110-comphy.c259 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()
/kernel/linux/linux-5.10/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);
511 &axi_clk.common,
624 &axi_clk.common,
759 [CLK_AXI] = &axi_clk.common.hw,
880 [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,
/kernel/linux/linux-5.10/drivers/misc/
Dxilinx_sdfec.c180 struct clk *axi_clk; member
1238 clks->axi_clk = devm_clk_get(&pdev->dev, "s_axi_aclk"); in xsdfec_clk_init()
1239 if (IS_ERR(clks->axi_clk)) { in xsdfec_clk_init()
1241 return PTR_ERR(clks->axi_clk); in xsdfec_clk_init()
1305 err = clk_prepare_enable(clks->axi_clk); in xsdfec_clk_init()
1361 clk_disable_unprepare(clks->axi_clk); in xsdfec_clk_init()
1377 clk_disable_unprepare(clks->axi_clk); in xsdfec_disable_all_clks()
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/mmc/
Dmarvell,xenon-sdhci.txt111 clocks = <&emmc_clk>,<&axi_clk>;
131 clocks = <&sdclk>, <&axi_clk>;

12