Lines Matching defs:Qh
176 PEI_EHC_QH *Qh;
179 Qh = UsbHcAllocateMem (Ehci, Ehci->MemPool, sizeof (PEI_EHC_QH));
181 if (Qh == NULL) {
185 Qh->Signature = EHC_QH_SIG;
186 Qh->NextQh = NULL;
187 Qh->Interval = Ep->PollRate;
189 InitializeListHead (&Qh->Qtds);
191 QhHw = &Qh->QhHw;
243 return Qh;
321 if (Urb->Qh != NULL) {
326 EhcFreeQtds (Ehc, &Urb->Qh->Qtds);
327 UsbHcFreeMem (Ehc->MemPool, Urb->Qh, sizeof (PEI_EHC_QH));
348 PEI_EHC_QH *Qh;
358 ASSERT ((Urb != NULL) && (Urb->Qh != NULL));
367 Qh = Urb->Qh;
387 InsertTailList (&Qh->Qtds, &Qtd->QtdList);
441 InsertTailList (&Qh->Qtds, &Qtd->QtdList);
457 InsertTailList (&Qh->Qtds, &StatusQtd->QtdList);
463 EFI_LIST_FOR_EACH (Entry, &Qh->Qtds) {
469 if (Entry->ForwardLink == &Qh->Qtds) {
480 NextQtd = EFI_LIST_CONTAINER (Qh->Qtds.ForwardLink, PEI_EHC_QTD, QtdList);
481 Qh->QhHw.NextQtd = QTD_LINK (NextQtd, FALSE);
485 EhcFreeQtds (Ehc, &Qh->Qtds);
568 Urb->Qh = EhcCreateQh (Ehc, &Urb->Ep);
570 if (Urb->Qh == NULL) {