Lines Matching defs:phy
18 #include <linux/phy/phy-sun4i-usb.h>
79 struct phy *phy;
127 phy_power_on(glue->phy);
130 phy_power_off(glue->phy);
136 phy_set_mode(glue->phy, glue->phy_mode);
157 sun4i_usb_phy_set_squelch_detect(glue->phy, false);
164 sun4i_usb_phy_set_squelch_detect(glue->phy, true);
221 musb->phy = glue->phy;
248 ret = phy_init(glue->phy);
278 phy_power_off(glue->phy);
280 phy_exit(glue->phy);
755 glue->phy = devm_phy_get(&pdev->dev, "usb");
756 if (IS_ERR(glue->phy)) {
757 if (PTR_ERR(glue->phy) == -EPROBE_DEFER)
759 dev_err(&pdev->dev, "Error getting phy %ld\n",
760 PTR_ERR(glue->phy));
761 return PTR_ERR(glue->phy);
766 dev_err(&pdev->dev, "Error registering usb-phy %ld\n",
774 dev_err(&pdev->dev, "Error getting usb-phy %d\n", ret);