Lines Matching refs:config1
1462 int man_id, chip_id, config1, config2, convrate; in lm90_detect() local
1470 config1 = i2c_smbus_read_byte_data(client, LM90_REG_R_CONFIG1); in lm90_detect()
1472 if (man_id < 0 || chip_id < 0 || config1 < 0 || convrate < 0) in lm90_detect()
1483 if ((config1 & 0x2A) == 0x00 in lm90_detect()
1509 && (config1 & 0x3F) == 0x00 in lm90_detect()
1521 && (config1 & 0x1B) == 0x00 in lm90_detect()
1526 && (config1 & 0x1B) == 0x00 in lm90_detect()
1566 && (config1 & 0x1F) == (man_id & 0x0F) in lm90_detect()
1585 && (config1 & 0x10) == 0x00 in lm90_detect()
1598 && (config1 & 0x03) == 0x00 in lm90_detect()
1608 && (config1 & 0x3f) == 0x00 in lm90_detect()
1618 && (config1 & 0x07) == 0x00 in lm90_detect()
1625 if ((config1 & 0x2A) == 0x00 in lm90_detect()
1640 && (config1 & 0x2A) == 0x00 in lm90_detect()
1649 && (config1 & 0x3F) == 0x00 in lm90_detect()
1654 (config1 & 0x1B) == 0x00 && convrate <= 0x09) { in lm90_detect()