Lines Matching refs:man_id
2118 int man_id, emerg, emerg2, status2; in lm90_detect_maxim() local
2135 man_id = i2c_smbus_read_byte_data(client, in lm90_detect_maxim()
2141 if (emerg < 0 || man_id < 0 || emerg2 < 0 || status2 < 0) in lm90_detect_maxim()
2168 emerg2 == man_id && emerg2 != status2) in lm90_detect_maxim()
2451 int man_id, chip_id, config1, convrate, lhigh; in lm90_detect() local
2469 man_id = i2c_smbus_read_byte_data(client, LM90_REG_MAN_ID); in lm90_detect()
2473 if (man_id < 0 || chip_id < 0 || config1 < 0 || convrate < 0 || lhigh < 0) in lm90_detect()
2477 if (lhigh == man_id && lhigh == chip_id && lhigh == config1 && lhigh == convrate) in lm90_detect()
2485 if (man_id == lhigh && chip_id == lhigh) { in lm90_detect()
2487 man_id = i2c_smbus_read_byte_data(client, LM90_REG_MAN_ID); in lm90_detect()
2489 if (convrate < 0 || man_id < 0 || chip_id < 0) in lm90_detect()
2491 if (man_id == convrate && chip_id == convrate) in lm90_detect()
2492 man_id = -1; in lm90_detect()
2494 switch (man_id) { in lm90_detect()
2547 client->addr, man_id, chip_id); in lm90_detect()