Lines Matching refs:coeff
821 static u64 bu27034_fixp_calc_t1_64bit(unsigned int coeff, unsigned int ch0,
828 helper64 = (u64)coeff * (u64)ch1 * (u64)ch1;
843 static u64 bu27034_fixp_calc_t1(unsigned int coeff, unsigned int ch0,
854 helper = coeff * ch1 * ch1;
859 if (check_mul_overflow(helper, coeff, &helper))
860 return bu27034_fixp_calc_t1_64bit(coeff, ch0, ch1, gain0, gain1);
863 return bu27034_fixp_calc_t1_64bit(coeff, ch0, ch1, gain0, gain1);
869 static u64 bu27034_fixp_calc_t23(unsigned int coeff, unsigned int ch,
875 if (!check_mul_overflow(coeff, ch, &helper))
878 helper64 = (u64)coeff * (u64)ch;
888 static const struct bu27034_lx_coeff coeff[] = {
906 const struct bu27034_lx_coeff *c = &coeff[coeff_idx];
910 if (coeff_idx >= ARRAY_SIZE(coeff))