Searched refs:var2 (Results 1 – 5 of 5) sorted by relevance
/drivers/staging/media/atomisp/pci/atomisp2/include/hmm/ |
D | hmm_common.h | 32 #define var_equal_return(var1, var2, exp, fmt, arg ...) \ argument 34 if ((var1) == (var2)) { \ 41 #define var_equal_return_void(var1, var2, fmt, arg ...) \ argument 43 if ((var1) == (var2)) { \ 50 #define var_equal_goto(var1, var2, label, fmt, arg ...) \ argument 52 if ((var1) == (var2)) { \ 59 #define var_not_equal_goto(var1, var2, label, fmt, arg ...) \ argument 61 if ((var1) != (var2)) { \
|
/drivers/iio/pressure/ |
D | bmp280-core.c | 199 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/acpi/apei/ |
D | erst.c | 129 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()
|
D | apei-internal.h | 29 u64 var2; member
|
/drivers/video/fbdev/via/ |
D | hw.c | 1841 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()
|