Lines Matching full:ch1

582  *    => (6.44 * ch1 / gain1 + 19.088 * ch0 / gain0 -
583 * 0.47808 * ch1 * ch1 * gain0 / gain1 / gain1 / ch0) /
589 * => (1.91232 * ch1 / gain1 + 30.5408 * ch0 / gain0 +
590 * [0 * ch1 * ch1 * gain0 / gain1 / gain1 / ch0] ) /
595 * A * ch1 * ch1 * gain0 / (ch0 * gain1 * gain1) +
596 * B * ch1 / gain1 +
645 unsigned int ch1, unsigned int gain0, in bu27034_fixp_calc_t1_64bit() argument
651 helper64 = (u64)coeff * (u64)ch1 * (u64)ch1; in bu27034_fixp_calc_t1_64bit()
667 unsigned int ch1, unsigned int gain0, in bu27034_fixp_calc_t1() argument
677 helper = coeff * ch1 * ch1; in bu27034_fixp_calc_t1()
680 helper = ch1 * ch1; in bu27034_fixp_calc_t1()
683 return bu27034_fixp_calc_t1_64bit(coeff, ch0, ch1, gain0, gain1); in bu27034_fixp_calc_t1()
686 return bu27034_fixp_calc_t1_64bit(coeff, ch0, ch1, gain0, gain1); in bu27034_fixp_calc_t1()
707 static int bu27034_fixp_calc_lx(unsigned int ch0, unsigned int ch1, in bu27034_fixp_calc_lx() argument
731 terms[0] = bu27034_fixp_calc_t1(c->A, ch0, ch1, gain0, gain1); in bu27034_fixp_calc_lx()
732 terms[1] = bu27034_fixp_calc_t23(c->B, ch1, gain1); in bu27034_fixp_calc_lx()
899 u16 ch0, ch1; in bu27034_calc_mlux() local
911 ch1 = max_t(u16, 1, le16_to_cpu(res[1])); in bu27034_calc_mlux()
927 d1_d0_ratio_scaled = (unsigned int)ch1 * (unsigned int)gain0 * 100; in bu27034_calc_mlux()
928 helper64 = (u64)ch1 * (u64)gain0 * 100LLU; in bu27034_calc_mlux()
940 ret = bu27034_fixp_calc_lx(ch0, ch1, gain0, gain1, meastime, 0); in bu27034_calc_mlux()
942 ret = bu27034_fixp_calc_lx(ch0, ch1, gain0, gain1, meastime, 1); in bu27034_calc_mlux()
1206 * 55mS data ch0 = 0xffff ch1 = 0xffff fits in 26 bits in bu27034_buffer_thread()