Lines Matching refs:config1
1471 int man_id, chip_id, config1, config2, convrate; in lm90_detect() local
1479 config1 = i2c_smbus_read_byte_data(client, LM90_REG_R_CONFIG1); in lm90_detect()
1481 if (man_id < 0 || chip_id < 0 || config1 < 0 || convrate < 0) in lm90_detect()
1492 if ((config1 & 0x2A) == 0x00 in lm90_detect()
1518 && (config1 & 0x3F) == 0x00 in lm90_detect()
1530 && (config1 & 0x1B) == 0x00 in lm90_detect()
1535 && (config1 & 0x1B) == 0x00 in lm90_detect()
1575 && (config1 & 0x1F) == (man_id & 0x0F) in lm90_detect()
1594 && (config1 & 0x10) == 0x00 in lm90_detect()
1607 && (config1 & 0x03) == 0x00 in lm90_detect()
1617 && (config1 & 0x3f) == 0x00 in lm90_detect()
1627 && (config1 & 0x07) == 0x00 in lm90_detect()
1634 if ((config1 & 0x2A) == 0x00 in lm90_detect()
1649 && (config1 & 0x2A) == 0x00 in lm90_detect()
1658 && (config1 & 0x3F) == 0x00 in lm90_detect()
1663 (config1 & 0x1B) == 0x00 && convrate <= 0x09) { in lm90_detect()