Home
last modified time | relevance | path

Searched refs:parent_hub (Results 1 – 7 of 7) sorted by relevance

/third_party/FreeBSD/sys/dev/usb/
Dusb_hub.c427 if (child->parent_hub == NULL) { in uhub_explore_handle_re_enumerate()
451 if (child->parent_hub == NULL) { in uhub_explore_handle_re_enumerate()
457 err = usbd_req_clear_port_feature(child->parent_hub, in uhub_explore_handle_re_enumerate()
729 if (udev->parent_hub == NULL) in uhub_reattach_port()
820 if (udev->parent_hub == NULL) { in uhub_reattach_port()
867 if (udev->parent_hub != NULL) { in uhub_reattach_port()
869 mode = udev->parent_hub->flags.usb_mode; in uhub_reattach_port()
1265 struct usb_device *parent_hub; in uhub_attach() local
1282 parent_hub = udev->parent_hub; in uhub_attach()
1295 parent_hub, in uhub_attach()
[all …]
Dusb_request.c313 else if (udev->parent_hub == NULL) in usbd_get_hr_func()
1983 struct usb_device *parent_hub; in usbd_req_re_enumerate() local
1993 parent_hub = udev->parent_hub; in usbd_req_re_enumerate()
1994 if (parent_hub == NULL) { in usbd_req_re_enumerate()
2006 if ((udev->parent_hs_hub == parent_hub) && in usbd_req_re_enumerate()
2007 ((uhub_count_active_host_ports(parent_hub, USB_SPEED_LOW) + in usbd_req_re_enumerate()
2008 uhub_count_active_host_ports(parent_hub, USB_SPEED_FULL)) == 1)) { in usbd_req_re_enumerate()
2010 err = usbd_req_reset_tt(parent_hub, NULL, in usbd_req_re_enumerate()
2025 if (parent_hub->speed == USB_SPEED_SUPER) in usbd_req_re_enumerate()
2026 (void)usbd_req_warm_reset_port(parent_hub, mtx, udev->port_no); in usbd_req_re_enumerate()
[all …]
Dusb_device.c560 if (udev->parent_hub) { in usbd_set_config_index()
561 max_power = udev->parent_hub->hub->portpower; in usbd_set_config_index()
1477 struct usb_device *parent_hub, uint8_t depth, uint8_t port_index, in usb_alloc_device() argument
1494 parent_dev, bus, parent_hub, depth, port_index, port_no, in usb_alloc_device()
1542 udev->parent_hub = parent_hub; in usb_alloc_device()
1581 hub = udev->parent_hub; in usb_alloc_device()
1591 hub = hub->parent_hub; in usb_alloc_device()
1838 udev->address, udev, udev->parent_hub); in usb_alloc_device()
1841 usb_bus_port_set_device(bus, parent_hub ? in usb_alloc_device()
1842 (parent_hub->hub->ports + port_index) : NULL, udev, device_index); in usb_alloc_device()
[all …]
Dusb_device.h212 struct usb_device *parent_hub; member
298 struct usb_device *parent_hub, uint8_t depth,
Dusb_generic.c807 hub = udev->parent_hub; in usb_gen_fill_deviceinfo()
1779 (udev->parent_hub == NULL)) { in ugen_set_power_mode()
1886 while (next->parent_hub != NULL) { in ugen_get_port_path()
1888 next = next->parent_hub; in ugen_get_port_path()
1900 while (next->parent_hub != NULL) { in ugen_get_port_path()
1902 next = next->parent_hub; in ugen_get_port_path()
Dusb_transfer.c3069 if (udev->parent_hub == NULL) in usbd_ctrl_transfer_setup()
3147 (udev->parent_hub != NULL) && in usbd_clear_stall_locked()
/third_party/FreeBSD/sys/dev/usb/controller/
Dxhci.c1354 if (udev->parent_hub == NULL) in xhci_set_address()
2544 for (hubdev = udev; hubdev != NULL; hubdev = hubdev->parent_hub) { in xhci_configure_device()
2546 if (hubdev->parent_hub == NULL) in xhci_configure_device()
2549 depth = hubdev->parent_hub->depth; in xhci_configure_device()
3985 if (udev->parent_hub == NULL) { in xhci_ep_init()
4017 if (udev->parent_hub == NULL) { in xhci_ep_clear_stall()
4038 if (udev->parent_hub == NULL) in xhci_device_init()
4098 if (udev->parent_hub == NULL) in xhci_device_uninit()
4137 if (udev->parent_hub == NULL) in xhci_device_resume()
4171 if (udev->parent_hub == NULL) in xhci_device_suspend()
[all …]