Home
last modified time | relevance | path

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

/openbmc/linux/drivers/iio/light/
H A Drohm-bu27034.c823 unsigned int gain1) in bu27034_fixp_calc_t1_64bit() argument
830 helper = gain1 * gain1; in bu27034_fixp_calc_t1_64bit()
845 unsigned int gain1) in bu27034_fixp_calc_t1() argument
865 return tmp / (gain1 * gain1) / ch0; in bu27034_fixp_calc_t1()
885 unsigned int gain0, unsigned int gain1, in bu27034_fixp_calc_lx() argument
913 terms[0] = bu27034_fixp_calc_t1(c->A, ch0, ch1, gain0, gain1); in bu27034_fixp_calc_lx()
914 terms[1] = bu27034_fixp_calc_t23(c->B, ch1, gain1); in bu27034_fixp_calc_lx()
1082 unsigned int gain0, gain1, meastime; in bu27034_calc_mlux() local
1102 ret = bu27034_get_gain(data, BU27034_CHAN_DATA1, &gain1); in bu27034_calc_mlux()
1116 unsigned int div = (unsigned int)ch0 * gain1; in bu27034_calc_mlux()
[all …]
/openbmc/linux/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()
/openbmc/linux/lib/zstd/compress/
H A Dzstd_lazy.c1585 … int const gain1 = (int)(matchLength*3 - ZSTD_highbit32((U32)STORED_TO_OFFBASE(offcode)) + 1); in ZSTD_compressBlock_lazy_generic() local
1586 if ((mlRep >= 4) && (gain2 > gain1)) in ZSTD_compressBlock_lazy_generic()
1600 if ((mlRep >= 4) && (gain2 > gain1)) in ZSTD_compressBlock_lazy_generic()
1608 if ((ml2 >= 4) && (gain2 > gain1)) { in ZSTD_compressBlock_lazy_generic()
1622 if ((mlRep >= 4) && (gain2 > gain1)) in ZSTD_compressBlock_lazy_generic()
1636 if ((mlRep >= 4) && (gain2 > gain1)) in ZSTD_compressBlock_lazy_generic()
1644 if ((ml2 >= 4) && (gain2 > gain1)) { in ZSTD_compressBlock_lazy_generic()
1955 if ((repLength >= 4) && (gain2 > gain1)) in ZSTD_compressBlock_lazy_extDict_generic()
1964 if ((ml2 >= 4) && (gain2 > gain1)) { in ZSTD_compressBlock_lazy_extDict_generic()
1987 if ((repLength >= 4) && (gain2 > gain1)) in ZSTD_compressBlock_lazy_extDict_generic()
[all …]
/openbmc/linux/drivers/media/usb/gspca/
H A Dcpia1.c290 u8 gain1; member
302 u8 gain1; member
646 params->apcor.gain1 = 0x18; in reset_camera_params()
650 params->vlOffset.gain1 = 20; in reset_camera_params()
816 sd->params.apcor.gain1, in command_setapcor()
826 sd->params.vlOffset.gain1, in command_setvloffset()
1071 sd->params.apcor.gain1 = 0x18; in set_flicker()
1104 sd->params.apcor.gain1 = 0x18; in set_flicker()
1109 sd->params.vlOffset.gain1 = 20; in set_flicker()