Lines Matching refs:phy
22 struct usb_phy phy; member
28 #define phy_to_isp(p) (container_of((p), struct isp1301, phy))
52 static int isp1301_phy_init(struct usb_phy *phy) in isp1301_phy_init() argument
54 struct isp1301 *isp = phy_to_isp(phy); in isp1301_phy_init()
79 static int isp1301_phy_set_vbus(struct usb_phy *phy, int on) in isp1301_phy_set_vbus() argument
81 struct isp1301 *isp = phy_to_isp(phy); in isp1301_phy_set_vbus()
95 struct usb_phy *phy; in isp1301_probe() local
104 phy = &isp->phy; in isp1301_probe()
105 phy->dev = &client->dev; in isp1301_probe()
106 phy->label = DRV_NAME; in isp1301_probe()
107 phy->init = isp1301_phy_init; in isp1301_probe()
108 phy->set_vbus = isp1301_phy_set_vbus; in isp1301_probe()
109 phy->type = USB_PHY_TYPE_USB2; in isp1301_probe()
112 usb_add_phy_dev(phy); in isp1301_probe()
123 usb_remove_phy(&isp->phy); in isp1301_remove()