Lines Matching refs:con
88 debug("i2c_con: 0x%08x\n", readl(®s->con)); in rk_i2c_show_regs()
112 writel(I2C_CON_EN | I2C_CON_START, ®s->con); in rk_i2c_send_start_bit()
140 writel(I2C_CON_EN | I2C_CON_STOP, ®s->con); in rk_i2c_send_stop_bit()
162 writel(0, &i2c->regs->con); in rk_i2c_disable()
174 uint con = 0; in rk_i2c_read() local
199 con = I2C_CON_EN; in rk_i2c_read()
206 con = I2C_CON_EN | I2C_CON_LASTACK; in rk_i2c_read()
215 con |= I2C_CON_MOD(I2C_MODE_RX); in rk_i2c_read()
217 con |= I2C_CON_MOD(I2C_MODE_TRX); in rk_i2c_read()
219 writel(con, ®s->con); in rk_i2c_read()
308 writel(I2C_CON_EN | I2C_CON_MOD(I2C_MODE_TX), ®s->con); in rk_i2c_write()