Lines Matching refs:REG_CON
29 #define REG_CON 0x00 /* control register */ macro
249 u32 val = i2c_readl(i2c, REG_CON) & REG_CON_TUNING_MASK; in rk3x_i2c_start()
260 i2c_writel(i2c, val, REG_CON); in rk3x_i2c_start()
282 ctrl = i2c_readl(i2c, REG_CON); in rk3x_i2c_stop()
284 i2c_writel(i2c, ctrl, REG_CON); in rk3x_i2c_stop()
295 ctrl = i2c_readl(i2c, REG_CON) & REG_CON_TUNING_MASK; in rk3x_i2c_stop()
296 i2c_writel(i2c, ctrl, REG_CON); in rk3x_i2c_stop()
312 con = i2c_readl(i2c, REG_CON); in rk3x_i2c_prepare_read()
331 i2c_writel(i2c, con, 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()
469 con = i2c_readl(i2c, REG_CON); in rk3x_i2c_handle_stop()
471 i2c_writel(i2c, con, REG_CON); in rk3x_i2c_handle_stop()
889 val = i2c_readl(i2c, REG_CON); in rk3x_i2c_adapt_div()
892 i2c_writel(i2c, val, REG_CON); in rk3x_i2c_adapt_div()
1112 val = i2c_readl(i2c, REG_CON) & REG_CON_TUNING_MASK; in rk3x_i2c_xfer_common()
1114 i2c_writel(i2c, val, REG_CON); in rk3x_i2c_xfer_common()