Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/iio/temperature/
Dmlx90632.c289 unsigned int read_tmp; in mlx90632_read_ambient_raw() local
291 ret = regmap_read(regmap, MLX90632_RAM_3(1), &read_tmp); in mlx90632_read_ambient_raw()
294 *ambient_new_raw = (s16)read_tmp; in mlx90632_read_ambient_raw()
296 ret = regmap_read(regmap, MLX90632_RAM_3(2), &read_tmp); in mlx90632_read_ambient_raw()
299 *ambient_old_raw = (s16)read_tmp; in mlx90632_read_ambient_raw()
309 unsigned int read_tmp; in mlx90632_read_object_raw() local
319 ret = regmap_read(regmap, MLX90632_RAM_2(channel), &read_tmp); in mlx90632_read_object_raw()
323 read = (s16)read_tmp; in mlx90632_read_object_raw()
325 ret = regmap_read(regmap, MLX90632_RAM_1(channel), &read_tmp); in mlx90632_read_object_raw()
328 *object_new_raw = (read + (s16)read_tmp) / 2; in mlx90632_read_object_raw()
[all …]