xhci_trb_t
xhci_trb_t trb;
mdb_set_dot(addr + sizeof (xhci_trb_t));
target = roundup(target, sizeof (xhci_trb_t));
max = base + xr.xr_ntrb * sizeof (xhci_trb_t);
xhci_command_event_callback(xhci_t *xhcip, xhci_trb_t *trb)
pa = xhci_dma_pa(&xrp->xr_dma) + sizeof (xhci_trb_t) * xrp->xr_tail;
kmem_free(xt->xt_trbs, sizeof (xhci_trb_t) * xt->xt_ntrbs);
xt->xt_trbs = kmem_zalloc(sizeof (xhci_trb_t) * trbs, kmflags);
kmem_free(xt->xt_trbs, sizeof (xhci_trb_t) * trbs);
kmem_free(xt->xt_trbs, sizeof (xhci_trb_t) * trbs);
xhci_trb_t *trb, uint_t *offp)
xhci_endpoint_t *xep, xhci_transfer_t *xt, uint_t off, xhci_trb_t *trb)
xhci_endpoint_t *xep, xhci_transfer_t *xt, uint_t off, xhci_trb_t *trb)
xhci_endpoint_t *xep, xhci_transfer_t *xt, uint_t off, xhci_trb_t *trb)
xhci_endpoint_transfer_callback(xhci_t *xhcip, xhci_trb_t *trb)
deq = xhci_dma_pa(&xep->xep_ring.xr_dma) + sizeof (xhci_trb_t) *
deq = xhci_dma_pa(&xep->xep_ring.xr_dma) + sizeof (xhci_trb_t) *
xhci_event_process_psc(xhci_t *xhcip, xhci_trb_t *trb)
xhci_event_process_trb(xhci_t *xhcip, xhci_trb_t *trb)
xhci_trb_t *trb;
addr = xhci_dma_pa(&xrp->xr_dma) + sizeof (xhci_trb_t) * xrp->xr_tail;
xhci_polled_get_endpoint(xhci_t *xhcip, xhci_trb_t *trb)
xhci_trb_t *trb, uint_t *num_characters)
xhci_trb_t *trb;
addr = xhci_dma_pa(&xrp->xr_dma) + sizeof (xhci_trb_t) * xrp->xr_tail;
xhci_trb_t *ltrb;
bzero(xrp->xr_trb, sizeof (xhci_trb_t) * xrp->xr_ntrb);
xrp->xr_trb = (xhci_trb_t *)xrp->xr_dma.xdb_va;
xrp->xr_ntrb = xhcip->xhci_caps.xcap_pagesize / sizeof (xhci_trb_t);
xhci_trb_t *
xhci_trb_t *trb = &xrp->xr_trb[xrp->xr_tail];
tail = xhci_dma_pa(&xrp->xr_dma) + xrp->xr_tail * sizeof (xhci_trb_t);
taddr = xhci_dma_pa(&xrp->xr_dma) + tail * sizeof (xhci_trb_t);
xhci_ring_trb_fill(xhci_ring_t *xrp, uint_t trboff, xhci_trb_t *host_trb,
xhci_trb_t *trb;
xhci_trb_t *trb;
xhci_ring_trb_put(xhci_ring_t *xrp, xhci_trb_t *trb)
uint64_t high = pa + xrp->xr_ntrb * sizeof (xhci_trb_t);
dma % sizeof (xhci_trb_t) != 0)
dma /= sizeof (xhci_trb_t);
xhci_trb_t *trb = &xt->xt_trbs[i];
xhci_trb_t *xt_trbs;
xhci_trb_t *xr_trb;
xhci_trb_t xco_req;
xhci_trb_t xco_res;
extern boolean_t xhci_command_event_callback(xhci_t *, xhci_trb_t *trb);
extern boolean_t xhci_event_process_trb(xhci_t *, xhci_trb_t *);
extern xhci_trb_t *xhci_ring_event_advance(xhci_ring_t *);
extern void xhci_ring_trb_fill(xhci_ring_t *, uint_t, xhci_trb_t *, uint64_t *,
extern void xhci_ring_trb_put(xhci_ring_t *, xhci_trb_t *);
extern boolean_t xhci_endpoint_transfer_callback(xhci_t *, xhci_trb_t *);
xhci_endpoint_t *, xhci_trb_t *, uint_t *);