Searched refs:old_gain (Results 1 – 6 of 6) sorted by relevance
/linux/drivers/iio/test/ |
H A D | iio-test-gts.c | 238 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(>s, 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(>s, 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(>s, 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(>s, 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/include/linux/iio/ |
H A D | iio-gts-helper.h | 194 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/drivers/iio/ |
H A D | industrialio-gts-helper.c | 1003 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/drivers/iio/light/ |
H A D | rohm-bu27034.c | 255 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()
|
H A D | rohm-bu27008.c | 890 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/sound/parisc/ |
H A D | harmony.c | 705 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()
|