Home
last modified time | relevance | path

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

/linux-6.15/drivers/iio/light/
H A Drohm-bu27034.c632 unsigned int gain1) in bu27034_fixp_calc_t1_64bit() argument
639 helper = gain1 * gain1; in bu27034_fixp_calc_t1_64bit()
654 unsigned int gain1) in bu27034_fixp_calc_t1() argument
674 return tmp / (gain1 * gain1) / ch0; in bu27034_fixp_calc_t1()
694 unsigned int gain0, unsigned int gain1, in bu27034_fixp_calc_lx() argument
717 terms[0] = bu27034_fixp_calc_t1(c->A, ch0, ch1, gain0, gain1); in bu27034_fixp_calc_lx()
718 terms[1] = bu27034_fixp_calc_t23(c->B, ch1, gain1); in bu27034_fixp_calc_lx()
883 unsigned int gain0, gain1, meastime; in bu27034_calc_mlux() local
903 ret = bu27034_get_gain(data, BU27034_CHAN_DATA1, &gain1); in bu27034_calc_mlux()
917 unsigned int div = (unsigned int)ch0 * gain1; in bu27034_calc_mlux()
[all …]
/linux-6.15/drivers/media/dvb-frontends/
H A Dts2020.c340 unsigned long gain1, gain2, gain3; in ts2020_read_tuner_gain() local
348 gain1 = utmp & 0x1f; in ts2020_read_tuner_gain()
358 gain1 = clamp_t(long, gain1, 0, 15); in ts2020_read_tuner_gain()
362 *_gain = -((__s64)gain1 * 2330 + in ts2020_read_tuner_gain()
375 gain1 = clamp_t(long, gain1, 0, 15); in ts2020_read_tuner_gain()
380 *_gain = -((__s64)gain1 * 2650 + in ts2020_read_tuner_gain()
/linux-6.15/lib/zstd/compress/
H A Dzstd_lazy.c1637 int const gain1 = (int)(matchLength*3 - ZSTD_highbit32((U32)offBase) + 1); in ZSTD_compressBlock_lazy_generic() local
1638 if ((mlRep >= 4) && (gain2 > gain1)) in ZSTD_compressBlock_lazy_generic()
1652 if ((mlRep >= 4) && (gain2 > gain1)) in ZSTD_compressBlock_lazy_generic()
1660 if ((ml2 >= 4) && (gain2 > gain1)) { in ZSTD_compressBlock_lazy_generic()
1674 if ((mlRep >= 4) && (gain2 > gain1)) in ZSTD_compressBlock_lazy_generic()
1688 if ((mlRep >= 4) && (gain2 > gain1)) in ZSTD_compressBlock_lazy_generic()
1696 if ((ml2 >= 4) && (gain2 > gain1)) { in ZSTD_compressBlock_lazy_generic()
2039 if ((repLength >= 4) && (gain2 > gain1)) in ZSTD_compressBlock_lazy_extDict_generic()
2048 if ((ml2 >= 4) && (gain2 > gain1)) { in ZSTD_compressBlock_lazy_extDict_generic()
2071 if ((repLength >= 4) && (gain2 > gain1)) in ZSTD_compressBlock_lazy_extDict_generic()
[all …]
/linux-6.15/drivers/media/usb/gspca/
H A Dcpia1.c290 u8 gain1; member
302 u8 gain1; member
644 params->apcor.gain1 = 0x18; in reset_camera_params()
648 params->vlOffset.gain1 = 20; in reset_camera_params()
814 sd->params.apcor.gain1, in command_setapcor()
824 sd->params.vlOffset.gain1, in command_setvloffset()
1069 sd->params.apcor.gain1 = 0x18; in set_flicker()
1102 sd->params.apcor.gain1 = 0x18; in set_flicker()
1107 sd->params.vlOffset.gain1 = 20; in set_flicker()