Home | History | Annotate | Download | only in DebugCommunicationLibUsb3

Lines Matching refs:TRB

53       // set cycle bit in Link TRB as normal

70 // Clear the Trb context for enqueue, but reserve the PCS bit which indicates free Trb.
133 @param NewEvtTrb The new event TRB found.
135 @retval EFI_SUCCESS Found a new event TRB at the event ring.
173 Check if the Trb is a transaction of the URB.
176 @param Trb The TRB to be checked.
185 IN TRB_TEMPLATE *Trb
196 if (Trb == CheckedTrb) {
267 // Fill this TRB complete with CycleBit, otherwise next read will fail with old TRB.
359 TRB_TEMPLATE *Trb;
386 // This will make the current transfer TRB is always at the latest unused one in transfer ring.
393 Ring->RingEnqueue = Urb->Trb;
397 Trb = (TRB_TEMPLATE *)(UINTN) Urb->Trb;
398 Trb->CycleBit = ((~Ring->RingPCS) & BIT0);
408 Create a transfer TRB.
411 @param Urb The urb used to construct the transfer TRB.
413 @return Created TRB or NULL
423 TRB *Trb;
434 Urb->Trb = EPRing->RingEnqueue;
435 Trb = (TRB *)(UINTN)EPRing->RingEnqueue;
436 Trb->TrbNormal.TRBPtrLo = XHC_LOW_32BIT (Urb->Data);
437 Trb->TrbNormal.TRBPtrHi = XHC_HIGH_32BIT (Urb->Data);
438 Trb->TrbNormal.Length = Urb->DataLen;
439 Trb->TrbNormal.TDSize = 0;
440 Trb->TrbNormal.IntTarget = 0;
441 Trb->TrbNormal.ISP = 1;
442 Trb->TrbNormal.IOC = 1;
443 Trb->TrbNormal.Type = TRB_TYPE_NORMAL;
446 // Update the cycle bit to indicate this TRB has been consumed.
448 Trb->TrbNormal.CycleBit = EPRing->RingPCS & BIT0;