Home
last modified time | relevance | path

Searched refs:var2 (Results 1 – 4 of 4) sorted by relevance

/drivers/iio/pressure/
Dbmp280-core.c199 s32 var1, var2; in bmp280_compensate_temp() local
220 var2 = (((((adc_temp >> 4) - ((s32)le16_to_cpu(buf[T1]))) * in bmp280_compensate_temp()
223 data->t_fine = var1 + var2; in bmp280_compensate_temp()
239 s64 var1, var2, p; in bmp280_compensate_press() local
251 var2 = var1 * var1 * (s64)(s16)le16_to_cpu(buf[P6]); in bmp280_compensate_press()
252 var2 += (var1 * (s64)(s16)le16_to_cpu(buf[P5])) << 17; in bmp280_compensate_press()
253 var2 += ((s64)(s16)le16_to_cpu(buf[P4])) << 35; in bmp280_compensate_press()
261 p = ((((s64)1048576 - adc_press) << 31) - var2) * 3125; in bmp280_compensate_press()
264 var2 = (((s64)(s16)le16_to_cpu(buf[P8])) * p) >> 19; in bmp280_compensate_press()
265 p = ((p + var1 + var2) >> 8) + (((s64)(s16)le16_to_cpu(buf[P7])) << 4); in bmp280_compensate_press()
/drivers/video/fbdev/via/
Dhw.c1841 struct fb_var_screeninfo var2; in viafb_setmode() local
1881 var2 = viafbinfo1->var; in viafb_setmode()
1883 viafb_fill_var_timing_info(&var2, viafb_get_best_mode( in viafb_setmode()
1887 var2.bits_per_pixel = viafbinfo->var.bits_per_pixel; in viafb_setmode()
1894 viafb_fill_crtc_timing(&var2, cxres, cyres, IGA2); in viafb_setmode()
1914 viafb_dvi_set_mode(&var2, cxres, cyres, IGA2); in viafb_setmode()
1923 viafb_lcd_set_mode(&var2, cxres, cyres, in viafb_setmode()
1940 viafb_lcd_set_mode(&var2, cxres, cyres, in viafb_setmode()
1978 get_sync(&var2)); in viafb_setmode()
/drivers/acpi/apei/
Derst.c129 return __apei_exec_read_register(entry, &ctx->var2); in erst_exec_load_var2()
141 ctx->var1 += ctx->var2; in erst_exec_add()
148 ctx->var1 -= ctx->var2; in erst_exec_subtract()
280 src = ioremap(ctx->src_base + offset, ctx->var2); in erst_exec_move_data()
283 dst = ioremap(ctx->dst_base + offset, ctx->var2); in erst_exec_move_data()
289 memmove(dst, src, ctx->var2); in erst_exec_move_data()
Dapei-internal.h28 u64 var2; member