Lines Matching refs:convrate
1472 int man_id, chip_id, config1, config2, convrate; in lm90_detect() local
1481 convrate = i2c_smbus_read_byte_data(client, LM90_REG_R_CONVRATE); in lm90_detect()
1482 if (man_id < 0 || chip_id < 0 || config1 < 0 || convrate < 0) in lm90_detect()
1495 && convrate <= 0x09) { in lm90_detect()
1520 && convrate <= 0x0A) { in lm90_detect()
1532 && convrate <= 0x0A) { in lm90_detect()
1537 && convrate <= 0x0A) { in lm90_detect()
1577 && convrate <= 0x09) { in lm90_detect()
1598 && convrate <= 0x07) { in lm90_detect()
1609 && convrate <= 0x07) { in lm90_detect()
1619 && convrate <= 0x07) { in lm90_detect()
1629 && convrate <= 0x07) { in lm90_detect()
1638 && convrate <= 0x09) { in lm90_detect()
1642 && convrate <= 0x08) { in lm90_detect()
1652 && convrate <= 0x09) { in lm90_detect()
1660 && convrate <= 0x08) in lm90_detect()
1664 (config1 & 0x1B) == 0x00 && convrate <= 0x09) { in lm90_detect()
1710 int config, convrate; in lm90_init_client() local
1712 convrate = lm90_read_reg(client, LM90_REG_R_CONVRATE); in lm90_init_client()
1713 if (convrate < 0) in lm90_init_client()
1714 return convrate; in lm90_init_client()
1715 data->convrate_orig = convrate; in lm90_init_client()