Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/usb/core/
Dhcd.c530 tbuf[0] = (device_may_wakeup(&hcd->self.root_hub->dev) in rh_call_control()
538 device_set_wakeup_enable(&hcd->self.root_hub->dev, 0); in rh_call_control()
543 if (device_can_wakeup(&hcd->self.root_hub->dev) in rh_call_control()
545 device_set_wakeup_enable(&hcd->self.root_hub->dev, 1); in rh_call_control()
598 if (device_can_wakeup(&hcd->self.root_hub->dev)) in rh_call_control()
663 usb_hub_adjust_deviceremovable(hcd->self.root_hub, in rh_call_control()
964 bus->root_hub = NULL; in usb_bus_init()
1055 struct usb_device *usb_dev = hcd->self.root_hub; in register_root_hub()
1124 pm_runtime_get_noresume(&bus->root_hub->dev); in usb_hcd_start_port_resume()
1146 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.c1181 &udev->bus->hs_companion->root_hub->dev); in usb_resume_device()
1806 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()
2976 if (!usb_device_supports_ltm(hcd->self.root_hub) || in usb_disable_ltm()
2998 if (!usb_device_supports_ltm(hcd->self.root_hub) || in usb_enable_ltm()
/linux-4.4.14/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 …]
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()
250 if (hcd->self.root_hub->do_remote_wakeup) { in ehci_bus_suspend()
282 if (hcd->self.root_hub->do_remote_wakeup) { in ehci_bus_suspend()
358 if (!hcd->self.root_hub->do_remote_wakeup) in ehci_bus_suspend()
802 udev = usb_hub_find_child(hcd->self.root_hub, port); in ehset_single_step_set_feature()
Dxhci-hub.c1081 temp = usb_acpi_power_manageable(hcd->self.root_hub, in xhci_hub_control()
1084 usb_acpi_set_power_state(hcd->self.root_hub, in xhci_hub_control()
1193 temp = usb_acpi_power_manageable(hcd->self.root_hub, in xhci_hub_control()
1196 usb_acpi_set_power_state(hcd->self.root_hub, in xhci_hub_control()
1289 if (hcd->self.root_hub->do_remote_wakeup) { in xhci_bus_suspend()
1325 if (hcd->self.root_hub->do_remote_wakeup) { in xhci_bus_suspend()
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.c577 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()
Dr8a66597.h116 struct r8a66597_root_hub root_hub[R8A66597_MAX_ROOT_HUB]; member
Dehci-hcd.c1142 if (!hcd->self.root_hub->do_remote_wakeup) in ehci_resume()
1155 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.c3386 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()
Dxhci.c1037 usb_root_hub_lost_power(xhci->main_hcd->self.root_hub); in xhci_resume()
1038 usb_root_hub_lost_power(xhci->shared_hcd->self.root_hub); in xhci_resume()
4874 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.c1422 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()
Dfotg210-hcd.c2152 fotg210_to_hcd(fotg210)->self.root_hub) { in fotg210_clear_tt_buffer()
2862 if (tt && tt->hub != fotg210_to_hcd(fotg210)->self.root_hub) in qh_make()
Dxhci-ring.c1617 usb_wakeup_notification(hcd->self.root_hub, in handle_port_status()
/linux-4.4.14/drivers/usb/misc/
Dehset.c106 if (hub_udev != dev->bus->root_hub) { in ehset_probe()
/linux-4.4.14/drivers/usb/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()
/linux-4.4.14/drivers/usb/gadget/udc/
Ddummy_hcd.c2293 dev_dbg(&hcd->self.root_hub->dev, "%s\n", __func__); in dummy_bus_suspend()
2308 dev_dbg(&hcd->self.root_hub->dev, "%s\n", __func__); in dummy_bus_resume()
2476 hcd->self.root_hub->speed = USB_SPEED_HIGH; in dummy_setup()
2481 hcd->self.root_hub->speed = USB_SPEED_SUPER; in dummy_setup()
/linux-4.4.14/include/linux/
Dusb.h376 struct usb_device *root_hub; /* Root hub */ member
/linux-4.4.14/drivers/usb/renesas_usbhs/
Dmod_host.c471 return hcd->self.root_hub == usbv->parent; in usbhsh_connected_to_rhdev()
/linux-4.4.14/Documentation/usb/
Dproc_usb_info.txt358 | PC/root_hub (12)| Dev# = 1
/linux-4.4.14/drivers/usb/musb/
Dmusb_host.c2325 if (parent != hcd->self.root_hub) { in musb_urb_enqueue()
/linux-4.4.14/drivers/usb/dwc2/
Dhcd.c2342 if (bus->root_hub) { in _dwc2_hcd_start()