Lines Matching refs:config2
1908 int config2 = i2c_smbus_read_byte_data(client, LM90_REG_CONFIG2); in lm90_detect_national() local
1912 if (config2 < 0) in lm90_detect_national()
1915 if ((config1 & 0x2a) || (config2 & 0xf8) || convrate > 0x09) in lm90_detect_national()
1962 int config2 = i2c_smbus_read_byte_data(client, ADT7481_REG_CONFIG2); in lm90_detect_analog() local
1968 if (status < 0 || config2 < 0 || man_id2 < 0 || chip_id2 < 0) in lm90_detect_analog()
2088 !(config2 & 0x7f) && (convrate & 0x0f) <= 0x0b) { in lm90_detect_analog()
2095 address == 0x4c && !(config1 & 0x10) && !(config2 & 0x7f) && in lm90_detect_analog()
2105 !(config1 & 0x10) && !(config2 & 0x7f) && convrate <= 0x0a) in lm90_detect_analog()
2320 int config2 = i2c_smbus_read_byte_data(client, LM90_REG_CONFIG2); in lm90_detect_nuvoton() local
2324 if (config2 < 0) in lm90_detect_nuvoton()
2327 if (address == 0x4c && !(config1 & 0x2a) && !(config2 & 0xf8)) { in lm90_detect_nuvoton()
2344 int config2; in lm90_detect_nxp() local
2348 config2 = i2c_smbus_read_byte_data(client, LM90_REG_CONFIG2); in lm90_detect_nxp()
2349 if (config2 < 0) in lm90_detect_nxp()
2352 !(config1 & 0x2a) && !(config2 & 0xfe) && convrate <= 0x09) in lm90_detect_nxp()