Home
last modified time | relevance | path

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

/openbmc/linux/drivers/i2c/busses/
H A Di2c-altera.c23 #define ALTR_I2C_CTRL 0x08 /* Control register */ macro
114 u32 tmp = readl(idev->base + ALTR_I2C_CTRL); in altr_i2c_core_disable()
116 writel(tmp & ~ALTR_I2C_CTRL_EN, idev->base + ALTR_I2C_CTRL); in altr_i2c_core_disable()
121 u32 tmp = readl(idev->base + ALTR_I2C_CTRL); in altr_i2c_core_enable()
123 writel(tmp | ALTR_I2C_CTRL_EN, idev->base + ALTR_I2C_CTRL); in altr_i2c_core_enable()
156 writel(tmp, idev->base + ALTR_I2C_CTRL); in altr_i2c_init()