Searched refs:phy_clk (Results 1 – 5 of 5) sorted by relevance
40 struct clk *phy_clk; member62 ret = clk_prepare_enable(p_phy->phy_clk); in pistachio_usb_phy_power_on()73 rate = clk_get_rate(p_phy->phy_clk); in pistachio_usb_phy_power_on()116 clk_disable_unprepare(p_phy->phy_clk); in pistachio_usb_phy_power_on()124 clk_disable_unprepare(p_phy->phy_clk); in pistachio_usb_phy_power_off()156 p_phy->phy_clk = devm_clk_get(p_phy->dev, "usb_phy"); in pistachio_usb_phy_probe()157 if (IS_ERR(p_phy->phy_clk)) { in pistachio_usb_phy_probe()159 PTR_ERR(p_phy->phy_clk)); in pistachio_usb_phy_probe()160 return PTR_ERR(p_phy->phy_clk); in pistachio_usb_phy_probe()
90 struct clk *phy_clk; member471 struct clk *phy_clk; in am35x_probe() local482 phy_clk = clk_get(&pdev->dev, "fck"); in am35x_probe()483 if (IS_ERR(phy_clk)) { in am35x_probe()485 ret = PTR_ERR(phy_clk); in am35x_probe()496 ret = clk_enable(phy_clk); in am35x_probe()509 glue->phy_clk = phy_clk; in am35x_probe()542 clk_disable(phy_clk); in am35x_probe()548 clk_put(phy_clk); in am35x_probe()564 clk_disable(glue->phy_clk); in am35x_remove()[all …]
1822 priv->phy_clk = clk_get(&pdev->dev, "ephy"); in bcm_enet_probe()1823 if (IS_ERR(priv->phy_clk)) { in bcm_enet_probe()1824 ret = PTR_ERR(priv->phy_clk); in bcm_enet_probe()1825 priv->phy_clk = NULL; in bcm_enet_probe()1828 ret = clk_prepare_enable(priv->phy_clk); in bcm_enet_probe()1930 if (priv->phy_clk) in bcm_enet_probe()1931 clk_disable_unprepare(priv->phy_clk); in bcm_enet_probe()1934 if (priv->phy_clk) in bcm_enet_probe()1935 clk_put(priv->phy_clk); in bcm_enet_probe()1976 if (priv->phy_clk) { in bcm_enet_remove()[all …]
321 struct clk *phy_clk; member
604 u32 phy_clk; in nb8800_mac_config() local615 phy_clk = 125000000; in nb8800_mac_config()620 phy_clk = 25000000; in nb8800_mac_config()624 ict = DIV_ROUND_UP(phy_clk, clk_get_rate(priv->clk)); in nb8800_mac_config()