Home
last modified time | relevance | path

Searched refs:SDHostIo (Results 1 – 9 of 9) sorted by relevance

/device/linaro/bootloader/edk2/QuarkSocPkg/QuarkSouthCluster/Sdio/Dxe/SDMediaDeviceDxe/
DSDMediaDevice.c79 EFI_SD_HOST_IO_PROTOCOL *SDHostIo; in SDMediaDeviceSupported() local
87 (VOID **)&SDHostIo, in SDMediaDeviceSupported()
129 EFI_SD_HOST_IO_PROTOCOL *SDHostIo; in SDMediaDeviceStart() local
141 (VOID **) &SDHostIo, in SDMediaDeviceStart()
151 Status = SDHostIo->DetectCardAndInitHost (SDHostIo); in SDMediaDeviceStart()
164 ASSERT (SDHostIo->HostCapability.BoundarySize >= 4 * 1024); in SDMediaDeviceStart()
169 EFI_SIZE_TO_PAGES (2 * SDHostIo->HostCapability.BoundarySize), in SDMediaDeviceStart()
178 …ointer - ((UINTN)(CardData->RawBufferPointer) & (SDHostIo->HostCapability.BoundarySize - 1)) + SDH… in SDMediaDeviceStart()
181 CardData->SDHostIo = SDHostIo; in SDMediaDeviceStart()
239 …CAL_ADDRESS) (UINTN) CardData->RawBufferPointer, EFI_SIZE_TO_PAGES (2 * SDHostIo->HostCapability.B… in SDMediaDeviceStart()
[all …]
DMMCSDTransfer.c153 EFI_SD_HOST_IO_PROTOCOL *SDHostIo; in SendCommand() local
154 SDHostIo = CardData->SDHostIo; in SendCommand()
159 Status = SDHostIo->SendCommand ( in SendCommand()
160 SDHostIo, in SendCommand()
176 SDHostIo->ResetSDHost (SDHostIo, Reset_DAT_CMD); in SendCommand()
216 EFI_SD_HOST_IO_PROTOCOL *SDHostIo; in SendAppCommand() local
219 SDHostIo = CardData->SDHostIo; in SendAppCommand()
223 Status = SDHostIo->SendCommand ( in SendAppCommand()
224 SDHostIo, in SendAppCommand()
243 SDHostIo->ResetSDHost (SDHostIo, Reset_Auto); in SendAppCommand()
[all …]
DMMCSDBlockIo.c37 EFI_SD_HOST_IO_PROTOCOL *SDHostIo; in MMCSDBlockReset() local
40 SDHostIo = CardData->SDHostIo; in MMCSDBlockReset()
42 return SDHostIo->ResetSDHost (SDHostIo, Reset_DAT_CMD); in MMCSDBlockReset()
78 EFI_SD_HOST_IO_PROTOCOL *SDHostIo; in MMCSDBlockReadBlocks() local
88 SDHostIo = CardData->SDHostIo; in MMCSDBlockReadBlocks()
143 if (RemainingLength > SDHostIo->HostCapability.BoundarySize) { in MMCSDBlockReadBlocks()
144 TransferLength = SDHostIo->HostCapability.BoundarySize; in MMCSDBlockReadBlocks()
308 EFI_SD_HOST_IO_PROTOCOL *SDHostIo; in MMCSDBlockWriteBlocks() local
317 SDHostIo = CardData->SDHostIo; in MMCSDBlockWriteBlocks()
365 if (RemainingLength > SDHostIo->HostCapability.BoundarySize) { in MMCSDBlockWriteBlocks()
[all …]
DCEATABlockIo.c38 EFI_SD_HOST_IO_PROTOCOL *SDHostIo; in CEATABlockReset() local
41 SDHostIo = CardData->SDHostIo; in CEATABlockReset()
46 Status = SDHostIo->ResetSDHost (SDHostIo, Reset_DAT_CMD); in CEATABlockReset()
104 BoundarySize = CardData->SDHostIo->HostCapability.BoundarySize; in CEATABlockReadBlocks()
214 BoundarySize = CardData->SDHostIo->HostCapability.BoundarySize; in CEATABlockWriteBlocks()
DCEATA.c121 EFI_SD_HOST_IO_PROTOCOL *SDHostIo; in ReadWriteMultipleBlock() local
125 SDHostIo = CardData->SDHostIo; in ReadWriteMultipleBlock()
128 if (TransferLength > SDHostIo->HostCapability.BoundarySize) { in ReadWriteMultipleBlock()
634 CardData->SDHostIo->ResetSDHost (CardData->SDHostIo, Reset_DAT_CMD); in IsCEATADevice()
644 CardData->SDHostIo->EnableAutoStopCmd (CardData->SDHostIo, FALSE); in IsCEATADevice()
DSDMediaDevice.h77 EFI_SD_HOST_IO_PROTOCOL *SDHostIo; member
/device/linaro/bootloader/edk2/QuarkSocPkg/QuarkSouthCluster/Sdio/Dxe/SDControllerDxe/
DComponentName.c185 EFI_SD_HOST_IO_PROTOCOL *SDHostIo; in SDControllerGetControllerName() local
213 (VOID **) &SDHostIo, in SDControllerGetControllerName()
223 SDHostData = SDHOST_DATA_FROM_THIS(SDHostIo); in SDControllerGetControllerName()
DSDController.c966 if ((SDHostData->SDHostIo.HostCapability.BusWidth8 == FALSE) && (BusWidth == 8)) { in SetBusWidth()
1613 CopyMem (&SDHostData->SDHostIo, &mSDHostIo, sizeof (EFI_SD_HOST_IO_PROTOCOL)); in SDControllerStart()
1615 ResetSDHost (&SDHostData->SDHostIo, Reset_All); in SDControllerStart()
1625 SDHostData->SDHostIo.HostCapability.HostVersion = Data & 0xFF; in SDControllerStart()
1626 …DEBUG ((EFI_D_INFO, "SdHostDriverBindingStart: HostVersion 0x%x \r\n", SDHostData->SDHostIo.HostCa… in SDControllerStart()
1638 SDHostData->SDHostIo.HostCapability.BusWidth8 = TRUE; in SDControllerStart()
1642 SDHostData->SDHostIo.HostCapability.HighSpeedSupport = TRUE; in SDControllerStart()
1646 SDHostData->SDHostIo.HostCapability.V33Support = TRUE; in SDControllerStart()
1650 SDHostData->SDHostIo.HostCapability.V30Support = TRUE; in SDControllerStart()
1654 SDHostData->SDHostIo.HostCapability.V18Support = TRUE; in SDControllerStart()
[all …]
DSDController.h66 EFI_SD_HOST_IO_PROTOCOL SDHostIo; member
76 CR(a, SDHOST_DATA, SDHostIo, SDHOST_DATA_SIGNATURE)