Home
last modified time | relevance | path

Searched refs:InquiryData (Results 1 – 19 of 19) sorted by relevance

/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Usb/UsbMassStorageDxe/
DUsbMassDiskInfo.c63 IN OUT VOID *InquiryData, in UsbDiskInfoInquiry() argument
73 if (*InquiryDataSize >= sizeof (UsbMass->InquiryData)) { in UsbDiskInfoInquiry()
75 CopyMem (InquiryData, &UsbMass->InquiryData, sizeof (UsbMass->InquiryData)); in UsbDiskInfoInquiry()
77 *InquiryDataSize = sizeof (UsbMass->InquiryData); in UsbDiskInfoInquiry()
DUsbMassDiskInfo.h53 IN OUT VOID *InquiryData,
DUsbMass.h189 USB_BOOT_INQUIRY_DATA InquiryData; member
DUsbMassBoot.c356 ZeroMem (&UsbMass->InquiryData, sizeof (USB_BOOT_INQUIRY_DATA)); in UsbBootInquiry()
367 &UsbMass->InquiryData, in UsbBootInquiry()
379 UsbMass->Pdt = (UINT8) (USB_BOOT_PDT (UsbMass->InquiryData.Pdt)); in UsbBootInquiry()
380 Media->RemovableMedia = (BOOLEAN) (USB_BOOT_REMOVABLE (UsbMass->InquiryData.Removable)); in UsbBootInquiry()
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Csm/LegacyBiosDxe/
DLegacyIde.c47 UINT8 *InquiryData; in LegacyBiosBuildIdeData() local
194 InquiryData = NULL; in LegacyBiosBuildIdeData()
202 InquiryData = (UINT8 *) AllocatePool ( in LegacyBiosBuildIdeData()
205 if (InquiryData != NULL) { in LegacyBiosBuildIdeData()
208 InquiryData, in LegacyBiosBuildIdeData()
220 ASSERT (InquiryData != NULL); in LegacyBiosBuildIdeData()
225 if ((InquiryData[0] & 0x1f) == 0x05) { in LegacyBiosBuildIdeData()
227 } else if ((InquiryData[0] & 0x1f) == 0x00) { in LegacyBiosBuildIdeData()
231 if ((InquiryData[0] & 0x1f) == 0x05) { in LegacyBiosBuildIdeData()
233 } else if ((InquiryData[0] & 0x1f) == 0x00) { in LegacyBiosBuildIdeData()
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Scsi/ScsiBusDxe/
DScsiBus.c1300 EFI_SCSI_INQUIRY_DATA *InquiryData; in DiscoverScsiDevice() local
1308 InquiryData = AllocateAlignedBuffer (ScsiIoDevice, sizeof (EFI_SCSI_INQUIRY_DATA)); in DiscoverScsiDevice()
1309 if (InquiryData == NULL) { in DiscoverScsiDevice()
1319 ZeroMem (InquiryData, InquiryDataLength); in DiscoverScsiDevice()
1330 (VOID *) InquiryData, in DiscoverScsiDevice()
1352 if ((InquiryData->Peripheral_Qualifier != 0) && in DiscoverScsiDevice()
1353 (InquiryData->Peripheral_Qualifier != 3)) { in DiscoverScsiDevice()
1358 if (InquiryData->Peripheral_Qualifier == 3) { in DiscoverScsiDevice()
1359 if (InquiryData->Peripheral_Type != 0x1f) { in DiscoverScsiDevice()
1365 if (0x1e >= InquiryData->Peripheral_Type && InquiryData->Peripheral_Type >= 0xa) { in DiscoverScsiDevice()
[all …]
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/
DAtapi.c549 ATAPI_INQUIRY_DATA *InquiryData; in AtapiInquiry() local
559 InquiryData = AllocatePool (sizeof (ATAPI_INQUIRY_DATA)); in AtapiInquiry()
560 if (InquiryData == NULL) { in AtapiInquiry()
570 (UINT16 *) InquiryData, in AtapiInquiry()
575 gBS->FreePool (InquiryData); in AtapiInquiry()
579 IdeDev->InquiryData = InquiryData; in AtapiInquiry()
669 IdeDev->BlkIo.Media->RemovableMedia = (UINT8) ((IdeDev->InquiryData->RMB & 0x80) == 0x80); in ATAPIIdentify()
674 switch (IdeDev->InquiryData->peripheral_type & 0x1f) { in ATAPIIdentify()
731 gBS->FreePool (IdeDev->InquiryData); in ATAPIIdentify()
736 IdeDev->InquiryData = NULL; in ATAPIIdentify()
[all …]
DIdeBus.h93 ATAPI_INQUIRY_DATA *InquiryData; member
458 IN OUT VOID *InquiryData,
DIdeBus.c1318 IN OUT VOID *InquiryData, in IDEDiskInfoInquiry() argument
1331 if (IdeBlkIoDevice->InquiryData == NULL) { in IDEDiskInfoInquiry()
1335 gBS->CopyMem (InquiryData, IdeBlkIoDevice->InquiryData, sizeof (ATAPI_INQUIRY_DATA)); in IDEDiskInfoInquiry()
DIde.c1193 if (IdeBlkIoDevice->InquiryData != NULL) { in ReleaseIdeResources()
1194 gBS->FreePool (IdeBlkIoDevice->InquiryData); in ReleaseIdeResources()
1195 IdeBlkIoDevice->InquiryData = NULL; in ReleaseIdeResources()
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/NvmExpressDxe/
DNvmExpressDiskInfo.h53 IN OUT VOID *InquiryData,
DNvmExpressDiskInfo.c63 IN OUT VOID *InquiryData, in NvmExpressDiskInfoInquiry() argument
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Protocol/DiskInfo/
DDiskInfo.h38 IN OUT VOID *InquiryData,
/device/linaro/bootloader/edk2/MdePkg/Include/Protocol/
DDiskInfo.h104 IN OUT VOID *InquiryData,
/device/linaro/bootloader/edk2/MdeModulePkg/Library/UefiBootManagerLib/
DBmBootDescription.c151 EFI_SCSI_INQUIRY_DATA InquiryData; in BmGetDescriptionFromDiskInfo() local
203 &InquiryData, in BmGetDescriptionFromDiskInfo()
215 StrPtr = (CHAR8 *) (&InquiryData.Reserved_5_95[VENDOR_IDENTIFICATION_OFFSET]); in BmGetDescriptionFromDiskInfo()
226 StrPtr = (CHAR8 *) (&InquiryData.Reserved_5_95[PRODUCT_IDENTIFICATION_OFFSET]); in BmGetDescriptionFromDiskInfo()
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Scsi/ScsiDiskDxe/
DScsiDisk.h71 EFI_SCSI_INQUIRY_DATA InquiryData; member
667 IN OUT VOID *InquiryData,
DScsiDisk.c1937 (VOID *) &(ScsiDiskDevice->InquiryData), in ScsiDiskInquiryDevice()
2813 …ScsiDiskDevice->FixedDevice = (BOOLEAN) ((ScsiDiskDevice->InquiryData.Rmb == 1) ? 0 … in ParseInquiryData()
5470 IN OUT VOID *InquiryData, in ScsiDiskInfoInquiry() argument
5480 if (*InquiryDataSize >= sizeof (ScsiDiskDevice->InquiryData)) { in ScsiDiskInfoInquiry()
5482 CopyMem (InquiryData, &ScsiDiskDevice->InquiryData, sizeof (ScsiDiskDevice->InquiryData)); in ScsiDiskInfoInquiry()
5484 *InquiryDataSize = sizeof (ScsiDiskDevice->InquiryData); in ScsiDiskInfoInquiry()
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Ata/AtaBusDxe/
DAtaBus.h829 IN OUT VOID *InquiryData,
DAtaBus.c1349 IN OUT VOID *InquiryData, in AtaDiskInfoInquiry() argument