31 IN OUT VOID *InquiryData,
32 IN OUT UINT32 *InquiryDataSize
38 Device = SD_DEVICE_DATA_FROM_DISKINFO (This);
40 if (*InquiryDataSize >=
sizeof (Device->Cid)) {
42 CopyMem (InquiryData, &Device->Cid, sizeof (Device->Cid));
44 Status = EFI_BUFFER_TOO_SMALL;
47 *InquiryDataSize =
sizeof (Device->Cid);
74 IN OUT VOID *IdentifyData,
75 IN OUT UINT32 *IdentifyDataSize
102 IN OUT VOID *SenseData,
103 IN OUT UINT32 *SenseDataSize,
104 OUT UINT8 *SenseDataNumber
107 return EFI_NOT_FOUND;
127 OUT UINT32 *IdeChannel,
128 OUT UINT32 *IdeDevice
131 return EFI_UNSUPPORTED;
VOID *EFIAPI CopyMem(OUT VOID *DestinationBuffer, IN CONST VOID *SourceBuffer, IN UINTN Length)
EFI_STATUS EFIAPI SdDiskInfoInquiry(IN EFI_DISK_INFO_PROTOCOL *This, IN OUT VOID *InquiryData, IN OUT UINT32 *InquiryDataSize)
EFI_STATUS EFIAPI SdDiskInfoSenseData(IN EFI_DISK_INFO_PROTOCOL *This, IN OUT VOID *SenseData, IN OUT UINT32 *SenseDataSize, OUT UINT8 *SenseDataNumber)
EFI_STATUS EFIAPI SdDiskInfoWhichIde(IN EFI_DISK_INFO_PROTOCOL *This, OUT UINT32 *IdeChannel, OUT UINT32 *IdeDevice)
EFI_STATUS EFIAPI SdDiskInfoIdentify(IN EFI_DISK_INFO_PROTOCOL *This, IN OUT VOID *IdentifyData, IN OUT UINT32 *IdentifyDataSize)