Lines Matching refs:i2c_readl
232 static inline u32 i2c_readl(struct rk3x_i2c *i2c, unsigned int offset) in i2c_readl() function
249 u32 val = i2c_readl(i2c, REG_CON) & REG_CON_TUNING_MASK; in rk3x_i2c_start()
282 ctrl = i2c_readl(i2c, REG_CON); in rk3x_i2c_stop()
295 ctrl = i2c_readl(i2c, REG_CON) & REG_CON_TUNING_MASK; in rk3x_i2c_stop()
312 con = i2c_readl(i2c, REG_CON); in rk3x_i2c_prepare_read()
386 i2c_writel(i2c, i2c_readl(i2c, REG_CON) & ~REG_CON_START, REG_CON); in rk3x_i2c_handle_start()
441 val = i2c_readl(i2c, RXBUFFER_BASE + (i / 4) * 4); in rk3x_i2c_handle_read()
469 con = i2c_readl(i2c, REG_CON); in rk3x_i2c_handle_stop()
487 ipd = i2c_readl(i2c, REG_IPD); in rk3x_i2c_irq()
889 val = i2c_readl(i2c, REG_CON); in rk3x_i2c_adapt_div()
1110 i2c_readl(i2c, REG_IPD), i2c->state); in rk3x_i2c_xfer_common()
1114 val = i2c_readl(i2c, REG_CON) & REG_CON_TUNING_MASK; in rk3x_i2c_xfer_common()