Lines Matching refs:convrate
1462 int man_id, chip_id, config1, config2, convrate; in lm90_detect() local
1471 convrate = i2c_smbus_read_byte_data(client, LM90_REG_R_CONVRATE); in lm90_detect()
1472 if (man_id < 0 || chip_id < 0 || config1 < 0 || convrate < 0) in lm90_detect()
1485 && convrate <= 0x09) { in lm90_detect()
1510 && convrate <= 0x0A) { in lm90_detect()
1522 && convrate <= 0x0A) { in lm90_detect()
1527 && convrate <= 0x0A) { in lm90_detect()
1567 && convrate <= 0x09) { in lm90_detect()
1588 && convrate <= 0x07) { in lm90_detect()
1599 && convrate <= 0x07) { in lm90_detect()
1609 && convrate <= 0x07) { in lm90_detect()
1619 && convrate <= 0x07) { in lm90_detect()
1628 && convrate <= 0x09) { in lm90_detect()
1632 && convrate <= 0x08) { in lm90_detect()
1642 && convrate <= 0x09) { in lm90_detect()
1650 && convrate <= 0x08) in lm90_detect()
1654 (config1 & 0x1B) == 0x00 && convrate <= 0x09) { in lm90_detect()
1700 int config, convrate; in lm90_init_client() local
1702 convrate = lm90_read_reg(client, LM90_REG_R_CONVRATE); in lm90_init_client()
1703 if (convrate < 0) in lm90_init_client()
1704 return convrate; in lm90_init_client()
1705 data->convrate_orig = convrate; in lm90_init_client()