Lines Matching refs:ipd
95 debug("i2c_ipd: 0x%08x\n", readl(®s->ipd)); in rk_i2c_show_regs()
110 writel(I2C_IPD_ALL_CLEAN, ®s->ipd); in rk_i2c_send_start_bit()
117 if (readl(®s->ipd) & I2C_STARTIPD) { in rk_i2c_send_start_bit()
118 writel(I2C_STARTIPD, ®s->ipd); in rk_i2c_send_start_bit()
138 writel(I2C_IPD_ALL_CLEAN, ®s->ipd); in rk_i2c_send_stop_bit()
145 if (readl(®s->ipd) & I2C_STOPIPD) { in rk_i2c_send_stop_bit()
146 writel(I2C_STOPIPD, ®s->ipd); in rk_i2c_send_stop_bit()
225 if (readl(®s->ipd) & I2C_NAKRCVIPD) { in rk_i2c_read()
226 writel(I2C_NAKRCVIPD, ®s->ipd); in rk_i2c_read()
229 if (readl(®s->ipd) & I2C_MBRFIPD) { in rk_i2c_read()
230 writel(I2C_MBRFIPD, ®s->ipd); in rk_i2c_read()
314 if (readl(®s->ipd) & I2C_NAKRCVIPD) { in rk_i2c_write()
315 writel(I2C_NAKRCVIPD, ®s->ipd); in rk_i2c_write()
318 if (readl(®s->ipd) & I2C_MBTFIPD) { in rk_i2c_write()
319 writel(I2C_MBTFIPD, ®s->ipd); in rk_i2c_write()