Lines Matching refs:config2
1903 int config2 = i2c_smbus_read_byte_data(client, LM90_REG_CONFIG2); in lm90_detect_national() local
1907 if (config2 < 0) in lm90_detect_national()
1910 if ((config1 & 0x2a) || (config2 & 0xf8) || convrate > 0x09) in lm90_detect_national()
1957 int config2 = i2c_smbus_read_byte_data(client, ADT7481_REG_CONFIG2); in lm90_detect_analog() local
1963 if (status < 0 || config2 < 0 || man_id2 < 0 || chip_id2 < 0) in lm90_detect_analog()
2083 !(config2 & 0x7f) && (convrate & 0x0f) <= 0x0b) { in lm90_detect_analog()
2090 address == 0x4c && !(config1 & 0x10) && !(config2 & 0x7f) && in lm90_detect_analog()
2100 !(config1 & 0x10) && !(config2 & 0x7f) && convrate <= 0x0a) in lm90_detect_analog()
2315 int config2 = i2c_smbus_read_byte_data(client, LM90_REG_CONFIG2); in lm90_detect_nuvoton() local
2319 if (config2 < 0) in lm90_detect_nuvoton()
2322 if (address == 0x4c && !(config1 & 0x2a) && !(config2 & 0xf8)) { in lm90_detect_nuvoton()
2338 int config2 = i2c_smbus_read_byte_data(client, LM90_REG_CONFIG2); in lm90_detect_nuvoton_50() local
2342 if (chip_id2 < 0 || config2 < 0) in lm90_detect_nuvoton_50()
2350 if (address == 0x48 && !(config1 & 0x3e) && !(config2 & 0xfe)) in lm90_detect_nuvoton_50()
2355 !(config2 & 0xfe)) in lm90_detect_nuvoton_50()
2357 else if (address == 0x4c && !(config1 & 0x38) && !(config2 & 0xf8)) in lm90_detect_nuvoton_50()
2371 int config2; in lm90_detect_nxp() local
2375 config2 = i2c_smbus_read_byte_data(client, LM90_REG_CONFIG2); in lm90_detect_nxp()
2376 if (config2 < 0) in lm90_detect_nxp()
2379 !(config1 & 0x2a) && !(config2 & 0xfe) && convrate <= 0x09) in lm90_detect_nxp()