Lines Matching full:axi_clk

478 	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()
2681 static int axicdma_clk_init(struct platform_device *pdev, struct clk **axi_clk, in axicdma_clk_init() argument
2691 *axi_clk = devm_clk_get(&pdev->dev, "s_axi_lite_aclk"); in axicdma_clk_init()
2692 if (IS_ERR(*axi_clk)) in axicdma_clk_init()
2693 return dev_err_probe(&pdev->dev, PTR_ERR(*axi_clk), "failed to get axi_aclk\n"); in axicdma_clk_init()
2699 err = clk_prepare_enable(*axi_clk); in axicdma_clk_init()
2701 dev_err(&pdev->dev, "failed to enable axi_clk (%d)\n", err); in axicdma_clk_init()
2714 clk_disable_unprepare(*axi_clk); in axicdma_clk_init()
2719 static int axivdma_clk_init(struct platform_device *pdev, struct clk **axi_clk, in axivdma_clk_init() argument
2725 *axi_clk = devm_clk_get(&pdev->dev, "s_axi_lite_aclk"); in axivdma_clk_init()
2726 if (IS_ERR(*axi_clk)) in axivdma_clk_init()
2727 return dev_err_probe(&pdev->dev, PTR_ERR(*axi_clk), "failed to get axi_aclk\n"); in axivdma_clk_init()
2745 err = clk_prepare_enable(*axi_clk); in axivdma_clk_init()
2747 dev_err(&pdev->dev, "failed to enable axi_clk (%d)\n", in axivdma_clk_init()
2785 clk_disable_unprepare(*axi_clk); in axivdma_clk_init()
2796 clk_disable_unprepare(xdev->axi_clk); in xdma_disable_allclks()
3083 err = clk_init(pdev, &xdev->axi_clk, &xdev->tx_clk, &xdev->txs_clk, in xilinx_dma_probe()