Home
last modified time | relevance | path

Searched refs:read_tmp (Results 1 – 1 of 1) sorted by relevance

/Linux-v6.6/drivers/iio/temperature/
Dmlx90632.c447 unsigned int read_tmp; in mlx90632_read_ambient_raw() local
450 ret = regmap_read(regmap, MLX90632_RAM_3(1), &read_tmp); in mlx90632_read_ambient_raw()
453 *ambient_new_raw = (s16)read_tmp; in mlx90632_read_ambient_raw()
455 ret = regmap_read(regmap, MLX90632_RAM_3(2), &read_tmp); in mlx90632_read_ambient_raw()
458 *ambient_old_raw = (s16)read_tmp; in mlx90632_read_ambient_raw()
467 unsigned int read_tmp; in mlx90632_read_object_raw() local
478 ret = regmap_read(regmap, MLX90632_RAM_2(channel), &read_tmp); in mlx90632_read_object_raw()
482 read = (s16)read_tmp; in mlx90632_read_object_raw()
484 ret = regmap_read(regmap, MLX90632_RAM_1(channel), &read_tmp); in mlx90632_read_object_raw()
487 *object_new_raw = (read + (s16)read_tmp) / 2; in mlx90632_read_object_raw()
[all …]