Home
last modified time | relevance | path

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

/openbsd/src/sys/dev/usb/
Dxhcivar.h112 struct xhci_ring sc_evt_ring; /* Event ring */ member
Dxhci.c367 error = xhci_ring_alloc(sc, &sc->sc_evt_ring, XHCI_MAX_EVTS, in xhci_init()
382 xhci_ring_free(sc, &sc->sc_evt_ring); in xhci_init()
389 sc->sc_erst.segs[0].er_addr = htole64(sc->sc_evt_ring.dma.paddr); in xhci_init()
404 xhci_ring_free(sc, &sc->sc_evt_ring); in xhci_init()
455 paddr = (uint64_t)sc->sc_evt_ring.dma.paddr; in xhci_config()
538 xhci_ring_free(sc, &sc->sc_evt_ring); in xhci_detach()
675 xhci_ring_reset(sc, &sc->sc_evt_ring); in xhci_reinit()
763 while ((trb = xhci_ring_consume(sc, &sc->sc_evt_ring)) != NULL) { in xhci_event_dequeue()
792 paddr = (uint64_t)DEQPTR(sc->sc_evt_ring); in xhci_event_dequeue()
1846 if (ring != &sc->sc_evt_ring) { in xhci_ring_reset()