Home
last modified time | relevance | path

Searched refs:var1 (Results 1 – 9 of 9) sorted by relevance

/kernel/linux/linux-5.10/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)) { \
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/Documentation/locking/
Dlocktypes.rst425 struct foo *p = get_cpu_ptr(&var1);
438 p = this_cpu_ptr(&var1);
443 in turn guarantees that the per-CPU access to var1 and var2 are staying on
454 p = this_cpu_ptr(&var1);
465 p = this_cpu_ptr(&var1);
/kernel/linux/linux-5.10/mm/
Dzswapd_control.c31 #define CHECK_BUFFER_VALID(var1, var2) (((var2) != 0) && ((var1) > (var2))) argument