Home | History | Annotate | Download | only in SdDxe

Lines Matching refs:Request

32   SD_REQUEST                  *Request;

36 Request = (SD_REQUEST *) Context;
39 DEBUG ((EFI_D_INFO, "Sd Async Request: CmdIndex[%d] Arg[%08x] %r\n",
40 Request->SdMmcCmdBlk.CommandIndex, Request->SdMmcCmdBlk.CommandArgument,
41 Request->Packet.TransactionStatus));
44 if (EFI_ERROR (Request->Packet.TransactionStatus)) {
45 Request->Token->TransactionStatus = Request->Packet.TransactionStatus;
48 RemoveEntryList (&Request->Link);
50 if (Request->IsEnd) {
51 gBS->SignalEvent (Request->Token->Event);
54 FreePool (Request);
63 @retval EFI_SUCCESS The request is executed successfully.
64 @retval EFI_OUT_OF_RESOURCES The request could not be executed due to a lack of resources.
65 @retval Others The request could not be executed successfully.
108 @retval EFI_SUCCESS The request is executed successfully.
109 @retval EFI_OUT_OF_RESOURCES The request could not be executed due to a lack of resources.
110 @retval Others The request could not be executed successfully.
153 @retval EFI_SUCCESS The request is executed successfully.
154 @retval EFI_OUT_OF_RESOURCES The request could not be executed due to a lack of resources.
155 @retval Others The request could not be executed successfully.
199 @retval EFI_SUCCESS The request is executed successfully.
200 @retval EFI_OUT_OF_RESOURCES The request could not be executed due to a lack of resources.
201 @retval Others The request could not be executed successfully.
252 @retval EFI_SUCCESS The request is executed successfully.
253 @retval EFI_OUT_OF_RESOURCES The request could not be executed due to a lack of resources.
254 @retval Others The request could not be executed successfully.
299 Read/write single block through sync or async I/O request.
310 This parameter is only meaningful in async I/O request.
312 @retval EFI_SUCCESS The request is executed successfully.
313 @retval EFI_OUT_OF_RESOURCES The request could not be executed due to a lack of resources.
314 @retval Others The request could not be executed successfully.
402 // For asynchronous operation, only free request and event in error case.
403 // The request and event will be freed in asynchronous callback for success case.
416 // For synchronous operation, free request whatever the execution result is.
460 Read/write multiple blocks through sync or async I/O request.
471 This parameter is only meaningful in async I/O request.
473 @retval EFI_SUCCESS The request is executed successfully.
474 @retval EFI_OUT_OF_RESOURCES The request could not be executed due to a lack of resources.
475 @retval Others The request could not be executed successfully.
564 // For asynchronous operation, only free request and event in error case.
565 // The request and event will be freed in asynchronous callback for success case.
578 // For synchronous operation, free request whatever the execution result is.
600 @param[in] MediaId The media ID that the read/write request is for.
615 @retval EFI_INVALID_PARAMETER The read/write request contains LBAs that are not valid,
766 @retval EFI_INVALID_PARAMETER The read request contains LBAs that are not valid,
793 @param MediaId The media ID that the write request is for.
805 @retval EFI_INVALID_PARAMETER The write request contains LBAs that are not valid,
871 SD_REQUEST *Request;
883 Request = SD_REQUEST_FROM_LINK (Link);
885 gBS->CloseEvent (Request->Event);
886 Request->Token->TransactionStatus = EFI_ABORTED;
888 if (Request->IsEnd) {
889 gBS->SignalEvent (Request->Token->Event);
892 FreePool (Request);
910 @retval EFI_SUCCESS The read request was queued if Event is not NULL.
919 @retval EFI_INVALID_PARAMETER The read request contains LBAs that are not valid,
921 @retval EFI_OUT_OF_RESOURCES The request could not be completed due to a lack
949 @param[in] MediaId The media ID that the write request is for.
963 @retval EFI_INVALID_PARAMETER The write request contains LBAs that are not valid,
1017 Set the erase start address through sync or async I/O request.
1023 This parameter is only meaningful in async I/O request.
1025 @retval EFI_SUCCESS The request is executed successfully.
1026 @retval EFI_OUT_OF_RESOURCES The request could not be executed due to a lack of resources.
1027 @retval Others The request could not be executed successfully.
1093 // For asynchronous operation, only free request and event in error case.
1094 // The request and event will be freed in asynchronous callback for success case.
1107 // For synchronous operation, free request whatever the execution result is.
1121 Set the erase end address through sync or async I/O request.
1127 This parameter is only meaningful in async I/O request.
1129 @retval EFI_SUCCESS The request is executed successfully.
1130 @retval EFI_OUT_OF_RESOURCES The request could not be executed due to a lack of resources.
1131 @retval Others The request could not be executed successfully.
1197 // For asynchronous operation, only free request and event in error case.
1198 // The request and event will be freed in asynchronous callback for success case.
1211 // For synchronous operation, free request whatever the execution result is.
1225 Erase specified blocks through sync or async I/O request.
1230 This parameter is only meaningful in async I/O request.
1232 @retval EFI_SUCCESS The request is executed successfully.
1233 @retval EFI_OUT_OF_RESOURCES The request could not be executed due to a lack of resources.
1234 @retval Others The request could not be executed successfully.
1293 // For asynchronous operation, only free request and event in error case.
1294 // The request and event will be freed in asynchronous callback for success case.
1307 // For synchronous operation, free request whatever the execution result is.
1324 @param[in] MediaId The media ID that the erase request is for.
1334 @retval EFI_SUCCESS The erase request was queued if Event is not
1341 @retval EFI_INVALID_PARAMETER The erase request contains LBAs that are not