Lines Matching refs:root_hub
532 tbuf[0] = (device_may_wakeup(&hcd->self.root_hub->dev) in rh_call_control()
540 device_set_wakeup_enable(&hcd->self.root_hub->dev, 0); in rh_call_control()
545 if (device_can_wakeup(&hcd->self.root_hub->dev) in rh_call_control()
547 device_set_wakeup_enable(&hcd->self.root_hub->dev, 1); in rh_call_control()
600 if (device_can_wakeup(&hcd->self.root_hub->dev)) in rh_call_control()
665 usb_hub_adjust_deviceremovable(hcd->self.root_hub, in rh_call_control()
974 bus->root_hub = NULL; in usb_bus_init()
1065 struct usb_device *usb_dev = hcd->self.root_hub; in register_root_hub()
1134 pm_runtime_get_noresume(&bus->root_hub->dev); in usb_hcd_start_port_resume()
1156 pm_runtime_put_noidle(&bus->root_hub->dev); in usb_hcd_end_port_resume()
2343 struct usb_device *udev = hcd->self.root_hub; in hcd_resume_work()
2363 pm_wakeup_event(&hcd->self.root_hub->dev, 0); in usb_hcd_resume_root_hub()
2467 usb_set_device_state (hcd->self.root_hub, in usb_hc_died()
2469 usb_kick_hub_wq(hcd->self.root_hub); in usb_hc_died()
2479 usb_set_device_state(hcd->self.root_hub, in usb_hc_died()
2481 usb_kick_hub_wq(hcd->self.root_hub); in usb_hc_died()
2699 rhdev = hcd->self.root_hub; in usb_put_invalidate_rhdev()
2700 hcd->self.root_hub = NULL; in usb_put_invalidate_rhdev()
2803 hcd->self.root_hub = rhdev; in usb_add_hcd()
2852 && device_can_wakeup(&hcd->self.root_hub->dev)) in usb_add_hcd()
2951 struct usb_device *rhdev = hcd->self.root_hub; in usb_remove_hcd()