Lines Matching refs:TRB
19 Create a command transfer TRB to support XHCI command interfaces.
22 @param CmdTrb The cmd TRB to be executed.
54 Execute a XHCI cmd TRB pointed by CmdTrb.
57 @param CmdTrb The cmd TRB to be executed.
60 @param EvtTrb The event TRB corresponding to the cmd TRB.
213 Create a transfer TRB.
216 @param Urb The urb used to construct the transfer TRB.
218 @return Created TRB or NULL
232 TRB *TrbStart;
283 // Construct the TRB
292 TrbStart = (TRB *)(UINTN)EPRing->RingEnqueue;
321 TrbStart = (TRB *)(UINTN)EPRing->RingEnqueue;
347 // Get the pointer to next TRB for status stage use
350 TrbStart = (TRB *)(UINTN)EPRing->RingEnqueue;
380 TrbStart = (TRB *)(UINTN)EPRing->RingEnqueue;
387 TrbStart = (TRB *)(UINTN)EPRing->RingEnqueue;
415 TrbStart = (TRB *)(UINTN)EPRing->RingEnqueue;
422 TrbStart = (TRB *)(UINTN)EPRing->RingEnqueue;
586 // (5.4.5) with a 64-bit address pointing to the starting address of the first TRB of the Command Ring.
853 @param TrbNum The number of TRB in the ring.
880 // To form a ring (or circular queue) a Link TRB may be inserted at the end of a ring to
881 // point to the first TRB in the ring.
893 // Set Cycle bit as other TRB PCS init value
980 Check if the Trb is a transaction of the URBs in XHCI's asynchronous transfer list.
983 @param Trb The TRB to be checked.
986 @retval TRUE The Trb is matched with a transaction of the URBs in the async list.
987 @retval FALSE The Trb is not matched with any URBs in the async list.
993 IN TRB_TEMPLATE *Trb,
1007 if (Trb == CheckedTrb) {
1022 Check if the Trb is a transaction of the URB.
1024 @param Trb The TRB to be checked
1033 Trb,
1045 if (Trb == CheckedTrb) {
1186 // Only check first and end Trb event address
1811 // set cycle bit in Link TRB as normal
1829 // Clear the Trb context for enqueue, but reserve the PCS bit
1846 @param NewEvtTrb The new event TRB found.
1848 @retval EFI_SUCCESS Found a new event TRB at the event ring.
2070 // Initial value of Average TRB Length for Control endpoints would be 8B, Interrupt endpoints
2276 // Initial value of Average TRB Length for Control endpoints would be 8B, Interrupt endpoints