Searched refs:scale_val (Results 1 – 4 of 4) sorted by relevance
/drivers/iio/gyro/ |
D | adis16080.c | 32 int scale_val; member 94 *val = st->info->scale_val; in adis16080_read_raw() 177 .scale_val = 80, 182 .scale_val = 300,
|
/drivers/iio/adc/ |
D | ad9467.c | 303 unsigned int scale_val[2]; in ad9467_set_scale() local 311 __ad9467_get_scale(conv, i, &scale_val[0], &scale_val[1]); in ad9467_set_scale() 312 if (scale_val[0] != val || scale_val[1] != val2) in ad9467_set_scale()
|
/drivers/iio/ |
D | inkern.c | 585 int scale_type, scale_val, scale_val2; in iio_convert_raw_to_processed_unlocked() local 615 scale_type = iio_channel_read(chan, &scale_val, &scale_val2, in iio_convert_raw_to_processed_unlocked() 628 *processed = raw64 * scale_val * scale; in iio_convert_raw_to_processed_unlocked() 632 *processed = -raw64 * scale_val; in iio_convert_raw_to_processed_unlocked() 634 *processed = raw64 * scale_val; in iio_convert_raw_to_processed_unlocked() 640 *processed = -raw64 * scale_val; in iio_convert_raw_to_processed_unlocked() 642 *processed = raw64 * scale_val; in iio_convert_raw_to_processed_unlocked() 647 *processed = div_s64(raw64 * (s64)scale_val * scale, in iio_convert_raw_to_processed_unlocked() 651 *processed = (raw64 * (s64)scale_val * scale) >> scale_val2; in iio_convert_raw_to_processed_unlocked()
|
/drivers/iio/accel/ |
D | stk8ba50.c | 66 u32 scale_val; member 236 *val2 = stk8ba50_scale_table[data->range].scale_val; in stk8ba50_read_raw() 263 if (val2 == stk8ba50_scale_table[i].scale_val) { in stk8ba50_write_raw()
|