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.c426 if (child->parent_hub == NULL) { in uhub_explore_handle_re_enumerate()
450 if (child->parent_hub == NULL) { in uhub_explore_handle_re_enumerate()
456 err = usbd_req_clear_port_feature(child->parent_hub, in uhub_explore_handle_re_enumerate()
728 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()
1261 struct usb_device *parent_hub; in uhub_attach() local
1278 parent_hub = udev->parent_hub; in uhub_attach()
1291 parent_hub, in uhub_attach()
[all …]
Dusb_request.c312 else if (udev->parent_hub == NULL) in usbd_get_hr_func()
2006 struct usb_device *parent_hub; in usbd_req_re_enumerate() local
2016 parent_hub = udev->parent_hub; in usbd_req_re_enumerate()
2017 if (parent_hub == NULL) { in usbd_req_re_enumerate()
2029 if ((udev->parent_hs_hub == parent_hub) && in usbd_req_re_enumerate()
2030 ((uhub_count_active_host_ports(parent_hub, USB_SPEED_LOW) + in usbd_req_re_enumerate()
2031 uhub_count_active_host_ports(parent_hub, USB_SPEED_FULL)) == 1)) { in usbd_req_re_enumerate()
2033 err = usbd_req_reset_tt(parent_hub, NULL, in usbd_req_re_enumerate()
2048 if (parent_hub->speed == USB_SPEED_SUPER) in usbd_req_re_enumerate()
2049 (void)usbd_req_warm_reset_port(parent_hub, mtx, udev->port_no); in usbd_req_re_enumerate()
[all …]
Dusb_device.c558 if (udev->parent_hub) { in usbd_set_config_index()
559 max_power = udev->parent_hub->hub->portpower; in usbd_set_config_index()
1466 struct usb_device *parent_hub, uint8_t depth, uint8_t port_index, in usb_alloc_device() argument
1483 parent_dev, bus, parent_hub, depth, port_index, port_no, in usb_alloc_device()
1531 udev->parent_hub = parent_hub; in usb_alloc_device()
1570 hub = udev->parent_hub; in usb_alloc_device()
1580 hub = hub->parent_hub; in usb_alloc_device()
1826 udev->address, udev, udev->parent_hub); in usb_alloc_device()
1829 usb_bus_port_set_device(bus, parent_hub ? in usb_alloc_device()
1830 (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.c802 hub = udev->parent_hub; in ugen_fill_deviceinfo()
1718 (udev->parent_hub == NULL)) { in ugen_set_power_mode()
1825 while (next->parent_hub != NULL) { in ugen_get_port_path()
1827 next = next->parent_hub; in ugen_get_port_path()
1839 while (next->parent_hub != NULL) { in ugen_get_port_path()
1841 next = next->parent_hub; in ugen_get_port_path()
Dusb_transfer.c3035 if (udev->parent_hub == NULL) in usbd_ctrl_transfer_setup()
3113 (udev->parent_hub != NULL) && in usbd_clear_stall_locked()
/third_party/FreeBSD/sys/dev/usb/controller/
Dxhci.c1348 if (udev->parent_hub == NULL) in xhci_set_address()
2525 for (hubdev = udev; hubdev != NULL; hubdev = hubdev->parent_hub) { in xhci_configure_device()
2526 if (hubdev->parent_hub == NULL) in xhci_configure_device()
2529 depth = hubdev->parent_hub->depth; in xhci_configure_device()
3956 if (udev->parent_hub == NULL) { in xhci_ep_init()
3988 if (udev->parent_hub == NULL) { in xhci_ep_clear_stall()
4009 if (udev->parent_hub == NULL) in xhci_device_init()
4069 if (udev->parent_hub == NULL) in xhci_device_uninit()
4108 if (udev->parent_hub == NULL) in xhci_device_resume()
4142 if (udev->parent_hub == NULL) in xhci_device_suspend()
[all …]