Lines Matching refs:SIRFSOC_I2C_CTRL
20 #define SIRFSOC_I2C_CTRL 0x10 macro
158 writel(readl(siic->base + SIRFSOC_I2C_CTRL) | SIRFSOC_I2C_RESET, in i2c_sirfsoc_irq()
159 siic->base + SIRFSOC_I2C_CTRL); in i2c_sirfsoc_irq()
160 while (readl(siic->base + SIRFSOC_I2C_CTRL) & SIRFSOC_I2C_RESET) in i2c_sirfsoc_irq()
202 u32 regval = readl(siic->base + SIRFSOC_I2C_CTRL); in i2c_sirfsoc_xfer_msg()
209 siic->base + SIRFSOC_I2C_CTRL); in i2c_sirfsoc_xfer_msg()
218 siic->base + SIRFSOC_I2C_CTRL); in i2c_sirfsoc_xfer_msg()
223 writel(readl(siic->base + SIRFSOC_I2C_CTRL) | SIRFSOC_I2C_RESET, in i2c_sirfsoc_xfer_msg()
224 siic->base + SIRFSOC_I2C_CTRL); in i2c_sirfsoc_xfer_msg()
225 while (readl(siic->base + SIRFSOC_I2C_CTRL) & SIRFSOC_I2C_RESET) in i2c_sirfsoc_xfer_msg()
342 writel(SIRFSOC_I2C_RESET, siic->base + SIRFSOC_I2C_CTRL); in i2c_sirfsoc_probe()
343 while (readl(siic->base + SIRFSOC_I2C_CTRL) & SIRFSOC_I2C_RESET) in i2c_sirfsoc_probe()
346 siic->base + SIRFSOC_I2C_CTRL); in i2c_sirfsoc_probe()
410 writel(SIRFSOC_I2C_RESET, siic->base + SIRFSOC_I2C_CTRL); in i2c_sirfsoc_remove()
436 writel(SIRFSOC_I2C_RESET, siic->base + SIRFSOC_I2C_CTRL); in i2c_sirfsoc_resume()
437 while (readl(siic->base + SIRFSOC_I2C_CTRL) & SIRFSOC_I2C_RESET) in i2c_sirfsoc_resume()
440 siic->base + SIRFSOC_I2C_CTRL); in i2c_sirfsoc_resume()