/kernel/linux/linux-6.6/drivers/usb/core/ |
H A D | hcd.c | 524 tbuf[0] = (device_may_wakeup(&hcd->self.root_hub->dev) in rh_call_control() 532 device_set_wakeup_enable(&hcd->self.root_hub->dev, 0); in rh_call_control() 537 if (device_can_wakeup(&hcd->self.root_hub->dev) in rh_call_control() 539 device_set_wakeup_enable(&hcd->self.root_hub->dev, 1); in rh_call_control() 592 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() 875 bus->root_hub = NULL; in usb_bus_init() 960 struct usb_device *usb_dev = hcd->self.root_hub; in register_root_hub() 1031 pm_runtime_get_noresume(&bus->root_hub->dev); in usb_hcd_start_port_resume() 1053 pm_runtime_put_noidle(&bus->root_hub in usb_hcd_end_port_resume() [all...] |
H A D | devices.c | 528 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 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()
|
/kernel/linux/linux-5.10/drivers/usb/core/ |
H A 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() 901 bus->root_hub = NULL; in usb_bus_init() 984 struct usb_device *usb_dev = hcd->self.root_hub; in register_root_hub() 1055 pm_runtime_get_noresume(&bus->root_hub->dev); in usb_hcd_start_port_resume() 1077 pm_runtime_put_noidle(&bus->root_hub in usb_hcd_end_port_resume() [all...] |
H A D | devices.c | 576 usb_lock_device(bus->root_hub); in usb_device_read() 578 bus->root_hub, bus, 0, 0, 0); in usb_device_read() 579 usb_unlock_device(bus->root_hub); in usb_device_read()
|
H A D | hcd-pci.c | 73 if (!companion_hcd || !companion_hcd->self.root_hub) in for_each_companion() 91 udev = companion_hcd->self.root_hub; in ehci_pre_add() 113 udev = companion_hcd->self.root_hub; in ehci_post_add()
|
H A D | usb.c | 655 unsigned root_hub = 0; in usb_alloc_dev() local 705 root_hub = 1; in usb_alloc_dev() 751 if (!root_hub) in usb_alloc_dev()
|
/kernel/linux/linux-5.10/drivers/usb/host/ |
H A 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() 2053 struct usb_device *root_hub, in update_usb_address_map() 2096 if (bus && bus->root_hub) { in r8a66597_check_detect_child() 2097 collect_usb_address_map(bus->root_hub, now_ma in r8a66597_check_detect_child() 2052 update_usb_address_map(struct r8a66597 *r8a66597, struct usb_device *root_hub, unsigned long *map) update_usb_address_map() argument [all...] |
H A D | uhci-pci.c | 242 usb_root_hub_lost_power(hcd->self.root_hub); in uhci_pci_resume() 249 if (!uhci->RD_enable && hcd->self.root_hub->do_remote_wakeup) in uhci_pci_resume()
|
H A D | ohci-hub.c | 116 if (ohci_to_hcd(ohci)->self.root_hub->do_remote_wakeup || autostop) { 203 usb_root_hub_lost_power(hcd->self.root_hub); 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 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() 811 udev = usb_hub_find_child(hcd->self.root_hub, port); in ehset_single_step_set_feature()
|
H A D | uhci-hcd.c | 294 struct usb_device *rhdev = uhci_to_hcd(uhci)->self.root_hub; 414 dev_dbg(&uhci_to_hcd(uhci)->self.root_hub->dev, 742 else if (hcd->self.root_hub->do_remote_wakeup && in uhci_rh_suspend()
|
H A D | ohci-pci.c | 37 device_init_wakeup(&hcd->self.root_hub->dev, 0); in broken_suspend()
|
/kernel/linux/linux-6.6/drivers/usb/host/ |
H A 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() 2095 if (bus && bus->root_hub) { in r8a66597_check_detect_child() 2096 collect_usb_address_map(bus->root_hub, now_ma in r8a66597_check_detect_child() 2051 update_usb_address_map(struct r8a66597 *r8a66597, struct usb_device *root_hub, unsigned long *map) update_usb_address_map() argument [all...] |
H A D | uhci-pci.c | 243 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 D | ohci-hub.c | 116 if (ohci_to_hcd(ohci)->self.root_hub->do_remote_wakeup || autostop) { 203 usb_root_hub_lost_power(hcd->self.root_hub); 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 D | uhci-hcd.c | 294 struct usb_device *rhdev = uhci_to_hcd(uhci)->self.root_hub; 414 dev_dbg(&uhci_to_hcd(uhci)->self.root_hub->dev, 740 else if (hcd->self.root_hub->do_remote_wakeup && in uhci_rh_suspend()
|
H A 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()
|
H A D | ohci-pci.c | 37 device_init_wakeup(&hcd->self.root_hub->dev, 0); in broken_suspend()
|
/kernel/linux/linux-5.10/drivers/usb/usbip/ |
H A D | vhci_hcd.c | 1183 hcd->self.root_hub->speed = USB_SPEED_HIGH; in vhci_setup() 1188 hcd->self.root_hub->speed = USB_SPEED_SUPER; in vhci_setup() 1281 dev_err_ratelimited(&hcd->self.root_hub->dev, "Not yet implemented\n"); in vhci_get_frame_number() 1293 dev_dbg(&hcd->self.root_hub->dev, "%s\n", __func__); in vhci_bus_suspend() 1308 dev_dbg(&hcd->self.root_hub->dev, "%s\n", __func__); in vhci_bus_resume() 1331 dev_dbg(&hcd->self.root_hub->dev, "vhci_alloc_streams not implemented\n"); in vhci_alloc_streams() 1340 dev_dbg(&hcd->self.root_hub->dev, "vhci_free_streams not implemented\n"); in vhci_free_streams()
|
/kernel/linux/linux-6.6/drivers/usb/usbip/ |
H A 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()
|
/kernel/linux/linux-5.10/drivers/usb/misc/ |
H A D | ehset.c | 98 if (hub_udev != dev->bus->root_hub) { in ehset_probe()
|
/kernel/linux/linux-6.6/drivers/usb/misc/ |
H A D | ehset.c | 145 if (hub_udev != dev->bus->root_hub) { in ehset_probe()
|
/kernel/linux/linux-5.10/drivers/staging/greybus/ |
H A D | usb.c | 73 if (bus->root_hub) in hcd_start()
|
/kernel/linux/linux-6.6/drivers/staging/greybus/ |
H A D | usb.c | 73 if (bus->root_hub) in hcd_start()
|