Lines Matching refs:MmioRead32
106 while ((MmioRead32 (MMCHS_SYSCTL) & ICS_MASK) != ICS); in UpdateMMCHSClkFrequency()
124 while ((MmioRead32 (MMCHS_PSTATE) & DATI_MASK) == DATI_NOT_ALLOWED); in SendCmd()
147 MmcStatus = MmioRead32 (MMCHS_STAT); in SendCmd()
155 while ((MmioRead32 (MMCHS_SYSCTL) & SRC)); in SendCmd()
400 while (!(MmioRead32 (MMCHS_STAT) & CC)); in PerformCardIdenfication()
410 while (!(MmioRead32 (MMCHS_STAT) & CC)); in PerformCardIdenfication()
429 DEBUG ((EFI_D_INFO, "CMD0 response: %x\n", MmioRead32 (MMCHS_RSP10))); in PerformCardIdenfication()
435 DEBUG ((EFI_D_INFO, "CMD5 response: %x\n", MmioRead32 (MMCHS_RSP10))); in PerformCardIdenfication()
444 while ((MmioRead32 (MMCHS_SYSCTL) & SRC)); in PerformCardIdenfication()
452 Response = MmioRead32 (MMCHS_RSP10); in PerformCardIdenfication()
465 while ((MmioRead32 (MMCHS_SYSCTL) & SRC)); in PerformCardIdenfication()
473 DEBUG ((EFI_D_INFO, "CMD55 success. CMD55 response: %x\n", MmioRead32 (MMCHS_RSP10))); in PerformCardIdenfication()
494 ((UINT32 *) &(gCardInfo.OCRData))[0] = MmioRead32 (MMCHS_RSP10); in PerformCardIdenfication()
503 Response = MmioRead32 (MMCHS_RSP10); in PerformCardIdenfication()
547 …"CMD2 response: %x %x %x %x\n", MmioRead32 (MMCHS_RSP10), MmioRead32 (MMCHS_RSP32), MmioRead32 (MM… in PerformCardIdenfication()
550 …ParseCardCIDData(MmioRead32 (MMCHS_RSP10), MmioRead32 (MMCHS_RSP32), MmioRead32 (MMCHS_RSP54), Mmi… in PerformCardIdenfication()
561 gCardInfo.RCA = (MmioRead32 (MMCHS_RSP10) >> 16); in PerformCardIdenfication()
590 ((UINT32 *)&(gCardInfo.CSDData))[0] = MmioRead32 (MMCHS_RSP10); in GetCardSpecificData()
591 ((UINT32 *)&(gCardInfo.CSDData))[1] = MmioRead32 (MMCHS_RSP32); in GetCardSpecificData()
592 ((UINT32 *)&(gCardInfo.CSDData))[2] = MmioRead32 (MMCHS_RSP54); in GetCardSpecificData()
593 ((UINT32 *)&(gCardInfo.CSDData))[3] = MmioRead32 (MMCHS_RSP76); in GetCardSpecificData()
595 …"CMD9 response: %x %x %x %x\n", MmioRead32 (MMCHS_RSP10), MmioRead32 (MMCHS_RSP32), MmioRead32 (MM… in GetCardSpecificData()
668 MmcStatus = MmioRead32 (MMCHS_STAT); in ReadBlockData()
679 *DataBuffer++ = MmioRead32 (MMCHS_DATA); in ReadBlockData()
710 MmcStatus = MmioRead32 (MMCHS_STAT); in WriteBlockData()
884 MmcStatus = MmioRead32 (MMCHS_STAT); in DmaBlocks()
898 while((MmioRead32 (MMCHS_SYSCTL) & SRD) != 0x0); in DmaBlocks()
978 MmcStatus = MmioRead32 (MMCHS_STAT); in TransferBlock()
992 while((MmioRead32 (MMCHS_SYSCTL) & SRD) != 0x0); in TransferBlock()
1053 while ((MmioRead32 (MMCHS_SYSSTATUS) & RESETDONE_MASK) != RESETDONE); in DetectCard()
1058 while ((MmioRead32 (MMCHS_SYSCTL) & SRA) != 0x0); in DetectCard()
1082 while ((MmioRead32 (MMCHS_HCTL) & SDBP_MASK) != SDBP_ON); in DetectCard()
1106 gMMCHSMedia.ReadOnly = (MmioRead32 (GPIO1_BASE + GPIO_DATAIN) & BIT23) == BIT23; in DetectCard()
1186 …while ((RetryCount++ < MAX_RETRY_COUNT) && ((MmioRead32 (MMCHS_PSTATE) & DATI_MASK) != DATI_ALLOWE… in SdReadWrite()