Home
last modified time | relevance | path

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

/drivers/usb/musb/
Dam35x.c90 struct clk *phy_clk; member
465 struct clk *phy_clk; in am35x_probe() local
476 phy_clk = clk_get(&pdev->dev, "fck"); in am35x_probe()
477 if (IS_ERR(phy_clk)) { in am35x_probe()
479 ret = PTR_ERR(phy_clk); in am35x_probe()
490 ret = clk_enable(phy_clk); in am35x_probe()
503 glue->phy_clk = phy_clk; in am35x_probe()
536 clk_disable(phy_clk); in am35x_probe()
542 clk_put(phy_clk); in am35x_probe()
558 clk_disable(glue->phy_clk); in am35x_remove()
[all …]
/drivers/net/ethernet/broadcom/
Dbcm63xx_enet.c1819 priv->phy_clk = clk_get(&pdev->dev, "ephy"); in bcm_enet_probe()
1820 if (IS_ERR(priv->phy_clk)) { in bcm_enet_probe()
1821 ret = PTR_ERR(priv->phy_clk); in bcm_enet_probe()
1822 priv->phy_clk = NULL; in bcm_enet_probe()
1825 clk_prepare_enable(priv->phy_clk); in bcm_enet_probe()
1925 if (priv->phy_clk) { in bcm_enet_probe()
1926 clk_disable_unprepare(priv->phy_clk); in bcm_enet_probe()
1927 clk_put(priv->phy_clk); in bcm_enet_probe()
1968 if (priv->phy_clk) { in bcm_enet_remove()
1969 clk_disable_unprepare(priv->phy_clk); in bcm_enet_remove()
[all …]
Dbcm63xx_enet.h321 struct clk *phy_clk; member