Lines Matching refs:i2c_smbus_read_byte_data

626 	status = i2c_smbus_read_byte_data(client, LM75_REG_CONF);  in lm75_probe()
845 conf = i2c_smbus_read_byte_data(new_client, 1); in lm75_detect()
850 if (i2c_smbus_read_byte_data(new_client, 7) == LM75A_ID) { in lm75_detect()
855 if (i2c_smbus_read_byte_data(new_client, 4) != 0xff in lm75_detect()
856 || i2c_smbus_read_byte_data(new_client, 5) != 0xff in lm75_detect()
857 || i2c_smbus_read_byte_data(new_client, 6) != 0xff) in lm75_detect()
860 hyst = i2c_smbus_read_byte_data(new_client, 2); in lm75_detect()
861 os = i2c_smbus_read_byte_data(new_client, 3); in lm75_detect()
864 hyst = i2c_smbus_read_byte_data(new_client, 2); in lm75_detect()
865 if (i2c_smbus_read_byte_data(new_client, 4) != hyst in lm75_detect()
866 || i2c_smbus_read_byte_data(new_client, 5) != hyst in lm75_detect()
867 || i2c_smbus_read_byte_data(new_client, 6) != hyst in lm75_detect()
868 || i2c_smbus_read_byte_data(new_client, 7) != hyst) in lm75_detect()
870 os = i2c_smbus_read_byte_data(new_client, 3); in lm75_detect()
871 if (i2c_smbus_read_byte_data(new_client, 4) != os in lm75_detect()
872 || i2c_smbus_read_byte_data(new_client, 5) != os in lm75_detect()
873 || i2c_smbus_read_byte_data(new_client, 6) != os in lm75_detect()
874 || i2c_smbus_read_byte_data(new_client, 7) != os) in lm75_detect()
886 if (i2c_smbus_read_byte_data(new_client, i + 1) != conf in lm75_detect()
887 || i2c_smbus_read_byte_data(new_client, i + 2) != hyst in lm75_detect()
888 || i2c_smbus_read_byte_data(new_client, i + 3) != os) in lm75_detect()
890 if (is_lm75a && i2c_smbus_read_byte_data(new_client, i + 7) in lm75_detect()
906 status = i2c_smbus_read_byte_data(client, LM75_REG_CONF); in lm75_suspend()
921 status = i2c_smbus_read_byte_data(client, LM75_REG_CONF); in lm75_resume()