Searched refs:scale_val (Results 1 – 6 of 6) sorted by relevance
/linux-5.19.10/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,
|
/linux-5.19.10/drivers/iio/adc/ |
D | ad9467.c | 298 unsigned int scale_val[2]; in ad9467_set_scale() local 305 __ad9467_get_scale(conv, i, &scale_val[0], &scale_val[1]); in ad9467_set_scale() 306 if (scale_val[0] != val || scale_val[1] != val2) in ad9467_set_scale()
|
/linux-5.19.10/drivers/iio/ |
D | inkern.c | 598 int scale_type, scale_val, scale_val2; in iio_convert_raw_to_processed_unlocked() local 628 scale_type = iio_channel_read(chan, &scale_val, &scale_val2, in iio_convert_raw_to_processed_unlocked() 641 *processed = raw64 * scale_val * scale; in iio_convert_raw_to_processed_unlocked() 645 *processed = -raw64 * scale_val; in iio_convert_raw_to_processed_unlocked() 647 *processed = raw64 * scale_val; in iio_convert_raw_to_processed_unlocked() 653 *processed = -raw64 * scale_val; in iio_convert_raw_to_processed_unlocked() 655 *processed = raw64 * scale_val; in iio_convert_raw_to_processed_unlocked() 660 *processed = div_s64(raw64 * (s64)scale_val * scale, in iio_convert_raw_to_processed_unlocked() 664 *processed = (raw64 * (s64)scale_val * scale) >> scale_val2; in iio_convert_raw_to_processed_unlocked()
|
/linux-5.19.10/drivers/iio/accel/ |
D | stk8ba50.c | 66 u32 scale_val; member 237 *val2 = stk8ba50_scale_table[data->range].scale_val; in stk8ba50_read_raw() 264 if (val2 == stk8ba50_scale_table[i].scale_val) { in stk8ba50_write_raw()
|
/linux-5.19.10/sound/soc/atmel/ |
D | atmel-pdmic.c | 284 unsigned int dgain_val, scale_val; in pdmic_get_mic_volsw() local 290 scale_val = (snd_soc_component_read(component, PDMIC_DSPR0) & PDMIC_DSPR0_SCALE_MASK) in pdmic_get_mic_volsw() 295 (mic_gain_table[i].scale == scale_val)) in pdmic_get_mic_volsw()
|
/linux-5.19.10/sound/soc/codecs/ |
D | wcd9335.c | 3630 u8 scale_val = 0; in wcd9335_codec_hph_post_pa_config() local 3636 scale_val = 0x3; in wcd9335_codec_hph_post_pa_config() 3639 scale_val = 0x1; in wcd9335_codec_hph_post_pa_config() 3644 scale_val = 0x6; in wcd9335_codec_hph_post_pa_config() 3648 if (scale_val) in wcd9335_codec_hph_post_pa_config() 3652 scale_val << 1); in wcd9335_codec_hph_post_pa_config()
|