Home
last modified time | relevance | path

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

/linux/drivers/iio/light/
H A Dbh1745.c350 int new_hwgain, new_hwgain_sel, new_int_time_sel; in bh1745_set_int_time() local
376 &new_hwgain); in bh1745_set_int_time()
377 if (new_hwgain < 0) { in bh1745_set_int_time()
385 new_hwgain = iio_find_closest_gain_low(&data->gts, new_hwgain, in bh1745_set_int_time()
387 if (new_hwgain < 0) { in bh1745_set_int_time()
388 new_hwgain = iio_gts_get_min_gain(&data->gts); in bh1745_set_int_time()
389 if (new_hwgain < 0) in bh1745_set_int_time()
396 dev_dbg(dev, "Scale changed, new hw_gain %d\n", new_hwgain); in bh1745_set_int_time()
399 new_hwgain_sel = iio_gts_find_sel_by_gain(&data->gts, new_hwgain); in bh1745_set_int_time()