Home
last modified time | relevance | path

Searched refs:PtrSenseData (Results 1 – 2 of 2) sorted by relevance

/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Ata/AtaAtapiPassThru/
DAtaAtapiPassThru.c1990 EFI_SCSI_SENSE_DATA *PtrSenseData; in ExtScsiPassThruPassThru() local
2100PtrSenseData = AllocateAlignedPages (EFI_SIZE_TO_PAGES (sizeof (EFI_SCSI_SENSE_DATA)), This->Mode-… in ExtScsiPassThruPassThru()
2101 if (PtrSenseData == NULL) { in ExtScsiPassThruPassThru()
2110 PtrSenseData, in ExtScsiPassThruPassThru()
2118 … CopyMem ((UINT8*)Packet->SenseData + SenseDataLen, PtrSenseData, sizeof (EFI_SCSI_SENSE_DATA)); in ExtScsiPassThruPassThru()
2125 if ((PtrSenseData->Sense_Key == EFI_SCSI_SK_NO_SENSE) || in ExtScsiPassThruPassThru()
2130 FreeAlignedPages (PtrSenseData, EFI_SIZE_TO_PAGES (sizeof (EFI_SCSI_SENSE_DATA))); in ExtScsiPassThruPassThru()
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Scsi/ScsiDiskDxe/
DScsiDisk.c2656 EFI_SCSI_SENSE_DATA *PtrSenseData; in ScsiDiskRequestSenseKeys() local
2675 PtrSenseData = AllocateAlignedBuffer (ScsiDiskDevice, sizeof (EFI_SCSI_SENSE_DATA)); in ScsiDiskRequestSenseKeys()
2676 if (PtrSenseData == NULL) { in ScsiDiskRequestSenseKeys()
2681 ZeroMem (PtrSenseData, sizeof (EFI_SCSI_SENSE_DATA)); in ScsiDiskRequestSenseKeys()
2685 PtrSenseData, in ScsiDiskRequestSenseKeys()
2720 CopyMem (ScsiDiskDevice->SenseData + *NumberOfSenseKeys, PtrSenseData, SenseDataLength); in ScsiDiskRequestSenseKeys()
2727 if ((PtrSenseData->Sense_Key == EFI_SCSI_SK_NO_SENSE) || in ScsiDiskRequestSenseKeys()
2734 FreeAlignedBuffer (PtrSenseData, sizeof (EFI_SCSI_SENSE_DATA)); in ScsiDiskRequestSenseKeys()