Searched refs:var1 (Results 1 – 7 of 7) sorted by relevance
/drivers/staging/media/atomisp/include/hmm/ |
D | hmm_common.h | 29 #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/ |
D | bme680_core.c | 338 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/ |
D | bmp280-core.c | 289 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/ |
D | erst.c | 115 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()
|
D | apei-internal.h | 28 u64 var1; member
|
/drivers/misc/ |
D | ibmvmc.h | 134 } var1; member
|
D | ibmvmc.c | 578 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()
|