Lines Matching full:tx_clk
479 struct clk **tx_clk, struct clk **txs_clk,
496 * @tx_clk: DMA mm2s clock
515 struct clk *tx_clk; member
2622 struct clk **tx_clk, struct clk **rx_clk, in axidma_clk_init() argument
2633 *tx_clk = devm_clk_get(&pdev->dev, "m_axi_mm2s_aclk"); in axidma_clk_init()
2634 if (IS_ERR(*tx_clk)) in axidma_clk_init()
2635 *tx_clk = NULL; in axidma_clk_init()
2651 err = clk_prepare_enable(*tx_clk); in axidma_clk_init()
2653 dev_err(&pdev->dev, "failed to enable tx_clk (%d)\n", err); in axidma_clk_init()
2674 clk_disable_unprepare(*tx_clk); in axidma_clk_init()
2720 struct clk **tx_clk, struct clk **txs_clk, in axivdma_clk_init() argument
2729 *tx_clk = devm_clk_get(&pdev->dev, "m_axi_mm2s_aclk"); in axivdma_clk_init()
2730 if (IS_ERR(*tx_clk)) in axivdma_clk_init()
2731 *tx_clk = NULL; in axivdma_clk_init()
2752 err = clk_prepare_enable(*tx_clk); in axivdma_clk_init()
2754 dev_err(&pdev->dev, "failed to enable tx_clk (%d)\n", err); in axivdma_clk_init()
2783 clk_disable_unprepare(*tx_clk); in axivdma_clk_init()
2795 clk_disable_unprepare(xdev->tx_clk); in xdma_disable_allclks()
3083 err = clk_init(pdev, &xdev->axi_clk, &xdev->tx_clk, &xdev->txs_clk, in xilinx_dma_probe()