Home
last modified time | relevance | path

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

/freebsd/sys/dev/usb/
H A Dusb_hub.c432 if (child->parent_hub == NULL) { in uhub_explore_handle_re_enumerate()
462 if (child->parent_hub == NULL) { in uhub_explore_handle_re_enumerate()
468 err = usbd_req_clear_port_feature(child->parent_hub, in uhub_explore_handle_re_enumerate()
663 if (udev->parent_hub == NULL) in uhub_reattach_port()
757 if (udev->parent_hub == NULL) { in uhub_reattach_port()
804 if (udev->parent_hub != NULL) { in uhub_reattach_port()
806 mode = udev->parent_hub->flags.usb_mode; in uhub_reattach_port()
1208 struct usb_device *parent_hub = udev->parent_hub; in uhub_attach() local
1235 parent_hub, in uhub_attach()
1236 parent_hub ? in uhub_attach()
[all …]
H A Dusb_fdt_support.c142 for (ud = udev, idx = 0; ud->parent_hub != NULL; ud = ud->parent_hub) { in usb_fdt_get_node()
H A Dusb_device.c746 if (udev->parent_hub) { in usbd_set_config_index()
747 max_power = udev->parent_hub->hub->portpower; in usbd_set_config_index()
1753 struct usb_device *parent_hub, uint8_t depth, uint8_t port_index, in usb_alloc_device() argument
1768 parent_dev, bus, parent_hub, depth, port_index, port_no, in usb_alloc_device()
1818 udev->parent_hub = parent_hub; in usb_alloc_device()
1857 hub = udev->parent_hub; in usb_alloc_device()
1867 hub = hub->parent_hub; in usb_alloc_device()
2088 udev->address, udev, udev->parent_hub); in usb_alloc_device()
2091 usb_bus_port_set_device(bus, parent_hub ? in usb_alloc_device()
2092 parent_hub->hub->ports + port_index : NULL, udev, device_index); in usb_alloc_device()
[all …]
H A Dusb_request.c353 else if (udev->parent_hub == NULL) in usbd_get_hr_func()
2065 struct usb_device *parent_hub; in usbd_req_re_enumerate() local
2074 parent_hub = udev->parent_hub; in usbd_req_re_enumerate()
2075 if (parent_hub == NULL) { in usbd_req_re_enumerate()
2087 if (udev->parent_hs_hub == parent_hub && in usbd_req_re_enumerate()
2088 (uhub_count_active_host_ports(parent_hub, USB_SPEED_LOW) + in usbd_req_re_enumerate()
2089 uhub_count_active_host_ports(parent_hub, USB_SPEED_FULL)) == 1) { in usbd_req_re_enumerate()
2091 err = usbd_req_reset_tt(parent_hub, NULL, in usbd_req_re_enumerate()
2106 if (parent_hub->speed == USB_SPEED_SUPER) in usbd_req_re_enumerate()
2107 usbd_req_warm_reset_port(parent_hub, mtx, udev->port_no); in usbd_req_re_enumerate()
[all …]
H A Dusb_device.h217 struct usb_device *parent_hub; member
303 struct usb_device *parent_hub, uint8_t depth,
H A Dusb_generic.c1861 (udev->parent_hub == NULL)) { in ugen_set_power_mode()
1968 while (next->parent_hub != NULL) { in ugen_get_port_path()
1970 next = next->parent_hub; in ugen_get_port_path()
1982 while (next->parent_hub != NULL) { in ugen_get_port_path()
1984 next = next->parent_hub; in ugen_get_port_path()
H A Dusb_transfer.c3222 if (udev->parent_hub == NULL) in usbd_ctrl_transfer_setup()
3300 udev->parent_hub != NULL && in usbd_clear_stall_locked()
/freebsd/sys/dev/usb/controller/
H A Dxhci.c1440 if (udev->parent_hub == NULL) in xhci_set_address()
2623 for (hubdev = udev; hubdev != NULL; hubdev = hubdev->parent_hub) { in xhci_configure_device()
2624 if (hubdev->parent_hub == NULL) in xhci_configure_device()
2627 depth = hubdev->parent_hub->depth; in xhci_configure_device()
4087 if (udev->parent_hub == NULL) { in xhci_ep_init()
4126 if (udev->parent_hub == NULL) { in xhci_ep_uninit()
4171 if (udev->parent_hub == NULL) { in xhci_ep_clear_stall()
4192 if (udev->parent_hub == NULL) in xhci_device_init()
4252 if (udev->parent_hub == NULL) in xhci_device_uninit()
4291 if (udev->parent_hub == NULL) in xhci_device_resume()
[all …]
H A Ddwc_otg.c461 udev->parent_hs_hub->parent_hub != NULL); in dwc_otg_uses_split()