Home | History | Annotate | Download | only in MMCHSDxe

Lines Matching refs:Media

4   This driver always produces a BlockIo protocol but it starts off with no Media

5 present. A TimerCallBack detects when media is inserted or removed and after
6 a media change event a call to BlockIo ReadBlocks/WriteBlocks will cause the
7 media to be detected (or removed) and the BlockIo Media structure will get
9 ReadBlocks/WriteBlocks after media has been insterted (booting with a card
656 UINTN DataSize = This->Media->BlockSize/4;
698 UINTN DataSize = This->Media->BlockSize/4;
755 DmaSize = BlockCount * This->Media->BlockSize;
774 Dma4.NumberOfElementPerFrame = This->Media->BlockSize/4; // DMA4_CENi (TRM 4K is optimum value)
866 CmdArgument = Lba * This->Media->BlockSize;
945 CmdArgument = Lba * This->Media->BlockSize;
1099 //Patch the Media structure.
1106 DEBUG ((EFI_D_INFO, "SD Card Media Change on Handle 0x%08x\n", gImageHandle));
1171 if (Lba > This->Media->LastBlock) {
1176 if ((BufferSize % This->Media->BlockSize) != 0) {
1201 BytesToBeTranferedThisPass = This->Media->BlockSize;
1203 BlockCount = BytesToBeTranferedThisPass/This->Media->BlockSize;
1219 Buffer = (UINT8 *)Buffer + This->Media->BlockSize;
1273 @param MediaId Id of the media, changes every time the media is replaced.
1289 @retval EFI_NO_MEDIA There is no media in the device.
1330 @param MediaId The media ID that the write request is for.
1348 @retval EFI_NO_MEDIA There is no media in the device.
1396 @retval EFI_NO_MEDIA There is no media in the device.
1413 &gMMCHSMedia, // *Media
1425 a media change event has happened. If you just check the GPIO you could see
1429 and you would still see media present. Thus you need the timer tick to catch