Home
last modified time | relevance | path

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

/third_party/FreeBSD/sys/dev/usb/
H A Dusb_hub.c425 if (child->parent_hub == NULL) { in uhub_explore_handle_re_enumerate()
449 if (child->parent_hub == NULL) { in uhub_explore_handle_re_enumerate()
455 err = usbd_req_clear_port_feature(child->parent_hub, in uhub_explore_handle_re_enumerate()
727 if (udev->parent_hub == NULL) in uhub_reattach_port()
819 if (udev->parent_hub == NULL) { in uhub_reattach_port()
866 if (udev->parent_hub != NULL) { in uhub_reattach_port()
868 mode = udev->parent_hub->flags.usb_mode; in uhub_reattach_port()
1260 struct usb_device *parent_hub; in uhub_attach() local
1277 parent_hub = udev->parent_hub; in uhub_attach()
[all...]
H A Dusb_device.c557 if (udev->parent_hub) { in usbd_set_config_index()
558 max_power = udev->parent_hub->hub->portpower; in usbd_set_config_index()
1465 struct usb_device *parent_hub, uint8_t depth, uint8_t port_index, in usb_alloc_device()
1480 DPRINTF("parent_dev=%p, bus=%p, parent_hub=%p, depth=%u, " in usb_alloc_device()
1482 parent_dev, bus, parent_hub, depth, port_index, port_no, in usb_alloc_device()
1530 udev->parent_hub = parent_hub; in usb_alloc_device()
1569 hub = udev->parent_hub; in usb_alloc_device()
1579 hub = hub->parent_hub; in usb_alloc_device()
1824 DPRINTF("new dev (addr %d), udev=%p, parent_hub in usb_alloc_device()
1464 usb_alloc_device(device_t parent_dev, struct usb_bus *bus, struct usb_device *parent_hub, uint8_t depth, uint8_t port_index, uint8_t port_no, enum usb_dev_speed speed, enum usb_hc_mode mode) usb_alloc_device() argument
[all...]
H A Dusb_request.c321 else if (udev->parent_hub == NULL) in usbd_get_hr_func()
2015 struct usb_device *parent_hub; in usbd_req_re_enumerate() local
2025 parent_hub = udev->parent_hub; in usbd_req_re_enumerate()
2026 if (parent_hub == NULL) { in usbd_req_re_enumerate()
2038 if ((udev->parent_hs_hub == parent_hub) && in usbd_req_re_enumerate()
2039 ((uhub_count_active_host_ports(parent_hub, USB_SPEED_LOW) + in usbd_req_re_enumerate()
2040 uhub_count_active_host_ports(parent_hub, USB_SPEED_FULL)) == 1)) { in usbd_req_re_enumerate()
2042 err = usbd_req_reset_tt(parent_hub, NULL, in usbd_req_re_enumerate()
2057 if (parent_hub in usbd_req_re_enumerate()
[all...]
H A Dusb_device.h211 struct usb_device *parent_hub; member
297 struct usb_device *parent_hub, uint8_t depth,
H A Dusb_generic.c801 hub = udev->parent_hub; in ugen_fill_deviceinfo()
1717 (udev->parent_hub == NULL)) { in ugen_set_power_mode()
1824 while (next->parent_hub != NULL) { in ugen_get_port_path()
1826 next = next->parent_hub; in ugen_get_port_path()
1838 while (next->parent_hub != NULL) { in ugen_get_port_path()
1840 next = next->parent_hub; in ugen_get_port_path()
H A Dusb_transfer.c3037 if (udev->parent_hub == NULL) in usbd_ctrl_transfer_setup()
3115 (udev->parent_hub != NULL) && in usbd_clear_stall_locked()
/third_party/FreeBSD/sys/dev/usb/controller/
H A Dxhci.c1347 if (udev->parent_hub == NULL) in xhci_set_address()
2524 for (hubdev = udev; hubdev != NULL; hubdev = hubdev->parent_hub) { in xhci_configure_device()
2525 if (hubdev->parent_hub == NULL) in xhci_configure_device()
2528 depth = hubdev->parent_hub->depth; in xhci_configure_device()
3955 if (udev->parent_hub == NULL) { in xhci_ep_init()
3987 if (udev->parent_hub == NULL) { in xhci_ep_clear_stall()
4008 if (udev->parent_hub == NULL) in xhci_device_init()
4068 if (udev->parent_hub == NULL) in xhci_device_uninit()
4107 if (udev->parent_hub == NULL) in xhci_device_resume()
4141 if (udev->parent_hub in xhci_device_suspend()
[all...]

Completed in 17 milliseconds