Home
last modified time | relevance | path

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

12

/linux/drivers/staging/clocking-wizard/
A Dclk-xlnx-clock-wizard.c80 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()
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()
588 clk_disable_unprepare(clk_wzrd->axi_clk); in clk_wzrd_probe()
[all …]
/linux/sound/soc/xilinx/
A 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()
A Dxlnx_formatter_pcm.c85 struct clk *axi_clk; member
553 aud_drv_data->axi_clk = devm_clk_get(dev, "s_axi_lite_aclk"); in xlnx_formatter_pcm_probe()
554 if (IS_ERR(aud_drv_data->axi_clk)) { in xlnx_formatter_pcm_probe()
555 ret = PTR_ERR(aud_drv_data->axi_clk); in xlnx_formatter_pcm_probe()
559 ret = clk_prepare_enable(aud_drv_data->axi_clk); in xlnx_formatter_pcm_probe()
640 clk_disable_unprepare(aud_drv_data->axi_clk); in xlnx_formatter_pcm_probe()
659 clk_disable_unprepare(adata->axi_clk); in xlnx_formatter_pcm_remove()
/linux/drivers/gpu/drm/msm/disp/mdp5/
A Dmdp5_mdss.c22 struct clk *axi_clk; member
139 clk_prepare_enable(mdp5_mdss->axi_clk); in mdp5_mdss_enable()
151 clk_disable_unprepare(mdp5_mdss->axi_clk); in mdp5_mdss_disable()
166 mdp5_mdss->axi_clk = msm_clk_get(pdev, "bus"); in msm_mdss_get_clocks()
167 if (IS_ERR(mdp5_mdss->axi_clk)) in msm_mdss_get_clocks()
168 mdp5_mdss->axi_clk = NULL; in msm_mdss_get_clocks()
/linux/drivers/spi/
A Dspi-orion.c97 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()
799 clk_disable_unprepare(spi->axi_clk); in orion_spi_probe()
814 clk_disable_unprepare(spi->axi_clk); in orion_spi_remove()
831 clk_disable_unprepare(spi->axi_clk); in orion_spi_runtime_suspend()
841 if (!IS_ERR(spi->axi_clk)) in orion_spi_runtime_resume()
842 clk_prepare_enable(spi->axi_clk); in orion_spi_runtime_resume()
A Dspi-mtk-nor.c106 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()
/linux/drivers/gpu/drm/imx/dcss/
A 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()
/linux/arch/arm/boot/dts/
A Dbcm63138.dtsi53 axi_clk: axi_clk { label
107 clocks = <&axi_clk>;
115 clocks = <&axi_clk>;
A Dvexpress-v2p-ca5s.dts83 clocks = <&axi_clk>;
92 clocks = <&axi_clk>;
156 axi_clk: oscclk1 { label
/linux/drivers/dma/xilinx/
A Dxilinx_dma.c506 struct clk *axi_clk; member
2585 if (IS_ERR(*axi_clk)) in axidma_clk_init()
2600 err = clk_prepare_enable(*axi_clk); in axidma_clk_init()
2631 clk_disable_unprepare(*axi_clk); in axidma_clk_init()
2647 if (IS_ERR(*axi_clk)) in axicdma_clk_init()
2654 err = clk_prepare_enable(*axi_clk); in axicdma_clk_init()
2669 clk_disable_unprepare(*axi_clk); in axicdma_clk_init()
2681 if (IS_ERR(*axi_clk)) in axivdma_clk_init()
2700 err = clk_prepare_enable(*axi_clk); in axivdma_clk_init()
2740 clk_disable_unprepare(*axi_clk); in axivdma_clk_init()
[all …]
A Dxilinx_dpdma.c265 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()
/linux/drivers/mmc/host/
A Dsdhci-xenon.c534 priv->axi_clk = devm_clk_get(&pdev->dev, "axi"); in xenon_probe()
535 if (IS_ERR(priv->axi_clk)) { in xenon_probe()
536 err = PTR_ERR(priv->axi_clk); in xenon_probe()
540 err = clk_prepare_enable(priv->axi_clk); in xenon_probe()
583 clk_disable_unprepare(priv->axi_clk); in xenon_probe()
604 clk_disable_unprepare(priv->axi_clk); in xenon_remove()
A Dsdhci-xenon.h90 struct clk *axi_clk; member
/linux/Documentation/devicetree/bindings/dma/xilinx/
A Dxlnx,zynqmp-dpdma.yaml42 const: axi_clk
64 clock-names = "axi_clk";
/linux/drivers/gpu/drm/msm/disp/mdp4/
A Dmdp4_kms.c178 clk_disable_unprepare(mdp4_kms->axi_clk); in mdp4_disable()
190 clk_prepare_enable(mdp4_kms->axi_clk); in mdp4_enable()
463 mdp4_kms->axi_clk = devm_clk_get(&pdev->dev, "bus_clk"); in mdp4_kms_init()
464 if (IS_ERR(mdp4_kms->axi_clk)) { in mdp4_kms_init()
466 ret = PTR_ERR(mdp4_kms->axi_clk); in mdp4_kms_init()
/linux/drivers/net/ethernet/xilinx/
A Dxilinx_axienet_mdio.c162 if (lp->axi_clk) { in axienet_mdio_enable()
163 host_clock = clk_get_rate(lp->axi_clk); in axienet_mdio_enable()
A Dxilinx_axienet_main.c1875 lp->axi_clk = devm_clk_get_optional(&pdev->dev, "s_axi_lite_clk"); in axienet_probe()
1876 if (!lp->axi_clk) { in axienet_probe()
1880 lp->axi_clk = devm_clk_get_optional(&pdev->dev, NULL); in axienet_probe()
1882 if (IS_ERR(lp->axi_clk)) { in axienet_probe()
1883 ret = PTR_ERR(lp->axi_clk); in axienet_probe()
1886 ret = clk_prepare_enable(lp->axi_clk); in axienet_probe()
2137 clk_disable_unprepare(lp->axi_clk); in axienet_probe()
2161 clk_disable_unprepare(lp->axi_clk); in axienet_remove()
/linux/Documentation/devicetree/bindings/net/
A Dqcom-emac.txt43 clock-names = "axi_clk", "cfg_ahb_clk", "high_speed_clk",
92 clock-names = "axi_clk", "cfg_ahb_clk", "high_speed_clk",
A Dmarvell-pp2.txt29 "mg_core_clk" and "axi_clk" (the 3 latter only for armada-7k-pp2).
89 clock-names = "pp_clk", "gop_clk", "mg_clk", "mg_core_clk", "axi_clk";
A Dxilinx_axienet.txt78 clocks = <&axi_clk>, <&axi_clk>, <&pl_enet_ref_clk>, <&mgt_clk>;
/linux/Documentation/devicetree/bindings/phy/
A Dphy-mvebu-comphy.txt33 "mg_clk", "mg_core_clk" and "axi_clk".
51 clock-names = "mg_clk", "mg_core_clk", "axi_clk";
/linux/drivers/phy/marvell/
A 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()
/linux/drivers/clk/sunxi-ng/
A Dccu-sun8i-v3s.c143 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,
/linux/drivers/misc/
A Dxilinx_sdfec.c180 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()
/linux/Documentation/devicetree/bindings/clock/
A Dallwinner,sun4i-a10-axi-clk.yaml53 axi_clk@1c20050 {

Completed in 71 milliseconds

12