Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/iio/gyro/
Dadis16080.c32 int scale_val; member
94 *val = st->info->scale_val; in adis16080_read_raw()
177 .scale_val = 80,
182 .scale_val = 300,
/linux-6.1.9/drivers/iio/adc/
Dad9467.c298 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-6.1.9/drivers/iio/
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()
674 *processed = raw64 * scale_val * scale; in iio_convert_raw_to_processed_unlocked()
678 *processed = -raw64 * scale_val; in iio_convert_raw_to_processed_unlocked()
680 *processed = raw64 * scale_val; in iio_convert_raw_to_processed_unlocked()
686 *processed = -raw64 * scale_val; in iio_convert_raw_to_processed_unlocked()
688 *processed = raw64 * scale_val; in iio_convert_raw_to_processed_unlocked()
693 *processed = div_s64(raw64 * (s64)scale_val * scale, in iio_convert_raw_to_processed_unlocked()
697 *processed = (raw64 * (s64)scale_val * scale) >> scale_val2; in iio_convert_raw_to_processed_unlocked()
/linux-6.1.9/drivers/iio/accel/
Dstk8ba50.c66 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-6.1.9/sound/soc/atmel/
Datmel-pdmic.c284 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-6.1.9/sound/soc/codecs/
Dwcd9335.c3619 u8 scale_val = 0; in wcd9335_codec_hph_post_pa_config() local
3625 scale_val = 0x3; in wcd9335_codec_hph_post_pa_config()
3628 scale_val = 0x1; in wcd9335_codec_hph_post_pa_config()
3633 scale_val = 0x6; in wcd9335_codec_hph_post_pa_config()
3637 if (scale_val) in wcd9335_codec_hph_post_pa_config()
3641 scale_val << 1); in wcd9335_codec_hph_post_pa_config()