Searched refs:I2C_CR (Results 1 – 1 of 1) sorted by relevance
38 #define I2C_CR (0x000) macro276 writel((I2C_CR_FTX | I2C_CR_FRX), priv->virtbase + I2C_CR); in flush_i2c_fifo()282 if ((readl(priv->virtbase + I2C_CR) & in flush_i2c_fifo()326 i2c_clr_bit(priv->virtbase + I2C_CR, I2C_CR_PE); in init_hw()405 writel(0x0, priv->virtbase + I2C_CR); in setup_i2c_controller()472 writel(FIELD_PREP(I2C_CR_SM, priv->sm), priv->virtbase + I2C_CR); in setup_i2c_controller()514 writel(readl(priv->virtbase + I2C_CR) | DEFAULT_I2C_REG_CR, in read_i2c()515 priv->virtbase + I2C_CR); in read_i2c()518 i2c_set_bit(priv->virtbase + I2C_CR, I2C_CR_PE); in read_i2c()580 writel(readl(priv->virtbase + I2C_CR) | DEFAULT_I2C_REG_CR, in write_i2c()[all …]