Searched refs:REG_CON (Results 1 – 1 of 1) sorted by relevance
/drivers/i2c/busses/ |
D | i2c-rk3x.c | 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() [all …]
|