Lines Matching refs:i2c_smbus_read_byte_data

627 	status = i2c_smbus_read_byte_data(client, LM75_REG_CONF);  in lm75_probe()
846 conf = i2c_smbus_read_byte_data(new_client, 1); in lm75_detect()
851 if (i2c_smbus_read_byte_data(new_client, 7) == LM75A_ID) { in lm75_detect()
856 if (i2c_smbus_read_byte_data(new_client, 4) != 0xff in lm75_detect()
857 || i2c_smbus_read_byte_data(new_client, 5) != 0xff in lm75_detect()
858 || i2c_smbus_read_byte_data(new_client, 6) != 0xff) in lm75_detect()
861 hyst = i2c_smbus_read_byte_data(new_client, 2); in lm75_detect()
862 os = i2c_smbus_read_byte_data(new_client, 3); in lm75_detect()
865 hyst = i2c_smbus_read_byte_data(new_client, 2); in lm75_detect()
866 if (i2c_smbus_read_byte_data(new_client, 4) != hyst in lm75_detect()
867 || i2c_smbus_read_byte_data(new_client, 5) != hyst in lm75_detect()
868 || i2c_smbus_read_byte_data(new_client, 6) != hyst in lm75_detect()
869 || i2c_smbus_read_byte_data(new_client, 7) != hyst) in lm75_detect()
871 os = i2c_smbus_read_byte_data(new_client, 3); in lm75_detect()
872 if (i2c_smbus_read_byte_data(new_client, 4) != os in lm75_detect()
873 || i2c_smbus_read_byte_data(new_client, 5) != os in lm75_detect()
874 || i2c_smbus_read_byte_data(new_client, 6) != os in lm75_detect()
875 || i2c_smbus_read_byte_data(new_client, 7) != os) in lm75_detect()
887 if (i2c_smbus_read_byte_data(new_client, i + 1) != conf in lm75_detect()
888 || i2c_smbus_read_byte_data(new_client, i + 2) != hyst in lm75_detect()
889 || i2c_smbus_read_byte_data(new_client, i + 3) != os) in lm75_detect()
891 if (is_lm75a && i2c_smbus_read_byte_data(new_client, i + 7) in lm75_detect()
907 status = i2c_smbus_read_byte_data(client, LM75_REG_CONF); in lm75_suspend()
922 status = i2c_smbus_read_byte_data(client, LM75_REG_CONF); in lm75_resume()