Home
last modified time | relevance | path

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

/openbmc/qemu/hw/i2c/
H A Dmpc_i2c.c53 #define CCR_RSTA (1 << 2) macro
266 if (s->cr & CCR_RSTA) { in mpc_i2c_write()
270 s->cr &= ~CCR_RSTA; in mpc_i2c_write()
/openbmc/linux/drivers/i2c/busses/
H A Di2c-mpc.c49 #define CCR_RSTA 0x04 macro
137 writeccr(i2c, CCR_MEN | CCR_MSTA | CCR_RSTA); /* delay SDA */ in mpc_i2c_fixup()
511 i2c->cntl_bits &= ~(CCR_RSTA | CCR_MTX | CCR_TXAK); in mpc_i2c_do_action()
523 i2c->cntl_bits |= CCR_RSTA; in mpc_i2c_do_action()