Home
last modified time | relevance | path

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

/openbmc/qemu/hw/ppc/
H A Dpnv_i2c.c42 bool recv = !!(i2c->regs[I2C_CMD_REG] & I2C_CMD_READ_NOT_WRITE); in pnv_i2c_update_irq()
90 if (i2c->regs[I2C_CMD_REG] & I2C_CMD_WITH_STOP) { in pnv_i2c_update_irq()
141 if (i2c->regs[I2C_CMD_REG] & I2C_CMD_READ_NOT_WRITE) { in pnv_i2c_fifo_flush()
236 if (i2c->regs[I2C_CMD_REG] & I2C_CMD_READ_NOT_WRITE) { in pnv_i2c_fifo_in()
271 if (!(i2c->regs[I2C_CMD_REG] & I2C_CMD_READ_NOT_WRITE)) { in pnv_i2c_fifo_out()
316 case I2C_CMD_REG: in pnv_i2c_xscom_read()
376 case I2C_CMD_REG: in pnv_i2c_xscom_write()
/openbmc/qemu/include/hw/i2c/
H A Dpnv_i2c_regs.h17 #define I2C_CMD_REG 0x5 macro
/openbmc/qemu/tests/qtest/
H A Dpnv-host-i2c-test.c83 pnv_i2c_xscom_write(dev->ctlr, I2C_CMD_REG, reg64); in pnv_i2c_send()
126 pnv_i2c_xscom_write(dev->ctlr, I2C_CMD_REG, reg64); in pnv_i2c_recv()