/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/EhciDxe/ |
EhciUrb.c | 3 This file contains URB request, each request is warpped in a
4 URB (Usb Request Block).
318 Free an allocated URB. It is possible for it to be partially inited.
321 @param Urb The URB to free.
327 IN URB *Urb
334 if (Urb->RequestPhy != NULL) {
335 PciIo->Unmap (PciIo, Urb->RequestMap);
338 if (Urb->DataMap != NULL) { [all...] |
Ehci.c | 702 URB *Urb;
755 // Create a new URB, insert it into the asynchronous
764 Urb = EhcCreateUrb (
781 if (Urb == NULL) {
782 DEBUG ((EFI_D_ERROR, "EhcControlTransfer: failed to create URB"));
788 EhcLinkQhToAsync (Ehc, Urb->Qh);
789 Status = EhcExecTransfer (Ehc, Urb, TimeOut);
790 EhcUnlinkQhFromAsync (Ehc, Urb->Qh);
793 // Get the status from URB. The result is updated in EhcCheckUrbResult [all...] |
EhciSched.c | 552 Check the URB's execution result and update the URB's
556 @param Urb The URB to check result.
558 @return Whether the result of URB transfer is finialized.
564 IN URB *Urb
574 ASSERT ((Ehc != NULL) && (Urb != NULL) && (Urb->Qh != NULL));
577 Urb->Completed = 0; [all...] |
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/EhciPei/ |
EhciUrb.c | 309 Free an allocated URB. It is possible for it to be partially inited.
312 @param Urb The URB to free.
318 IN PEI_URB *Urb
321 if (Urb->Qh != NULL) {
326 EhcFreeQtds (Ehc, &Urb->Qh->Qtds);
327 UsbHcFreeMem (Ehc->MemPool, Urb->Qh, sizeof (PEI_EHC_QH));
332 Create a list of QTDs for the URB.
335 @param Urb The URB to create QTDs for. [all...] |
EhcPeim.c | 462 Ehc->Urb = (PEI_URB *) ((UINTN) TempPtr);
463 if (Ehc->Urb == NULL) {
566 PEI_URB *Urb;
599 // Create a new URB, insert it into the asynchronous
602 Urb = EhcCreateUrb (
619 if (Urb == NULL) {
624 EhcLinkQhToAsync (Ehc, Urb->Qh);
625 Status = EhcExecTransfer (Ehc, Urb, TimeOut);
626 EhcUnlinkQhFromAsync (Ehc, Urb->Qh);
628 *TransferResult = Urb->Result; [all...] |
EhcPeim.h | 99 PEI_URB *Urb;
|
/device/linaro/bootloader/edk2/SourceLevelDebugPkg/Library/DebugCommunicationLibUsb3/ |
DebugCommunicationLibUsb3Transfer.c | 173 Check if the Trb is a transaction of the URB.
178 @retval TRUE It is a transaction of the URB.
179 @retval FALSE It is not any transaction of the URB.
206 Check the URB's execution result and update the URB's
210 @param Urb The URB to check result.
216 IN URB *Urb
223 URB *CheckedUrb; [all...] |
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/XhciDxe/ |
Xhci.c | 761 URB *Urb;
872 // Create a new URB, insert it into the asynchronous
879 Urb = XhcCreateUrb (
893 if (Urb == NULL) {
894 DEBUG ((EFI_D_ERROR, "XhcControlTransfer: failed to create URB"));
899 Status = XhcExecTransfer (Xhc, FALSE, Urb, Timeout);
902 // Get the status from URB. The result is updated in XhcCheckUrbResult
905 *TransferResult = Urb->Result;
906 *DataLength = Urb->Completed; [all...] |
XhciSched.c | 24 @return Created URB or NULL.
27 URB*
33 URB *Urb;
35 Urb = AllocateZeroPool (sizeof (URB));
36 if (Urb == NULL) {
40 Urb->Signature = XHC_URB_SIG;
42 Urb->Ring = &Xhc->CmdRing;
43 XhcSyncTrsRing (Xhc, Urb->Ring); [all...] |
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/XhciPei/ |
XhcPeim.c | 508 URB *Urb;
615 // Create a new URB, insert it into the asynchronous
622 Urb = XhcPeiCreateUrb (
636 if (Urb == NULL) {
637 DEBUG ((EFI_D_ERROR, "XhcPeiControlTransfer: failed to create URB"));
642 Status = XhcPeiExecTransfer (Xhc, FALSE, Urb, TimeOut);
645 // Get the status from URB. The result is updated in XhcPeiCheckUrbResult
648 *TransferResult = Urb->Result;
649 *DataLength = Urb->Completed; [all...] |
XhciSched.c | 26 @return Created URB or NULL.
29 URB*
35 URB *Urb;
37 Urb = AllocateZeroPool (sizeof (URB));
38 if (Urb == NULL) {
42 Urb->Signature = XHC_URB_SIG;
44 Urb->Ring = &Xhc->CmdRing;
45 XhcPeiSyncTrsRing (Xhc, Urb->Ring); [all...] |