Home
last modified time | relevance | path

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

/openbmc/qemu/hw/i2c/
H A Dppc4xx_i2c.c93 i2c->mdidx = -1; in ppc4xx_i2c_reset()
115 if (i2c->mdidx < 0) { in ppc4xx_i2c_readb()
120 if (i2c->mdidx == 3) { in ppc4xx_i2c_readb()
122 } else if (i2c->mdidx == 0) { in ppc4xx_i2c_readb()
128 if (i2c->mdidx >= 0) { in ppc4xx_i2c_readb()
129 i2c->mdidx--; in ppc4xx_i2c_readb()
193 if (i2c->mdidx >= 3) { in ppc4xx_i2c_writeb()
197 if (i2c->mdidx == 3) { in ppc4xx_i2c_writeb()
199 } else if (i2c->mdidx == 0) { in ppc4xx_i2c_writeb()
257 i2c->mdidx = i - 1; in ppc4xx_i2c_writeb()
[all …]
/openbmc/qemu/include/hw/i2c/
H A Dppc4xx_i2c.h46 int mdidx; member