Searched refs:I2C_CR (Results 1 – 1 of 1) sorted by relevance
39 #define I2C_CR (0x000) macro277 writel((I2C_CR_FTX | I2C_CR_FRX), priv->virtbase + I2C_CR); in flush_i2c_fifo()283 if ((readl(priv->virtbase + I2C_CR) & in flush_i2c_fifo()327 i2c_clr_bit(priv->virtbase + I2C_CR, I2C_CR_PE); in init_hw()406 writel(0x0, priv->virtbase + I2C_CR); in setup_i2c_controller()473 writel(FIELD_PREP(I2C_CR_SM, priv->sm), priv->virtbase + I2C_CR); in setup_i2c_controller()515 writel(readl(priv->virtbase + I2C_CR) | DEFAULT_I2C_REG_CR, in read_i2c()516 priv->virtbase + I2C_CR); in read_i2c()519 i2c_set_bit(priv->virtbase + I2C_CR, I2C_CR_PE); in read_i2c()581 writel(readl(priv->virtbase + I2C_CR) | DEFAULT_I2C_REG_CR, in write_i2c()[all …]