/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/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...] |
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...] |
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.h | 113 Execute the transfer by polling the URB. This is a synchronous operation.
116 @param Urb The URB to execute.
127 IN URB *Urb,
|
EhciUrb.h | 3 This file contains URB request, each request is warpped in a
4 URB (Usb Request Block).
23 typedef struct _URB URB;
26 // Transfer types, used in URB to identify the transfer type
171 // QTD generated from a URB. Don't add fields before QtdHw.
205 // URB (Usb Request Block) contains information for all kinds of
285 Free an allocated URB. It is possible for it to be partially inited.
288 @param Urb The URB to free.
294 IN URB *Urb [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...] |
EhciSched.c | 291 Check the URB's execution result and update the URB's
295 @param Urb The URB to check result.
297 @retval TRUE URB transfer is finialized.
298 @retval FALSE URB transfer is not finialized.
304 IN PEI_URB *Urb
313 ASSERT ((Ehc != NULL) && (Urb != NULL) && (Urb->Qh != NULL));
316 Urb->Completed = 0; [all...] |
EhciSched.h | 81 Execute the transfer by polling the URB. This is a synchronous operation.
84 @param Urb The URB to execute.
95 IN PEI_URB *Urb,
|
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;
|
EhciUrb.h | 167 // QTD generated from a URB. Don't add fields before QtdHw.
203 // URB (Usb Request Block) contains information for all kinds of
279 Free an allocated URB. It is possible for it to be partially inited.
282 @param Urb The URB to free.
288 IN PEI_URB *Urb
293 Create a new URB and its associated QTD.
310 @retval the pointer to the created URB or NULL.
|
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/XhciPei/ |
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...] |
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.h | 21 // Transfer types, used in URB to identify the transfer type
160 // URB (Usb Request Block) contains information for all kinds of
166 // Usb Device URB related information
195 } URB;
761 Execute the transfer by polling the URB. This is a synchronous operation.
764 @param CmdTransfer The executed URB is for cmd transfer or not.
765 @param Urb The URB to execute.
777 IN URB *Urb,
[all...] |
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/XhciDxe/ |
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...] |
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.h | 22 // Transfer types, used in URB to identify the transfer type
162 // URB (Usb Request Block) contains information for all kinds of
169 // Usb Device URB related information
199 } URB;
788 Ring the door bell to notify XHCI there is a transaction to be executed through URB.
791 @param Urb The URB to be rung.
799 IN URB *Urb
803 Execute the transfer by polling the URB. This is a synchronous operation. [all...] |