Home
last modified time | relevance | path

Searched refs:CardData (Results 1 – 8 of 8) sorted by relevance

/device/linaro/bootloader/edk2/QuarkSocPkg/QuarkSouthCluster/Sdio/Dxe/SDMediaDeviceDxe/
DMMCSDBlockIo.c36 CARD_DATA *CardData; in MMCSDBlockReset() local
39 CardData = CARD_DATA_FROM_THIS(This); in MMCSDBlockReset()
40 SDHostIo = CardData->SDHostIo; in MMCSDBlockReset()
77 CARD_DATA *CardData; in MMCSDBlockReadBlocks() local
87 CardData = CARD_DATA_FROM_THIS(This); in MMCSDBlockReadBlocks()
88 SDHostIo = CardData->SDHostIo; in MMCSDBlockReadBlocks()
89 if (MediaId != CardData->BlockIoMedia.MediaId) { in MMCSDBlockReadBlocks()
93 if (ModU64x32 (BufferSize,CardData->BlockIoMedia.BlockSize) != 0) { in MMCSDBlockReadBlocks()
96 if ((CardData->CardType == SDMemoryCard2High) || (CardData->CardType == MMCCardHighCap)) { in MMCSDBlockReadBlocks()
105 Address = (UINT32)DivU64x32 (MultU64x32 (LBA, CardData->BlockIoMedia.BlockSize), 512); in MMCSDBlockReadBlocks()
[all …]
DMMCSDTransfer.c140 IN CARD_DATA *CardData, in SendCommand() argument
154 SDHostIo = CardData->SDHostIo; in SendCommand()
155 if (CardData->CardType != MMCCard && CardData->CardType != MMCCardHighCap) { in SendCommand()
203 IN CARD_DATA *CardData, in SendAppCommand() argument
219 SDHostIo = CardData->SDHostIo; in SendAppCommand()
226 (CardData->Address << 16), in SendAppCommand()
232 (UINT32*)&(CardData->CardStatus) in SendAppCommand()
235 Status = CheckCardStatus (*(UINT32*)&(CardData->CardStatus)); in SendAppCommand()
236 if (CardData->CardStatus.SAPP_CMD != 1) { in SendAppCommand()
250 if (CardData->CardType != MMCCard && CardData->CardType != MMCCardHighCap) { in SendAppCommand()
[all …]
DCEATA.c38 IN CARD_DATA *CardData, in ReadWriteMultipleRegister() argument
62 CopyMem (CardData->AlignedBuffer, Buffer, ByteCount); in ReadWriteMultipleRegister()
65 CardData, in ReadWriteMultipleRegister()
69 CardData->AlignedBuffer, in ReadWriteMultipleRegister()
73 (UINT32*)&(CardData->CardStatus) in ReadWriteMultipleRegister()
77 CardData, in ReadWriteMultipleRegister()
81 CardData->AlignedBuffer, in ReadWriteMultipleRegister()
85 (UINT32*)&(CardData->CardStatus) in ReadWriteMultipleRegister()
88 CopyMem (Buffer, CardData->AlignedBuffer, ByteCount); in ReadWriteMultipleRegister()
114 IN CARD_DATA *CardData, in ReadWriteMultipleBlock() argument
[all …]
DCEATABlockIo.c37 CARD_DATA *CardData; in CEATABlockReset() local
40 CardData = CARD_DATA_FROM_THIS(This); in CEATABlockReset()
41 SDHostIo = CardData->SDHostIo; in CEATABlockReset()
44 Status = SoftwareReset (CardData); in CEATABlockReset()
51 Status = MMCSDCardInit (CardData); in CEATABlockReset()
90 CARD_DATA *CardData; in CEATABlockReadBlocks() local
100 CardData = CARD_DATA_FROM_THIS(This); in CEATABlockReadBlocks()
103 Address = MultU64x32(LBA, CardData->BlockIoMedia.BlockSize); in CEATABlockReadBlocks()
104 BoundarySize = CardData->SDHostIo->HostCapability.BoundarySize; in CEATABlockReadBlocks()
112 if (MediaId != CardData->BlockIoMedia.MediaId) { in CEATABlockReadBlocks()
[all …]
DSDMediaDevice.c130 CARD_DATA *CardData; in SDMediaDeviceStart() local
132 CardData = NULL; in SDMediaDeviceStart()
157 CardData = (CARD_DATA*)AllocateZeroPool(sizeof (CARD_DATA)); in SDMediaDeviceStart()
158 if (CardData == NULL) { in SDMediaDeviceStart()
165 CardData->RawBufferPointer = (UINT8*)((UINTN)DMA_MEMORY_TOP); in SDMediaDeviceStart()
170 (EFI_PHYSICAL_ADDRESS *)(&CardData->RawBufferPointer) in SDMediaDeviceStart()
173 if (CardData->RawBufferPointer == NULL) { in SDMediaDeviceStart()
178CardData->AlignedBuffer = CardData->RawBufferPointer - ((UINTN)(CardData->RawBufferPointer) & (SDH… in SDMediaDeviceStart()
180 CardData->Signature = CARD_DATA_SIGNATURE; in SDMediaDeviceStart()
181 CardData->SDHostIo = SDHostIo; in SDMediaDeviceStart()
[all …]
DSDMediaDevice.h190 IN CARD_DATA *CardData
214 IN CARD_DATA *CardData,
246 IN CARD_DATA *CardData,
273 IN CARD_DATA *CardData,
290 IN CARD_DATA *CardData
308 IN CARD_DATA *CardData
330 IN CARD_DATA *CardData,
352 IN CARD_DATA *CardData
370 IN CARD_DATA *CardData
388 IN CARD_DATA *CardData
[all …]
DComponentName.c186 CARD_DATA *CardData; in SDMediaDeviceGetControllerName() local
211 CardData = CARD_DATA_FROM_THIS (BlockIo); in SDMediaDeviceGetControllerName()
216 CardData->ControllerNameTable, in SDMediaDeviceGetControllerName()
/device/linaro/bootloader/edk2/Vlv2DeviceRefCodePkg/ValleyView2Soc/SouthCluster/Include/Protocol/
DEmmcCardInfoProtocol.h44 CARD_DATA *CardData; member