Lines Matching defs:FIXPT_INT
129 #define FIXPT_INT(_x) ((_x) << FIXPT_SHIFT)
149 tsc->tj_t = (FIXPT_INT((priv->ptat[1] - priv->ptat[2]) * (ths_tj_1 - TJ_3))
150 / (priv->ptat[0] - priv->ptat[2])) + FIXPT_INT(TJ_3);
152 tsc->coef.a1 = FIXPT_DIV(FIXPT_INT(tsc->thcode[1] - tsc->thcode[2]),
153 tsc->tj_t - FIXPT_INT(TJ_3));
154 tsc->coef.b1 = FIXPT_INT(tsc->thcode[2]) - tsc->coef.a1 * TJ_3;
156 tsc->coef.a2 = FIXPT_DIV(FIXPT_INT(tsc->thcode[1] - tsc->thcode[0]),
157 tsc->tj_t - FIXPT_INT(ths_tj_1));
158 tsc->coef.b2 = FIXPT_INT(tsc->thcode[0]) - tsc->coef.a2 * ths_tj_1;
181 val = FIXPT_DIV(FIXPT_INT(reg) - tsc->coef.b1,
184 val = FIXPT_DIV(FIXPT_INT(reg) - tsc->coef.b2,