Home
last modified time | relevance | path

Searched refs:ud_depth (Results 1 – 5 of 5) sorted by relevance

/netbsd-src/sys/dev/usb/
H A Duhub.c216 if (dev->ud_depth != 0 && USB_IS_SS(dev->ud_speed)) { in usbd_get_hub_desc()
229 if (dev->ud_depth != 0 && nports > UHD_SS_NPORTS_MAX) { in usbd_get_hub_desc()
329 if (dev->ud_depth > 0 && UHUB_IS_HIGH_SPEED(sc)) { in uhub_attach()
342 if (dev->ud_depth > USB_HUB_MAX_DEPTH) { in uhub_attach()
378 if (USB_IS_SS(dev->ud_speed) && dev->ud_depth != 0) { in uhub_attach()
380 dev->ud_depth - 1); in uhub_attach()
381 err = usbd_set_hub_depth(dev, dev->ud_depth - 1); in uhub_attach()
552 if (dev->ud_depth > USB_HUB_MAX_DEPTH) in uhub_explore()
732 device_unit(sc->sc_dev), dev->ud_speed, dev->ud_depth, 0); in uhub_explore()
848 dev->ud_depth + 1, speed, port, up); in uhub_explore()
H A Dusbdivar.h203 uint8_t ud_depth; /* distance from root hub */ member
H A Dxhci.c2036 dev->ud_depth, dev->ud_powersrc->up_portno, dev->ud_speed); in xhci_open()
2047 if (dev->ud_depth == 0 && dev->ud_powersrc->up_portno == 0) { in xhci_open()
2139 if (pipe->up_dev->ud_depth == 0) in xhci_close_pipe()
2828 dev->ud_depth = depth; in xhci_new_device()
3663 (uintptr_t)hub, hub->ud_depth, (uintptr_t)hub->ud_powersrc, in xhci_setup_route()
3669 dep = hub->ud_depth; in xhci_setup_route()
H A Dusbdi.c172 dev->ud_addr, dev->ud_config, dev->ud_depth, 0); in usbd_dump_device()
H A Dusb_subr.c1449 dev->ud_depth = depth; in usbd_new_device()