Home
last modified time | relevance | path

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

/drivers/staging/media/atomisp/include/hmm/
Dhmm_common.h29 #define var_equal_return(var1, var2, exp, fmt, arg ...) \ argument
31 if ((var1) == (var2)) { \
38 #define var_equal_return_void(var1, var2, fmt, arg ...) \ argument
40 if ((var1) == (var2)) { \
47 #define var_equal_goto(var1, var2, label, fmt, arg ...) \ argument
49 if ((var1) == (var2)) { \
56 #define var_not_equal_goto(var1, var2, label, fmt, arg ...) \ argument
58 if ((var1) != (var2)) { \
/drivers/iio/chemical/
Dbme680_core.c339 s64 var1, var2, var3; in bme680_compensate_temp() local
347 var2 = (var1 * calib->par_t2) >> 11; in bme680_compensate_temp()
350 data->t_fine = var2 + var3; in bme680_compensate_temp()
367 s32 var1, var2, var3, press_comp; in bme680_compensate_press() local
370 var2 = ((((var1 >> 2) * (var1 >> 2)) >> 11) * calib->par_p6) >> 2; in bme680_compensate_press()
371 var2 = var2 + (var1 * calib->par_p5 << 1); in bme680_compensate_press()
372 var2 = (var2 >> 2) + ((s32)calib->par_p4 << 16); in bme680_compensate_press()
379 press_comp = ((press_comp - (var2 >> 12)) * 3125); in bme680_compensate_press()
388 var2 = ((press_comp >> 2) * calib->par_p8) >> 13; in bme680_compensate_press()
392 press_comp += (var1 + var2 + var3 + ((s32)calib->par_p7 << 7)) >> 4; in bme680_compensate_press()
[all …]
/drivers/iio/pressure/
Dbmp280-core.c320 s32 var1, var2; in bmp280_compensate_temp() local
324 var2 = (((((adc_temp >> 4) - ((s32)calib->T1)) * in bmp280_compensate_temp()
327 data->t_fine = var1 + var2; in bmp280_compensate_temp()
343 s64 var1, var2, p; in bmp280_compensate_press() local
346 var2 = var1 * var1 * (s64)calib->P6; in bmp280_compensate_press()
347 var2 += (var1 * (s64)calib->P5) << 17; in bmp280_compensate_press()
348 var2 += ((s64)calib->P4) << 35; in bmp280_compensate_press()
356 p = ((((s64)1048576 - adc_press) << 31) - var2) * 3125; in bmp280_compensate_press()
359 var2 = ((s64)(calib->P8) * p) >> 19; in bmp280_compensate_press()
360 p = ((p + var1 + var2) >> 8) + (((s64)calib->P7) << 4); in bmp280_compensate_press()
[all …]
/drivers/video/fbdev/via/
Dhw.c1826 struct fb_var_screeninfo var2; in viafb_setmode() local
1866 var2 = viafbinfo1->var; in viafb_setmode()
1868 viafb_fill_var_timing_info(&var2, viafb_get_best_mode( in viafb_setmode()
1872 var2.bits_per_pixel = viafbinfo->var.bits_per_pixel; in viafb_setmode()
1879 viafb_fill_crtc_timing(&var2, cxres, cyres, IGA2); in viafb_setmode()
1899 viafb_dvi_set_mode(&var2, cxres, cyres, IGA2); in viafb_setmode()
1908 viafb_lcd_set_mode(&var2, cxres, cyres, in viafb_setmode()
1925 viafb_lcd_set_mode(&var2, cxres, cyres, in viafb_setmode()
1963 get_sync(&var2)); in viafb_setmode()
/drivers/acpi/apei/
Derst.c121 return __apei_exec_read_register(entry, &ctx->var2); in erst_exec_load_var2()
133 ctx->var1 += ctx->var2; in erst_exec_add()
140 ctx->var1 -= ctx->var2; in erst_exec_subtract()
272 src = ioremap(ctx->src_base + offset, ctx->var2); in erst_exec_move_data()
275 dst = ioremap(ctx->dst_base + offset, ctx->var2); in erst_exec_move_data()
281 memmove(dst, src, ctx->var2); in erst_exec_move_data()
Dapei-internal.h28 u64 var2; member
/drivers/misc/
Dibmvmc.c581 crq_msg.var2.buffer_id = cpu_to_be16(buffer->id); in ibmvmc_send_open()
625 crq_msg.var2.rsvd = 0; in ibmvmc_send_close()
706 crq_msg.var2.buffer_id = cpu_to_be16(buffer_id); in ibmvmc_send_add_buffer_resp()
747 crq_msg.var2.buffer_id = cpu_to_be16(buffer_id); in ibmvmc_send_rem_buffer_resp()
803 crq_msg.var2.buffer_id = cpu_to_be16(buffer->id); in ibmvmc_send_msg()
1442 buffer_id = be16_to_cpu(crq->var2.buffer_id); in ibmvmc_add_buffer()
1619 buffer_id = be16_to_cpu(crq->var2.buffer_id); in ibmvmc_recv_msg()
1879 buffer_id = be16_to_cpu(crq->var2.buffer_id); in ibmvmc_process_open_resp()
Dibmvmc.h142 } var2; member