Lines Matching refs:convrate

1870 					int config1, int convrate)  in lm90_detect_national()  argument
1879 if ((config1 & 0x2a) || (config2 & 0xf8) || convrate > 0x09) in lm90_detect_national()
1905 int convrate) in lm90_detect_on() argument
1913 convrate <= 0x0a) in lm90_detect_on()
1923 int chip_id, int config1, int convrate) in lm90_detect_analog() argument
1975 !(status & 0x03) && !(config1 & 0x3f) && !(convrate & 0xf8)) in lm90_detect_analog()
1981 (config1 & 0x0b) == 0x08 && convrate <= 0x0a) in lm90_detect_analog()
2000 !(status & 0x03) && !(config1 & 0x3f) && !(convrate & 0xf8)) in lm90_detect_analog()
2006 !(status & 0x03) && !(config1 & 0x3f) && !(convrate & 0xf8)) in lm90_detect_analog()
2011 !(status & 0x03) && !(config1 & 0x3f) && !(convrate & 0xf8)) in lm90_detect_analog()
2017 convrate <= 0x0a) in lm90_detect_analog()
2023 convrate <= 0x0a) in lm90_detect_analog()
2029 convrate <= 0x0a) in lm90_detect_analog()
2035 convrate <= 0x0a) in lm90_detect_analog()
2041 convrate <= 0x0a) in lm90_detect_analog()
2046 common_address && !(config1 & 0x1b) && convrate <= 0x0a) in lm90_detect_analog()
2052 !(config2 & 0x7f) && (convrate & 0x0f) <= 0x0b) { in lm90_detect_analog()
2060 convrate <= 0x0a) in lm90_detect_analog()
2069 !(config1 & 0x10) && !(config2 & 0x7f) && convrate <= 0x0a) in lm90_detect_analog()
2080 int chip_id, int config1, int convrate) in lm90_detect_maxim() argument
2120 convrate <= 0x07) in lm90_detect_maxim()
2131 else if (!(config1 & 0x03) && convrate <= 0x07 && in lm90_detect_maxim()
2146 else if (!(config1 & 0x03f) && convrate <= 0x07 && in lm90_detect_maxim()
2156 if (common_address && !(config1 & 0x07) && convrate <= 0x07) in lm90_detect_maxim()
2169 if (common_address && !(config1 & 0x07) && convrate <= 0x07) in lm90_detect_maxim()
2191 if (address >= 0x48 && address <= 0x4f && config1 == convrate && in lm90_detect_maxim()
2224 (config1 & 0x1f) == 0x0d && convrate <= 0x09) { in lm90_detect_maxim()
2246 if (!(config1 & 0x3f) && convrate <= 0x07) { in lm90_detect_maxim()
2282 int config1, int convrate) in lm90_detect_nuvoton() argument
2292 if (chip_id == 0x01 && convrate <= 0x09) { in lm90_detect_nuvoton()
2295 } else if ((chip_id & 0xfe) == 0x10 && convrate <= 0x08) { in lm90_detect_nuvoton()
2304 int chip_id, int config1, int convrate) in lm90_detect_nxp() argument
2316 !(config1 & 0x2a) && !(config2 & 0xfe) && convrate <= 0x09) in lm90_detect_nxp()
2320 if (common_address && !(config1 & 0x3f) && convrate <= 0x07) in lm90_detect_nxp()
2330 int config1, int convrate) in lm90_detect_gmt() argument
2355 !(config1 & 0x3f) && convrate <= 0x08) { in lm90_detect_gmt()
2372 int chip_id, int config1, int convrate) in lm90_detect_ti49() argument
2374 if (common_address && chip_id == 0x00 && !(config1 & 0x3f) && !(convrate & 0xf8)) { in lm90_detect_ti49()
2384 int config1, int convrate) in lm90_detect_ti() argument
2389 if (chip_id == 0x00 && !(config1 & 0x1b) && convrate <= 0x09) { in lm90_detect_ti()
2415 int man_id, chip_id, config1, convrate, lhigh; in lm90_detect() local
2436 convrate = i2c_smbus_read_byte_data(client, LM90_REG_CONVRATE); in lm90_detect()
2437 if (man_id < 0 || chip_id < 0 || config1 < 0 || convrate < 0 || lhigh < 0) in lm90_detect()
2441 if (lhigh == man_id && lhigh == chip_id && lhigh == config1 && lhigh == convrate) in lm90_detect()
2450 convrate = i2c_smbus_read_byte_data(client, LM90_REG_CONVRATE); in lm90_detect()
2453 if (convrate < 0 || man_id < 0 || chip_id < 0) in lm90_detect()
2455 if (man_id == convrate && chip_id == convrate) in lm90_detect()
2460 if (common_address && !convrate && !(config1 & 0x7f)) in lm90_detect()
2464 name = lm90_detect_national(client, chip_id, config1, convrate); in lm90_detect()
2467 name = lm90_detect_on(client, chip_id, config1, convrate); in lm90_detect()
2470 if (common_address && !(config1 & 0x3f) && !(convrate & 0xf8)) in lm90_detect()
2475 convrate); in lm90_detect()
2478 name = lm90_detect_gmt(client, chip_id, config1, convrate); in lm90_detect()
2481 name = lm90_detect_ti49(client, common_address, chip_id, config1, convrate); in lm90_detect()
2485 config1, convrate); in lm90_detect()
2488 if (common_address && !(config1 & 0x3f) && !(convrate & 0xf8)) in lm90_detect()
2492 name = lm90_detect_ti(client, chip_id, config1, convrate); in lm90_detect()
2495 name = lm90_detect_nuvoton(client, chip_id, config1, convrate); in lm90_detect()
2498 name = lm90_detect_nxp(client, common_address, chip_id, config1, convrate); in lm90_detect()
2501 if (common_address && chip_id == 0xff && convrate < 8) in lm90_detect()
2537 int config, convrate; in lm90_init_client() local
2540 convrate = lm90_read_reg(client, LM90_REG_CONVRATE); in lm90_init_client()
2541 if (convrate < 0) in lm90_init_client()
2542 return convrate; in lm90_init_client()
2543 data->convrate_orig = convrate; in lm90_init_client()