Home
last modified time | relevance | path

Searched refs:I2CBaseAddress (Results 1 – 1 of 1) sorted by relevance

/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/Library/I2CLibPei/
DI2CLibPei.c237 UINTN I2CBaseAddress; in I2cDisable() local
240 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() local
267 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() argument
309 I2CLibPeiMmioWrite16 ( I2CBaseAddress + R_IC_SS_SCL_HCNT, (UINT16)0x214 ); in I2cBusFrequencySet()
[all …]