Home
last modified time | relevance | path

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

/openbmc/linux/include/linux/iio/
H A 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,
/openbmc/linux/drivers/iio/
H A 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()
/openbmc/linux/drivers/iio/light/
H A Drohm-bu27034.c275 int old_gain; member
505 ret = bu27034_get_gain(data, gains[i].chan, &gains[i].old_gain); in bu27034_try_set_int_time()
510 gains[i].old_gain, in bu27034_try_set_int_time()
610 ret = bu27034_get_gain(data, gain.chan, &gain.old_gain); in bu27034_set_scale()
634 &data->gts, gain.old_gain, time_sel, in bu27034_set_scale()
H A Drohm-bu27008.c873 int ret, old_time_sel, new_time_sel, old_gain, new_gain; in bu27008_try_set_int_time() local
894 ret = bu27008_get_gain(data, &data->gts, &old_gain); in bu27008_try_set_int_time()
898 ret = iio_gts_find_new_gain_sel_by_old_gain_time(&data->gts, old_gain, in bu27008_try_set_int_time()
/openbmc/linux/sound/parisc/
H A 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()