Searched refs:phy_roothub (Results 1 – 4 of 4) sorted by relevance
51 struct usb_phy_roothub *phy_roothub; in usb_phy_roothub_alloc() local62 phy_roothub = devm_kzalloc(dev, sizeof(*phy_roothub), GFP_KERNEL); in usb_phy_roothub_alloc()63 if (!phy_roothub) in usb_phy_roothub_alloc()66 INIT_LIST_HEAD(&phy_roothub->list); in usb_phy_roothub_alloc()69 err = usb_phy_roothub_add_phy(dev, i, &phy_roothub->list); in usb_phy_roothub_alloc()74 return phy_roothub; in usb_phy_roothub_alloc()78 int usb_phy_roothub_init(struct usb_phy_roothub *phy_roothub) in usb_phy_roothub_init() argument84 if (!phy_roothub) in usb_phy_roothub_init()87 head = &phy_roothub->list; in usb_phy_roothub_init()105 int usb_phy_roothub_exit(struct usb_phy_roothub *phy_roothub) in usb_phy_roothub_exit() argument[all …]
16 int usb_phy_roothub_init(struct usb_phy_roothub *phy_roothub);17 int usb_phy_roothub_exit(struct usb_phy_roothub *phy_roothub);19 int usb_phy_roothub_set_mode(struct usb_phy_roothub *phy_roothub,21 int usb_phy_roothub_calibrate(struct usb_phy_roothub *phy_roothub);22 int usb_phy_roothub_power_on(struct usb_phy_roothub *phy_roothub);23 void usb_phy_roothub_power_off(struct usb_phy_roothub *phy_roothub);26 struct usb_phy_roothub *phy_roothub);28 struct usb_phy_roothub *phy_roothub);
2292 hcd->phy_roothub); in hcd_bus_suspend()2333 hcd->phy_roothub); in hcd_bus_resume()2347 status = usb_phy_roothub_calibrate(hcd->phy_roothub); in hcd_bus_resume()2378 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 retval = usb_phy_roothub_init(hcd->phy_roothub); in usb_add_hcd()2827 retval = usb_phy_roothub_set_mode(hcd->phy_roothub, in usb_add_hcd()2830 retval = usb_phy_roothub_set_mode(hcd->phy_roothub, in usb_add_hcd()[all …]
100 struct usb_phy_roothub *phy_roothub; member