/* Release all the asynchronous transfers on the lsit. */
VOID UhciFreeAllAsyncReq(IN USB_HC_DEV *Uhc)
/* Release all the asynchronous transfers on the lsit. */
VOID UhciFreeAllAsyncReq(IN USB_HC_DEV *Uhc)
{
  LIST_ENTRY          *Head;
  UHCI_ASYNC_REQUEST  *AsyncReq;
  UhciRecycleAsyncReq (Uhc);
  UhciRecycleAsyncReq (Uhc);
  Head = &(Uhc->AsyncIntList);
  if (IsListEmpty (Head)) {
    return;
  }
  while (!IsListEmpty (Head)) {
    AsyncReq = UHCI_ASYNC_INT_FROM_LINK (Head->ForwardLink);
    UhciUnlinkAsyncReq (Uhc, AsyncReq, TRUE);
  }
}