Lines Matching defs:phy
18 #include <linux/phy/phy-sun4i-usb.h>
86 struct phy *phy;
134 phy_power_on(glue->phy);
137 phy_power_off(glue->phy);
143 phy_set_mode(glue->phy, glue->phy_mode);
164 sun4i_usb_phy_set_squelch_detect(glue->phy, false);
171 sun4i_usb_phy_set_squelch_detect(glue->phy, true);
228 musb->phy = glue->phy;
255 ret = phy_init(glue->phy);
285 phy_power_off(glue->phy);
287 phy_exit(glue->phy);
761 glue->phy = devm_phy_get(&pdev->dev, "usb");
762 if (IS_ERR(glue->phy))
763 return dev_err_probe(&pdev->dev, PTR_ERR(glue->phy),
764 "Error getting phy\n");
768 dev_err(&pdev->dev, "Error registering usb-phy %ld\n",
776 dev_err(&pdev->dev, "Error getting usb-phy %d\n", ret);