Home
last modified time | relevance | path

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

/openbmc/qemu/hw/ppc/
H A Dpnv_i2c.c48 i2c->regs[I2C_STAT_REG]); in pnv_i2c_update_irq()
57 i2c->regs[I2C_STAT_REG] &= ~I2C_STAT_DATA_REQ; in pnv_i2c_update_irq()
87 i2c->regs[I2C_STAT_REG] &= ~I2C_STAT_DATA_REQ; in pnv_i2c_update_irq()
88 i2c->regs[I2C_STAT_REG] |= I2C_STAT_CMD_COMP; in pnv_i2c_update_irq()
112 uint64_t stat = i2c->regs[I2C_STAT_REG]; in pnv_i2c_fifo_update_count()
174 i2c->regs[I2C_STAT_REG] |= I2C_STAT_INVALID_CMD; in pnv_i2c_handle_cmd()
181 i2c->regs[I2C_STAT_REG] |= I2C_STAT_INVALID_CMD; in pnv_i2c_handle_cmd()
231 i2c->regs[I2C_STAT_REG] |= I2C_STAT_INVALID_CMD; in pnv_i2c_fifo_in()
300 case I2C_STAT_REG: in pnv_i2c_xscom_read()
343 i2c->regs[I2C_STAT_REG] = in pnv_i2c_reset()
[all …]
/openbmc/qemu/tests/qtest/
H A Dpnv-host-i2c-test.c75 reg64 = pnv_i2c_xscom_read(dev->ctlr, I2C_STAT_REG); in pnv_i2c_send()
86 reg64 = pnv_i2c_xscom_read(dev->ctlr, I2C_STAT_REG); in pnv_i2c_send()
98 reg64 = pnv_i2c_xscom_read(dev->ctlr, I2C_STAT_REG); in pnv_i2c_send()
117 reg64 = pnv_i2c_xscom_read(dev->ctlr, I2C_STAT_REG); in pnv_i2c_recv()
129 reg64 = pnv_i2c_xscom_read(dev->ctlr, I2C_STAT_REG); in pnv_i2c_recv()
141 reg64 = pnv_i2c_xscom_read(dev->ctlr, I2C_STAT_REG); in pnv_i2c_recv()
384 value = pnv_i2c_xscom_read(&ctlr, I2C_STAT_REG); in check_i2cm_por_regs()
/openbmc/qemu/include/hw/i2c/
H A Dpnv_i2c_regs.h81 #define I2C_STAT_REG 0xb /* read */ macro