Lines Matching refs:rev

201 	u32			rev;  member
289 if (omap->rev >= OMAP_I2C_REV_ON_3430_3530) in __omap_i2c_init()
314 if (omap->rev >= OMAP_I2C_OMAP1_REV_2) { in omap_i2c_reset()
340 if (omap->rev > OMAP_I2C_REV_ON_3430_3530) { in omap_i2c_reset()
358 if (omap->rev >= OMAP_I2C_REV_ON_3430_3530) { in omap_i2c_init()
472 if (omap->rev <= OMAP_I2C_REV_ON_3430_3530) { in omap_i2c_init()
635 if (omap->rev < OMAP_I2C_REV_ON_3630) in omap_i2c_resize_fifo()
1225 .rev = OMAP_I2C_IP_VERSION_1,
1233 .rev = OMAP_I2C_IP_VERSION_1,
1239 .rev = OMAP_I2C_IP_VERSION_1,
1244 .rev = OMAP_I2C_IP_VERSION_2,
1269 #define OMAP_I2C_SCHEME(rev) ((rev & 0xc000) >> 14) argument
1271 #define OMAP_I2C_REV_SCHEME_0_MAJOR(rev) (rev >> 4) argument
1272 #define OMAP_I2C_REV_SCHEME_0_MINOR(rev) (rev & 0xf) argument
1274 #define OMAP_I2C_REV_SCHEME_1_MAJOR(rev) ((rev & 0x0700) >> 7) argument
1275 #define OMAP_I2C_REV_SCHEME_1_MINOR(rev) (rev & 0x1f) argument
1362 u32 rev; in omap_i2c_probe() local
1414 rev = readw_relaxed(omap->base + 0x04); in omap_i2c_probe()
1416 omap->scheme = OMAP_I2C_SCHEME(rev); in omap_i2c_probe()
1420 omap->rev = omap_i2c_read_reg(omap, OMAP_I2C_REV_REG); in omap_i2c_probe()
1421 minor = OMAP_I2C_REV_SCHEME_0_MAJOR(omap->rev); in omap_i2c_probe()
1422 major = OMAP_I2C_REV_SCHEME_0_MAJOR(omap->rev); in omap_i2c_probe()
1427 rev = (rev << 16) | in omap_i2c_probe()
1429 minor = OMAP_I2C_REV_SCHEME_1_MINOR(rev); in omap_i2c_probe()
1430 major = OMAP_I2C_REV_SCHEME_1_MAJOR(rev); in omap_i2c_probe()
1431 omap->rev = rev; in omap_i2c_probe()
1436 if (omap->rev >= OMAP_I2C_REV_ON_2430 && in omap_i2c_probe()
1437 omap->rev < OMAP_I2C_REV_ON_4430_PLUS) in omap_i2c_probe()
1440 if (omap->rev <= OMAP_I2C_REV_ON_3430_3530) in omap_i2c_probe()
1458 if (omap->rev < OMAP_I2C_REV_ON_3630) in omap_i2c_probe()
1470 if (omap->rev < OMAP_I2C_OMAP1_REV_2) in omap_i2c_probe()
1549 if (omap->rev < OMAP_I2C_OMAP1_REV_2) { in omap_i2c_runtime_suspend()