Home
last modified time | relevance | path

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

/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/Library/I2CLibDxe/
DI2CLib.c62 STATIC UINTN mI2CBaseAddress = 0; variable
296 MmioWrite32 ( mI2CBaseAddress + R_IC_ENABLE, 0 ); in I2cDisable()
297 while ( 0 != ( MmioRead32 ( mI2CBaseAddress + R_IC_ENABLE_STATUS) & 1)) { in I2cDisable()
325 MmioWrite32 (mI2CBaseAddress + R_IC_ENABLE, 1); in I2cEnable()
327 while (0 == (MmioRead32 (mI2CBaseAddress + R_IC_ENABLE_STATUS) & 1)) { in I2cEnable()
355 MmioWrite32 ( mI2CBaseAddress + R_IC_SS_SCL_HCNT, (UINT16)0x214 ); in I2cBusFrequencySet()
356 MmioWrite32 ( mI2CBaseAddress + R_IC_SS_SCL_LCNT, (UINT16)0x272 ); in I2cBusFrequencySet()
361 MmioWrite32 ( mI2CBaseAddress + R_IC_FS_SCL_HCNT, (UINT16)0x50 ); in I2cBusFrequencySet()
362 MmioWrite32 ( mI2CBaseAddress + R_IC_FS_SCL_LCNT, (UINT16)0xAD ); in I2cBusFrequencySet()
366 MmioWrite32 ( mI2CBaseAddress + R_IC_SDA_HOLD, (UINT16)0x40);//100K in I2cBusFrequencySet()
[all …]