Lines Matching refs:RCAR_I2C_ICMSR
32 #define RCAR_I2C_ICMSR 0x0c macro
61 ret = wait_for_bit_le32(priv->base + RCAR_I2C_ICMSR, RCAR_I2C_ICMSR_MST, in rcar_i2c_finish()
65 writel(0, priv->base + RCAR_I2C_ICMSR); in rcar_i2c_finish()
108 writel(0, priv->base + RCAR_I2C_ICMSR); in rcar_i2c_set_addr()
115 val = readl(priv->base + RCAR_I2C_ICMSR); in rcar_i2c_set_addr()
123 writel(0, priv->base + RCAR_I2C_ICMSR); in rcar_i2c_set_addr()
127 ret = wait_for_bit_le32(priv->base + RCAR_I2C_ICMSR, mask, in rcar_i2c_set_addr()
133 if (readl(priv->base + RCAR_I2C_ICMSR) & RCAR_I2C_ICMSR_MNR) in rcar_i2c_set_addr()
154 writel(~RCAR_I2C_ICMSR_MDR, priv->base + RCAR_I2C_ICMSR); in rcar_i2c_read_common()
156 ret = wait_for_bit_le32(priv->base + RCAR_I2C_ICMSR, in rcar_i2c_read_common()
164 writel(~RCAR_I2C_ICMSR_MDR, priv->base + RCAR_I2C_ICMSR); in rcar_i2c_read_common()
182 writel(~RCAR_I2C_ICMSR_MDE, priv->base + RCAR_I2C_ICMSR); in rcar_i2c_write_common()
184 ret = wait_for_bit_le32(priv->base + RCAR_I2C_ICMSR, in rcar_i2c_write_common()
190 writel(~RCAR_I2C_ICMSR_MDE, priv->base + RCAR_I2C_ICMSR); in rcar_i2c_write_common()
224 writel(0, priv->base + RCAR_I2C_ICMSR); in rcar_i2c_probe_chip()
325 writel(0, priv->base + RCAR_I2C_ICMSR); in rcar_i2c_probe()