Lines Matching refs:i2c_smbus_read_byte_data

398 	conf = i2c_smbus_read_byte_data(new_client, 1);  in lm75_detect()
403 if (i2c_smbus_read_byte_data(new_client, 7) == LM75A_ID) { in lm75_detect()
406 if (i2c_smbus_read_byte_data(new_client, 4) != 0xff in lm75_detect()
407 || i2c_smbus_read_byte_data(new_client, 5) != 0xff in lm75_detect()
408 || i2c_smbus_read_byte_data(new_client, 6) != 0xff) in lm75_detect()
411 hyst = i2c_smbus_read_byte_data(new_client, 2); in lm75_detect()
412 os = i2c_smbus_read_byte_data(new_client, 3); in lm75_detect()
415 hyst = i2c_smbus_read_byte_data(new_client, 2); in lm75_detect()
416 if (i2c_smbus_read_byte_data(new_client, 4) != hyst in lm75_detect()
417 || i2c_smbus_read_byte_data(new_client, 5) != hyst in lm75_detect()
418 || i2c_smbus_read_byte_data(new_client, 6) != hyst in lm75_detect()
419 || i2c_smbus_read_byte_data(new_client, 7) != hyst) in lm75_detect()
421 os = i2c_smbus_read_byte_data(new_client, 3); in lm75_detect()
422 if (i2c_smbus_read_byte_data(new_client, 4) != os in lm75_detect()
423 || i2c_smbus_read_byte_data(new_client, 5) != os in lm75_detect()
424 || i2c_smbus_read_byte_data(new_client, 6) != os in lm75_detect()
425 || i2c_smbus_read_byte_data(new_client, 7) != os) in lm75_detect()
437 if (i2c_smbus_read_byte_data(new_client, i + 1) != conf in lm75_detect()
438 || i2c_smbus_read_byte_data(new_client, i + 2) != hyst in lm75_detect()
439 || i2c_smbus_read_byte_data(new_client, i + 3) != os) in lm75_detect()
441 if (is_lm75a && i2c_smbus_read_byte_data(new_client, i + 7) in lm75_detect()
514 return i2c_smbus_read_byte_data(client, reg); in lm75_read_value()