Searched refs:phy_roothub (Results 1 – 5 of 5) sorted by relevance
| /linux/drivers/usb/core/ |
| H A D | phy.c | 75 struct usb_phy_roothub *phy_roothub; in usb_phy_roothub_alloc() local 86 phy_roothub = devm_kzalloc(dev, sizeof(*phy_roothub), GFP_KERNEL); in usb_phy_roothub_alloc() 87 if (!phy_roothub) in usb_phy_roothub_alloc() 90 INIT_LIST_HEAD(&phy_roothub->list); in usb_phy_roothub_alloc() 92 if (!usb_phy_roothub_add_phy_by_name(dev, "usb2-phy", &phy_roothub->list)) in usb_phy_roothub_alloc() 93 return phy_roothub; in usb_phy_roothub_alloc() 96 err = usb_phy_roothub_add_phy(dev, i, &phy_roothub->list); in usb_phy_roothub_alloc() 101 return phy_roothub; in usb_phy_roothub_alloc() 116 struct usb_phy_roothub *phy_roothub; in usb_phy_roothub_alloc_usb3_phy() local 137 phy_roothub = devm_kzalloc(dev, sizeof(*phy_roothub), GFP_KERNEL); in usb_phy_roothub_alloc_usb3_phy() [all …]
|
| H A D | phy.h | 17 int usb_phy_roothub_init(struct usb_phy_roothub *phy_roothub); 18 int usb_phy_roothub_exit(struct usb_phy_roothub *phy_roothub); 20 int usb_phy_roothub_set_mode(struct usb_phy_roothub *phy_roothub, 22 int usb_phy_roothub_calibrate(struct usb_phy_roothub *phy_roothub); 23 int usb_phy_roothub_notify_connect(struct usb_phy_roothub *phy_roothub, int port); 24 int usb_phy_roothub_notify_disconnect(struct usb_phy_roothub *phy_roothub, int port); 25 int usb_phy_roothub_power_on(struct usb_phy_roothub *phy_roothub); 26 void usb_phy_roothub_power_off(struct usb_phy_roothub *phy_roothub); 29 struct usb_phy_roothub *phy_roothub); 31 struct usb_phy_roothub *phy_roothub);
|
| H A D | hcd.c | 2285 hcd->phy_roothub); in hcd_bus_suspend() 2326 hcd->phy_roothub); in hcd_bus_resume() 2340 status = usb_phy_roothub_calibrate(hcd->phy_roothub); in hcd_bus_resume() 2371 usb_phy_roothub_suspend(hcd->self.sysdev, hcd->phy_roothub); in hcd_bus_resume() 2817 hcd->phy_roothub = usb_phy_roothub_alloc(hcd->self.sysdev); in usb_add_hcd() 2818 if (IS_ERR(hcd->phy_roothub)) in usb_add_hcd() 2819 return PTR_ERR(hcd->phy_roothub); in usb_add_hcd() 2821 hcd->phy_roothub = usb_phy_roothub_alloc_usb3_phy(hcd->self.sysdev); in usb_add_hcd() 2822 if (IS_ERR(hcd->phy_roothub)) in usb_add_hcd() 2823 return PTR_ERR(hcd->phy_roothub); in usb_add_hcd() [all …]
|
| H A D | hub.c | 662 usb_phy_roothub_notify_connect(hcd->phy_roothub, port1 - 1); in hub_ext_port_status() 664 usb_phy_roothub_notify_disconnect(hcd->phy_roothub, port1 - 1); in hub_ext_port_status()
|
| /linux/include/linux/usb/ |
| H A D | hcd.h | 100 struct usb_phy_roothub *phy_roothub; member
|