Lines Matching refs:axi_clk

406 	int (*clk_init)(struct platform_device *pdev, struct clk **axi_clk,
441 struct clk *axi_clk; member
2186 static int axidma_clk_init(struct platform_device *pdev, struct clk **axi_clk, in axidma_clk_init() argument
2194 *axi_clk = devm_clk_get(&pdev->dev, "s_axi_lite_aclk"); in axidma_clk_init()
2195 if (IS_ERR(*axi_clk)) { in axidma_clk_init()
2196 err = PTR_ERR(*axi_clk); in axidma_clk_init()
2213 err = clk_prepare_enable(*axi_clk); in axidma_clk_init()
2244 clk_disable_unprepare(*axi_clk); in axidma_clk_init()
2249 static int axicdma_clk_init(struct platform_device *pdev, struct clk **axi_clk, in axicdma_clk_init() argument
2259 *axi_clk = devm_clk_get(&pdev->dev, "s_axi_lite_aclk"); in axicdma_clk_init()
2260 if (IS_ERR(*axi_clk)) { in axicdma_clk_init()
2261 err = PTR_ERR(*axi_clk); in axicdma_clk_init()
2273 err = clk_prepare_enable(*axi_clk); in axicdma_clk_init()
2288 clk_disable_unprepare(*axi_clk); in axicdma_clk_init()
2293 static int axivdma_clk_init(struct platform_device *pdev, struct clk **axi_clk, in axivdma_clk_init() argument
2299 *axi_clk = devm_clk_get(&pdev->dev, "s_axi_lite_aclk"); in axivdma_clk_init()
2300 if (IS_ERR(*axi_clk)) { in axivdma_clk_init()
2301 err = PTR_ERR(*axi_clk); in axivdma_clk_init()
2322 err = clk_prepare_enable(*axi_clk); in axivdma_clk_init()
2361 clk_disable_unprepare(*axi_clk); in axivdma_clk_init()
2372 clk_disable_unprepare(xdev->axi_clk); in xdma_disable_allclks()
2635 err = clk_init(pdev, &xdev->axi_clk, &xdev->tx_clk, &xdev->txs_clk, in xilinx_dma_probe()