Lines Matching refs:coef
83 struct equation_coefs coef;
147 tsc->coef.a1 = FIXPT_DIV(FIXPT_INT(thcode[1] - thcode[2]),
149 tsc->coef.b1 = FIXPT_INT(thcode[2]) - tsc->coef.a1 * TJ_3;
151 tsc->coef.a2 = FIXPT_DIV(FIXPT_INT(thcode[1] - thcode[0]),
153 tsc->coef.b2 = FIXPT_INT(thcode[0]) - tsc->coef.a2 * ths_tj_1;
176 val = FIXPT_DIV(FIXPT_INT(reg) - tsc->coef.b1,
177 tsc->coef.a1);
179 val = FIXPT_DIV(FIXPT_INT(reg) - tsc->coef.b2,
180 tsc->coef.a2);
198 val = celsius * tsc->coef.a1 + tsc->coef.b1;
200 val = celsius * tsc->coef.a2 + tsc->coef.b2;