Home
last modified time | relevance | path

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

12

/linux-6.12.1/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()
311 clk_disable_unprepare(ctx->axi_clk); in xlnx_spdif_probe()
319 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()
/linux-6.12.1/drivers/spi/
Dspi-orion.c96 struct clk *axi_clk; member
698 spi->axi_clk = devm_clk_get(&pdev->dev, "axi"); in orion_spi_probe()
699 if (PTR_ERR(spi->axi_clk) == -EPROBE_DEFER) { in orion_spi_probe()
703 if (!IS_ERR(spi->axi_clk)) in orion_spi_probe()
704 clk_prepare_enable(spi->axi_clk); in orion_spi_probe()
793 clk_disable_unprepare(spi->axi_clk); in orion_spi_probe()
806 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()
831 clk_prepare_enable(spi->axi_clk); in orion_spi_runtime_resume()
Dspi-mtk-nor.c121 struct clk *axi_clk; member
708 clk_disable_unprepare(sp->axi_clk); in mtk_nor_disable_clk()
726 ret = clk_prepare_enable(sp->axi_clk); in mtk_nor_enable_clk()
737 clk_disable_unprepare(sp->axi_clk); in mtk_nor_enable_clk()
816 struct clk *spi_clk, *ctlr_clk, *axi_clk, *axi_s_clk; in mtk_nor_probe() local
831 axi_clk = devm_clk_get_optional(&pdev->dev, "axi"); in mtk_nor_probe()
832 if (IS_ERR(axi_clk)) in mtk_nor_probe()
833 return PTR_ERR(axi_clk); in mtk_nor_probe()
873 sp->axi_clk = axi_clk; in mtk_nor_probe()
/linux-6.12.1/Documentation/devicetree/bindings/net/
Dxlnx,axi-ethernet.yaml158 clocks = <&axi_clk>, <&axi_clk>, <&pl_enet_ref_clk>, <&mgt_clk>;
183 clocks = <&axi_clk>, <&axi_clk>, <&pl_enet_ref_clk>, <&mgt_clk>;
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.yaml50 - const: axi_clk
242 clock-names = "pp_clk", "gop_clk", "mg_clk", "mg_core_clk", "axi_clk";
/linux-6.12.1/drivers/clk/xilinx/
Dclk-xlnx-clock-wizard.c128 * @axi_clk: Handle to input clock 's_axi_aclk'
139 struct clk *axi_clk; member
916 else if (ndata->clk == clk_wzrd->axi_clk) in clk_wzrd_clk_notifier()
937 clk_disable_unprepare(clk_wzrd->axi_clk); in clk_wzrd_suspend()
948 ret = clk_prepare_enable(clk_wzrd->axi_clk); in clk_wzrd_resume()
1004 clk_wzrd->axi_clk = devm_clk_get(&pdev->dev, "s_axi_aclk"); in clk_wzrd_probe()
1005 if (IS_ERR(clk_wzrd->axi_clk)) in clk_wzrd_probe()
1006 return dev_err_probe(&pdev->dev, PTR_ERR(clk_wzrd->axi_clk), in clk_wzrd_probe()
1008 ret = clk_prepare_enable(clk_wzrd->axi_clk); in clk_wzrd_probe()
1013 rate = clk_get_rate(clk_wzrd->axi_clk); in clk_wzrd_probe()
[all …]
/linux-6.12.1/arch/arm/boot/dts/broadcom/
Dbcm63138.dtsi53 axi_clk: axi_clk { label
113 clocks = <&axi_clk>;
121 clocks = <&axi_clk>;
/linux-6.12.1/drivers/gpu/drm/imx/dcss/
Ddcss-dev.c21 clk_prepare_enable(dcss->axi_clk); in dcss_clocks_enable()
34 clk_disable_unprepare(dcss->axi_clk); in dcss_clocks_disable()
136 {"axi", &dcss->axi_clk}, in dcss_clks_init()
159 devm_clk_put(dcss->dev, dcss->axi_clk); in dcss_clks_release()
/linux-6.12.1/Documentation/devicetree/bindings/dma/xilinx/
Dxlnx,zynqmp-dpdma.yaml42 const: axi_clk
69 clock-names = "axi_clk";
/linux-6.12.1/drivers/gpu/drm/msm/disp/mdp4/
Dmdp4_kms.c167 clk_disable_unprepare(mdp4_kms->axi_clk); in mdp4_disable()
179 clk_prepare_enable(mdp4_kms->axi_clk); in mdp4_enable()
543 mdp4_kms->axi_clk = devm_clk_get(&pdev->dev, "bus_clk"); in mdp4_probe()
544 if (IS_ERR(mdp4_kms->axi_clk)) in mdp4_probe()
545 return dev_err_probe(dev, PTR_ERR(mdp4_kms->axi_clk), "failed to get axi_clk\n"); in mdp4_probe()
/linux-6.12.1/drivers/dma/xilinx/
Dxilinx_dma.c478 int (*clk_init)(struct platform_device *pdev, struct clk **axi_clk,
495 * @axi_clk: DMA Axi4-lite interace clock
514 struct clk *axi_clk; member
2621 static int axidma_clk_init(struct platform_device *pdev, struct clk **axi_clk, in axidma_clk_init() argument
2629 *axi_clk = devm_clk_get(&pdev->dev, "s_axi_lite_aclk"); in axidma_clk_init()
2630 if (IS_ERR(*axi_clk)) in axidma_clk_init()
2631 return dev_err_probe(&pdev->dev, PTR_ERR(*axi_clk), "failed to get axi_aclk\n"); in axidma_clk_init()
2645 err = clk_prepare_enable(*axi_clk); in axidma_clk_init()
2647 dev_err(&pdev->dev, "failed to enable axi_clk (%d)\n", err); in axidma_clk_init()
2676 clk_disable_unprepare(*axi_clk); in axidma_clk_init()
[all …]
Dxilinx_dpdma.c257 * @axi_clk: axi clock
267 struct clk *axi_clk; member
1744 xdev->axi_clk = devm_clk_get(xdev->dev, "axi_clk"); in xilinx_dpdma_probe()
1745 if (IS_ERR(xdev->axi_clk)) in xilinx_dpdma_probe()
1746 return PTR_ERR(xdev->axi_clk); in xilinx_dpdma_probe()
1801 ret = clk_prepare_enable(xdev->axi_clk); in xilinx_dpdma_probe()
1831 clk_disable_unprepare(xdev->axi_clk); in xilinx_dpdma_probe()
1852 clk_disable_unprepare(xdev->axi_clk); in xilinx_dpdma_remove()
/linux-6.12.1/arch/arm/boot/dts/arm/
Dvexpress-v2p-ca5s.dts83 clocks = <&axi_clk>;
92 clocks = <&axi_clk>;
157 axi_clk: clock-controller-1 { label
/linux-6.12.1/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-6.12.1/drivers/mmc/host/
Dsdhci-xenon.c544 priv->axi_clk = devm_clk_get(&pdev->dev, "axi"); in xenon_probe()
545 if (IS_ERR(priv->axi_clk)) { in xenon_probe()
546 err = PTR_ERR(priv->axi_clk); in xenon_probe()
550 err = clk_prepare_enable(priv->axi_clk); in xenon_probe()
603 clk_disable_unprepare(priv->axi_clk); in xenon_probe()
624 clk_disable_unprepare(priv->axi_clk); in xenon_remove()
Dsdhci-xenon.h91 struct clk *axi_clk; member
/linux-6.12.1/drivers/misc/
Dxilinx_sdfec.c171 * @axi_clk: AXI4-Lite memory-mapped clock
181 struct clk *axi_clk; member
1205 clks->axi_clk = devm_clk_get(&pdev->dev, "s_axi_aclk"); in xsdfec_clk_init()
1206 if (IS_ERR(clks->axi_clk)) { in xsdfec_clk_init()
1207 dev_err(&pdev->dev, "failed to get axi_clk"); in xsdfec_clk_init()
1208 return PTR_ERR(clks->axi_clk); in xsdfec_clk_init()
1272 err = clk_prepare_enable(clks->axi_clk); in xsdfec_clk_init()
1274 dev_err(&pdev->dev, "failed to enable axi_clk (%d)", err); in xsdfec_clk_init()
1328 clk_disable_unprepare(clks->axi_clk); in xsdfec_clk_init()
1344 clk_disable_unprepare(clks->axi_clk); in xsdfec_disable_all_clks()
/linux-6.12.1/drivers/phy/marvell/
Dphy-mvebu-cp110-comphy.c264 struct clk *axi_clk; member
960 priv->axi_clk = devm_clk_get(priv->dev, "axi_clk"); in mvebu_comphy_init_clks()
961 if (IS_ERR(priv->axi_clk)) { in mvebu_comphy_init_clks()
962 ret = PTR_ERR(priv->axi_clk); in mvebu_comphy_init_clks()
966 ret = clk_prepare_enable(priv->axi_clk); in mvebu_comphy_init_clks()
980 priv->axi_clk = NULL; in mvebu_comphy_init_clks()
987 if (priv->axi_clk) in mvebu_comphy_disable_unprepare_clks()
988 clk_disable_unprepare(priv->axi_clk); in mvebu_comphy_disable_unprepare_clks()
/linux-6.12.1/Documentation/devicetree/bindings/clock/
Dallwinner,sun4i-a10-axi-clk.yaml53 axi_clk@1c20050 {
/linux-6.12.1/Documentation/devicetree/bindings/iio/dac/
Dadi,axi-dac.yaml60 clocks = <&axi_clk>;
/linux-6.12.1/Documentation/devicetree/bindings/iio/adc/
Dadi,axi-adc.yaml65 clocks = <&axi_clk>;
/linux-6.12.1/Documentation/devicetree/bindings/mmc/
Dmarvell,xenon-sdhci.yaml209 clocks = <&emmc_clk 0>, <&axi_clk 0>;
232 clocks = <&sdclk 0>, <&axi_clk 0>;
/linux-6.12.1/drivers/net/ethernet/xilinx/
Dxilinx_axienet_mdio.c184 if (lp->axi_clk) { in axienet_mdio_enable()
185 host_clock = clk_get_rate(lp->axi_clk); in axienet_mdio_enable()

12