Home
last modified time | relevance | path

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

/openbmc/qemu/hw/usb/
H A Dhcd-xhci.c238 XHCIEPContext *epctx; member
307 static void xhci_kick_epctx(XHCIEPContext *epctx, unsigned int streamid);
313 static USBEndpoint *xhci_epid_to_usbep(XHCIEPContext *epctx);
869 static void xhci_reset_streams(XHCIEPContext *epctx) in xhci_reset_streams() argument
873 for (i = 0; i < epctx->nr_pstreams; i++) { in xhci_reset_streams()
874 epctx->pstreams[i].sct = -1; in xhci_reset_streams()
878 static void xhci_alloc_streams(XHCIEPContext *epctx, dma_addr_t base) in xhci_alloc_streams() argument
880 assert(epctx->pstreams == NULL); in xhci_alloc_streams()
881 epctx->nr_pstreams = 2 << epctx->max_pstreams; in xhci_alloc_streams()
882 epctx->pstreams = xhci_alloc_stream_contexts(epctx->nr_pstreams, base); in xhci_alloc_streams()
[all …]