Home
last modified time | relevance | path

Searched refs:var2 (Results 1 – 14 of 14) 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
346 var2 = (var1 * calib->par_t2) >> 11; in bme680_compensate_temp()
349 data->t_fine = var2 + var3; in bme680_compensate_temp()
366 s32 var1, var2, var3, press_comp; in bme680_compensate_press() local
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()
371 var2 = (var2 >> 2) + (calib->par_p4 << 16); in bme680_compensate_press()
378 press_comp = ((press_comp - (var2 >> 12)) * 3125); in bme680_compensate_press()
387 var2 = ((press_comp >> 2) * calib->par_p8) >> 13; in bme680_compensate_press()
391 press_comp += (var1 + var2 + var3 + (calib->par_p7 << 7)) >> 4; in bme680_compensate_press()
[all …]
/kernel/linux/linux-5.10/drivers/iio/pressure/
Dbmp280-core.c289 s32 var1, var2; in bmp280_compensate_temp() local
294 var2 = (((((adc_temp >> 4) - ((s32)calib->T1)) * in bmp280_compensate_temp()
297 data->t_fine = var1 + var2; in bmp280_compensate_temp()
312 s64 var1, var2, p; in bmp280_compensate_press() local
316 var2 = var1 * var1 * (s64)calib->P6; in bmp280_compensate_press()
317 var2 += (var1 * (s64)calib->P5) << 17; in bmp280_compensate_press()
318 var2 += ((s64)calib->P4) << 35; in bmp280_compensate_press()
326 p = ((((s64)1048576 - adc_press) << 31) - var2) * 3125; in bmp280_compensate_press()
329 var2 = ((s64)(calib->P8) * p) >> 19; in bmp280_compensate_press()
330 p = ((p + var1 + var2) >> 8) + (((s64)calib->P7) << 4); in bmp280_compensate_press()
/kernel/linux/linux-5.10/drivers/acpi/apei/
Derst.c121 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()
Dapei-internal.h29 u64 var2; member
/kernel/linux/linux-5.10/drivers/video/fbdev/via/
Dhw.c1826 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()
/kernel/linux/linux-5.10/drivers/misc/
Dibmvmc.c581 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()
Dibmvmc.h142 } var2; member
/kernel/linux/linux-5.10/arch/arm64/boot/dts/freescale/
Dfsl-ls1028a-kontron-sl28-var2.dts17 compatible = "kontron,sl28-var2", "kontron,sl28", "fsl,ls1028a";
DMakefile9 dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1028a-kontron-sl28-var2.dtb
/kernel/linux/linux-5.10/mm/
Dzswapd_control.c31 #define CHECK_BUFFER_VALID(var1, var2) (((var2) != 0) && ((var1) > (var2))) argument
/kernel/linux/linux-5.10/sound/pci/au88x0/
Dau88x0_a3d.c477 int i, var, var2; in a3dsrc_ZeroStateA3D() local
489 var2 = a->source; in a3dsrc_ZeroStateA3D()
495 a->source = var2; in a3dsrc_ZeroStateA3D()
/kernel/linux/linux-5.10/Documentation/locking/
Dlocktypes.rst428 p->count += this_cpu_read(var2);
440 p->count += this_cpu_read(var2);
443 in turn guarantees that the per-CPU access to var1 and var2 are staying on
/kernel/linux/linux-5.10/scripts/
Dcheckpatch.pl4980 my $var2 = deparenthesize($var);
4981 $var2 =~ s/\s//g;
4982 $fixed[$fixlinenr] =~ s/\Q$var\E/$var2/;