Lines Matching refs:PciMmBase
93 UINTN PciMmBase=0; in GetI2cBarAddr() local
120 PciMmBase = MmPciAddress ( in GetI2cBarAddr()
130 mLpssPciDeviceList[I2cControllerIndex + 1].FunctionNum, PciMmBase)); in GetI2cBarAddr()
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()
169 UINTN PciMmBase=0; in ProgramPciLpssI2C() local
197 PciMmBase = MmPciAddress ( in ProgramPciLpssI2C()
208 mLpssPciDeviceList[I2cControllerIndex+1].FunctionNum, PciMmBase)); 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()
224 …MmioWrite32 ((UINTN) (PciMmBase + R_PCH_LPSS_I2C_BAR), (UINT32) (mLpssPciDeviceList[I2cControllerI… in ProgramPciLpssI2C()
230 …MmioWrite32 ((UINTN) (PciMmBase + R_PCH_LPSS_I2C_BAR1), (UINT32) (mLpssPciDeviceList[I2cController… in ProgramPciLpssI2C()
235 …MmioOr32 ((UINTN) (PciMmBase + R_PCH_LPSS_I2C_STSCMD), (UINT32) (B_PCH_LPSS_I2C_STSCMD_BME | B_PCH… in ProgramPciLpssI2C()