Searched refs:var2 (Results 1 – 10 of 10) sorted by relevance
/Linux-v5.4/drivers/iio/chemical/ |
D | bme680_core.c | 330 s64 var1, var2, var3; in bme680_compensate_temp() local 338 var2 = (var1 * calib->par_t2) >> 11; in bme680_compensate_temp() 341 data->t_fine = var2 + var3; in bme680_compensate_temp() 358 s32 var1, var2, var3, press_comp; in bme680_compensate_press() local 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() 363 var2 = (var2 >> 2) + (calib->par_p4 << 16); in bme680_compensate_press() 370 press_comp = ((press_comp - (var2 >> 12)) * 3125); in bme680_compensate_press() 379 var2 = ((press_comp >> 2) * calib->par_p8) >> 13; in bme680_compensate_press() 383 press_comp += (var1 + var2 + var3 + (calib->par_p7 << 7)) >> 4; in bme680_compensate_press() [all …]
|
/Linux-v5.4/lib/livepatch/ |
D | test_klp_shadow_vars.c | 134 int var1, var2, var3, var4; in test_klp_shadow_vars_init() local 141 ptr_id(&var2); in test_klp_shadow_vars_init() 160 sv2 = shadow_alloc(obj + 1, id, size, gfp_flags, shadow_ctor, &var2); in test_klp_shadow_vars_init() 182 if (ret == sv2 && *sv2 == &var2) in test_klp_shadow_vars_init()
|
/Linux-v5.4/drivers/iio/pressure/ |
D | bmp280-core.c | 280 s32 var1, var2; in bmp280_compensate_temp() local 285 var2 = (((((adc_temp >> 4) - ((s32)calib->T1)) * in bmp280_compensate_temp() 288 data->t_fine = var1 + var2; in bmp280_compensate_temp() 303 s64 var1, var2, p; in bmp280_compensate_press() local 307 var2 = var1 * var1 * (s64)calib->P6; in bmp280_compensate_press() 308 var2 += (var1 * (s64)calib->P5) << 17; in bmp280_compensate_press() 309 var2 += ((s64)calib->P4) << 35; in bmp280_compensate_press() 317 p = ((((s64)1048576 - adc_press) << 31) - var2) * 3125; in bmp280_compensate_press() 320 var2 = ((s64)(calib->P8) * p) >> 19; in bmp280_compensate_press() 321 p = ((p + var1 + var2) >> 8) + (((s64)calib->P7) << 4); in bmp280_compensate_press()
|
/Linux-v5.4/drivers/acpi/apei/ |
D | erst.c | 121 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()
|
D | apei-internal.h | 29 u64 var2; member
|
/Linux-v5.4/drivers/video/fbdev/via/ |
D | hw.c | 1826 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()
|
/Linux-v5.4/drivers/misc/ |
D | ibmvmc.c | 581 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() 1440 buffer_id = be16_to_cpu(crq->var2.buffer_id); in ibmvmc_add_buffer() 1617 buffer_id = be16_to_cpu(crq->var2.buffer_id); in ibmvmc_recv_msg() 1877 buffer_id = be16_to_cpu(crq->var2.buffer_id); in ibmvmc_process_open_resp()
|
D | ibmvmc.h | 142 } var2; member
|
/Linux-v5.4/sound/pci/au88x0/ |
D | au88x0_a3d.c | 477 int i, var, var2; in a3dsrc_ZeroStateA3D() local 489 var2 = a->source; in a3dsrc_ZeroStateA3D() 495 a->source = var2; in a3dsrc_ZeroStateA3D()
|
/Linux-v5.4/scripts/ |
D | checkpatch.pl | 4746 my $var2 = deparenthesize($var); 4747 $var2 =~ s/\s//g; 4748 $fixed[$fixlinenr] =~ s/\Q$var\E/$var2/;
|