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 140 usb_phy_roothub_init(struct usb_phy_roothub * phy_roothub) usb_phy_roothub_init() argument 167 usb_phy_roothub_exit(struct usb_phy_roothub * phy_roothub) usb_phy_roothub_exit() argument 188 usb_phy_roothub_set_mode(struct usb_phy_roothub * phy_roothub,enum phy_mode mode) usb_phy_roothub_set_mode() argument 216 usb_phy_roothub_calibrate(struct usb_phy_roothub * phy_roothub) usb_phy_roothub_calibrate() argument 245 usb_phy_roothub_notify_connect(struct usb_phy_roothub * phy_roothub,int port) usb_phy_roothub_notify_connect() argument 274 usb_phy_roothub_notify_disconnect(struct usb_phy_roothub * phy_roothub,int port) usb_phy_roothub_notify_disconnect() argument 295 usb_phy_roothub_power_on(struct usb_phy_roothub * phy_roothub) usb_phy_roothub_power_on() argument 322 usb_phy_roothub_power_off(struct usb_phy_roothub * phy_roothub) usb_phy_roothub_power_off() argument 335 usb_phy_roothub_suspend(struct device * controller_dev,struct usb_phy_roothub * phy_roothub) usb_phy_roothub_suspend() argument 348 usb_phy_roothub_resume(struct device * controller_dev,struct usb_phy_roothub * phy_roothub) usb_phy_roothub_resume() argument [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); [all...] |
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() 2819 hcd->phy_roothub = usb_phy_roothub_alloc(hcd->self.sysdev); in usb_add_hcd() 2820 if (IS_ERR(hcd->phy_roothub)) in usb_add_hcd() 2821 return PTR_ERR(hcd->phy_roothub); in usb_add_hcd() 2823 hcd->phy_roothub = usb_phy_roothub_alloc_usb3_phy(hcd->self.sysdev); in usb_add_hcd() 2824 if (IS_ERR(hcd->phy_roothub)) in usb_add_hcd() 2825 return PTR_ERR(hcd->phy_roothub); in usb_add_hcd() [all...] |
H A D | hub.c | 666 usb_phy_roothub_notify_connect(hcd->phy_roothub, port1 - 1); in hub_ext_port_status() 668 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
|