Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/iio/gyro/
A Dadis16080.c33 int scale_val2; member
95 *val2 = st->info->scale_val2; in adis16080_read_raw()
178 .scale_val2 = 46925,
183 .scale_val2 = 70474,
/linux-6.3-rc2/drivers/iio/
A Dinkern.c631 int scale_type, scale_val, scale_val2; in iio_convert_raw_to_processed_unlocked() local
661 scale_type = iio_channel_read(chan, &scale_val, &scale_val2, in iio_convert_raw_to_processed_unlocked()
677 if (scale_val2 < 0) in iio_convert_raw_to_processed_unlocked()
681 *processed += div_s64(raw64 * (s64)scale_val2 * scale, in iio_convert_raw_to_processed_unlocked()
685 if (scale_val2 < 0) in iio_convert_raw_to_processed_unlocked()
689 *processed += div_s64(raw64 * (s64)scale_val2 * scale, in iio_convert_raw_to_processed_unlocked()
694 scale_val2); in iio_convert_raw_to_processed_unlocked()
697 *processed = (raw64 * (s64)scale_val * scale) >> scale_val2; in iio_convert_raw_to_processed_unlocked()

Completed in 6 milliseconds