Home
last modified time | relevance | path

Searched refs:I2C_CR (Results 1 – 1 of 1) sorted by relevance

/linux-6.12.1/drivers/i2c/busses/
Di2c-nomadik.c37 #define I2C_CR (0x000) macro
275 writel((I2C_CR_FTX | I2C_CR_FRX), priv->virtbase + I2C_CR); in flush_i2c_fifo()
281 if ((readl(priv->virtbase + I2C_CR) & in flush_i2c_fifo()
325 i2c_clr_bit(priv->virtbase + I2C_CR, I2C_CR_PE); in init_hw()
404 writel(0x0, priv->virtbase + I2C_CR); in setup_i2c_controller()
476 priv->virtbase + I2C_CR); in setup_i2c_controller()
478 writel(FIELD_PREP(I2C_CR_SM, priv->sm), priv->virtbase + I2C_CR); in setup_i2c_controller()
520 writel(readl(priv->virtbase + I2C_CR) | DEFAULT_I2C_REG_CR, in read_i2c()
521 priv->virtbase + I2C_CR); in read_i2c()
524 i2c_set_bit(priv->virtbase + I2C_CR, I2C_CR_PE); in read_i2c()
[all …]