Searched refs:gain_old (Results 1 – 1 of 1) sorted by relevance
568 int ret, intg_old, gain_old, gain_new, gain_new_closest, intg_time_idx; in apds9306_intg_time_set() local592 gain_old = iio_gts_find_gain_by_sel(&data->gts, gain_idx); in apds9306_intg_time_set()593 if (gain_old < 0) in apds9306_intg_time_set()594 return gain_old; in apds9306_intg_time_set()596 iio_gts_find_new_gain_by_old_gain_time(&data->gts, gain_old, intg_old, in apds9306_intg_time_set()