Home
last modified time | relevance | path

Searched refs:tmp2 (Results 1 – 25 of 29) sorted by relevance

12

/openbmc/u-boot/drivers/mtd/nand/raw/
H A Dnand_ecc.c68 uint8_t idx, reg1, reg2, reg3, tmp1, tmp2; in nand_calculate_ecc() local
97 tmp2 = (reg3 & 0x08) << 4; /* B3 -> B7 */ in nand_calculate_ecc()
98 tmp2 |= (reg2 & 0x08) << 3; /* B3 -> B6 */ in nand_calculate_ecc()
99 tmp2 |= (reg3 & 0x04) << 3; /* B2 -> B5 */ in nand_calculate_ecc()
100 tmp2 |= (reg2 & 0x04) << 2; /* B2 -> B4 */ in nand_calculate_ecc()
101 tmp2 |= (reg3 & 0x02) << 2; /* B1 -> B3 */ in nand_calculate_ecc()
102 tmp2 |= (reg2 & 0x02) << 1; /* B1 -> B2 */ in nand_calculate_ecc()
103 tmp2 |= (reg3 & 0x01) << 1; /* B0 -> B1 */ in nand_calculate_ecc()
104 tmp2 |= (reg2 & 0x01) << 0; /* B7 -> B0 */ in nand_calculate_ecc()
108 ecc_code[1] = ~tmp2; in nand_calculate_ecc()
/openbmc/u-boot/lib/
H A Drbtree.c195 struct rb_node *node = NULL, *sibling, *tmp1, *tmp2; in ____rb_erase_color() local
227 tmp2 = sibling->rb_left; in ____rb_erase_color()
228 if (!tmp2 || rb_is_black(tmp2)) { in ____rb_erase_color()
268 sibling->rb_left = tmp1 = tmp2->rb_right; in ____rb_erase_color()
269 tmp2->rb_right = sibling; in ____rb_erase_color()
270 parent->rb_right = tmp2; in ____rb_erase_color()
274 augment_rotate(sibling, tmp2); in ____rb_erase_color()
276 sibling = tmp2; in ____rb_erase_color()
290 parent->rb_right = tmp2 = sibling->rb_left; in ____rb_erase_color()
293 if (tmp2) in ____rb_erase_color()
[all …]
H A Daes.c514 u8 tmp0, tmp1, tmp2, tmp3, tmp4; in aes_expand_key() local
522 tmp2 = expkey[4*idx - 2]; in aes_expand_key()
528 tmp1 = sbox[tmp2]; in aes_expand_key()
529 tmp2 = sbox[tmp4]; in aes_expand_key()
533 tmp2 = sbox[tmp2]; in aes_expand_key()
539 expkey[4*idx+2] = expkey[4*idx - 4*AES_KEYCOLS + 2] ^ tmp2; in aes_expand_key()
/openbmc/qemu/tests/tcg/aarch64/system/
H A Dmte.S15 #define tmp2 x4 /* Scratch register. */ macro
59 mrs tmp2, sctlr_el1
61 orr tmp2, tmp2, tmp3
62 msr sctlr_el1, tmp2
/openbmc/qemu/util/
H A Dinterval-tree.c351 RBNode *node = NULL, *sibling, *tmp1, *tmp2; in rb_erase_color() local
383 tmp2 = sibling->rb_left; in rb_erase_color()
384 if (!tmp2 || rb_is_black(tmp2)) { in rb_erase_color()
439 tmp1 = tmp2->rb_right; in rb_erase_color()
441 qatomic_set(&tmp2->rb_right, sibling); in rb_erase_color()
442 qatomic_set(&parent->rb_right, tmp2); in rb_erase_color()
446 augment->rotate(sibling, tmp2); in rb_erase_color()
448 sibling = tmp2; in rb_erase_color()
462 tmp2 = sibling->rb_left; in rb_erase_color()
463 qatomic_set(&parent->rb_right, tmp2); in rb_erase_color()
[all …]
/openbmc/u-boot/arch/arm/lib/
H A Ddebug.S25 .macro addruart_current, rx, tmp1, tmp2 argument
26 addruart \tmp1, \tmp2, \rx
30 movne \rx, \tmp2
34 .macro addruart_current, rx, tmp1, tmp2 argument
35 addruart \rx, \tmp1, \tmp2
/openbmc/qemu/docs/spin/
H A Dwin32-qemu-event.promela56 int tmp1, tmp2;
61 atomic { /* tmp2=cas(state, EV_FREE, EV_BUSY) */ \
62 tmp2 = state; \
63 if :: tmp2 == EV_FREE -> state = EV_BUSY; \
67 if :: tmp2 == EV_SET -> tmp1 = EV_SET; \
/openbmc/u-boot/scripts/
H A Dbuild-whitelist.sh44 |sort |uniq >scripts/config_whitelist.txt.tmp2
47 comm -23 scripts/config_whitelist.txt.tmp1 scripts/config_whitelist.txt.tmp2 \
/openbmc/qemu/target/mips/tcg/
H A Dop_helper.c79 uint64_t tmp2 = tmp1; in helper_rotx() local
90 tmp2 |= 1LL << i; in helper_rotx()
92 tmp2 &= ~(1LL << i); in helper_rotx()
97 uint64_t tmp3 = tmp2; in helper_rotx()
106 if (tmp2 & (1LL << (i + 4))) { in helper_rotx()
/openbmc/qemu/target/arm/tcg/
H A Dtranslate.c412 TCGv_i32 tmp2 = tcg_temp_new_i32(); in gen_smul_dual() local
414 tcg_gen_ext16s_i32(tmp2, b); in gen_smul_dual()
415 tcg_gen_mul_i32(tmp1, tmp1, tmp2); in gen_smul_dual()
1479 TCGv_i32 tmp, tmp2, tmp3; in disas_iwmmxt_insn() local
1588 tmp2 = load_reg(s, rd); in disas_iwmmxt_insn()
1589 tcg_gen_andc_i32(tmp, tmp, tmp2); in disas_iwmmxt_insn()
1814 tmp2 = tcg_constant_i32(0xff); in disas_iwmmxt_insn()
1818 tmp2 = tcg_constant_i32(0xffff); in disas_iwmmxt_insn()
1822 tmp2 = tcg_constant_i32(0xffffffff); in disas_iwmmxt_insn()
1828 gen_helper_iwmmxt_insr(cpu_M0, cpu_M0, tmp, tmp2, tmp3); in disas_iwmmxt_insn()
[all …]
H A Dtranslate-neon.c2790 TCGv_i32 ahp, tmp, tmp2, tmp3; in trans_VCVT_F16_F32() local
2816 tmp2 = tcg_temp_new_i32(); in trans_VCVT_F16_F32()
2817 read_neon_element32(tmp2, a->vm, 1, MO_32); in trans_VCVT_F16_F32()
2818 gen_helper_vfp_fcvt_f32_to_f16(tmp2, tmp2, fpst, ahp); in trans_VCVT_F16_F32()
2819 tcg_gen_shli_i32(tmp2, tmp2, 16); in trans_VCVT_F16_F32()
2820 tcg_gen_or_i32(tmp2, tmp2, tmp); in trans_VCVT_F16_F32()
2825 write_neon_element32(tmp2, a->vd, 0, MO_32); in trans_VCVT_F16_F32()
2836 TCGv_i32 ahp, tmp, tmp2, tmp3; in trans_VCVT_F32_F16() local
2860 tmp2 = tcg_temp_new_i32(); in trans_VCVT_F32_F16()
2863 read_neon_element32(tmp2, a->vm, 1, MO_32); in trans_VCVT_F32_F16()
[all …]
H A Dneon_helper.c867 uint64_t tmp1, tmp2; in HELPER() local
876 tmp2 = (a >> 8) & elementmask; in HELPER()
877 tmp2 ^= nsignmask; in HELPER()
878 tmp2 |= wsignmask; in HELPER()
879 tmp2 = (tmp2 - nsignmask) ^ wsignmask; in HELPER()
885 signres = (tmp1 ^ tmp2) & wsignmask; in HELPER()
886 res = (tmp1 & ~wsignmask) + (tmp2 & ~wsignmask); in HELPER()
/openbmc/qemu/tests/qemu-iotests/
H A D144.out50 'snapshot-file':'TEST_DIR/tmp2.IMGFMT',
54 Formatting 'TEST_DIR/tmp2.qcow2', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zli…
H A D14433 TMP_SNAP2=${TEST_DIR}/tmp2.qcow2
/openbmc/qemu/tests/tcg/alpha/system/
H A Dboot.S226 #define tmp2 $4 macro
243 2: addq quotient, mask, tmp2
247 cmovne compare, tmp2, quotient
264 #undef tmp2
/openbmc/u-boot/arch/arm/mach-mvebu/serdes/axp/
H A Dhigh_speed_env_lib.c309 u32 tmp2; in serdes_phy_config() local
311 tmp2 = reg_read(CPU_AVS_CONTROL0_REG); in serdes_phy_config()
312 DEBUG_RD_REG(CPU_AVS_CONTROL0_REG, tmp2); in serdes_phy_config()
314 tmp2 |= 0x0FF; in serdes_phy_config()
315 reg_write(CPU_AVS_CONTROL0_REG, tmp2); in serdes_phy_config()
316 DEBUG_WR_REG(CPU_AVS_CONTROL0_REG, tmp2); in serdes_phy_config()
342 tmp2 = reg_read(GENERAL_PURPOSE_RESERVED0_REG); in serdes_phy_config()
344 tmp2); in serdes_phy_config()
345 tmp2 |= 0x1; /* AvsCoreAvddDetEn enable */ in serdes_phy_config()
346 reg_write(GENERAL_PURPOSE_RESERVED0_REG, tmp2); in serdes_phy_config()
[all …]
/openbmc/qemu/target/alpha/
H A Dtranslate.c270 TCGv_i32 tmp1, tmp2; in gen_excp_1() local
273 tmp2 = tcg_constant_i32(error_code); in gen_excp_1()
274 gen_helper_excp(tcg_env, tmp1, tmp2); in gen_excp_1()
1373 TCGv va, vb, vc, tmp, tmp2; in translate_one() local
1605 tmp2 = tcg_temp_new(); in translate_one()
1607 tcg_gen_mov_i64(tmp2, va); in translate_one()
1609 tcg_gen_xor_i64(tmp2, tmp2, vc); in translate_one()
1610 tcg_gen_and_i64(tmp, tmp, tmp2); in translate_one()
1612 tcg_gen_movi_i64(tmp2, 0); in translate_one()
1613 gen_helper_check_overflow(tcg_env, tmp, tmp2); in translate_one()
[all …]
/openbmc/u-boot/arch/arm/cpu/arm926ejs/mxs/
H A Dspl_power_init.c466 uint32_t tmp, tmp2; in mxs_power_init_4p2_regulator() local
538 tmp2 = readl(&power_regs->hw_power_5vctrl); in mxs_power_init_4p2_regulator()
539 tmp2 &= ~POWER_5VCTRL_CHARGE_4P2_ILIMIT_MASK; in mxs_power_init_4p2_regulator()
540 tmp2 |= tmp << in mxs_power_init_4p2_regulator()
542 writel(tmp2, &power_regs->hw_power_5vctrl); in mxs_power_init_4p2_regulator()
/openbmc/fb-ipmi-oem/src/
H A Dselcommands.cpp422 std::stringstream tmp1, tmp2; in logPcieErr() local
424 tmp2 << std::hex << std::uppercase << std::setfill('0'); in logPcieErr()
449 tmp2 << "Vendor ID: 0x" << std::setw(4) << venId; in logPcieErr()
450 errLog = tmp2.str(); in logPcieErr()
456 tmp2 << "Device ID: 0x" << std::setw(4) << devId; in logPcieErr()
457 errLog = tmp2.str(); in logPcieErr()
461 tmp2 << "Error ID from downstream: 0x" << std::setw(2) in logPcieErr()
463 errLog = tmp2.str(); in logPcieErr()
/openbmc/u-boot/drivers/ddr/marvell/axp/
H A Dddr3_hw_training.c487 u32 tmp1, tmp2, reg; in ddr3_set_performance_params() local
505 tmp2 = (dram_info->wl_max_phase - dram_info->rl_min_phase) / 2 + in ddr3_set_performance_params()
508 trd2wr_wr2rd = (tmp1 >= tmp2) ? tmp1 : tmp2; in ddr3_set_performance_params()
/openbmc/u-boot/lib/bzip2/
H A Dbzlib_compress.c504 UChar pos[BZ_N_GROUPS], ll_i, tmp2, tmp; in sendMTFValues() local
512 tmp2 = tmp; in sendMTFValues()
514 pos[j] = tmp2; in sendMTFValues()
/openbmc/u-boot/drivers/ram/rockchip/
H A Dsdram_rk3399.c463 u32 tmp, tmp1, tmp2; in pctl_cfg() local
497 tmp2 = readl(&denali_phy[922]); in pctl_cfg()
501 (((tmp2 >> 0) & 0x1) == 0x1)) in pctl_cfg()
/openbmc/u-boot/arch/x86/cpu/quark/
H A Dsmc.c69 u32 tmp1, tmp2; in prog_ddr_timing_control() local
109 tmp2 = wl - 3; in prog_ddr_timing_control()
161 dtr4 |= ((1 + tmp1 - tmp2 + 2) << 8); in prog_ddr_timing_control()
163 dtr4 |= ((1 + tmp1 - tmp2 + 2) << 12); in prog_ddr_timing_control()
/openbmc/qemu/target/riscv/insn_trans/
H A Dtrans_xthead.c.inc491 TCGv tmp2 = tcg_temp_new();
493 extend_operand_func(tmp2, src2);
494 tcg_gen_mul_tl(tmp, tmp, tmp2);
/openbmc/openbmc/meta-security/meta-parsec/
H A DREADME.md48 - DISTRO_FEATURES contains "tmp2" and

12