Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/net/ethernet/atheros/
Dag71xx.c384 struct clk *clk_mdio; member
637 ref_clock = clk_get_rate(ag->clk_mdio); in ag71xx_mdio_get_divider()
695 ag->clk_mdio = devm_clk_get(dev, "mdio"); in ag71xx_mdio_probe()
696 if (IS_ERR(ag->clk_mdio)) { in ag71xx_mdio_probe()
698 return PTR_ERR(ag->clk_mdio); in ag71xx_mdio_probe()
701 err = clk_prepare_enable(ag->clk_mdio); in ag71xx_mdio_probe()
746 clk_disable_unprepare(ag->clk_mdio); in ag71xx_mdio_probe()
754 clk_disable_unprepare(ag->clk_mdio); in ag71xx_mdio_remove()