Lines Matching refs:config2
1907 int config2 = i2c_smbus_read_byte_data(client, LM90_REG_CONFIG2); in lm90_detect_national() local
1911 if (config2 < 0) in lm90_detect_national()
1914 if ((config1 & 0x2a) || (config2 & 0xf8) || convrate > 0x09) in lm90_detect_national()
1961 int config2 = i2c_smbus_read_byte_data(client, ADT7481_REG_CONFIG2); in lm90_detect_analog() local
1967 if (status < 0 || config2 < 0 || man_id2 < 0 || chip_id2 < 0) in lm90_detect_analog()
2087 !(config2 & 0x7f) && (convrate & 0x0f) <= 0x0b) { in lm90_detect_analog()
2094 address == 0x4c && !(config1 & 0x10) && !(config2 & 0x7f) && in lm90_detect_analog()
2104 !(config1 & 0x10) && !(config2 & 0x7f) && convrate <= 0x0a) in lm90_detect_analog()
2319 int config2 = i2c_smbus_read_byte_data(client, LM90_REG_CONFIG2); in lm90_detect_nuvoton() local
2323 if (config2 < 0) in lm90_detect_nuvoton()
2326 if (address == 0x4c && !(config1 & 0x2a) && !(config2 & 0xf8)) { in lm90_detect_nuvoton()
2343 int config2; in lm90_detect_nxp() local
2347 config2 = i2c_smbus_read_byte_data(client, LM90_REG_CONFIG2); in lm90_detect_nxp()
2348 if (config2 < 0) in lm90_detect_nxp()
2351 !(config1 & 0x2a) && !(config2 & 0xfe) && convrate <= 0x09) in lm90_detect_nxp()