Home
last modified time | relevance | path

Searched refs:var2 (Results 1 – 25 of 26) sorted by relevance

12

/openbmc/linux/drivers/staging/media/atomisp/include/hmm/
H A 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)) { \
/openbmc/linux/drivers/iio/chemical/
H A Dbme680_core.c341 s64 var1, var2, var3; in bme680_compensate_temp() local
349 var2 = (var1 * calib->par_t2) >> 11; in bme680_compensate_temp()
352 data->t_fine = var2 + var3; in bme680_compensate_temp()
369 s32 var1, var2, var3, press_comp; in bme680_compensate_press() local
372 var2 = ((((var1 >> 2) * (var1 >> 2)) >> 11) * calib->par_p6) >> 2; in bme680_compensate_press()
373 var2 = var2 + (var1 * calib->par_p5 << 1); in bme680_compensate_press()
374 var2 = (var2 >> 2) + ((s32)calib->par_p4 << 16); in bme680_compensate_press()
381 press_comp = ((press_comp - (var2 >> 12)) * 3125); in bme680_compensate_press()
390 var2 = ((press_comp >> 2) * calib->par_p8) >> 13; in bme680_compensate_press()
394 press_comp += (var1 + var2 + var3 + ((s32)calib->par_p7 << 7)) >> 4; in bme680_compensate_press()
[all …]
/openbmc/u-boot/drivers/ddr/marvell/axp/
H A Dddr3_sdram.c97 u32 var2; in compare_pattern_v1() local
104 var2 = ((pattern[uj] >> val) & CMP_BYTE_MASK); in compare_pattern_v1()
106 if (var1 != var2) { in compare_pattern_v1()
118 ((var2 >> dq) & 0x1)) in compare_pattern_v1()
134 u32 var2; in compare_pattern_v2() local
141 var2 = (pattern[uj] >> val) & CMP_BYTE_MASK; in compare_pattern_v2()
142 if (var1 != var2) in compare_pattern_v2()
223 u32 uj, uk, var1, var2, pup_groups; in ddr3_sdram_dm_compare() local
254 var2 = ((pattern[uj] >> val) & CMP_BYTE_MASK); in ddr3_sdram_dm_compare()
255 if (var1 != var2) { in ddr3_sdram_dm_compare()
[all …]
/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dtest_static_linked2.c10 int var2 = -1; variable
24 var2 = subprog(rovar2) + static_var1 + static_var2; in handler2()
H A Dtest_subskeleton_lib.c10 volatile int var2 = 1; variable
51 libout1 = var1 + var2 + var3.var3_1 + var3.var3_2 + var5 + var6; in lib_routine()
/openbmc/qemu/tests/qtest/
H A Dmigration-helpers.h54 const char *var2);
56 const char *var2);
H A Dmigration-helpers.c387 const char *var2) in find_common_machine_version() argument
390 g_autofree char *type2 = qtest_resolve_machine_alias(var2, mtype); in find_common_machine_version()
399 if (qtest_has_machine_with_env(var2, type1)) { in find_common_machine_version()
408 "binaries %s and %s", mtype, getenv(var1), getenv(var2)); in find_common_machine_version()
413 const char *var2) in resolve_machine_version() argument
434 return find_common_machine_version(machine_name, var1, var2); in resolve_machine_version()
/openbmc/linux/drivers/iio/pressure/
H A Dbmp280-core.c321 s32 var1, var2; in bmp280_compensate_temp() local
325 var2 = (((((adc_temp >> 4) - ((s32)calib->T1)) * in bmp280_compensate_temp()
328 data->t_fine = var1 + var2; in bmp280_compensate_temp()
344 s64 var1, var2, p; in bmp280_compensate_press() local
347 var2 = var1 * var1 * (s64)calib->P6; in bmp280_compensate_press()
348 var2 += (var1 * (s64)calib->P5) << 17; in bmp280_compensate_press()
349 var2 += ((s64)calib->P4) << 35; in bmp280_compensate_press()
357 p = ((((s64)1048576 - adc_press) << 31) - var2) * 3125; in bmp280_compensate_press()
360 var2 = ((s64)(calib->P8) * p) >> 19; in bmp280_compensate_press()
361 p = ((p + var1 + var2) >> 8) + (((s64)calib->P7) << 4); in bmp280_compensate_press()
[all …]
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dstatic_linked.c31 ASSERT_EQ(skel->data->var2, 4 * 3 + 5 + 6, "var2"); in test_static_linked()
H A Dsubskeleton.c16 *lib->data.var2 = 2; in subskeleton_lib_setup()
/openbmc/linux/drivers/video/fbdev/via/
H A 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()
/openbmc/linux/drivers/acpi/apei/
H A 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()
H A Dapei-internal.h28 u64 var2; member
/openbmc/linux/drivers/misc/
H A 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()
1442 buffer_id = be16_to_cpu(crq->var2.buffer_id); in ibmvmc_add_buffer()
1619 buffer_id = be16_to_cpu(crq->var2.buffer_id); in ibmvmc_recv_msg()
1879 buffer_id = be16_to_cpu(crq->var2.buffer_id); in ibmvmc_process_open_resp()
H A Dibmvmc.h142 } var2; member
/openbmc/linux/arch/arm64/boot/dts/freescale/
H A Dfsl-ls1028a-kontron-sl28-var2.dts17 compatible = "kontron,sl28-var2", "kontron,sl28", "fsl,ls1028a";
H A DMakefile11 dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1028a-kontron-sl28-var2.dtb
/openbmc/linux/sound/pci/au88x0/
H A 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()
/openbmc/linux/Documentation/locking/
H A Dlocktypes.rst425 p->count += this_cpu_read(var2);
437 p->count += this_cpu_read(var2);
440 in turn guarantees that the per-CPU access to var1 and var2 are staying on
/openbmc/linux/kernel/trace/
H A Dtrace_events_hist.c2624 struct hist_field **var2) in check_expr_operands() argument
2648 *var2 = var; in check_expr_operands()
2666 struct hist_field *var1 = NULL, *var2 = NULL; in parse_expr() local
2745 ret = check_expr_operands(file->tr, operand1, operand2, &var1, &var2); in parse_expr()
2750 operand2_flags = var2 ? var2->flags : operand2->flags; in parse_expr()
2778 u64 divisor = var2 ? var2->constant : operand2->constant; in parse_expr()
2799 if (var2) in parse_expr()
2800 expr->operands[1] = var2; in parse_expr()
/openbmc/qemu/libdecnumber/
H A DdecNumber.c4384 const Unit *var2; /* -> var2 array */ in decDivideOp() local
4600 var2=rhs->lsu; /* -> rhs array */ in decDivideOp()
4601 msu2=var2+var2units-1; /* -> msu of var2 [never changes] */ in decDivideOp()
4671 if (pv2>=var2) v2=*pv2; /* in range */ in decDivideOp()
4704 decDumpAr('2', var2, var2units); in decDivideOp()
4708 var2, var2units, 0, in decDivideOp()
/openbmc/qemu/target/hexagon/idef-parser/
H A DREADME.rst285 ``int var2 = 0;`` is also allowed and behaves as expected. In tinycode
292 int var2 = 0; -> TCGv_i32 var1 = tcg_temp_new_i32();
/openbmc/u-boot/scripts/
H A Dcheckpatch.pl4562 my $var2 = deparenthesize($var);
4563 $var2 =~ s/\s//g;
4564 $fixed[$fixlinenr] =~ s/\Q$var\E/$var2/;
/openbmc/linux/scripts/
H A Dcheckpatch.pl5519 my $var2 = deparenthesize($var);
5520 $var2 =~ s/\s//g;
5521 $fixed[$fixlinenr] =~ s/\Q$var\E/$var2/;
/openbmc/linux/
H A Dopengrok1.0.log[all...]

12