Home
last modified time | relevance | path

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

/openbmc/qemu/hw/ppc/
H A Dpnv_i2c.c29 uint8_t port = GETFIELD(I2C_MODE_PORT_NUM, i2c->regs[I2C_MODE_REG]); in pnv_i2c_get_bus()
243 if (!(i2c->regs[I2C_MODE_REG] & I2C_MODE_PACING_ALLOW)) { in pnv_i2c_fifo_in()
278 if (!(i2c->regs[I2C_MODE_REG] & I2C_MODE_PACING_ALLOW)) { in pnv_i2c_fifo_out()
317 case I2C_MODE_REG: in pnv_i2c_xscom_read()
361 case I2C_MODE_REG: in pnv_i2c_xscom_write()
/openbmc/qemu/tests/qtest/
H A Dpnv-host-i2c-test.c70 pnv_i2c_xscom_write(dev->ctlr, I2C_MODE_REG, reg64); in pnv_i2c_send()
112 pnv_i2c_xscom_write(dev->ctlr, I2C_MODE_REG, reg64); in pnv_i2c_recv()
400 pnv_i2c_xscom_write(&ctlr, I2C_MODE_REG, 0x02be040000000000); in reset_all()
/openbmc/qemu/include/hw/i2c/
H A Dpnv_i2c_regs.h31 #define I2C_MODE_REG 0x6 macro