Home
last modified time | relevance | path

Searched refs:parent_hub (Results 1 – 8 of 8) 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()
1207 struct usb_device *parent_hub = udev->parent_hub; in uhub_attach() local
1234 parent_hub, in uhub_attach()
1235 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()
2087 udev->address, udev, udev->parent_hub); in usb_alloc_device()
2090 usb_bus_port_set_device(bus, parent_hub ? in usb_alloc_device()
2091 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.c863 hub = udev->parent_hub; in ugen_fill_deviceinfo()
1896 (udev->parent_hub == NULL)) { in ugen_set_power_mode()
2003 while (next->parent_hub != NULL) { in ugen_get_port_path()
2005 next = next->parent_hub; in ugen_get_port_path()
2017 while (next->parent_hub != NULL) { in ugen_get_port_path()
2019 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 Ddwc_otg.c461 udev->parent_hs_hub->parent_hub != NULL); in dwc_otg_uses_split()