Searched refs:time_sel (Results 1 - 4 of 4) sorted by relevance

/linux-master/include/linux/iio/
H A Diio-gts-helper.h188 int iio_gts_find_gain_sel_for_scale_using_time(struct iio_gts *gts, int time_sel,
/linux-master/drivers/iio/
H A Dindustrialio-gts-helper.c841 * @time_sel: Integration time selector corresponding to the time gain is
854 static int iio_gts_find_gain_for_scale_using_time(struct iio_gts *gts, int time_sel, argument
865 ret = iio_gts_get_int_time_gain_multiplier_by_sel(gts, time_sel);
884 * @time_sel: Integration time selector corresponding to the time gain is
892 int iio_gts_find_gain_sel_for_scale_using_time(struct iio_gts *gts, int time_sel, argument
898 ret = iio_gts_find_gain_for_scale_using_time(gts, time_sel, scale_int,
/linux-master/drivers/iio/light/
H A Drohm-bu27034.c571 int ret, time_sel, gain_sel, i; local
585 ret = regmap_read(data->regmap, BU27034_REG_MODE_CONTROL1, &time_sel);
589 ret = iio_gts_find_gain_sel_for_scale_using_time(&data->gts, time_sel,
622 if (new_time_sel == time_sel)
634 &data->gts, gain.old_gain, time_sel,
H A Drohm-bu27008.c1265 int ret, gain_sel, time_sel; local
1272 ret = bu27008_get_int_time_sel(data, &time_sel);
1276 ret = iio_gts_find_gain_sel_for_scale_using_time(&data->gts, time_sel,

Completed in 176 milliseconds