Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/iio/
Dindustrialio-gts-helper.c139 int iio_gts_total_gain_to_scale(struct iio_gts *gts, int total_gain, in iio_gts_total_gain_to_scale() argument
146 do_div(tmp, total_gain); in iio_gts_total_gain_to_scale()
946 int total_gain; in iio_gts_get_scale_linear() local
949 total_gain = iio_gts_get_total_gain(gts, gain, time); in iio_gts_get_scale_linear()
950 if (total_gain < 0) in iio_gts_get_scale_linear()
951 return total_gain; in iio_gts_get_scale_linear()
955 do_div(tmp, total_gain); in iio_gts_get_scale_linear()
/Linux-v6.6/include/linux/iio/
Diio-gts-helper.h186 int iio_gts_total_gain_to_scale(struct iio_gts *gts, int total_gain,
/Linux-v6.6/drivers/media/tuners/
Dr820t.c1240 int i, total_gain = 0;
1264 if (total_gain >= gain)
1267 total_gain += r820t_lna_gain_steps[++lna_index];
1269 if (total_gain >= gain)
1272 total_gain += r820t_mixer_gain_steps[++mix_index];
/Linux-v6.6/drivers/media/dvb-frontends/
Ddrxk_hard.c6366 u32 total_gain = 0; in get_strength() local
6405 total_gain += tuner_rf_gain; in get_strength()
6434 total_gain += (u32) tuner_if_gain; in get_strength()
6455 if (total_gain > 0) in get_strength()
6456 *strength = (65535UL * atten / total_gain / 100); in get_strength()