56 IN OUT VOID *InquiryData,
57 IN OUT UINT32 *InquiryDataSize
85 IN OUT VOID *IdentifyData,
86 IN OUT UINT32 *IdentifyDataSize
92 Device = NVME_DEVICE_PRIVATE_DATA_FROM_DISK_INFO (This);
94 Status = EFI_BUFFER_TOO_SMALL;
95 if (*IdentifyDataSize >=
sizeof (Device->NamespaceData)) {
97 CopyMem (IdentifyData, &Device->NamespaceData, sizeof (Device->NamespaceData));
100 *IdentifyDataSize =
sizeof (Device->NamespaceData);
125 IN OUT VOID *SenseData,
126 IN OUT UINT32 *SenseDataSize,
127 OUT UINT8 *SenseDataNumber
130 return EFI_NOT_FOUND;
148 OUT UINT32 *IdeChannel,
149 OUT UINT32 *IdeDevice
152 return EFI_UNSUPPORTED;
VOID *EFIAPI CopyMem(OUT VOID *DestinationBuffer, IN CONST VOID *SourceBuffer, IN UINTN Length)
#define EFI_DISK_INFO_NVME_INTERFACE_GUID
EFI_STATUS EFIAPI NvmExpressDiskInfoSenseData(IN EFI_DISK_INFO_PROTOCOL *This, IN OUT VOID *SenseData, IN OUT UINT32 *SenseDataSize, OUT UINT8 *SenseDataNumber)
VOID InitializeDiskInfo(IN NVME_DEVICE_PRIVATE_DATA *Device)
EFI_STATUS EFIAPI NvmExpressDiskInfoWhichIde(IN EFI_DISK_INFO_PROTOCOL *This, OUT UINT32 *IdeChannel, OUT UINT32 *IdeDevice)
EFI_STATUS EFIAPI NvmExpressDiskInfoIdentify(IN EFI_DISK_INFO_PROTOCOL *This, IN OUT VOID *IdentifyData, IN OUT UINT32 *IdentifyDataSize)
EFI_STATUS EFIAPI NvmExpressDiskInfoInquiry(IN EFI_DISK_INFO_PROTOCOL *This, IN OUT VOID *InquiryData, IN OUT UINT32 *InquiryDataSize)