Home
last modified time | relevance | path

Searched refs:tx_clk (Results 1 – 3 of 3) sorted by relevance

/drivers/net/ethernet/stmicro/stmmac/
Ddwmac-sunxi.c32 struct clk *tx_clk; member
57 clk_set_rate(gmac->tx_clk, SUN7I_GMAC_GMII_RGMII_RATE); in sun7i_gmac_init()
58 clk_prepare_enable(gmac->tx_clk); in sun7i_gmac_init()
61 clk_set_rate(gmac->tx_clk, SUN7I_GMAC_MII_RATE); in sun7i_gmac_init()
62 ret = clk_prepare(gmac->tx_clk); in sun7i_gmac_init()
75 clk_disable(gmac->tx_clk); in sun7i_gmac_exit()
78 clk_unprepare(gmac->tx_clk); in sun7i_gmac_exit()
93 clk_disable(gmac->tx_clk); in sun7i_fix_speed()
96 clk_unprepare(gmac->tx_clk); in sun7i_fix_speed()
99 clk_set_rate(gmac->tx_clk, SUN7I_GMAC_GMII_RGMII_RATE); in sun7i_fix_speed()
[all …]
/drivers/net/ethernet/cadence/
Dmacb.c353 macb_set_tx_clk(bp->tx_clk, phydev->speed, dev); in macb_handle_link_change()
2274 struct clk **hclk, struct clk **tx_clk) in macb_clk_init() argument
2292 *tx_clk = devm_clk_get(&pdev->dev, "tx_clk"); in macb_clk_init()
2293 if (IS_ERR(*tx_clk)) in macb_clk_init()
2294 *tx_clk = NULL; in macb_clk_init()
2308 err = clk_prepare_enable(*tx_clk); in macb_clk_init()
2697 struct clk **hclk, struct clk **tx_clk) in at91ether_clk_init() argument
2702 *tx_clk = NULL; in at91ether_clk_init()
2833 struct clk *pclk, *hclk, *tx_clk; in macb_probe() local
2861 err = clk_init(pdev, &pclk, &hclk, &tx_clk); in macb_probe()
[all …]
Dmacb.h763 struct clk **hclk, struct clk **tx_clk);
808 struct clk *tx_clk; member