Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/common/io/usb/hcd/xhci/
H A Dxhci_dma.c277 if (xt->xt_trbs != NULL) { in xhci_transfer_free()
279 kmem_free(xt->xt_trbs, sizeof (xhci_trb_t) * xt->xt_ntrbs); in xhci_transfer_free()
280 xt->xt_trbs = NULL; in xhci_transfer_free()
356 xt->xt_trbs = kmem_zalloc(sizeof (xhci_trb_t) * trbs, kmflags); in xhci_transfer_alloc()
357 if (xt->xt_trbs == NULL) { in xhci_transfer_alloc()
365 kmem_free(xt->xt_trbs, sizeof (xhci_trb_t) * trbs); in xhci_transfer_alloc()
379 kmem_free(xt->xt_trbs, sizeof (xhci_trb_t) * trbs); in xhci_transfer_alloc()
540 xt->xt_trbs[off + i].trb_addr = LE_64(pa); in xhci_transfer_trb_fill_data()
541 xt->xt_trbs[off + i].trb_status = LE_32(XHCI_TRB_LEN(dmasz) | in xhci_transfer_trb_fill_data()
543 xt->xt_trbs[off + i].trb_flags = LE_32(flags); in xhci_transfer_trb_fill_data()
[all …]
H A Dxhci_usba.c898 xt->xt_trbs[0].trb_addr = xhci_hcdi_ctrl_req_to_trb(ucrp); in xhci_hcdi_pipe_ctrl_xfer()
899 xt->xt_trbs[0].trb_status = LE_32(XHCI_TRB_LEN(8) | XHCI_TRB_INTR(0)); in xhci_hcdi_pipe_ctrl_xfer()
900 xt->xt_trbs[0].trb_flags = LE_32(trt | XHCI_TRB_IDT | in xhci_hcdi_pipe_ctrl_xfer()
906 xt->xt_trbs[xt->xt_ntrbs - 1].trb_addr = 0; in xhci_hcdi_pipe_ctrl_xfer()
907 xt->xt_trbs[xt->xt_ntrbs - 1].trb_status = LE_32(XHCI_TRB_INTR(0)); in xhci_hcdi_pipe_ctrl_xfer()
908 xt->xt_trbs[xt->xt_ntrbs - 1].trb_flags = LE_32(XHCI_TRB_TYPE_STATUS | in xhci_hcdi_pipe_ctrl_xfer()
1039 xhci_trb_t *trb = &xt->xt_trbs[i]; in xhci_hcdi_isoc_transfer_fill()
H A Dxhci_endpoint.c1092 ASSERT(xt->xt_trbs != NULL); in xhci_endpoint_schedule()
1101 xhci_ring_trb_fill(rp, i, &xt->xt_trbs[i], &xt->xt_trbs_pa[i], in xhci_endpoint_schedule()
1104 xhci_ring_trb_fill(rp, 0U, &xt->xt_trbs[0], &xt->xt_trbs_pa[0], in xhci_endpoint_schedule()
/illumos-gate/usr/src/uts/common/sys/usb/hcd/xhci/
H A Dxhci.h339 xhci_trb_t *xt_trbs; member