46#define SD_DEVICE_SIGNATURE SIGNATURE_32 ('S', 'D', 't', 'f')
48#define SD_DEVICE_DATA_FROM_BLKIO(a) \
49 CR(a, SD_DEVICE, BlockIo, SD_DEVICE_SIGNATURE)
51#define SD_DEVICE_DATA_FROM_BLKIO2(a) \
52 CR(a, SD_DEVICE, BlockIo2, SD_DEVICE_SIGNATURE)
54#define SD_DEVICE_DATA_FROM_ERASEBLK(a) \
55 CR(a, SD_DEVICE, EraseBlock, SD_DEVICE_SIGNATURE)
57#define SD_DEVICE_DATA_FROM_DISKINFO(a) \
58 CR(a, SD_DEVICE, DiskInfo, SD_DEVICE_SIGNATURE)
63#define SD_GENERIC_TIMEOUT 2500 * 1000
65#define SD_REQUEST_SIGNATURE SIGNATURE_32 ('S', 'D', 'R', 'E')
67#define SD_MODEL_NAME_MAX_LEN 32
90#define SD_REQUEST_FROM_LINK(a) \
91 CR(a, SD_REQUEST, Link, SD_REQUEST_SIGNATURE)
98 BOOLEAN SectorAddressing;
117 CHAR16 ModelName[SD_MODEL_NAME_MAX_LEN];
303 OUT CHAR16 **DriverName
381 OUT CHAR16 **ControllerName
433 OUT UINT32 *DevStatus
EFI_STATUS EFIAPI SdDxeComponentNameGetDriverName(IN EFI_COMPONENT_NAME_PROTOCOL *This, IN CHAR8 *Language, OUT CHAR16 **DriverName)
EFI_STATUS SdSelect(IN SD_DEVICE *Device, IN UINT16 Rca)
EFI_STATUS EFIAPI SdDxeDriverBindingStop(IN EFI_DRIVER_BINDING_PROTOCOL *This, IN EFI_HANDLE Controller, IN UINTN NumberOfChildren, IN EFI_HANDLE *ChildHandleBuffer)
EFI_STATUS EFIAPI SdDxeDriverBindingSupported(IN EFI_DRIVER_BINDING_PROTOCOL *This, IN EFI_HANDLE Controller, IN EFI_DEVICE_PATH_PROTOCOL *RemainingDevicePath)
EFI_STATUS SdGetCsd(IN SD_DEVICE *Device, IN UINT16 Rca, OUT SD_CSD *Csd)
EFI_STATUS EFIAPI SdDxeDriverBindingStart(IN EFI_DRIVER_BINDING_PROTOCOL *This, IN EFI_HANDLE Controller, IN EFI_DEVICE_PATH_PROTOCOL *RemainingDevicePath)
EFI_STATUS SdSendStatus(IN SD_DEVICE *Device, IN UINT16 Rca, OUT UINT32 *DevStatus)
EFI_STATUS SdSetRca(IN SD_DEVICE *Device, OUT UINT16 *Rca)
EFI_STATUS EFIAPI SdDxeComponentNameGetControllerName(IN EFI_COMPONENT_NAME_PROTOCOL *This, IN EFI_HANDLE ControllerHandle, IN EFI_HANDLE ChildHandle OPTIONAL, IN CHAR8 *Language, OUT CHAR16 **ControllerName)
EFI_STATUS SdGetCid(IN SD_DEVICE *Device, IN UINT16 Rca, OUT SD_CID *Cid)