Lines Matching refs:i2c_smbus_read_byte_data
391 conf = i2c_smbus_read_byte_data(new_client, 1); in lm75_detect()
396 if (i2c_smbus_read_byte_data(new_client, 7) == LM75A_ID) { in lm75_detect()
399 if (i2c_smbus_read_byte_data(new_client, 4) != 0xff in lm75_detect()
400 || i2c_smbus_read_byte_data(new_client, 5) != 0xff in lm75_detect()
401 || i2c_smbus_read_byte_data(new_client, 6) != 0xff) in lm75_detect()
404 hyst = i2c_smbus_read_byte_data(new_client, 2); in lm75_detect()
405 os = i2c_smbus_read_byte_data(new_client, 3); in lm75_detect()
408 hyst = i2c_smbus_read_byte_data(new_client, 2); in lm75_detect()
409 if (i2c_smbus_read_byte_data(new_client, 4) != hyst in lm75_detect()
410 || i2c_smbus_read_byte_data(new_client, 5) != hyst in lm75_detect()
411 || i2c_smbus_read_byte_data(new_client, 6) != hyst in lm75_detect()
412 || i2c_smbus_read_byte_data(new_client, 7) != hyst) in lm75_detect()
414 os = i2c_smbus_read_byte_data(new_client, 3); in lm75_detect()
415 if (i2c_smbus_read_byte_data(new_client, 4) != os in lm75_detect()
416 || i2c_smbus_read_byte_data(new_client, 5) != os in lm75_detect()
417 || i2c_smbus_read_byte_data(new_client, 6) != os in lm75_detect()
418 || i2c_smbus_read_byte_data(new_client, 7) != os) in lm75_detect()
430 if (i2c_smbus_read_byte_data(new_client, i + 1) != conf in lm75_detect()
431 || i2c_smbus_read_byte_data(new_client, i + 2) != hyst in lm75_detect()
432 || i2c_smbus_read_byte_data(new_client, i + 3) != os) in lm75_detect()
434 if (is_lm75a && i2c_smbus_read_byte_data(new_client, i + 7) in lm75_detect()
507 return i2c_smbus_read_byte_data(client, reg); in lm75_read_value()