Searched refs:PciMmBase (Results 1 – 2 of 2) sorted by relevance
93 UINTN PciMmBase=0; in GetI2cBarAddr() local120 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() local197 PciMmBase = MmPciAddress ( in ProgramPciLpssI2C()208 mLpssPciDeviceList[I2cControllerIndex+1].FunctionNum, PciMmBase)); in ProgramPciLpssI2C()[all …]
140 UINTN PciMmBase=0; in ProgramPciLpssI2C() local167 PciMmBase = MmPciAddress ( in ProgramPciLpssI2C()174 DevID = I2CLibPeiMmioRead32(PciMmBase); in ProgramPciLpssI2C()185 if(!(I2CLibPeiMmioRead32 (PciMmBase + R_PCH_LPSS_I2C_STSCMD) & B_PCH_LPSS_I2C_STSCMD_MSE)) { in ProgramPciLpssI2C()189 …I2CLibPeiMmioWrite32((UINTN) (PciMmBase + R_PCH_LPSS_I2C_BAR), (UINT32)(Bar0 & B_PCH_LPSS_I2C_BAR_… in ProgramPciLpssI2C()191 …DEBUG ((EFI_D_ERROR, "I2CBaseAddress1 = 0x%x \n",I2CLibPeiMmioRead32 (PciMmBase+R_PCH_LPSS_I2C_BAR… in ProgramPciLpssI2C()196 …I2CLibPeiMmioWrite32 ((UINTN)(PciMmBase + R_PCH_LPSS_I2C_BAR1), (UINT32)(Bar1 & B_PCH_LPSS_I2C_BAR… in ProgramPciLpssI2C()197 …DEBUG ((EFI_D_ERROR, "I2CBaseAddress1 = 0x%x \n",I2CLibPeiMmioRead32(PciMmBase+R_PCH_LPSS_I2C_BAR1… in ProgramPciLpssI2C()202 …I2CLibPeiMmioWrite32((UINTN) (PciMmBase + R_PCH_LPSS_I2C_STSCMD), (UINT32)(B_PCH_LPSS_I2C_STSCMD_B… in ProgramPciLpssI2C()358 UINTN PciMmBase=0; in I2CInit() local[all …]