Lines Matching refs:MmioRead32
132 if (MmioRead32 (PciMmBase) != 0xFFFFFFFF) { in GetI2cBarAddr()
133 if((MmioRead32 (PciMmBase+R_PCH_LPSS_I2C_STSCMD)& B_PCH_LPSS_I2C_STSCMD_MSE)) { in GetI2cBarAddr()
137 … mLpssPciDeviceList[I2cControllerIndex + 1].Bar0=MmioRead32 (PciMmBase+R_PCH_LPSS_I2C_BAR); in GetI2cBarAddr()
138 mLpssPciDeviceList[I2cControllerIndex + 1].Bar1=MmioRead32 (PciMmBase+R_PCH_LPSS_I2C_BAR1); in GetI2cBarAddr()
188 PmcBase = MmioRead32 (PCI_D31F0_REG_BASE + R_PCH_LPC_PMC_BASE) & B_PCH_LPC_PMC_BASE_BAR; in ProgramPciLpssI2C()
189 if(MmioRead32(PmcBase+R_PCH_PMC_FUNC_DIS)&PmcFunctionDsiable[I2cControllerIndex]) { in ProgramPciLpssI2C()
194 …pssI2C()------------I2cControllerIndex=%x,PMC=%x\n",I2cControllerIndex,MmioRead32(PmcBase+R_PCH_PM… in ProgramPciLpssI2C()
210 if (MmioRead32 (PciMmBase) != 0xFFFFFFFF) { in ProgramPciLpssI2C()
211 if((MmioRead32 (PciMmBase+R_PCH_LPSS_I2C_STSCMD)& B_PCH_LPSS_I2C_STSCMD_MSE)) { in ProgramPciLpssI2C()
215 … mLpssPciDeviceList[I2cControllerIndex+1].Bar0=MmioRead32 (PciMmBase+R_PCH_LPSS_I2C_BAR); in ProgramPciLpssI2C()
216 mLpssPciDeviceList[I2cControllerIndex+1].Bar1=MmioRead32 (PciMmBase+R_PCH_LPSS_I2C_BAR1); in ProgramPciLpssI2C()
236 ASSERT (MmioRead32 (mLpssPciDeviceList[I2cControllerIndex+1].Bar0) != 0xFFFFFFFF); in ProgramPciLpssI2C()
297 while ( 0 != ( MmioRead32 ( mI2CBaseAddress + R_IC_ENABLE_STATUS) & 1)) { in I2cDisable()
327 while (0 == (MmioRead32 (mI2CBaseAddress + R_IC_ENABLE_STATUS) & 1)) { in I2cEnable()
448 while ((1 == ( MmioRead32 ( mI2CBaseAddress + R_IC_STATUS) & STAT_MST_ACTIVITY ))) { in I2CInit()
471 MmioRead32 ( mI2CBaseAddress + R_IC_CLR_TX_ABRT ); in I2CInit()
521 RawIntrStat = (UINT16)MmioRead32 (mI2CBaseAddress + R_IC_RawIntrStat); in ByteReadI2CBasic()
523 MmioRead32 ( mI2CBaseAddress + R_IC_CLR_TX_ABRT ); in ByteReadI2CBasic()
532 I2cStatus = (UINT16)MmioRead32 (mI2CBaseAddress + R_IC_STATUS); in ByteReadI2CBasic()
534 ReceiveData = (UINT16)MmioRead32 ( mI2CBaseAddress + R_IC_DATA_CMD ); in ByteReadI2CBasic()
623 I2cStatus = MmioRead32 (mI2CBaseAddress + R_IC_STATUS); in ByteWriteI2CBasic()
624 RawIntrStat = (UINT16)MmioRead32 (mI2CBaseAddress + R_IC_RawIntrStat); in ByteWriteI2CBasic()
626 MmioRead32 ( mI2CBaseAddress + R_IC_CLR_TX_ABRT); in ByteWriteI2CBasic()