Lines Matching refs:ipd
81 debug("i2c_ipd: 0x%08x\n", readl(®s->ipd)); in rk_i2c_show_regs()
96 writel(I2C_IPD_ALL_CLEAN, ®s->ipd); in rk_i2c_send_start_bit()
103 if (readl(®s->ipd) & I2C_STARTIPD) { in rk_i2c_send_start_bit()
104 writel(I2C_STARTIPD, ®s->ipd); in rk_i2c_send_start_bit()
124 writel(I2C_IPD_ALL_CLEAN, ®s->ipd); in rk_i2c_send_stop_bit()
131 if (readl(®s->ipd) & I2C_STOPIPD) { in rk_i2c_send_stop_bit()
132 writel(I2C_STOPIPD, ®s->ipd); in rk_i2c_send_stop_bit()
211 if (readl(®s->ipd) & I2C_NAKRCVIPD) { in rk_i2c_read()
212 writel(I2C_NAKRCVIPD, ®s->ipd); in rk_i2c_read()
215 if (readl(®s->ipd) & I2C_MBRFIPD) { in rk_i2c_read()
216 writel(I2C_MBRFIPD, ®s->ipd); in rk_i2c_read()
301 if (readl(®s->ipd) & I2C_NAKRCVIPD) { in rk_i2c_write()
302 writel(I2C_NAKRCVIPD, ®s->ipd); in rk_i2c_write()
305 if (readl(®s->ipd) & I2C_MBTFIPD) { in rk_i2c_write()
306 writel(I2C_MBTFIPD, ®s->ipd); in rk_i2c_write()