31 IN OUT VOID *InquiryData,
32 IN OUT UINT32 *InquiryDataSize
39 Partition = EMMC_PARTITION_DATA_FROM_DISKINFO (This);
40 Device = Partition->Device;
42 if (*InquiryDataSize >=
sizeof (Device->Cid)) {
44 CopyMem (InquiryData, &Device->Cid, sizeof (Device->Cid));
46 Status = EFI_BUFFER_TOO_SMALL;
49 *InquiryDataSize =
sizeof (Device->Cid);
76 IN OUT VOID *IdentifyData,
77 IN OUT UINT32 *IdentifyDataSize
104 IN OUT VOID *SenseData,
105 IN OUT UINT32 *SenseDataSize,
106 OUT UINT8 *SenseDataNumber
109 return EFI_NOT_FOUND;
129 OUT UINT32 *IdeChannel,
130 OUT UINT32 *IdeDevice
133 return EFI_UNSUPPORTED;
VOID *EFIAPI CopyMem(OUT VOID *DestinationBuffer, IN CONST VOID *SourceBuffer, IN UINTN Length)
EFI_STATUS EFIAPI EmmcDiskInfoSenseData(IN EFI_DISK_INFO_PROTOCOL *This, IN OUT VOID *SenseData, IN OUT UINT32 *SenseDataSize, OUT UINT8 *SenseDataNumber)
EFI_STATUS EFIAPI EmmcDiskInfoIdentify(IN EFI_DISK_INFO_PROTOCOL *This, IN OUT VOID *IdentifyData, IN OUT UINT32 *IdentifyDataSize)
EFI_STATUS EFIAPI EmmcDiskInfoInquiry(IN EFI_DISK_INFO_PROTOCOL *This, IN OUT VOID *InquiryData, IN OUT UINT32 *InquiryDataSize)
EFI_STATUS EFIAPI EmmcDiskInfoWhichIde(IN EFI_DISK_INFO_PROTOCOL *This, OUT UINT32 *IdeChannel, OUT UINT32 *IdeDevice)