Lines Matching defs:FIXPT_INT
124 #define FIXPT_INT(_x) ((_x) << FIXPT_SHIFT)
144 tsc->tj_t = (FIXPT_INT((ptat[1] - ptat[2]) * (ths_tj_1 - TJ_3))
145 / (ptat[0] - ptat[2])) + FIXPT_INT(TJ_3);
147 tsc->coef.a1 = FIXPT_DIV(FIXPT_INT(thcode[1] - thcode[2]),
148 tsc->tj_t - FIXPT_INT(TJ_3));
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]),
152 tsc->tj_t - FIXPT_INT(ths_tj_1));
153 tsc->coef.b2 = FIXPT_INT(thcode[0]) - tsc->coef.a2 * ths_tj_1;
176 val = FIXPT_DIV(FIXPT_INT(reg) - tsc->coef.b1,
179 val = FIXPT_DIV(FIXPT_INT(reg) - tsc->coef.b2,