Lines Matching refs:i2c_smbus_read_byte_data
618 status = i2c_smbus_read_byte_data(client, LM75_REG_CONF); in lm75_probe()
832 conf = i2c_smbus_read_byte_data(new_client, 1); in lm75_detect()
837 if (i2c_smbus_read_byte_data(new_client, 7) == LM75A_ID) { in lm75_detect()
842 if (i2c_smbus_read_byte_data(new_client, 4) != 0xff in lm75_detect()
843 || i2c_smbus_read_byte_data(new_client, 5) != 0xff in lm75_detect()
844 || i2c_smbus_read_byte_data(new_client, 6) != 0xff) in lm75_detect()
847 hyst = i2c_smbus_read_byte_data(new_client, 2); in lm75_detect()
848 os = i2c_smbus_read_byte_data(new_client, 3); in lm75_detect()
851 hyst = i2c_smbus_read_byte_data(new_client, 2); in lm75_detect()
852 if (i2c_smbus_read_byte_data(new_client, 4) != hyst in lm75_detect()
853 || i2c_smbus_read_byte_data(new_client, 5) != hyst in lm75_detect()
854 || i2c_smbus_read_byte_data(new_client, 6) != hyst in lm75_detect()
855 || i2c_smbus_read_byte_data(new_client, 7) != hyst) in lm75_detect()
857 os = i2c_smbus_read_byte_data(new_client, 3); in lm75_detect()
858 if (i2c_smbus_read_byte_data(new_client, 4) != os in lm75_detect()
859 || i2c_smbus_read_byte_data(new_client, 5) != os in lm75_detect()
860 || i2c_smbus_read_byte_data(new_client, 6) != os in lm75_detect()
861 || i2c_smbus_read_byte_data(new_client, 7) != os) in lm75_detect()
873 if (i2c_smbus_read_byte_data(new_client, i + 1) != conf in lm75_detect()
874 || i2c_smbus_read_byte_data(new_client, i + 2) != hyst in lm75_detect()
875 || i2c_smbus_read_byte_data(new_client, i + 3) != os) in lm75_detect()
877 if (is_lm75a && i2c_smbus_read_byte_data(new_client, i + 7) in lm75_detect()
893 status = i2c_smbus_read_byte_data(client, LM75_REG_CONF); in lm75_suspend()
908 status = i2c_smbus_read_byte_data(client, LM75_REG_CONF); in lm75_resume()