/linux/drivers/staging/clocking-wizard/ |
A D | clk-xlnx-clock-wizard.c | 80 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 D | xlnx_spdif.c | 51 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 D | xlnx_formatter_pcm.c | 85 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 D | mdp5_mdss.c | 22 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 D | spi-orion.c | 97 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 D | spi-mtk-nor.c | 106 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 D | dcss-dev.c | 20 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 D | bcm63138.dtsi | 53 axi_clk: axi_clk { label 107 clocks = <&axi_clk>; 115 clocks = <&axi_clk>;
|
A D | vexpress-v2p-ca5s.dts | 83 clocks = <&axi_clk>; 92 clocks = <&axi_clk>; 156 axi_clk: oscclk1 { label
|
/linux/drivers/dma/xilinx/ |
A D | xilinx_dma.c | 506 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 D | xilinx_dpdma.c | 265 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 D | sdhci-xenon.c | 534 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 D | sdhci-xenon.h | 90 struct clk *axi_clk; member
|
/linux/Documentation/devicetree/bindings/dma/xilinx/ |
A D | xlnx,zynqmp-dpdma.yaml | 42 const: axi_clk 64 clock-names = "axi_clk";
|
/linux/drivers/gpu/drm/msm/disp/mdp4/ |
A D | mdp4_kms.c | 178 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 D | xilinx_axienet_mdio.c | 162 if (lp->axi_clk) { in axienet_mdio_enable() 163 host_clock = clk_get_rate(lp->axi_clk); in axienet_mdio_enable()
|
A D | xilinx_axienet_main.c | 1875 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 D | qcom-emac.txt | 43 clock-names = "axi_clk", "cfg_ahb_clk", "high_speed_clk", 92 clock-names = "axi_clk", "cfg_ahb_clk", "high_speed_clk",
|
A D | marvell-pp2.txt | 29 "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 D | xilinx_axienet.txt | 78 clocks = <&axi_clk>, <&axi_clk>, <&pl_enet_ref_clk>, <&mgt_clk>;
|
/linux/Documentation/devicetree/bindings/phy/ |
A D | phy-mvebu-comphy.txt | 33 "mg_clk", "mg_core_clk" and "axi_clk". 51 clock-names = "mg_clk", "mg_core_clk", "axi_clk";
|
/linux/drivers/phy/marvell/ |
A D | phy-mvebu-cp110-comphy.c | 259 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 D | ccu-sun8i-v3s.c | 143 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 D | xilinx_sdfec.c | 180 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 D | allwinner,sun4i-a10-axi-clk.yaml | 53 axi_clk@1c20050 {
|