Lines Matching full:tx_clk
20 struct clk *tx_clk; member
37 rate = clk_get_rate(dwmac->tx_clk); in kmb_eth_fix_mac_speed()
57 ret = clk_set_rate(dwmac->tx_clk, rate); in kmb_eth_fix_mac_speed()
98 dwmac->tx_clk = NULL; in intel_eth_plat_probe()
107 dwmac->tx_clk = devm_clk_get(&pdev->dev, "tx_clk"); in intel_eth_plat_probe()
108 if (IS_ERR(dwmac->tx_clk)) in intel_eth_plat_probe()
109 return PTR_ERR(dwmac->tx_clk); in intel_eth_plat_probe()
111 ret = clk_prepare_enable(dwmac->tx_clk); in intel_eth_plat_probe()
114 "Failed to enable tx_clk\n"); in intel_eth_plat_probe()
119 rate = clk_get_rate(dwmac->tx_clk); in intel_eth_plat_probe()
123 ret = clk_set_rate(dwmac->tx_clk, rate); in intel_eth_plat_probe()
126 "Failed to set tx_clk\n"); in intel_eth_plat_probe()
164 clk_disable_unprepare(dwmac->tx_clk); in intel_eth_plat_probe()
174 clk_disable_unprepare(dwmac->tx_clk); in intel_eth_plat_remove()