Lines Matching full:config1
1438 int man_id, chip_id, config1, config2, convrate; in lm90_detect() local
1446 config1 = i2c_smbus_read_byte_data(client, LM90_REG_R_CONFIG1); in lm90_detect()
1448 if (man_id < 0 || chip_id < 0 || config1 < 0 || convrate < 0) in lm90_detect()
1460 if ((config1 & 0x2A) == 0x00 in lm90_detect()
1486 && (config1 & 0x3F) == 0x00 in lm90_detect()
1498 && (config1 & 0x1B) == 0x00 in lm90_detect()
1503 && (config1 & 0x1B) == 0x00 in lm90_detect()
1532 * register. Likewise, the config1 register seems to lack a in lm90_detect()
1543 && (config1 & 0x1F) == (man_id & 0x0F) in lm90_detect()
1552 * register, reading it returns 0x01. Bit 4 of the config1 in lm90_detect()
1562 && (config1 & 0x10) == 0x00 in lm90_detect()
1570 * revision of the chip. The lowest bit of the config1 register in lm90_detect()
1572 * second to last bit of config1 (software reset). in lm90_detect()
1575 && (config1 & 0x03) == 0x00 in lm90_detect()
1581 * revision of the chip. The lowest 6 bits of the config1 in lm90_detect()
1585 && (config1 & 0x3f) == 0x00 in lm90_detect()
1591 * The lowest 3 bits of the config1 register are unused and in lm90_detect()
1595 && (config1 & 0x07) == 0x00 in lm90_detect()
1602 if ((config1 & 0x2A) == 0x00 in lm90_detect()
1617 && (config1 & 0x2A) == 0x00 in lm90_detect()
1626 && (config1 & 0x3F) == 0x00 in lm90_detect()
1638 && (config1 & 0x1B) == 0x00 in lm90_detect()