Home
last modified time | relevance | path

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

12

/linux/drivers/usb/host/
H A Duhci-pci.c243 usb_root_hub_lost_power(hcd->self.root_hub); in uhci_pci_resume()
250 if (!uhci->RD_enable && hcd->self.root_hub->do_remote_wakeup) in uhci_pci_resume()
H A Dr8a66597-hcd.c357 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 …]
H A Dohci-hub.c116 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()
H A Dehci-hub.c27 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()
H A Duhci-hcd.c294 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()
739 else if (hcd->self.root_hub->do_remote_wakeup && in uhci_rh_suspend()
H A Dohci-pci.c37 device_init_wakeup(&hcd->self.root_hub->dev, 0); in broken_suspend()
H A Dehci-fsl.c603 usb_root_hub_lost_power(hcd->self.root_hub); in ehci_fsl_drv_resume()
618 usb_root_hub_lost_power(hcd->self.root_hub); in ehci_fsl_drv_restore()
H A Dr8a66597.h111 struct r8a66597_root_hub root_hub[R8A66597_MAX_ROOT_HUB]; member
H A Dxhci-sideband.c297 struct usb_device *udev = hcd->self.root_hub; in xhci_sideband_check()
H A Dxhci.c1160 usb_root_hub_lost_power(xhci->main_hcd->self.root_hub); in xhci_resume()
1162 usb_root_hub_lost_power(xhci->shared_hcd->self.root_hub); in xhci_resume()
5379 hcd->self.root_hub->speed = USB_SPEED_HIGH; in xhci_hcd_init_usb2_data()
5409 hcd->self.root_hub->speed = USB_SPEED_SUPER_PLUS; in xhci_hcd_init_usb3_data()
5410 hcd->self.root_hub->rx_lanes = 2; in xhci_hcd_init_usb3_data()
5411 hcd->self.root_hub->tx_lanes = 2; in xhci_hcd_init_usb3_data()
5412 hcd->self.root_hub->ssp_rate = USB_SSP_GEN_2x2; in xhci_hcd_init_usb3_data()
5416 hcd->self.root_hub->speed = USB_SPEED_SUPER_PLUS; in xhci_hcd_init_usb3_data()
5417 hcd->self.root_hub->ssp_rate = USB_SSP_GEN_2x1; in xhci_hcd_init_usb3_data()
H A Dsl811-hcd.c1769 if (!sl811->port1 || !device_can_wakeup(&hcd->self.root_hub->dev)) { in sl811h_resume()
1772 usb_root_hub_lost_power(hcd->self.root_hub); in sl811h_resume()
/linux/drivers/usb/core/
H A Ddevices.c528 usb_lock_device(bus->root_hub); in usb_device_read()
530 bus->root_hub, bus, 0, 0, 0); in usb_device_read()
531 usb_unlock_device(bus->root_hub); in usb_device_read()
H A Dhcd-pci.c72 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()
H A Ddriver.c1295 &udev->bus->hs_companion->root_hub->dev); in usb_resume_device()
1978 if (w && udev->parent == udev->bus->root_hub && in autosuspend_check()
H A Dport.c681 peer_hdev = peer_hcd->self.root_hub; in find_and_link_peer()
H A Dhub.c1657 if (hdev == hdev->bus->root_hub) { in hub_configure()
2452 && udev->parent == udev->bus->root_hub) { in usb_enumerate_device_otg()
3362 if (!usb_device_supports_ltm(hcd->self.root_hub) || in usb_disable_ltm()
3384 if (!usb_device_supports_ltm(hcd->self.root_hub) || in usb_enable_ltm()
/linux/drivers/usb/usbip/
H A Dvhci_hcd.c1183 hcd->self.root_hub->speed = USB_SPEED_HIGH; in vhci_setup()
1188 hcd->self.root_hub->speed = USB_SPEED_SUPER_PLUS; in vhci_setup()
1277 dev_err_ratelimited(&hcd->self.root_hub->dev, "Not yet implemented\n"); in vhci_get_frame_number()
1289 dev_dbg(&hcd->self.root_hub->dev, "%s\n", __func__); in vhci_bus_suspend()
1304 dev_dbg(&hcd->self.root_hub->dev, "%s\n", __func__); in vhci_bus_resume()
1327 dev_dbg(&hcd->self.root_hub->dev, "vhci_alloc_streams not implemented\n"); in vhci_alloc_streams()
1336 dev_dbg(&hcd->self.root_hub->dev, "vhci_free_streams not implemented\n"); in vhci_free_streams()
/linux/drivers/usb/misc/
H A Dehset.c145 if (hub_udev != dev->bus->root_hub) { in ehset_probe()
/linux/drivers/staging/greybus/
H A Dusb.c73 if (bus->root_hub) in hcd_start()
/linux/drivers/usb/common/
H A Dusb-otg-fsm.c132 udev = usb_hub_find_child(fsm->otg->host->root_hub, 1); in otg_hnp_polling_work()
/linux/drivers/usb/gadget/udc/
H A Ddummy_hcd.c2407 dev_dbg(&hcd->self.root_hub->dev, "%s\n", __func__); in dummy_bus_suspend()
2422 dev_dbg(&hcd->self.root_hub->dev, "%s\n", __func__); in dummy_bus_resume()
2589 hcd->self.root_hub->speed = USB_SPEED_HIGH; in dummy_setup()
2594 hcd->self.root_hub->speed = USB_SPEED_SUPER; in dummy_setup()
/linux/drivers/usb/chipidea/
H A Dotg_fsm.c525 udev = usb_hub_find_child(fsm->otg->host->root_hub, 1); in ci_otg_loc_sof()
/linux/drivers/usb/dwc3/
H A Ddwc3-qcom-legacy.c332 udev = usb_hub_find_child(hcd->self.root_hub, port_index + 1); in dwc3_qcom_read_usb2_speed()
/linux/include/linux/
H A Dusb.h475 struct usb_device *root_hub; /* Root hub */ member
/linux/drivers/usb/dwc2/
H A Dhcd.c4281 if (bus->root_hub) { in _dwc2_hcd_start()
5756 struct usb_device *root_hub = dwc2_hsotg_to_hcd(dwc2)->self.root_hub; in dwc2_host_can_poweroff_phy() local
5766 if (usb_wakeup_enabled_descendants(root_hub)) in dwc2_host_can_poweroff_phy()

12