Searched refs:I2CBaseAddress (Results 1 – 1 of 1) sorted by relevance
237 UINTN I2CBaseAddress; in I2cDisable() local240 I2CBaseAddress = (UINT32) PEI_TEPM_LPSS_I2C0_BAR + I2cControllerIndex * PCI_CONFIG_SPACE_SIZE; in I2cDisable()242 I2CLibPeiMmioWrite16 (I2CBaseAddress + R_IC_ENABLE, 0); in I2cDisable()243 while (0 != ( I2CLibPeiMmioRead16 (I2CBaseAddress + R_IC_ENABLE_STATUS ) & 1)) { in I2cDisable()264 UINTN I2CBaseAddress; in I2cEnable() local267 I2CBaseAddress = (UINT32) PEI_TEPM_LPSS_I2C0_BAR+ I2cControllerIndex * PCI_CONFIG_SPACE_SIZE; in I2cEnable()268 I2CLibPeiMmioWrite16 (I2CBaseAddress + R_IC_ENABLE, 1); in I2cEnable()269 while (0 == ( I2CLibPeiMmioRead16 ( I2CBaseAddress + R_IC_ENABLE_STATUS ) & 1)) { in I2cEnable()292 IN UINTN I2CBaseAddress, in I2cBusFrequencySet() argument309 I2CLibPeiMmioWrite16 ( I2CBaseAddress + R_IC_SS_SCL_HCNT, (UINT16)0x214 ); in I2cBusFrequencySet()[all …]