Lines Matching refs:i2c_smbus_read_word_data
264 cur = i2c_smbus_read_word_data(client, 0); in lm77_detect()
266 hyst = i2c_smbus_read_word_data(client, 2); in lm77_detect()
267 crit = i2c_smbus_read_word_data(client, 3); in lm77_detect()
268 min = i2c_smbus_read_word_data(client, 4); in lm77_detect()
269 max = i2c_smbus_read_word_data(client, 5); in lm77_detect()
272 || i2c_smbus_read_word_data(client, i + 2) != hyst in lm77_detect()
273 || i2c_smbus_read_word_data(client, i + 3) != crit in lm77_detect()
274 || i2c_smbus_read_word_data(client, i + 4) != min in lm77_detect()
275 || i2c_smbus_read_word_data(client, i + 5) != max) in lm77_detect()
292 cur = i2c_smbus_read_word_data(client, 0); in lm77_detect()
293 if (i2c_smbus_read_word_data(client, 6) != cur in lm77_detect()
294 || i2c_smbus_read_word_data(client, 7) != cur) in lm77_detect()
296 hyst = i2c_smbus_read_word_data(client, 2); in lm77_detect()
297 if (i2c_smbus_read_word_data(client, 6) != hyst in lm77_detect()
298 || i2c_smbus_read_word_data(client, 7) != hyst) in lm77_detect()
300 min = i2c_smbus_read_word_data(client, 4); in lm77_detect()
301 if (i2c_smbus_read_word_data(client, 6) != min in lm77_detect()
302 || i2c_smbus_read_word_data(client, 7) != min) in lm77_detect()