Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/iio/test/
Diio-test-gts.c238 int ret, old_gain, new_gain, old_time_sel, new_time_sel; in test_iio_gts_find_new_gain_sel_by_old_gain_time() local
244 old_gain = 32; in test_iio_gts_find_new_gain_sel_by_old_gain_time()
248 ret = iio_gts_find_new_gain_sel_by_old_gain_time(&gts, old_gain, in test_iio_gts_find_new_gain_sel_by_old_gain_time()
257 old_gain = 4; in test_iio_gts_find_new_gain_sel_by_old_gain_time()
260 ret = iio_gts_find_new_gain_sel_by_old_gain_time(&gts, old_gain, in test_iio_gts_find_new_gain_sel_by_old_gain_time()
268 old_gain = 512; in test_iio_gts_find_new_gain_sel_by_old_gain_time()
271 ret = iio_gts_find_new_gain_sel_by_old_gain_time(&gts, old_gain, in test_iio_gts_find_new_gain_sel_by_old_gain_time()
280 old_gain = 4; in test_iio_gts_find_new_gain_sel_by_old_gain_time()
283 ret = iio_gts_find_new_gain_sel_by_old_gain_time(&gts, old_gain, in test_iio_gts_find_new_gain_sel_by_old_gain_time()
288 old_gain = 4; in test_iio_gts_find_new_gain_sel_by_old_gain_time()
[all …]
/linux-6.12.1/include/linux/iio/
Diio-gts-helper.h194 int old_gain, int old_time_sel,
196 int iio_gts_find_new_gain_by_old_gain_time(struct iio_gts *gts, int old_gain,
/linux-6.12.1/drivers/iio/
Dindustrialio-gts-helper.c1003 int old_gain, int old_time_sel, in iio_gts_find_new_gain_sel_by_old_gain_time() argument
1020 ret = iio_gts_get_scale_linear(gts, old_gain, itime_old->time_us, in iio_gts_find_new_gain_sel_by_old_gain_time()
1059 int iio_gts_find_new_gain_by_old_gain_time(struct iio_gts *gts, int old_gain, in iio_gts_find_new_gain_by_old_gain_time() argument
1073 ret = iio_gts_get_scale_linear(gts, old_gain, old_time, &scale); in iio_gts_find_new_gain_by_old_gain_time()
/linux-6.12.1/drivers/iio/light/
Drohm-bu27034.c255 int old_gain; member
419 ret = bu27034_get_gain(data, gains[i].chan, &gains[i].old_gain); in bu27034_try_set_int_time()
424 gains[i].old_gain, in bu27034_try_set_int_time()
519 ret = bu27034_get_gain(data, gain.chan, &gain.old_gain); in bu27034_set_scale()
543 &data->gts, gain.old_gain, time_sel, in bu27034_set_scale()
Drohm-bu27008.c890 int ret, old_time_sel, new_time_sel, old_gain, new_gain; in bu27008_try_set_int_time() local
911 ret = bu27008_get_gain(data, &data->gts, &old_gain); in bu27008_try_set_int_time()
915 ret = iio_gts_find_new_gain_sel_by_old_gain_time(&data->gts, old_gain, in bu27008_try_set_int_time()
/linux-6.12.1/sound/parisc/
Dharmony.c705 int old_gain = h->st.gain; in snd_harmony_volume_put() local
727 return h->st.gain != old_gain; in snd_harmony_volume_put()
762 int old_gain = h->st.gain; in snd_harmony_captureroute_put() local
774 return h->st.gain != old_gain; in snd_harmony_captureroute_put()