Lines Matching full:config2
1915 int config2 = i2c_smbus_read_byte_data(client, LM90_REG_CONFIG2); in lm90_detect_national() local
1919 if (config2 < 0) in lm90_detect_national()
1922 if ((config1 & 0x2a) || (config2 & 0xf8) || convrate > 0x09) in lm90_detect_national()
1969 int config2 = i2c_smbus_read_byte_data(client, ADT7481_REG_CONFIG2); in lm90_detect_analog() local
1975 if (status < 0 || config2 < 0 || man_id2 < 0 || chip_id2 < 0) in lm90_detect_analog()
2095 !(config2 & 0x7f) && (convrate & 0x0f) <= 0x0b) { in lm90_detect_analog()
2102 address == 0x4c && !(config1 & 0x10) && !(config2 & 0x7f) && in lm90_detect_analog()
2112 !(config1 & 0x10) && !(config2 & 0x7f) && convrate <= 0x0a) in lm90_detect_analog()
2327 int config2 = i2c_smbus_read_byte_data(client, LM90_REG_CONFIG2); in lm90_detect_nuvoton() local
2331 if (config2 < 0) in lm90_detect_nuvoton()
2334 if (address == 0x4c && !(config1 & 0x2a) && !(config2 & 0xf8)) { in lm90_detect_nuvoton()
2350 int config2 = i2c_smbus_read_byte_data(client, LM90_REG_CONFIG2); in lm90_detect_nuvoton_50() local
2354 if (chip_id2 < 0 || config2 < 0) in lm90_detect_nuvoton_50()
2362 if (address == 0x48 && !(config1 & 0x3e) && !(config2 & 0xfe)) in lm90_detect_nuvoton_50()
2367 !(config2 & 0xfe)) in lm90_detect_nuvoton_50()
2369 else if (address == 0x4c && !(config1 & 0x38) && !(config2 & 0xf8)) in lm90_detect_nuvoton_50()
2383 int config2; in lm90_detect_nxp() local
2387 config2 = i2c_smbus_read_byte_data(client, LM90_REG_CONFIG2); in lm90_detect_nxp()
2388 if (config2 < 0) in lm90_detect_nxp()
2391 !(config1 & 0x2a) && !(config2 & 0xfe) && convrate <= 0x09) in lm90_detect_nxp()