Lines Matching refs:BlockIo
103 …MmcHostInstance->BlockIo.Media = AllocateCopyPool (sizeof(EFI_BLOCK_IO_MEDIA), &mMmcMediaTemplate); in CreateMmcHostInstance()
104 if (MmcHostInstance->BlockIo.Media == NULL) { in CreateMmcHostInstance()
108 MmcHostInstance->BlockIo.Revision = EFI_BLOCK_IO_INTERFACE_REVISION; in CreateMmcHostInstance()
109 MmcHostInstance->BlockIo.Reset = MmcReset; in CreateMmcHostInstance()
110 MmcHostInstance->BlockIo.ReadBlocks = MmcReadBlocks; in CreateMmcHostInstance()
111 MmcHostInstance->BlockIo.WriteBlocks = MmcWriteBlocks; in CreateMmcHostInstance()
112 MmcHostInstance->BlockIo.FlushBlocks = MmcFlushBlocks; in CreateMmcHostInstance()
137 &gEfiBlockIoProtocolGuid,&MmcHostInstance->BlockIo, in CreateMmcHostInstance()
152 FreePool(MmcHostInstance->BlockIo.Media); in CreateMmcHostInstance()
169 &gEfiBlockIoProtocolGuid,&(MmcHostInstance->BlockIo), in DestroyMmcHostInstance()
177 if (MmcHostInstance->BlockIo.Media) { in DestroyMmcHostInstance()
178 FreePool(MmcHostInstance->BlockIo.Media); in DestroyMmcHostInstance()
373 MmcHostInstance->BlockIo.Media->MediaPresent = !MmcHostInstance->Initialized; in CheckCardsCallback()
376 if (MmcHostInstance->BlockIo.Media->MediaPresent) { in CheckCardsCallback()
383 &(MmcHostInstance->BlockIo), in CheckCardsCallback()
384 &(MmcHostInstance->BlockIo) in CheckCardsCallback()