Home
last modified time | relevance | path

Searched refs:root_hub (Results 1 – 25 of 30) sorted by relevance

12

/drivers/usb/core/
Dhcd.c498 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 …]
Ddevices.c633 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()
Dusb.c366 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()
Dhcd-pci.c96 udev = companion_hcd->self.root_hub; in ehci_pre_add()
118 udev = companion_hcd->self.root_hub; in ehci_post_add()
Dhub.c1481 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()
Ddriver.c1108 &udev->bus->hs_companion->root_hub->dev); in usb_resume_device()
/drivers/usb/host/
Dr8a66597-hcd.c371 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 …]
Duhci-pci.c232 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()
Dohci-hub.c94 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()
Dxhci-hub.c839 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()
Duhci-hcd.c286 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()
Dehci-hub.c164 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()
Dohci-pci.c29 device_init_wakeup(&hcd->self.root_hub->dev, 0); in broken_suspend()
Dehci-fsl.c601 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()
Dxhci-pci.c196 hcd_to_bus(xhci->shared_hcd)->root_hub->lpm_capable = 1; in xhci_pci_probe()
Dr8a66597.h116 struct r8a66597_root_hub root_hub[R8A66597_MAX_ROOT_HUB]; member
Dehci-hcd.c1119 if (!hcd->self.root_hub->do_remote_wakeup) in ehci_resume()
1132 usb_root_hub_lost_power(hcd->self.root_hub); in ehci_resume()
Dehci-q.c180 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()
Dsl811-hcd.c1790 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()
Doxu210hp-hcd.c3389 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()
Dxhci.c1005 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()
Disp1362-hcd.c1861 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/
Dvhci_hcd.c942 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/
Ddummy_hcd.c2216 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/
Dmod_host.c471 return hcd->self.root_hub == usbv->parent; in usbhsh_connected_to_rhdev()

12