Lines Matching refs:tx_clk
652 macb_set_tx_clk(bp->tx_clk, speed, ndev); in macb_mac_link_up()
3569 struct clk **hclk, struct clk **tx_clk, in macb_clk_init() argument
3602 *tx_clk = devm_clk_get_optional(&pdev->dev, "tx_clk"); in macb_clk_init()
3603 if (IS_ERR(*tx_clk)) in macb_clk_init()
3604 return PTR_ERR(*tx_clk); in macb_clk_init()
3626 err = clk_prepare_enable(*tx_clk); in macb_clk_init()
3650 clk_disable_unprepare(*tx_clk); in macb_clk_init()
4178 struct clk **hclk, struct clk **tx_clk, in at91ether_clk_init() argument
4184 *tx_clk = NULL; in at91ether_clk_init()
4275 struct clk **hclk, struct clk **tx_clk, in fu540_c000_clk_init() argument
4281 err = macb_clk_init(pdev, pclk, hclk, tx_clk, rx_clk, tsu_clk); in fu540_c000_clk_init()
4297 *tx_clk = devm_clk_register(&pdev->dev, &mgmt->hw); in fu540_c000_clk_init()
4298 if (IS_ERR(*tx_clk)) in fu540_c000_clk_init()
4299 return PTR_ERR(*tx_clk); in fu540_c000_clk_init()
4301 err = clk_prepare_enable(*tx_clk); in fu540_c000_clk_init()
4441 struct clk *pclk, *hclk = NULL, *tx_clk = NULL, *rx_clk = NULL; in macb_probe() local
4469 err = clk_init(pdev, &pclk, &hclk, &tx_clk, &rx_clk, &tsu_clk); in macb_probe()
4509 bp->tx_clk = tx_clk; in macb_probe()
4615 clk_disable_unprepare(tx_clk); in macb_probe()
4644 clk_disable_unprepare(bp->tx_clk); in macb_remove()
4828 clk_disable_unprepare(bp->tx_clk); in macb_runtime_suspend()
4846 clk_prepare_enable(bp->tx_clk); in macb_runtime_resume()