Searched refs:var1 (Results 1 – 6 of 6) sorted by relevance
/drivers/iio/chemical/ |
D | bme680_core.c | 330 s64 var1, var2, var3; in bme680_compensate_temp() local 337 var1 = (adc_temp >> 3) - (calib->par_t1 << 1); in bme680_compensate_temp() 338 var2 = (var1 * calib->par_t2) >> 11; in bme680_compensate_temp() 339 var3 = ((var1 >> 1) * (var1 >> 1)) >> 12; in bme680_compensate_temp() 358 s32 var1, var2, var3, press_comp; in bme680_compensate_press() local 360 var1 = (data->t_fine >> 1) - 64000; in bme680_compensate_press() 361 var2 = ((((var1 >> 2) * (var1 >> 2)) >> 11) * calib->par_p6) >> 2; in bme680_compensate_press() 362 var2 = var2 + (var1 * calib->par_p5 << 1); in bme680_compensate_press() 364 var1 = (((((var1 >> 2) * (var1 >> 2)) >> 13) * in bme680_compensate_press() 366 ((calib->par_p2 * var1) >> 1); in bme680_compensate_press() [all …]
|
/drivers/iio/pressure/ |
D | bmp280-core.c | 280 s32 var1, var2; in bmp280_compensate_temp() local 283 var1 = (((adc_temp >> 3) - ((s32)calib->T1 << 1)) * in bmp280_compensate_temp() 288 data->t_fine = var1 + var2; in bmp280_compensate_temp() 303 s64 var1, var2, p; in bmp280_compensate_press() local 306 var1 = ((s64)data->t_fine) - 128000; in bmp280_compensate_press() 307 var2 = var1 * var1 * (s64)calib->P6; in bmp280_compensate_press() 308 var2 += (var1 * (s64)calib->P5) << 17; in bmp280_compensate_press() 310 var1 = ((var1 * var1 * (s64)calib->P3) >> 8) + in bmp280_compensate_press() 311 ((var1 * (s64)calib->P2) << 12); in bmp280_compensate_press() 312 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()
|