Lines Matching refs:trb_0

524 	xx->xx_trb[idx].trb_0 = parameter;
533 trb->trb_0 = htole64(parameter);
539 xhci_trb_get_idx(struct xhci_ring *xr, uint64_t trb_0, int *idx)
544 /* trb_0 range sanity check */
545 if (trb_0 == 0 || trb_0 < trbp ||
546 (trb_0 - trbp) % sizeof(struct xhci_trb) != 0 ||
547 (trb_0 - trbp) / sizeof(struct xhci_trb) >= xr->xr_ntrb) {
550 *idx = (trb_0 - trbp) / sizeof(struct xhci_trb);
1882 trb.trb_0 = xhci_slot_get_icp(sc, xs, 0);
1925 trb.trb_0 = 0;
1954 trb.trb_0 = 0;
2007 trb.trb_0 = xhci_ring_trbp(xr, 0) | 1; /* XXX */
2173 trb.trb_0 = xhci_slot_get_icp(sc, xs, 0);
2384 uint64_t trb_0;
2396 trb_0 = le64toh(trb->trb_0);
2412 if (xhci_trb_get_idx(xr, trb_0, &idx)) {
2413 DPRINTFN(0, "invalid trb_0 %#jx", trb_0, 0, 0, 0);
2428 DPRINTFN(1, " orig TRB %#jx type %ju", trb_0,
2434 /* When ED != 0, trb_0 is virtual addr of struct xhci_xfer. */
2435 xx = (void *)(uintptr_t)(trb_0 & ~0x3);
2445 DPRINTFN(1, "xx(%#jx)->xx_xfer is NULL trb_0 %#jx",
2446 (uintptr_t)xx, trb_0, 0, 0);
2466 " %02jx", trb_0, XHCI_TRB_2_REM_GET(trb_2), trbcode, 0);
2467 if ((trb_0 & 0x3) == 0x3) {
2486 * + by checking least 3 bits of trb_0 if ED==1.
2507 } else if ((trb_0 & 0x3) == 0x3) {
2546 (trb_0 & 0x3) == 0x0) {
2565 uint64_t trb_0;
2572 trb_0 = le64toh(trb->trb_0);
2576 if (trb_0 == sc->sc_command_addr) {
2579 sc->sc_result_trb.trb_0 = trb_0;
2586 trb_0, trb_2, trb_3, 0);
2591 "0x%08jx 0x%08jx", (uintptr_t)trb, trb_0, trb_2, trb_3);
2603 uint64_t trb_0;
2608 trb_0 = le64toh(trb->trb_0);
2613 (uintptr_t)trb, trb_0, trb_2, trb_3);
2625 if (trb_0 == 0) {
2639 xhci_rhpsc(sc, (uint32_t)((trb_0 >> 24) & 0xff));
3088 trbs[i].trb_0, trbs[i].trb_2, trbs[i].trb_3, 0);
3129 parameter = trbs[i].trb_0;
3239 trb->trb_0, trb->trb_2, trb->trb_3, 0);
3276 trb->trb_0 = sc->sc_result_trb.trb_0;
3281 trb->trb_0, trb->trb_2, trb->trb_3, 0);
3326 trb.trb_0 = 0;
3358 trb.trb_0 = 0;
3400 trb.trb_0 = icp;
3437 trb.trb_0 = xhci_slot_get_icp(sc, xs, 0);