Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/usb/core/
Dhcd.c529 tbuf[0] = (device_may_wakeup(&hcd->self.root_hub->dev) in rh_call_control()
537 device_set_wakeup_enable(&hcd->self.root_hub->dev, 0); in rh_call_control()
542 if (device_can_wakeup(&hcd->self.root_hub->dev) in rh_call_control()
544 device_set_wakeup_enable(&hcd->self.root_hub->dev, 1); in rh_call_control()
595 if (device_can_wakeup(&hcd->self.root_hub->dev)) in rh_call_control()
660 usb_hub_adjust_deviceremovable(hcd->self.root_hub, in rh_call_control()
913 bus->root_hub = NULL; in usb_bus_init()
1004 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 …]
Dhcd-pci.c87 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()
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.c424 unsigned root_hub = 0; in usb_alloc_dev() local
473 root_hub = 1; in usb_alloc_dev()
510 if (root_hub) /* Root hub always ok [and always wired] */ in usb_alloc_dev()
Dport.c372 peer_hdev = peer_hcd->self.root_hub; in find_and_link_peer()
Ddriver.c1174 &udev->bus->hs_companion->root_hub->dev); in usb_resume_device()
1799 if (w && udev->parent == udev->bus->root_hub && in autosuspend_check()
Dhub.c1541 if (hdev == hdev->bus->root_hub) { in hub_configure()
2259 && udev->parent == udev->bus->root_hub) { in usb_enumerate_device_otg()
2961 if (!usb_device_supports_ltm(hcd->self.root_hub) || in usb_disable_ltm()
2983 if (!usb_device_supports_ltm(hcd->self.root_hub) || in usb_enable_ltm()
/linux-4.1.27/drivers/usb/host/
Duhci-pci.c235 usb_root_hub_lost_power(hcd->self.root_hub); in uhci_pci_resume()
242 if (!uhci->RD_enable && hcd->self.root_hub->do_remote_wakeup) in uhci_pci_resume()
Dr8a66597-hcd.c370 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()
2061 struct usb_device *root_hub, in update_usb_address_map() argument
2103 if (!bus->root_hub) in r8a66597_check_detect_child()
2109 collect_usb_address_map(bus->root_hub, now_map); in r8a66597_check_detect_child()
[all …]
Dxhci-hub.c926 temp = usb_acpi_power_manageable(hcd->self.root_hub, in xhci_hub_control()
929 usb_acpi_set_power_state(hcd->self.root_hub, in xhci_hub_control()
1036 temp = usb_acpi_power_manageable(hcd->self.root_hub, in xhci_hub_control()
1039 usb_acpi_set_power_state(hcd->self.root_hub, in xhci_hub_control()
1132 if (hcd->self.root_hub->do_remote_wakeup) { in xhci_bus_suspend()
1168 if (hcd->self.root_hub->do_remote_wakeup) { in xhci_bus_suspend()
Dohci-hub.c112 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()
Dehci-hub.c39 udev->bus->root_hub->speed < USB_SPEED_HIGH; in persist_enabled_on_companion()
169 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()
Duhci-hcd.c289 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()
Dohci-pci.c36 device_init_wakeup(&hcd->self.root_hub->dev, 0); in broken_suspend()
Dehci-fsl.c578 usb_root_hub_lost_power(hcd->self.root_hub); in ehci_fsl_drv_resume()
593 usb_root_hub_lost_power(hcd->self.root_hub); in ehci_fsl_drv_restore()
Dr8a66597.h116 struct r8a66597_root_hub root_hub[R8A66597_MAX_ROOT_HUB]; member
Dehci-hcd.c1141 if (!hcd->self.root_hub->do_remote_wakeup) in ehci_resume()
1154 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()
897 if (tt && tt->hub != ehci_to_hcd(ehci)->self.root_hub) in qh_make()
Dsl811-hcd.c1785 if (!sl811->port1 || !device_can_wakeup(&hcd->self.root_hub->dev)) { in sl811h_resume()
1788 usb_root_hub_lost_power(hcd->self.root_hub); in sl811h_resume()
Dhwa-hc.c168 pm_runtime_get_noresume(&usb_hcd->self.root_hub->dev); in hwahc_op_start()
Doxu210hp-hcd.c3391 if (device_may_wakeup(&hcd->self.root_hub->dev)) in oxu_hub_control()
3494 if (device_may_wakeup(&hcd->self.root_hub->dev)) in oxu_bus_suspend()
3513 if (!device_may_wakeup(&hcd->self.root_hub->dev)) in oxu_bus_suspend()
Dxhci.c1047 usb_root_hub_lost_power(xhci->main_hcd->self.root_hub); in xhci_resume()
1048 usb_root_hub_lost_power(xhci->shared_hcd->self.root_hub); in xhci_resume()
4892 hcd->self.root_hub->speed = USB_SPEED_HIGH; in xhci_gen_setup()
Disp1362-hcd.c1859 hcd->self.root_hub->dev.power.power_state = PMSG_ON; in isp1362_bus_resume()
1903 hcd->self.root_hub->dev.power.power_state = PMSG_ON; in isp1362_bus_resume()
Disp116x-hcd.c1421 if (hcd->self.root_hub->do_remote_wakeup) in isp116x_bus_suspend()
Dmax3421-hcd.c1497 hcd->self.root_hub->speed = USB_SPEED_FULL; in max3421_reset()
Dehci-sched.c1106 ehci_to_hcd(ehci)->self.root_hub)) in iso_stream_init()
Dfusbh200-hcd.c2178 fusbh200_to_hcd(fusbh200)->self.root_hub) { in fusbh200_clear_tt_buffer()
2905 if (tt && tt->hub != fusbh200_to_hcd(fusbh200)->self.root_hub) in qh_make()
Dfotg210-hcd.c2226 fotg210_to_hcd(fotg210)->self.root_hub) { in fotg210_clear_tt_buffer()
2958 if (tt && tt->hub != fotg210_to_hcd(fotg210)->self.root_hub) in qh_make()
Dxhci-ring.c1616 usb_wakeup_notification(hcd->self.root_hub, in handle_port_status()
/linux-4.1.27/drivers/usb/misc/
Dehset.c106 if (hub_udev != dev->bus->root_hub) { in ehset_probe()
/linux-4.1.27/drivers/usb/usbip/
Dvhci_hcd.c940 dev_dbg(&hcd->self.root_hub->dev, "%s\n", __func__); in vhci_bus_suspend()
954 dev_dbg(&hcd->self.root_hub->dev, "%s\n", __func__); in vhci_bus_resume()
/linux-4.1.27/drivers/usb/gadget/udc/
Ddummy_hcd.c2214 dev_dbg(&hcd->self.root_hub->dev, "%s\n", __func__); in dummy_bus_suspend()
2229 dev_dbg(&hcd->self.root_hub->dev, "%s\n", __func__); in dummy_bus_resume()
2397 hcd->self.root_hub->speed = USB_SPEED_HIGH; in dummy_setup()
2402 hcd->self.root_hub->speed = USB_SPEED_SUPER; in dummy_setup()
/linux-4.1.27/include/linux/
Dusb.h373 struct usb_device *root_hub; /* Root hub */ member
/linux-4.1.27/drivers/usb/renesas_usbhs/
Dmod_host.c471 return hcd->self.root_hub == usbv->parent; in usbhsh_connected_to_rhdev()
/linux-4.1.27/Documentation/usb/
Dproc_usb_info.txt358 | PC/root_hub (12)| Dev# = 1
/linux-4.1.27/drivers/usb/musb/
Dmusb_host.c2206 if (parent != hcd->self.root_hub) { in musb_urb_enqueue()
/linux-4.1.27/drivers/usb/dwc2/
Dhcd.c2290 if (bus->root_hub) { in _dwc2_hcd_start()