Home
last modified time | relevance | path

Searched refs:var1 (Results 1 – 7 of 7) 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.c338 s64 var1, var2, var3; in bme680_compensate_temp() local
345 var1 = (adc_temp >> 3) - (calib->par_t1 << 1); in bme680_compensate_temp()
346 var2 = (var1 * calib->par_t2) >> 11; in bme680_compensate_temp()
347 var3 = ((var1 >> 1) * (var1 >> 1)) >> 12; in bme680_compensate_temp()
366 s32 var1, var2, var3, press_comp; in bme680_compensate_press() local
368 var1 = (data->t_fine >> 1) - 64000; in bme680_compensate_press()
369 var2 = ((((var1 >> 2) * (var1 >> 2)) >> 11) * calib->par_p6) >> 2; in bme680_compensate_press()
370 var2 = var2 + (var1 * calib->par_p5 << 1); in bme680_compensate_press()
372 var1 = (((((var1 >> 2) * (var1 >> 2)) >> 13) * in bme680_compensate_press()
374 ((calib->par_p2 * var1) >> 1); in bme680_compensate_press()
[all …]
/drivers/iio/pressure/
Dbmp280-core.c289 s32 var1, var2; in bmp280_compensate_temp() local
292 var1 = (((adc_temp >> 3) - ((s32)calib->T1 << 1)) * in bmp280_compensate_temp()
297 data->t_fine = var1 + var2; in bmp280_compensate_temp()
312 s64 var1, var2, p; in bmp280_compensate_press() local
315 var1 = ((s64)data->t_fine) - 128000; in bmp280_compensate_press()
316 var2 = var1 * var1 * (s64)calib->P6; in bmp280_compensate_press()
317 var2 += (var1 * (s64)calib->P5) << 17; in bmp280_compensate_press()
319 var1 = ((var1 * var1 * (s64)calib->P3) >> 8) + in bmp280_compensate_press()
320 ((var1 * (s64)calib->P2) << 12); in bmp280_compensate_press()
321 var1 = ((((s64)1) << 47) + var1) * ((s64)calib->P1) >> 33; in bmp280_compensate_press()
[all …]
/drivers/acpi/apei/
Derst.c115 return __apei_exec_read_register(entry, &ctx->var1); in erst_exec_load_var1()
127 return __apei_exec_write_register(entry, ctx->var1); in erst_exec_store_var1()
133 ctx->var1 += ctx->var2; in erst_exec_add()
140 ctx->var1 -= ctx->var2; in erst_exec_subtract()
197 if (ctx->var1 > FIRMWARE_MAX_STALL) { in erst_exec_stall_while_true()
201 ctx->var1); in erst_exec_stall_while_true()
204 stall_time = ctx->var1; in erst_exec_stall_while_true()
Dapei-internal.h28 u64 var1; member
/drivers/misc/
Dibmvmc.h134 } var1; member
Dibmvmc.c578 crq_msg.var1.rsvd = 0; in ibmvmc_send_open()
622 crq_msg.var1.rsvd = 0; in ibmvmc_send_close()
703 crq_msg.var1.rsvd = 0; in ibmvmc_send_add_buffer_resp()
744 crq_msg.var1.rsvd = 0; in ibmvmc_send_rem_buffer_resp()
800 crq_msg.var1.rsvd = 0; in ibmvmc_send_msg()
1484 buffer->owner = crq->var1.owner; in ibmvmc_add_buffer()