Lines Matching refs:I2C_STAT_REG

48                                    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()
69 i2c->regs[I2C_STAT_REG] |= I2C_STAT_DATA_REQ; in pnv_i2c_update_irq()
82 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()
96 i2c->regs[I2C_STAT_REG] &= ~I2C_STAT_CMD_COMP; in pnv_i2c_update_irq()
103 i2c->regs[I2C_INTR_RAW_COND_REG] = i2c->regs[I2C_STAT_REG] >> 16; in pnv_i2c_update_irq()
112 uint64_t stat = i2c->regs[I2C_STAT_REG]; in pnv_i2c_fifo_update_count()
114 i2c->regs[I2C_STAT_REG] = SETFIELD(I2C_STAT_FIFO_ENTRY_COUNT, stat, in pnv_i2c_fifo_update_count()
156 i2c->regs[I2C_STAT_REG] |= I2C_STAT_NACK_RCVD_ERR; in pnv_i2c_fifo_flush()
174 i2c->regs[I2C_STAT_REG] |= I2C_STAT_INVALID_CMD; in pnv_i2c_handle_cmd()
180 if (!(i2c->regs[I2C_STAT_REG] & I2C_STAT_CMD_COMP)) { in pnv_i2c_handle_cmd()
181 i2c->regs[I2C_STAT_REG] |= I2C_STAT_INVALID_CMD; in pnv_i2c_handle_cmd()
197 i2c->regs[I2C_STAT_REG] |= I2C_STAT_NACK_RCVD_ERR; in pnv_i2c_handle_cmd()
212 i2c->regs[I2C_STAT_REG] |= I2C_STAT_BKEND_ACCESS_ERR; in pnv_i2c_backend_update()
231 i2c->regs[I2C_STAT_REG] |= I2C_STAT_INVALID_CMD; in pnv_i2c_fifo_in()
237 i2c->regs[I2C_STAT_REG] |= I2C_STAT_INVALID_CMD; in pnv_i2c_fifo_in()
244 i2c->regs[I2C_STAT_REG] |= I2C_STAT_BKEND_OVERRUN_ERR; in pnv_i2c_fifo_in()
266 i2c->regs[I2C_STAT_REG] |= I2C_STAT_INVALID_CMD; in pnv_i2c_fifo_out()
272 i2c->regs[I2C_STAT_REG] |= I2C_STAT_INVALID_CMD; in pnv_i2c_fifo_out()
279 i2c->regs[I2C_STAT_REG] |= I2C_STAT_BKEND_OVERRUN_ERR; in pnv_i2c_fifo_out()
300 case I2C_STAT_REG: in pnv_i2c_xscom_read()
327 i2c->regs[I2C_STAT_REG] |= I2C_STAT_INVALID_CMD; in pnv_i2c_xscom_read()
343 i2c->regs[I2C_STAT_REG] = in pnv_i2c_reset()
370 i2c->regs[I2C_STAT_REG] |= I2C_STAT_INVALID_CMD; in pnv_i2c_xscom_write()
395 i2c->regs[I2C_STAT_REG] &= ~I2C_STAT_ANY_ERR; in pnv_i2c_xscom_write()
422 i2c->regs[I2C_STAT_REG] |= I2C_STAT_INVALID_CMD; in pnv_i2c_xscom_write()