Lines Matching refs:tmp
373 int64_t tmp; in si7210_channel_get() local
378 tmp = data->temp_sample; in si7210_channel_get()
381 tmp = (-383 * tmp * tmp) / 100 + (160940 * tmp) - 279800000; in si7210_channel_get()
384 tmp = (tmp * (2048 + data->otp_temp_gain)) / 2048; in si7210_channel_get()
385 tmp = tmp + (data->otp_temp_offset * 62500); in si7210_channel_get()
391 tmp -= 732600; in si7210_channel_get()
393 val->val1 = tmp / 1000000; in si7210_channel_get()
394 val->val2 = tmp % 1000000; in si7210_channel_get()
398 tmp = data->mag_sample; in si7210_channel_get()
405 tmp = (tmp - 16384) * 12500; in si7210_channel_get()
411 tmp = (tmp - 16384) * 1250; in si7210_channel_get()
414 val->val1 = tmp / 1000000; in si7210_channel_get()
415 val->val2 = tmp % 1000000; in si7210_channel_get()