Home
last modified time | relevance | path

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

/openbmc/qemu/hw/i2c/
H A Dexynos4210_i2c.c94 uint8_t i2cstat; member
113 s->i2cstat &= ~I2CSTAT_LAST_BIT; in exynos4210_i2c_data_receive()
123 s->i2cstat &= ~I2CSTAT_LAST_BIT; in exynos4210_i2c_data_send()
126 s->i2cstat |= I2CSTAT_LAST_BIT; in exynos4210_i2c_data_send()
142 value = s->i2cstat; in exynos4210_i2c_read()
150 if (EXYNOS4_I2C_MODE(s->i2cstat) == I2CMODE_MASTER_Rx && in exynos4210_i2c_read()
151 (s->i2cstat & I2CSTAT_START_BUSY) && in exynos4210_i2c_read()
186 s->i2cstat &= ~I2CSTAT_START_BUSY; in exynos4210_i2c_write()
189 if (s->i2cstat & I2CSTAT_START_BUSY) { in exynos4210_i2c_write()
191 if (EXYNOS4_I2C_MODE(s->i2cstat) == I2CMODE_MASTER_Tx) { in exynos4210_i2c_write()
[all …]