/linux-6.1.9/drivers/usb/core/ |
D | hcd.c | 545 tbuf[0] = (device_may_wakeup(&hcd->self.root_hub->dev) in rh_call_control() 553 device_set_wakeup_enable(&hcd->self.root_hub->dev, 0); in rh_call_control() 558 if (device_can_wakeup(&hcd->self.root_hub->dev) in rh_call_control() 560 device_set_wakeup_enable(&hcd->self.root_hub->dev, 1); in rh_call_control() 617 if (device_can_wakeup(&hcd->self.root_hub->dev)) in rh_call_control() 688 usb_hub_adjust_deviceremovable(hcd->self.root_hub, in rh_call_control() 900 bus->root_hub = NULL; in usb_bus_init() 985 struct usb_device *usb_dev = hcd->self.root_hub; in register_root_hub() 1052 pm_runtime_get_noresume(&bus->root_hub->dev); in usb_hcd_start_port_resume() 1074 pm_runtime_put_noidle(&bus->root_hub->dev); in usb_hcd_end_port_resume() [all …]
|
D | devices.c | 529 usb_lock_device(bus->root_hub); in usb_device_read() 531 bus->root_hub, bus, 0, 0, 0); in usb_device_read() 532 usb_unlock_device(bus->root_hub); in usb_device_read()
|
D | hcd-pci.c | 72 if (!companion_hcd || !companion_hcd->self.root_hub) in for_each_companion() 90 udev = companion_hcd->self.root_hub; in ehci_pre_add() 112 udev = companion_hcd->self.root_hub; in ehci_post_add()
|
D | usb.c | 579 unsigned root_hub = 0; in usb_alloc_dev() local 629 root_hub = 1; in usb_alloc_dev() 675 if (!root_hub) in usb_alloc_dev()
|
D | port.c | 586 peer_hdev = peer_hcd->self.root_hub; in find_and_link_peer()
|
D | driver.c | 1280 &udev->bus->hs_companion->root_hub->dev); in usb_resume_device() 1930 if (w && udev->parent == udev->bus->root_hub && in autosuspend_check()
|
/linux-6.1.9/drivers/usb/host/ |
D | uhci-pci.c | 240 usb_root_hub_lost_power(hcd->self.root_hub); in uhci_pci_resume() 247 if (!uhci->RD_enable && hcd->self.root_hub->do_remote_wakeup) in uhci_pci_resume()
|
D | r8a66597-hcd.c | 357 r8a66597->root_hub[dev->root_port].dev = dev; in make_r8a66597_device() 427 if (r8a66597->root_hub[port].dev == dev) { in free_usb_address() 428 r8a66597->root_hub[port].dev = NULL; in free_usb_address() 996 struct r8a66597_root_hub *rh = &r8a66597->root_hub[port]; in start_root_hub_sampling() 1040 struct r8a66597_root_hub *rh = &r8a66597->root_hub[port]; in r8a66597_usb_connect() 1055 struct r8a66597_device *dev = r8a66597->root_hub[port].dev; in r8a66597_usb_disconnect() 1686 struct r8a66597_root_hub *rh = &r8a66597->root_hub[port]; in r8a66597_root_hub_control() 2052 struct usb_device *root_hub, in update_usb_address_map() argument 2095 if (bus && bus->root_hub) { in r8a66597_check_detect_child() 2096 collect_usb_address_map(bus->root_hub, now_map); in r8a66597_check_detect_child() [all …]
|
D | ohci-hub.c | 116 if (ohci_to_hcd(ohci)->self.root_hub->do_remote_wakeup || autostop) { in ohci_rh_suspend() 203 usb_root_hub_lost_power(hcd->self.root_hub); in ohci_rh_resume() 374 ->self.root_hub->dev)) { in ohci_root_hub_state_changes() 411 !ohci_to_hcd(ohci)->self.root_hub-> in ohci_root_hub_state_changes()
|
D | ehci-hub.c | 27 udev->bus->root_hub->speed < USB_SPEED_HIGH; in persist_enabled_on_companion() 157 if (!ehci_to_hcd(ehci)->self.root_hub->do_remote_wakeup || do_wakeup) in ehci_adjust_port_wakeup_flags() 238 if (hcd->self.root_hub->do_remote_wakeup) { in ehci_bus_suspend() 270 if (hcd->self.root_hub->do_remote_wakeup) { in ehci_bus_suspend() 359 if (!hcd->self.root_hub->do_remote_wakeup) in ehci_bus_suspend()
|
D | uhci-hcd.c | 294 struct usb_device *rhdev = uhci_to_hcd(uhci)->self.root_hub; in suspend_rh() 414 dev_dbg(&uhci_to_hcd(uhci)->self.root_hub->dev, in wakeup_rh() 740 else if (hcd->self.root_hub->do_remote_wakeup && in uhci_rh_suspend()
|
D | ohci-pci.c | 37 device_init_wakeup(&hcd->self.root_hub->dev, 0); in broken_suspend()
|
D | ehci-fsl.c | 613 usb_root_hub_lost_power(hcd->self.root_hub); in ehci_fsl_drv_resume() 628 usb_root_hub_lost_power(hcd->self.root_hub); in ehci_fsl_drv_restore()
|
D | r8a66597.h | 111 struct r8a66597_root_hub root_hub[R8A66597_MAX_ROOT_HUB]; member
|
D | xhci.c | 1205 usb_root_hub_lost_power(xhci->main_hcd->self.root_hub); in xhci_resume() 1207 usb_root_hub_lost_power(xhci->shared_hcd->self.root_hub); in xhci_resume() 5248 hcd->self.root_hub->speed = USB_SPEED_HIGH; in xhci_hcd_init_usb2_data() 5278 hcd->self.root_hub->speed = USB_SPEED_SUPER_PLUS; in xhci_hcd_init_usb3_data() 5279 hcd->self.root_hub->rx_lanes = 2; in xhci_hcd_init_usb3_data() 5280 hcd->self.root_hub->tx_lanes = 2; in xhci_hcd_init_usb3_data() 5281 hcd->self.root_hub->ssp_rate = USB_SSP_GEN_2x2; in xhci_hcd_init_usb3_data() 5285 hcd->self.root_hub->speed = USB_SPEED_SUPER_PLUS; in xhci_hcd_init_usb3_data() 5286 hcd->self.root_hub->ssp_rate = USB_SSP_GEN_2x1; in xhci_hcd_init_usb3_data()
|
D | ehci-hcd.c | 1195 if (!hcd->self.root_hub->do_remote_wakeup) in ehci_resume() 1208 usb_root_hub_lost_power(hcd->self.root_hub); in ehci_resume()
|
D | xhci-hub.c | 682 temp = usb_acpi_power_manageable(hcd->self.root_hub, in xhci_set_port_power() 685 usb_acpi_set_power_state(hcd->self.root_hub, in xhci_set_port_power() 1712 wake_enabled = hcd->self.root_hub->do_remote_wakeup; in xhci_bus_suspend()
|
D | ehci-q.c | 176 ehci_to_hcd(ehci)->self.root_hub) { in ehci_clear_tt_buffer() 903 if (tt && tt->hub != ehci_to_hcd(ehci)->self.root_hub) in qh_make()
|
/linux-6.1.9/drivers/usb/usbip/ |
D | vhci_hcd.c | 1152 hcd->self.root_hub->speed = USB_SPEED_HIGH; in vhci_setup() 1157 hcd->self.root_hub->speed = USB_SPEED_SUPER; in vhci_setup() 1250 dev_err_ratelimited(&hcd->self.root_hub->dev, "Not yet implemented\n"); in vhci_get_frame_number() 1262 dev_dbg(&hcd->self.root_hub->dev, "%s\n", __func__); in vhci_bus_suspend() 1277 dev_dbg(&hcd->self.root_hub->dev, "%s\n", __func__); in vhci_bus_resume() 1300 dev_dbg(&hcd->self.root_hub->dev, "vhci_alloc_streams not implemented\n"); in vhci_alloc_streams() 1309 dev_dbg(&hcd->self.root_hub->dev, "vhci_free_streams not implemented\n"); in vhci_free_streams()
|
/linux-6.1.9/drivers/usb/misc/ |
D | ehset.c | 145 if (hub_udev != dev->bus->root_hub) { in ehset_probe()
|
/linux-6.1.9/drivers/staging/greybus/ |
D | usb.c | 73 if (bus->root_hub) in hcd_start()
|
/linux-6.1.9/drivers/usb/common/ |
D | usb-otg-fsm.c | 132 udev = usb_hub_find_child(fsm->otg->host->root_hub, 1); in otg_hnp_polling_work()
|
/linux-6.1.9/drivers/usb/gadget/udc/ |
D | dummy_hcd.c | 2367 dev_dbg(&hcd->self.root_hub->dev, "%s\n", __func__); in dummy_bus_suspend() 2382 dev_dbg(&hcd->self.root_hub->dev, "%s\n", __func__); in dummy_bus_resume() 2543 hcd->self.root_hub->speed = USB_SPEED_HIGH; in dummy_setup() 2548 hcd->self.root_hub->speed = USB_SPEED_SUPER; in dummy_setup()
|
/linux-6.1.9/drivers/usb/dwc2/ |
D | hcd_intr.c | 71 struct usb_device *root_hub = dwc2_hsotg_to_hcd(hsotg)->self.root_hub; in dwc2_hc_handle_tt_clear() local 93 if (usb_urb->dev->tt->hub == root_hub) in dwc2_hc_handle_tt_clear()
|
/linux-6.1.9/drivers/usb/chipidea/ |
D | otg_fsm.c | 526 udev = usb_hub_find_child(fsm->otg->host->root_hub, 1); in ci_otg_loc_sof()
|