/drivers/usb/core/ |
D | hcd.c | 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() [all …]
|
D | devices.c | 635 usb_lock_device(bus->root_hub); in usb_device_read() 637 bus->root_hub, bus, 0, 0, 0); in usb_device_read() 638 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 | 509 unsigned root_hub = 0; in usb_alloc_dev() local 558 root_hub = 1; in usb_alloc_dev() 595 if (root_hub) /* Root hub always ok [and always wired] */ in usb_alloc_dev()
|
D | port.c | 378 peer_hdev = peer_hcd->self.root_hub; in find_and_link_peer()
|
D | driver.c | 1176 &udev->bus->hs_companion->root_hub->dev); in usb_resume_device() 1814 if (w && udev->parent == udev->bus->root_hub && in autosuspend_check()
|
D | hub.c | 1507 if (hdev == hdev->bus->root_hub) { in hub_configure() 2231 && udev->parent == udev->bus->root_hub) { in usb_enumerate_device_otg() 2969 if (!usb_device_supports_ltm(hcd->self.root_hub) || in usb_disable_ltm() 2991 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() 2066 struct usb_device *root_hub, in update_usb_address_map() argument 2108 if (!bus->root_hub) in r8a66597_check_detect_child() 2114 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 | 38 udev->bus->root_hub->speed < USB_SPEED_HIGH; in persist_enabled_on_companion() 168 if (!ehci_to_hcd(ehci)->self.root_hub->do_remote_wakeup || do_wakeup) in ehci_adjust_port_wakeup_flags() 249 if (hcd->self.root_hub->do_remote_wakeup) { in ehci_bus_suspend() 281 if (hcd->self.root_hub->do_remote_wakeup) { in ehci_bus_suspend() 357 if (!hcd->self.root_hub->do_remote_wakeup) in ehci_bus_suspend() 801 udev = usb_hub_find_child(hcd->self.root_hub, port); in ehset_single_step_set_feature()
|
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 | xhci-hub.c | 1109 temp = usb_acpi_power_manageable(hcd->self.root_hub, in xhci_hub_control() 1112 usb_acpi_set_power_state(hcd->self.root_hub, in xhci_hub_control() 1221 temp = usb_acpi_power_manageable(hcd->self.root_hub, in xhci_hub_control() 1224 usb_acpi_set_power_state(hcd->self.root_hub, in xhci_hub_control() 1317 wake_enabled = hcd->self.root_hub->do_remote_wakeup; in xhci_bus_suspend()
|
D | ohci-pci.c | 36 device_init_wakeup(&hcd->self.root_hub->dev, 0); in broken_suspend()
|
D | ehci-fsl.c | 577 usb_root_hub_lost_power(hcd->self.root_hub); in ehci_fsl_drv_resume() 592 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 | 1155 if (!hcd->self.root_hub->do_remote_wakeup) in ehci_resume() 1168 usb_root_hub_lost_power(hcd->self.root_hub); in ehci_resume()
|
D | ehci-q.c | 184 ehci_to_hcd(ehci)->self.root_hub) { in ehci_clear_tt_buffer() 908 if (tt && tt->hub != ehci_to_hcd(ehci)->self.root_hub) in qh_make()
|
D | sl811-hcd.c | 1784 if (!sl811->port1 || !device_can_wakeup(&hcd->self.root_hub->dev)) { in sl811h_resume() 1787 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 | 3386 if (device_may_wakeup(&hcd->self.root_hub->dev)) in oxu_hub_control() 3489 if (device_may_wakeup(&hcd->self.root_hub->dev)) in oxu_bus_suspend() 3508 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 | 954 dev_dbg(&hcd->self.root_hub->dev, "%s\n", __func__); in vhci_bus_suspend() 969 dev_dbg(&hcd->self.root_hub->dev, "%s\n", __func__); in vhci_bus_resume()
|
/drivers/usb/gadget/udc/ |
D | dummy_hcd.c | 2338 dev_dbg(&hcd->self.root_hub->dev, "%s\n", __func__); in dummy_bus_suspend() 2353 dev_dbg(&hcd->self.root_hub->dev, "%s\n", __func__); in dummy_bus_resume() 2521 hcd->self.root_hub->speed = USB_SPEED_HIGH; in dummy_setup() 2526 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()
|