/drivers/usb/core/ |
D | hcd.c | 531 tbuf[0] = (device_may_wakeup(&hcd->self.root_hub->dev) in rh_call_control() 539 device_set_wakeup_enable(&hcd->self.root_hub->dev, 0); in rh_call_control() 544 if (device_can_wakeup(&hcd->self.root_hub->dev) in rh_call_control() 546 device_set_wakeup_enable(&hcd->self.root_hub->dev, 1); in rh_call_control() 597 if (device_can_wakeup(&hcd->self.root_hub->dev)) in rh_call_control() 662 usb_hub_adjust_deviceremovable(hcd->self.root_hub, in rh_call_control() 916 bus->root_hub = NULL; in usb_bus_init() 1007 struct usb_device *usb_dev = hcd->self.root_hub; in register_root_hub() 1073 pm_runtime_get_noresume(&bus->root_hub->dev); in usb_hcd_start_port_resume() 1095 pm_runtime_put_noidle(&bus->root_hub->dev); in usb_hcd_end_port_resume() [all …]
|
D | devices.c | 633 usb_lock_device(bus->root_hub); in usb_device_read() 635 bus->root_hub, bus, 0, 0, 0); in usb_device_read() 636 usb_unlock_device(bus->root_hub); in usb_device_read()
|
D | hcd-pci.c | 87 if (!companion_hcd || !companion_hcd->self.root_hub) in for_each_companion() 105 udev = companion_hcd->self.root_hub; in ehci_pre_add() 127 udev = companion_hcd->self.root_hub; in ehci_post_add()
|
D | usb.c | 410 unsigned root_hub = 0; in usb_alloc_dev() local 459 root_hub = 1; in usb_alloc_dev() 496 if (root_hub) /* Root hub always ok [and always wired] */ in usb_alloc_dev()
|
D | port.c | 372 peer_hdev = peer_hcd->self.root_hub; in find_and_link_peer()
|
D | driver.c | 1174 &udev->bus->hs_companion->root_hub->dev); in usb_resume_device() 1806 if (w && udev->parent == udev->bus->root_hub && in autosuspend_check()
|
D | hub.c | 1502 if (hdev == hdev->bus->root_hub) { in hub_configure() 2226 && udev->parent == udev->bus->root_hub) { in usb_enumerate_device_otg() 2926 if (!usb_device_supports_ltm(hcd->self.root_hub) || in usb_disable_ltm() 2948 if (!usb_device_supports_ltm(hcd->self.root_hub) || in usb_enable_ltm()
|
/drivers/usb/host/ |
D | r8a66597-hcd.c | 370 r8a66597->root_hub[dev->root_port].dev = dev; in make_r8a66597_device() 440 if (r8a66597->root_hub[port].dev == dev) { in free_usb_address() 441 r8a66597->root_hub[port].dev = NULL; in free_usb_address() 1011 struct r8a66597_root_hub *rh = &r8a66597->root_hub[port]; in start_root_hub_sampling() 1055 struct r8a66597_root_hub *rh = &r8a66597->root_hub[port]; in r8a66597_usb_connect() 1070 struct r8a66597_device *dev = r8a66597->root_hub[port].dev; in r8a66597_usb_disconnect() 1701 struct r8a66597_root_hub *rh = &r8a66597->root_hub[port]; in r8a66597_root_hub_control() 2063 struct usb_device *root_hub, in update_usb_address_map() argument 2105 if (!bus->root_hub) in r8a66597_check_detect_child() 2111 collect_usb_address_map(bus->root_hub, now_map); in r8a66597_check_detect_child() [all …]
|
D | uhci-pci.c | 239 usb_root_hub_lost_power(hcd->self.root_hub); in uhci_pci_resume() 246 if (!uhci->RD_enable && hcd->self.root_hub->do_remote_wakeup) in uhci_pci_resume()
|
D | ohci-hub.c | 112 if (ohci_to_hcd(ohci)->self.root_hub->do_remote_wakeup || autostop) { in ohci_rh_suspend() 199 usb_root_hub_lost_power(hcd->self.root_hub); in ohci_rh_resume() 368 ->self.root_hub->dev)) { in ohci_root_hub_state_changes() 405 !ohci_to_hcd(ohci)->self.root_hub-> in ohci_root_hub_state_changes()
|
D | ehci-hub.c | 39 udev->bus->root_hub->speed < USB_SPEED_HIGH; in persist_enabled_on_companion() 171 if (!ehci_to_hcd(ehci)->self.root_hub->do_remote_wakeup || do_wakeup) in ehci_adjust_port_wakeup_flags() 251 if (hcd->self.root_hub->do_remote_wakeup) { in ehci_bus_suspend() 283 if (hcd->self.root_hub->do_remote_wakeup) { in ehci_bus_suspend() 359 if (!hcd->self.root_hub->do_remote_wakeup) in ehci_bus_suspend() 803 udev = usb_hub_find_child(hcd->self.root_hub, port); in ehset_single_step_set_feature()
|
D | xhci-hub.c | 977 temp = usb_acpi_power_manageable(hcd->self.root_hub, in xhci_hub_control() 980 usb_acpi_set_power_state(hcd->self.root_hub, in xhci_hub_control() 1089 temp = usb_acpi_power_manageable(hcd->self.root_hub, in xhci_hub_control() 1092 usb_acpi_set_power_state(hcd->self.root_hub, in xhci_hub_control() 1185 if (hcd->self.root_hub->do_remote_wakeup) { in xhci_bus_suspend() 1221 if (hcd->self.root_hub->do_remote_wakeup) { in xhci_bus_suspend()
|
D | uhci-hcd.c | 289 struct usb_device *rhdev = uhci_to_hcd(uhci)->self.root_hub; in suspend_rh() 402 dev_dbg(&uhci_to_hcd(uhci)->self.root_hub->dev, in wakeup_rh() 739 else if (hcd->self.root_hub->do_remote_wakeup && in uhci_rh_suspend()
|
D | ohci-pci.c | 36 device_init_wakeup(&hcd->self.root_hub->dev, 0); in broken_suspend()
|
D | ehci-fsl.c | 584 usb_root_hub_lost_power(hcd->self.root_hub); in ehci_fsl_drv_resume() 599 usb_root_hub_lost_power(hcd->self.root_hub); in ehci_fsl_drv_restore()
|
D | r8a66597.h | 116 struct r8a66597_root_hub root_hub[R8A66597_MAX_ROOT_HUB]; member
|
D | ehci-hcd.c | 1136 if (!hcd->self.root_hub->do_remote_wakeup) in ehci_resume() 1149 usb_root_hub_lost_power(hcd->self.root_hub); in ehci_resume()
|
D | ehci-q.c | 180 ehci_to_hcd(ehci)->self.root_hub) { in ehci_clear_tt_buffer() 897 if (tt && tt->hub != ehci_to_hcd(ehci)->self.root_hub) in qh_make()
|
D | sl811-hcd.c | 1788 if (!sl811->port1 || !device_can_wakeup(&hcd->self.root_hub->dev)) { in sl811h_resume() 1791 usb_root_hub_lost_power(hcd->self.root_hub); in sl811h_resume()
|
D | hwa-hc.c | 168 pm_runtime_get_noresume(&usb_hcd->self.root_hub->dev); in hwahc_op_start()
|
D | oxu210hp-hcd.c | 3393 if (device_may_wakeup(&hcd->self.root_hub->dev)) in oxu_hub_control() 3496 if (device_may_wakeup(&hcd->self.root_hub->dev)) in oxu_bus_suspend() 3515 if (!device_may_wakeup(&hcd->self.root_hub->dev)) in oxu_bus_suspend()
|
/drivers/usb/misc/ |
D | ehset.c | 106 if (hub_udev != dev->bus->root_hub) { in ehset_probe()
|
/drivers/usb/usbip/ |
D | vhci_hcd.c | 942 dev_dbg(&hcd->self.root_hub->dev, "%s\n", __func__); in vhci_bus_suspend() 956 dev_dbg(&hcd->self.root_hub->dev, "%s\n", __func__); in vhci_bus_resume()
|
/drivers/usb/gadget/udc/ |
D | dummy_hcd.c | 2231 dev_dbg(&hcd->self.root_hub->dev, "%s\n", __func__); in dummy_bus_suspend() 2246 dev_dbg(&hcd->self.root_hub->dev, "%s\n", __func__); in dummy_bus_resume() 2415 hcd->self.root_hub->speed = USB_SPEED_HIGH; in dummy_setup() 2420 hcd->self.root_hub->speed = USB_SPEED_SUPER; in dummy_setup()
|
/drivers/usb/renesas_usbhs/ |
D | mod_host.c | 471 return hcd->self.root_hub == usbv->parent; in usbhsh_connected_to_rhdev()
|