Lines Matching refs:terms
898 /* All terms positive */
907 u64 res = 0, terms[3];
913 terms[0] = bu27034_fixp_calc_t1(c->A, ch0, ch1, gain0, gain1);
914 terms[1] = bu27034_fixp_calc_t23(c->B, ch1, gain1);
915 terms[2] = bu27034_fixp_calc_t23(c->C, ch0, gain0);
917 /* First, add positive terms */
920 res += terms[i];
926 /* Then, subtract negative terms (if any) */
934 if (terms[i] >= res)
937 res -= terms[i];