Home
last modified time | relevance | path

Searched refs:clk_tx (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/net/ethernet/stmicro/stmmac/
H A Ddwmac-starfive.c30 struct clk *clk_tx; member
40 rate = clk_get_rate(dwmac->clk_tx); in starfive_dwmac_fix_mac_speed()
57 err = clk_set_rate(dwmac->clk_tx, rate); in starfive_dwmac_fix_mac_speed()
136 dwmac->clk_tx = devm_clk_get_enabled(&pdev->dev, "tx"); in starfive_dwmac_probe()
137 if (IS_ERR(dwmac->clk_tx)) in starfive_dwmac_probe()
138 return dev_err_probe(&pdev->dev, PTR_ERR(dwmac->clk_tx), in starfive_dwmac_probe()
H A Ddwmac-dwc-qos-eth.c34 struct clk *clk_tx; member
249 err = clk_set_rate(eqos->clk_tx, rate); in tegra_eqos_fix_speed()
318 eqos->clk_tx = devm_clk_get(&pdev->dev, "tx"); in tegra_eqos_probe()
319 if (IS_ERR(eqos->clk_tx)) { in tegra_eqos_probe()
320 err = PTR_ERR(eqos->clk_tx); in tegra_eqos_probe()
324 err = clk_prepare_enable(eqos->clk_tx); in tegra_eqos_probe()
374 clk_disable_unprepare(eqos->clk_tx); in tegra_eqos_probe()
391 clk_disable_unprepare(eqos->clk_tx); in tegra_eqos_remove()
H A Ddwmac-imx.c57 struct clk *clk_tx; member
149 ret = clk_prepare_enable(dwmac->clk_tx); in imx_dwmac_clks_config()
156 clk_disable_unprepare(dwmac->clk_tx); in imx_dwmac_clks_config()
214 err = clk_set_rate(dwmac->clk_tx, rate); in imx_dwmac_fix_speed()
281 dwmac->clk_tx = devm_clk_get(dev, "tx"); in imx_dwmac_parse_dt()
282 if (IS_ERR(dwmac->clk_tx)) { in imx_dwmac_parse_dt()
284 return PTR_ERR(dwmac->clk_tx); in imx_dwmac_parse_dt()
H A Ddwmac-stm32.c93 struct clk *clk_tx; member
126 ret = clk_prepare_enable(dwmac->clk_tx); in stm32_dwmac_clk_enable()
154 clk_disable_unprepare(dwmac->clk_tx); in stm32_dwmac_clk_enable()
387 clk_disable_unprepare(dwmac->clk_tx); in stm32_dwmac_clk_disable()
403 dwmac->clk_tx = devm_clk_get(dev, "mac-clk-tx"); in stm32_dwmac_parse_data()
404 if (IS_ERR(dwmac->clk_tx)) { in stm32_dwmac_parse_data()
406 return PTR_ERR(dwmac->clk_tx); in stm32_dwmac_parse_data()