Home
last modified time | relevance | path

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

/external/u-boot/drivers/i2c/
Drcar_i2c.c32 #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()
[all …]