Home | History | Annotate | Download | only in usb

Lines Matching defs:trb_0

546 	xx->xx_trb[idx].trb_0 = parameter;
555 trb->trb_0 = htole64(parameter);
561 xhci_trb_get_idx(struct xhci_ring *xr, uint64_t trb_0, int *idx)
566 /* trb_0 range sanity check */
567 if (trb_0 == 0 || trb_0 < trbp ||
568 (trb_0 - trbp) % sizeof(struct xhci_trb) != 0 ||
569 (trb_0 - trbp) / sizeof(struct xhci_trb) >= xr->xr_ntrb) {
572 *idx = (trb_0 - trbp) / sizeof(struct xhci_trb);
1915 trb.trb_0 = xhci_slot_get_icp(sc, xs, 0);
1958 trb.trb_0 = 0;
1987 trb.trb_0 = 0;
2040 trb.trb_0 = xhci_ring_trbp(xr, 0) | 1; /* XXX */
2206 trb.trb_0 = xhci_slot_get_icp(sc, xs, 0);
2418 uint64_t trb_0;
2430 trb_0 = le64toh(trb->trb_0);
2446 if (xhci_trb_get_idx(xr, trb_0, &idx)) {
2447 DPRINTFN(0, "invalid trb_0 %#jx", trb_0, 0, 0, 0);
2462 DPRINTFN(1, " orig TRB %#jx type %ju", trb_0,
2468 /* When ED != 0, trb_0 is virtual addr of struct xhci_xfer. */
2469 xx = (void *)(uintptr_t)(trb_0 & ~0x3);
2479 DPRINTFN(1, "xx(%#jx)->xx_xfer is NULL trb_0 %#jx",
2480 (uintptr_t)xx, trb_0, 0, 0);
2500 " %02jx", trb_0, XHCI_TRB_2_REM_GET(trb_2), trbcode, 0);
2501 if ((trb_0 & 0x3) == 0x3) {
2520 * + by checking least 3 bits of trb_0 if ED==1.
2541 } else if ((trb_0 & 0x3) == 0x3) {
2580 (trb_0 & 0x3) == 0x0) {
2599 uint64_t trb_0;
2606 trb_0 = le64toh(trb->trb_0);
2610 if (trb_0 == sc->sc_command_addr) {
2613 sc->sc_result_trb.trb_0 = trb_0;
2620 trb_0, trb_2, trb_3, 0);
2625 "0x%08jx 0x%08jx", (uintptr_t)trb, trb_0, trb_2, trb_3);
2637 uint64_t trb_0;
2642 trb_0 = le64toh(trb->trb_0);
2647 (uintptr_t)trb, trb_0, trb_2, trb_3);
2659 if (trb_0 == 0) {
2673 xhci_rhpsc(sc, (uint32_t)((trb_0 >> 24) & 0xff));
3122 trbs[i].trb_0, trbs[i].trb_2, trbs[i].trb_3, 0);
3163 parameter = trbs[i].trb_0;
3273 trb->trb_0, trb->trb_2, trb->trb_3, 0);
3310 trb->trb_0 = sc->sc_result_trb.trb_0;
3315 trb->trb_0, trb->trb_2, trb->trb_3, 0);
3360 trb.trb_0 = 0;
3392 trb.trb_0 = 0;
3434 trb.trb_0 = icp;
3472 trb.trb_0 = xhci_slot_get_icp(sc, xs, 0);