Lines Matching refs:i2c_smbus_read_byte_data

369 	return i2c_smbus_read_byte_data(data->client, LM75_REG_CONF);  in lm75_read_config()
917 conf = i2c_smbus_read_byte_data(new_client, 1); in lm75_detect()
922 if (i2c_smbus_read_byte_data(new_client, 7) == LM75A_ID) { in lm75_detect()
927 if (i2c_smbus_read_byte_data(new_client, 4) != 0xff in lm75_detect()
928 || i2c_smbus_read_byte_data(new_client, 5) != 0xff in lm75_detect()
929 || i2c_smbus_read_byte_data(new_client, 6) != 0xff) in lm75_detect()
932 hyst = i2c_smbus_read_byte_data(new_client, 2); in lm75_detect()
933 os = i2c_smbus_read_byte_data(new_client, 3); in lm75_detect()
936 hyst = i2c_smbus_read_byte_data(new_client, 2); in lm75_detect()
937 if (i2c_smbus_read_byte_data(new_client, 4) != hyst in lm75_detect()
938 || i2c_smbus_read_byte_data(new_client, 5) != hyst in lm75_detect()
939 || i2c_smbus_read_byte_data(new_client, 6) != hyst in lm75_detect()
940 || i2c_smbus_read_byte_data(new_client, 7) != hyst) in lm75_detect()
942 os = i2c_smbus_read_byte_data(new_client, 3); in lm75_detect()
943 if (i2c_smbus_read_byte_data(new_client, 4) != os in lm75_detect()
944 || i2c_smbus_read_byte_data(new_client, 5) != os in lm75_detect()
945 || i2c_smbus_read_byte_data(new_client, 6) != os in lm75_detect()
946 || i2c_smbus_read_byte_data(new_client, 7) != os) in lm75_detect()
958 if (i2c_smbus_read_byte_data(new_client, i + 1) != conf in lm75_detect()
959 || i2c_smbus_read_byte_data(new_client, i + 2) != hyst in lm75_detect()
960 || i2c_smbus_read_byte_data(new_client, i + 3) != os) in lm75_detect()
962 if (is_lm75a && i2c_smbus_read_byte_data(new_client, i + 7) in lm75_detect()
978 status = i2c_smbus_read_byte_data(client, LM75_REG_CONF); in lm75_suspend()
993 status = i2c_smbus_read_byte_data(client, LM75_REG_CONF); in lm75_resume()