Home
last modified time | relevance | path

Searched refs:CommandPacket (Results 1 – 10 of 10) sorted by relevance

/device/linaro/bootloader/edk2/MdePkg/Library/UefiScsiLib/
DUefiScsiLib.c43 EFI_SCSI_IO_SCSI_REQUEST_PACKET CommandPacket; member
147 EFI_SCSI_IO_SCSI_REQUEST_PACKET CommandPacket; in ScsiTestUnitReadyCommand() local
156 ZeroMem (&CommandPacket, sizeof (EFI_SCSI_IO_SCSI_REQUEST_PACKET)); in ScsiTestUnitReadyCommand()
159 CommandPacket.Timeout = Timeout; in ScsiTestUnitReadyCommand()
160 CommandPacket.InDataBuffer = NULL; in ScsiTestUnitReadyCommand()
161 CommandPacket.InTransferLength= 0; in ScsiTestUnitReadyCommand()
162 CommandPacket.OutDataBuffer = NULL; in ScsiTestUnitReadyCommand()
163 CommandPacket.OutTransferLength= 0; in ScsiTestUnitReadyCommand()
164 CommandPacket.SenseData = SenseData; in ScsiTestUnitReadyCommand()
165 CommandPacket.Cdb = Cdb; in ScsiTestUnitReadyCommand()
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/NvmExpressDxe/
DNvmExpressBlockIo.c40 EFI_NVM_EXPRESS_PASS_THRU_COMMAND_PACKET CommandPacket; in ReadSectors() local
50 ZeroMem (&CommandPacket, sizeof(EFI_NVM_EXPRESS_PASS_THRU_COMMAND_PACKET)); in ReadSectors()
54 CommandPacket.NvmeCmd = &Command; in ReadSectors()
55 CommandPacket.NvmeCompletion = &Completion; in ReadSectors()
57 CommandPacket.NvmeCmd->Cdw0.Opcode = NVME_IO_READ_OPC; in ReadSectors()
58 CommandPacket.NvmeCmd->Nsid = Device->NamespaceId; in ReadSectors()
59 CommandPacket.TransferBuffer = (VOID *)(UINTN)Buffer; in ReadSectors()
61 CommandPacket.TransferLength = Bytes; in ReadSectors()
62 CommandPacket.CommandTimeout = NVME_GENERIC_TIMEOUT; in ReadSectors()
63 CommandPacket.QueueType = NVME_IO_QUEUE; in ReadSectors()
[all …]
DNvmExpressHci.c576 EFI_NVM_EXPRESS_PASS_THRU_COMMAND_PACKET CommandPacket; in NvmeIdentifyController() local
581 ZeroMem (&CommandPacket, sizeof(EFI_NVM_EXPRESS_PASS_THRU_COMMAND_PACKET)); in NvmeIdentifyController()
592 CommandPacket.NvmeCmd = &Command; in NvmeIdentifyController()
593 CommandPacket.NvmeCompletion = &Completion; in NvmeIdentifyController()
594 CommandPacket.TransferBuffer = Buffer; in NvmeIdentifyController()
595 CommandPacket.TransferLength = sizeof (NVME_ADMIN_CONTROLLER_DATA); in NvmeIdentifyController()
596 CommandPacket.CommandTimeout = NVME_GENERIC_TIMEOUT; in NvmeIdentifyController()
597 CommandPacket.QueueType = NVME_ADMIN_QUEUE; in NvmeIdentifyController()
607 &CommandPacket, in NvmeIdentifyController()
632 EFI_NVM_EXPRESS_PASS_THRU_COMMAND_PACKET CommandPacket; in NvmeIdentifyNamespace() local
[all …]
DNvmExpress.c580 FreePool (Subtask->CommandPacket->NvmeCmd); in ProcessAsyncTaskList()
581 FreePool (Subtask->CommandPacket->NvmeCompletion); in ProcessAsyncTaskList()
582 FreePool (Subtask->CommandPacket); in ProcessAsyncTaskList()
591 Subtask->CommandPacket, in ProcessAsyncTaskList()
611 FreePool (Subtask->CommandPacket->NvmeCmd); in ProcessAsyncTaskList()
612 FreePool (Subtask->CommandPacket->NvmeCompletion); in ProcessAsyncTaskList()
613 FreePool (Subtask->CommandPacket); in ProcessAsyncTaskList()
DNvmExpress.h274 EFI_NVM_EXPRESS_PASS_THRU_COMMAND_PACKET *CommandPacket; member
/device/linaro/bootloader/edk2/SecurityPkg/Tcg/Opal/OpalPasswordSmm/
DOpalNvmeMode.c1077 NVM_EXPRESS_PASS_THRU_COMMAND_PACKET CommandPacket; in NvmeIdentifyController() local
1082 ZeroMem (&CommandPacket, sizeof(NVM_EXPRESS_PASS_THRU_COMMAND_PACKET)); in NvmeIdentifyController()
1094 CommandPacket.NvmeCmd = &Command; in NvmeIdentifyController()
1095 CommandPacket.NvmeResponse = &Response; in NvmeIdentifyController()
1096 CommandPacket.TransferBuffer = (UINT64)(UINTN)Buffer; in NvmeIdentifyController()
1097 CommandPacket.TransferLength = sizeof (NVME_ADMIN_CONTROLLER_DATA); in NvmeIdentifyController()
1098 CommandPacket.CommandTimeout = NVME_GENERIC_TIMEOUT; in NvmeIdentifyController()
1099 CommandPacket.QueueId = NVME_ADMIN_QUEUE; in NvmeIdentifyController()
1110 &CommandPacket in NvmeIdentifyController()
1113 Status = NvmeWaitAllComplete (Nvme, CommandPacket.QueueId); in NvmeIdentifyController()
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Scsi/ScsiBusDxe/
DScsiBus.c42 OUT EFI_SCSI_PASS_THRU_SCSI_REQUEST_PACKET *CommandPacket
1404 OUT EFI_SCSI_PASS_THRU_SCSI_REQUEST_PACKET *CommandPacket in ScsiioToPassThruPacket() argument
1414 ZeroMem (CommandPacket, sizeof (EFI_SCSI_PASS_THRU_SCSI_REQUEST_PACKET)); in ScsiioToPassThruPacket()
1416 CommandPacket->Timeout = Packet->Timeout; in ScsiioToPassThruPacket()
1417 CommandPacket->Cdb = Packet->Cdb; in ScsiioToPassThruPacket()
1418 CommandPacket->CdbLength = Packet->CdbLength; in ScsiioToPassThruPacket()
1419 CommandPacket->DataDirection = Packet->DataDirection; in ScsiioToPassThruPacket()
1420 CommandPacket->HostAdapterStatus = Packet->HostAdapterStatus; in ScsiioToPassThruPacket()
1421 CommandPacket->TargetStatus = Packet->TargetStatus; in ScsiioToPassThruPacket()
1422 CommandPacket->SenseData = Packet->SenseData; in ScsiioToPassThruPacket()
[all …]
DScsiBus.h450 IN OUT EFI_SCSI_IO_SCSI_REQUEST_PACKET *CommandPacket,
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Scsi/ScsiDiskDxe/
DScsiDisk.c1317 EFI_SCSI_IO_SCSI_REQUEST_PACKET *CommandPacket; in ScsiDiskAsyncUnmapNotify() local
1324 CommandPacket = &EraseBlkReq->CommandPacket; in ScsiDiskAsyncUnmapNotify()
1328 Status = CheckHostAdapterStatus (CommandPacket->HostAdapterStatus); in ScsiDiskAsyncUnmapNotify()
1333 CommandPacket->HostAdapterStatus in ScsiDiskAsyncUnmapNotify()
1340 Status = CheckTargetStatus (CommandPacket->TargetStatus); in ScsiDiskAsyncUnmapNotify()
1345 CommandPacket->HostAdapterStatus in ScsiDiskAsyncUnmapNotify()
1354 FreePool (CommandPacket->OutDataBuffer); in ScsiDiskAsyncUnmapNotify()
1355 FreePool (EraseBlkReq->CommandPacket.Cdb); in ScsiDiskAsyncUnmapNotify()
1384 EFI_SCSI_IO_SCSI_REQUEST_PACKET *CommandPacket; in ScsiDiskUnmap() local
1416 EraseBlkReq->CommandPacket.Cdb = AllocateZeroPool (0xA); in ScsiDiskUnmap()
[all …]
DScsiDisk.h160 EFI_SCSI_IO_SCSI_REQUEST_PACKET CommandPacket; member