Home
last modified time | relevance | path

Searched refs:sc_noslot (Results 1 – 2 of 2) sorted by relevance

/openbsd/src/sys/dev/usb/
Dxhcivar.h116 int sc_noslot; /* Maximum number of slots */ member
Dxhci.c345 sc->sc_noslot = XHCI_HCS1_DEVSLOT_MAX(hcr); in xhci_init()
347 sc->sc_noslot)); in xhci_init()
351 (void **)&sc->sc_dcbaa.segs, (sc->sc_noslot + 1) * sizeof(uint64_t), in xhci_init()
422 if (sc->sc_noslot > USB_MAX_DEVICES) in xhci_config()
423 sc->sc_noslot = USB_MAX_DEVICES; in xhci_config()
425 XOWRITE4(sc, XHCI_CONFIG, hcr | sc->sc_noslot); in xhci_config()
839 if (slot > sc->sc_noslot) { in xhci_event_xfer()
1309 if (error || slot == 0 || slot > sc->sc_noslot) in xhci_pipe_open()