Home
last modified time | relevance | path

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

/freebsd-14.2/sys/dev/usb/
H A Dusb_hub.c432 if (child->parent_hub == NULL) { 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()
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()
1396 if (udev->parent_hub == NULL) { in uhub_attach()
2665 if (udev->parent_hub == NULL) in usb_dev_resume_peer()
2777 if (udev->parent_hub == NULL) in usb_dev_suspend_peer()
[all …]
H A Dusb_fdt_support.c143 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()
1817 udev->parent_hub = parent_hub; in usb_alloc_device()
1856 hub = udev->parent_hub; in usb_alloc_device()
1866 hub = hub->parent_hub; in usb_alloc_device()
2086 udev->address, udev, udev->parent_hub); in usb_alloc_device()
2089 usb_bus_port_set_device(bus, parent_hub ? in usb_alloc_device()
2330 usb_bus_port_set_device(bus, udev->parent_hub ? in usb_free_device()
2331 udev->parent_hub->hub->ports + udev->port_index : NULL, in usb_free_device()
2735 , udev->parent_hub != NULL ? in usb_notify_addq()
[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-14.2/sys/dev/usb/controller/
H A Dxhci.c1355 if (udev->parent_hub == NULL) in xhci_set_address()
2539 if (hubdev->parent_hub == NULL) in xhci_configure_device()
2542 depth = hubdev->parent_hub->depth; in xhci_configure_device()
4002 if (udev->parent_hub == NULL) { in xhci_ep_init()
4041 if (udev->parent_hub == NULL) { in xhci_ep_uninit()
4086 if (udev->parent_hub == NULL) { in xhci_ep_clear_stall()
4107 if (udev->parent_hub == NULL) in xhci_device_init()
4167 if (udev->parent_hub == NULL) in xhci_device_uninit()
4206 if (udev->parent_hub == NULL) in xhci_device_resume()
4240 if (udev->parent_hub == NULL) in xhci_device_suspend()
[all …]
H A Ddwc_otg.c461 udev->parent_hs_hub->parent_hub != NULL); in dwc_otg_uses_split()