Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/i2c/
H A Ddavinci_i2c.c43 REG(&(i2c_base->i2c_stat)) = 0xffff; in _wait_for_bus()
46 stat = REG(&(i2c_base->i2c_stat)); in _wait_for_bus()
48 REG(&(i2c_base->i2c_stat)) = 0xffff; in _wait_for_bus()
52 REG(&(i2c_base->i2c_stat)) = stat; in _wait_for_bus()
56 REG(&(i2c_base->i2c_stat)) = 0xffff; in _wait_for_bus()
66 stat = REG(&(i2c_base->i2c_stat)); in _poll_i2c_irq()
71 REG(&(i2c_base->i2c_stat)) = 0xffff; in _poll_i2c_irq()
216 REG(&(i2c_base->i2c_stat)) = 0xffff; in _davinci_i2c_read()
298 REG(&(i2c_base->i2c_stat)) = 0xffff; in _davinci_i2c_write()
326 REG(&(i2c_base->i2c_stat)) = 0xffff; in _davinci_i2c_probe_chip()
[all …]
H A Ddavinci_i2c.h17 u32 i2c_stat; member
/openbmc/linux/drivers/media/dvb-frontends/
H A Dstb0899_drv.c1224 int i2c_stat; in stb0899_i2c_gate_ctrl() local
1227 i2c_stat = stb0899_read_reg(state, STB0899_I2CRPT); in stb0899_i2c_gate_ctrl()
1228 if (i2c_stat < 0) in stb0899_i2c_gate_ctrl()
1233 i2c_stat |= STB0899_I2CTON; in stb0899_i2c_gate_ctrl()
1234 if (stb0899_write_reg(state, STB0899_I2CRPT, i2c_stat) < 0) in stb0899_i2c_gate_ctrl()
1238 i2c_stat &= ~STB0899_I2CTON; in stb0899_i2c_gate_ctrl()
1239 if (stb0899_write_reg(state, STB0899_I2CRPT, i2c_stat) < 0) in stb0899_i2c_gate_ctrl()