Lines Matching defs:tmp
714 s32 tmp;
718 tmp = 203450520 << 3;
719 tmp /= mt->conf->cali_val + mt->o_slope;
720 tmp /= 10000 + mt->adc_ge;
721 tmp *= raw - mt->vts[sensno] - 3350;
722 tmp >>= 3;
724 return mt->degc_cali * 500 - tmp;
734 s32 tmp;
746 tmp = (((((raw - g_oe) * 10000) >> 12) * 10000) / g_gain) - g_x_roomt;
747 tmp = tmp * 10 * 100 / 11;
750 tmp = tmp / (165 - mt->o_slope);
752 tmp = tmp / (165 + mt->o_slope);
754 return (format_2 - tmp) * 100;
759 s32 tmp;
765 tmp = 100000 * 15 / 16 * 10000;
766 tmp /= 4096 - 512 + mt->adc_ge;
767 tmp /= 1490;
768 tmp *= raw - mt->vts[sensno] - 2900;
770 return mt->degc_cali * 500 - tmp;
1171 u32 tmp;
1176 tmp = readl(apmixed_base + mt->conf->apmixed_buffer_ctl_reg);
1177 tmp &= mt->conf->apmixed_buffer_ctl_mask;
1178 tmp |= mt->conf->apmixed_buffer_ctl_set;
1179 writel(tmp, apmixed_base + mt->conf->apmixed_buffer_ctl_reg);
1186 int tmp;
1190 tmp = readl(mt->thermal_base + TEMP_MSRCTL1);
1191 writel((tmp & (~0x10e)), mt->thermal_base + TEMP_MSRCTL1);