/drivers/usb/core/ |
D | hcd.c | 498 tbuf [0] = (device_may_wakeup(&hcd->self.root_hub->dev) in rh_call_control() 506 device_set_wakeup_enable(&hcd->self.root_hub->dev, 0); in rh_call_control() 511 if (device_can_wakeup(&hcd->self.root_hub->dev) in rh_call_control() 513 device_set_wakeup_enable(&hcd->self.root_hub->dev, 1); in rh_call_control() 560 if (device_can_wakeup(&hcd->self.root_hub->dev)) in rh_call_control() 625 usb_hub_adjust_deviceremovable(hcd->self.root_hub, in rh_call_control() 898 bus->root_hub = NULL; in usb_bus_init() 984 struct usb_device *usb_dev = hcd->self.root_hub; in register_root_hub() 1050 pm_runtime_get_noresume(&bus->root_hub->dev); in usb_hcd_start_port_resume() 1072 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 | usb.c | 366 unsigned root_hub = 0; in usb_alloc_dev() local 415 root_hub = 1; in usb_alloc_dev() 452 if (root_hub) /* Root hub always ok [and always wired] */ in usb_alloc_dev()
|
D | hcd-pci.c | 96 udev = companion_hcd->self.root_hub; in ehci_pre_add() 118 udev = companion_hcd->self.root_hub; in ehci_post_add()
|
D | hub.c | 1481 if (hdev == hdev->bus->root_hub) { in hub_configure() 2138 && udev->parent == udev->bus->root_hub) { in usb_enumerate_device_otg() 2808 if (!usb_device_supports_ltm(hcd->self.root_hub) || in usb_disable_ltm() 2830 if (!usb_device_supports_ltm(hcd->self.root_hub) || in usb_enable_ltm()
|
D | driver.c | 1108 &udev->bus->hs_companion->root_hub->dev); in usb_resume_device()
|
/drivers/usb/host/ |
D | r8a66597-hcd.c | 371 r8a66597->root_hub[dev->root_port].dev = dev; in make_r8a66597_device() 441 if (r8a66597->root_hub[port].dev == dev) { in free_usb_address() 442 r8a66597->root_hub[port].dev = NULL; in free_usb_address() 1012 struct r8a66597_root_hub *rh = &r8a66597->root_hub[port]; in start_root_hub_sampling() 1056 struct r8a66597_root_hub *rh = &r8a66597->root_hub[port]; in r8a66597_usb_connect() 1071 struct r8a66597_device *dev = r8a66597->root_hub[port].dev; in r8a66597_usb_disconnect() 1702 struct r8a66597_root_hub *rh = &r8a66597->root_hub[port]; in r8a66597_root_hub_control() 2062 struct usb_device *root_hub, in update_usb_address_map() argument 2104 if (!bus->root_hub) in r8a66597_check_detect_child() 2110 collect_usb_address_map(bus->root_hub, now_map); in r8a66597_check_detect_child() [all …]
|
D | uhci-pci.c | 232 usb_root_hub_lost_power(hcd->self.root_hub); in uhci_pci_resume() 239 if (!uhci->RD_enable && hcd->self.root_hub->do_remote_wakeup) in uhci_pci_resume()
|
D | ohci-hub.c | 94 if (ohci_to_hcd(ohci)->self.root_hub->do_remote_wakeup || autostop) { in ohci_rh_suspend() 182 usb_root_hub_lost_power(hcd->self.root_hub); in ohci_rh_resume() 347 ->self.root_hub->dev)) { in ohci_root_hub_state_changes() 384 !ohci_to_hcd(ohci)->self.root_hub-> in ohci_root_hub_state_changes()
|
D | xhci-hub.c | 839 temp = usb_acpi_power_manageable(hcd->self.root_hub, in xhci_hub_control() 842 usb_acpi_set_power_state(hcd->self.root_hub, in xhci_hub_control() 949 temp = usb_acpi_power_manageable(hcd->self.root_hub, in xhci_hub_control() 952 usb_acpi_set_power_state(hcd->self.root_hub, in xhci_hub_control() 1045 if (hcd->self.root_hub->do_remote_wakeup) { in xhci_bus_suspend() 1081 if (hcd->self.root_hub->do_remote_wakeup) { in xhci_bus_suspend()
|
D | uhci-hcd.c | 286 struct usb_device *rhdev = uhci_to_hcd(uhci)->self.root_hub; in suspend_rh() 399 dev_dbg(&uhci_to_hcd(uhci)->self.root_hub->dev, in wakeup_rh() 737 else if (hcd->self.root_hub->do_remote_wakeup && in uhci_rh_suspend()
|
D | ehci-hub.c | 164 if (!ehci_to_hcd(ehci)->self.root_hub->do_remote_wakeup || do_wakeup) in ehci_adjust_port_wakeup_flags() 245 if (hcd->self.root_hub->do_remote_wakeup) { in ehci_bus_suspend() 276 if (hcd->self.root_hub->do_remote_wakeup) { in ehci_bus_suspend() 337 if (!hcd->self.root_hub->do_remote_wakeup) in ehci_bus_suspend()
|
D | ohci-pci.c | 29 device_init_wakeup(&hcd->self.root_hub->dev, 0); in broken_suspend()
|
D | ehci-fsl.c | 601 usb_root_hub_lost_power(hcd->self.root_hub); in ehci_fsl_drv_resume() 616 usb_root_hub_lost_power(hcd->self.root_hub); in ehci_fsl_drv_restore()
|
D | xhci-pci.c | 196 hcd_to_bus(xhci->shared_hcd)->root_hub->lpm_capable = 1; in xhci_pci_probe()
|
D | r8a66597.h | 116 struct r8a66597_root_hub root_hub[R8A66597_MAX_ROOT_HUB]; member
|
D | ehci-hcd.c | 1119 if (!hcd->self.root_hub->do_remote_wakeup) in ehci_resume() 1132 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() 892 if (tt && tt->hub != ehci_to_hcd(ehci)->self.root_hub) in qh_make()
|
D | sl811-hcd.c | 1790 if (!sl811->port1 || !device_can_wakeup(&hcd->self.root_hub->dev)) { in sl811h_resume() 1793 usb_root_hub_lost_power(hcd->self.root_hub); in sl811h_resume()
|
D | oxu210hp-hcd.c | 3389 if (device_may_wakeup(&hcd->self.root_hub->dev)) in oxu_hub_control() 3492 if (device_may_wakeup(&hcd->self.root_hub->dev)) in oxu_bus_suspend() 3511 if (!device_may_wakeup(&hcd->self.root_hub->dev)) in oxu_bus_suspend()
|
D | xhci.c | 1005 usb_root_hub_lost_power(xhci->main_hcd->self.root_hub); in xhci_resume() 1006 usb_root_hub_lost_power(xhci->shared_hcd->self.root_hub); in xhci_resume() 4662 hcd->self.root_hub->speed = USB_SPEED_HIGH; in xhci_gen_setup()
|
D | isp1362-hcd.c | 1861 hcd->self.root_hub->dev.power.power_state = PMSG_ON; in isp1362_bus_resume() 1905 hcd->self.root_hub->dev.power.power_state = PMSG_ON; in isp1362_bus_resume()
|
/drivers/staging/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/ |
D | dummy_hcd.c | 2216 dev_dbg(&hcd->self.root_hub->dev, "%s\n", __func__); in dummy_bus_suspend() 2231 dev_dbg(&hcd->self.root_hub->dev, "%s\n", __func__); in dummy_bus_resume() 2400 hcd->self.root_hub->speed = USB_SPEED_HIGH; in dummy_setup() 2405 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()
|