Searched refs:I2C_CTL (Results 1 – 1 of 1) sorted by relevance
21 #define I2C_CTL 0x00 macro101 u32 tmp = readl(i2c_dev->base + I2C_CTL); in sprd_i2c_send_stop()104 writel(tmp & ~STP_EN, i2c_dev->base + I2C_CTL); in sprd_i2c_send_stop()106 writel(tmp | STP_EN, i2c_dev->base + I2C_CTL); in sprd_i2c_send_stop()111 u32 tmp = readl(i2c_dev->base + I2C_CTL); in sprd_i2c_clear_start()113 writel(tmp & ~I2C_START, i2c_dev->base + I2C_CTL); in sprd_i2c_clear_start()158 u32 tmp = readl(i2c_dev->base + I2C_CTL); in sprd_i2c_set_full_thld()162 writel(tmp, i2c_dev->base + I2C_CTL); in sprd_i2c_set_full_thld()167 u32 tmp = readl(i2c_dev->base + I2C_CTL); in sprd_i2c_set_empty_thld()171 writel(tmp, i2c_dev->base + I2C_CTL); in sprd_i2c_set_empty_thld()[all …]