Lines Matching refs:MmioRead32
102 while ((MmioRead32 (MMCHS_SYSCTL) & ICS_MASK) != ICS);
120 while ((MmioRead32 (MMCHS_PSTATE) & DATI_MASK) == DATI_NOT_ALLOWED);
143 MmcStatus = MmioRead32 (MMCHS_STAT);
151 while ((MmioRead32 (MMCHS_SYSCTL) & SRC));
396 while (!(MmioRead32 (MMCHS_STAT) & CC));
406 while (!(MmioRead32 (MMCHS_STAT) & CC));
425 DEBUG ((EFI_D_INFO, "CMD0 response: %x\n", MmioRead32 (MMCHS_RSP10)));
431 DEBUG ((EFI_D_INFO, "CMD5 response: %x\n", MmioRead32 (MMCHS_RSP10)));
440 while ((MmioRead32 (MMCHS_SYSCTL) & SRC));
448 Response = MmioRead32 (MMCHS_RSP10);
461 while ((MmioRead32 (MMCHS_SYSCTL) & SRC));
469 DEBUG ((EFI_D_INFO, "CMD55 success. CMD55 response: %x\n", MmioRead32 (MMCHS_RSP10)));
490 ((UINT32 *) &(gCardInfo.OCRData))[0] = MmioRead32 (MMCHS_RSP10);
499 Response = MmioRead32 (MMCHS_RSP10);
543 DEBUG ((EFI_D_INFO, "CMD2 response: %x %x %x %x\n", MmioRead32 (MMCHS_RSP10), MmioRead32 (MMCHS_RSP32), MmioRead32 (MMCHS_RSP54), MmioRead32 (MMCHS_RSP76)));
546 ParseCardCIDData(MmioRead32 (MMCHS_RSP10), MmioRead32 (MMCHS_RSP32), MmioRead32 (MMCHS_RSP54), MmioRead32 (MMCHS_RSP76));
557 gCardInfo.RCA = (MmioRead32 (MMCHS_RSP10) >> 16);
586 ((UINT32 *)&(gCardInfo.CSDData))[0] = MmioRead32 (MMCHS_RSP10);
587 ((UINT32 *)&(gCardInfo.CSDData))[1] = MmioRead32 (MMCHS_RSP32);
588 ((UINT32 *)&(gCardInfo.CSDData))[2] = MmioRead32 (MMCHS_RSP54);
589 ((UINT32 *)&(gCardInfo.CSDData))[3] = MmioRead32 (MMCHS_RSP76);
591 DEBUG ((EFI_D_INFO, "CMD9 response: %x %x %x %x\n", MmioRead32 (MMCHS_RSP10), MmioRead32 (MMCHS_RSP32), MmioRead32 (MMCHS_RSP54), MmioRead32 (MMCHS_RSP76)));
664 MmcStatus = MmioRead32 (MMCHS_STAT);
675 *DataBuffer++ = MmioRead32 (MMCHS_DATA);
706 MmcStatus = MmioRead32 (MMCHS_STAT);
880 MmcStatus = MmioRead32 (MMCHS_STAT);
894 while((MmioRead32 (MMCHS_SYSCTL) & SRD) != 0x0);
974 MmcStatus = MmioRead32 (MMCHS_STAT);
988 while((MmioRead32 (MMCHS_SYSCTL) & SRD) != 0x0);
1049 while ((MmioRead32 (MMCHS_SYSSTATUS) & RESETDONE_MASK) != RESETDONE);
1054 while ((MmioRead32 (MMCHS_SYSCTL) & SRA) != 0x0);
1078 while ((MmioRead32 (MMCHS_HCTL) & SDBP_MASK) != SDBP_ON);
1102 gMMCHSMedia.ReadOnly = (MmioRead32 (GPIO1_BASE + GPIO_DATAIN) & BIT23) == BIT23;
1182 while ((RetryCount++ < MAX_RETRY_COUNT) && ((MmioRead32 (MMCHS_PSTATE) & DATI_MASK) != DATI_ALLOWED));