Home
last modified time | relevance | path

Searched refs:tmp1 (Results 1 – 9 of 9) sorted by relevance

/u-boot/drivers/mtd/nand/raw/
A Dnand_ecc.c68 uint8_t idx, reg1, reg2, reg3, tmp1, tmp2; in nand_calculate_ecc() local
88 tmp1 = (reg3 & 0x80) >> 0; /* B7 -> B7 */ in nand_calculate_ecc()
89 tmp1 |= (reg2 & 0x80) >> 1; /* B7 -> B6 */ in nand_calculate_ecc()
90 tmp1 |= (reg3 & 0x40) >> 1; /* B6 -> B5 */ in nand_calculate_ecc()
91 tmp1 |= (reg2 & 0x40) >> 2; /* B6 -> B4 */ in nand_calculate_ecc()
92 tmp1 |= (reg3 & 0x20) >> 2; /* B5 -> B3 */ in nand_calculate_ecc()
93 tmp1 |= (reg2 & 0x20) >> 3; /* B5 -> B2 */ in nand_calculate_ecc()
94 tmp1 |= (reg3 & 0x10) >> 3; /* B4 -> B1 */ in nand_calculate_ecc()
95 tmp1 |= (reg2 & 0x10) >> 4; /* B4 -> B0 */ in nand_calculate_ecc()
107 ecc_code[0] = ~tmp1; in nand_calculate_ecc()
/u-boot/lib/
A Drbtree.c223 sibling = tmp1; in ____rb_erase_color()
225 tmp1 = sibling->rb_right; in ____rb_erase_color()
226 if (!tmp1 || rb_is_black(tmp1)) { in ____rb_erase_color()
271 if (tmp1) in ____rb_erase_color()
272 rb_set_parent_color(tmp1, sibling, in ____rb_erase_color()
275 tmp1 = sibling; in ____rb_erase_color()
309 sibling = tmp1; in ____rb_erase_color()
311 tmp1 = sibling->rb_left; in ____rb_erase_color()
312 if (!tmp1 || rb_is_black(tmp1)) { in ____rb_erase_color()
332 if (tmp1) in ____rb_erase_color()
[all …]
A Daes.c540 u8 tmp0, tmp1, tmp2, tmp3, tmp4; in aes_expand_key() local
550 tmp1 = expkey[4*idx - 3]; in aes_expand_key()
556 tmp0 = sbox[tmp1] ^ rcon[idx / aes_keycols]; in aes_expand_key()
557 tmp1 = sbox[tmp2]; in aes_expand_key()
561 tmp1 = sbox[tmp1]; in aes_expand_key()
567 expkey[4*idx+1] = expkey[4*idx - 4*aes_keycols + 1] ^ tmp1; in aes_expand_key()
/u-boot/arch/arm/lib/
A Dmemcpy-arm64.S41 #define tmp1 x14 macro
99 lsr tmp1, count, 1
102 ldrb B_lw, [src, tmp1]
104 strb B_lw, [dstin, tmp1]
148 sub tmp1, dstin, src
149 cbz tmp1, L(copy0)
150 cmp tmp1, count
156 and tmp1, dstin, 15
158 sub src, src, tmp1
202 and tmp1, dstend, 15
[all …]
A Ddebug.S24 .macro addruart_current, rx, tmp1, tmp2
25 addruart \rx, \tmp1, \tmp2
/u-boot/arch/mips/mach-octeon/
A Dcvmx-helper-ilk.c471 static cvmx_ilk_chan_pknd_t *chpknd = NULL, *tmp1; in __cvmx_helper_ilk_init_port_cn68xx() local
542 tmp1 = chpknd; in __cvmx_helper_ilk_init_port_cn68xx()
544 tmp1->chan = j; in __cvmx_helper_ilk_init_port_cn68xx()
545 tmp1->pknd = i++; in __cvmx_helper_ilk_init_port_cn68xx()
546 tmp1++; in __cvmx_helper_ilk_init_port_cn68xx()
572 tmp1 = chpknd; in __cvmx_helper_ilk_init_port_cn68xx()
575 tmp2->pipe_bpid = tmp1->pknd; in __cvmx_helper_ilk_init_port_cn68xx()
577 tmp1++; in __cvmx_helper_ilk_init_port_cn68xx()
/u-boot/drivers/ddr/marvell/axp/
A Dddr3_hw_training.c489 u32 tmp1, tmp2, reg; in ddr3_set_performance_params() local
504 tmp1 = (dram_info->rl_max_phase - dram_info->wl_min_phase) / 2 + in ddr3_set_performance_params()
510 trd2wr_wr2rd = (tmp1 >= tmp2) ? tmp1 : tmp2; in ddr3_set_performance_params()
/u-boot/drivers/ram/rockchip/
A Dsdram_rk3399.c898 u32 tmp, tmp1, tmp2; in pctl_cfg() local
921 tmp1 = readl(&denali_ctl[14]); in pctl_cfg()
922 writel(tmp + tmp1, &denali_ctl[14]); in pctl_cfg()
958 tmp1 = readl(&denali_phy[921]); in pctl_cfg()
961 (((tmp1 >> 16) & 0x1) == 0x1) && in pctl_cfg()
962 (((tmp1 >> 0) & 0x1) == 0x1) && in pctl_cfg()
/u-boot/arch/x86/cpu/quark/
A Dsmc.c69 u32 tmp1, tmp2; in prog_ddr_timing_control() local
101 tmp1 = tcl - 5; 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()

Completed in 32 milliseconds