/openbmc/linux/arch/arm/mach-at91/ |
H A D | pm_suspend.S | 23 tmp1 .req r4 label 85 mcr p15, 0, tmp1, c7, c0, 4 137 ldr tmp1, [r2, #UDDRC_PCTRL_0] 138 bic tmp1, tmp1, #0x1 139 str tmp1, [r2, #UDDRC_PCTRL_0] 141 ldr tmp1, [r2, #UDDRC_PCTRL_1] 142 bic tmp1, tmp1, #0x1 143 str tmp1, [r2, #UDDRC_PCTRL_1] 145 ldr tmp1, [r2, #UDDRC_PCTRL_2] 146 bic tmp1, tmp1, #0x1 [all …]
|
/openbmc/linux/arch/arm64/include/asm/ |
H A D | asm_pointer_auth.h | 12 .macro __ptrauth_keys_install_kernel_nosync tsk, tmp1, tmp2, tmp3 13 mov \tmp1, #THREAD_KEYS_KERNEL 14 add \tmp1, \tsk, \tmp1 15 ldp \tmp2, \tmp3, [\tmp1, #PTRAUTH_KERNEL_KEY_APIA] 20 .macro ptrauth_keys_install_kernel_nosync tsk, tmp1, tmp2, tmp3 22 __ptrauth_keys_install_kernel_nosync \tsk, \tmp1, \tmp2, \tmp3 26 .macro ptrauth_keys_install_kernel tsk, tmp1, tmp2, tmp3 28 __ptrauth_keys_install_kernel_nosync \tsk, \tmp1, \tmp2, \tmp3 35 .macro __ptrauth_keys_install_kernel_nosync tsk, tmp1, tmp2, tmp3 38 .macro ptrauth_keys_install_kernel_nosync tsk, tmp1, tmp2, tmp3 [all …]
|
H A D | asm-uaccess.h | 16 .macro __uaccess_ttbr0_disable, tmp1 17 mrs \tmp1, ttbr1_el1 // swapper_pg_dir 18 bic \tmp1, \tmp1, #TTBR_ASID_MASK 19 sub \tmp1, \tmp1, #RESERVED_SWAPPER_OFFSET // reserved_pg_dir 20 msr ttbr0_el1, \tmp1 // set reserved TTBR0_EL1 21 add \tmp1, \tmp1, #RESERVED_SWAPPER_OFFSET 22 msr ttbr1_el1, \tmp1 // set reserved ASID 26 .macro __uaccess_ttbr0_enable, tmp1, tmp2 27 get_current_task \tmp1 28 ldr \tmp1, [\tmp1, #TSK_TI_TTBR0] // load saved TTBR0_EL1 [all …]
|
/openbmc/linux/arch/sparc/include/asm/ |
H A D | head_64.h | 35 #define BRANCH_IF_SUN4V(tmp1,label) \ argument 36 sethi %hi(is_sun4v), %tmp1; \ 37 lduw [%tmp1 + %lo(is_sun4v)], %tmp1; \ 38 brnz,pn %tmp1, label; \ 41 #define BRANCH_IF_CHEETAH_BASE(tmp1,tmp2,label) \ argument 42 rdpr %ver, %tmp1; \ 44 srlx %tmp1, 32, %tmp1; \ 46 cmp %tmp1, %tmp2; \ 50 #define BRANCH_IF_JALAPENO(tmp1,tmp2,label) \ argument 51 rdpr %ver, %tmp1; \ [all …]
|
/openbmc/linux/arch/arm/mach-tegra/ |
H A D | sleep.h | 81 .macro check_cpu_part_num part_num, tmp1, tmp2 82 mrc p15, 0, \tmp1, c0, c0, 0 83 ubfx \tmp1, \tmp1, #4, #12 85 cmp \tmp1, \tmp2 89 .macro exit_smp, tmp1, tmp2 90 mrc p15, 0, \tmp1, c1, c0, 1 @ ACTLR 91 bic \tmp1, \tmp1, #(1<<6) | (1<<0) @ clear ACTLR.SMP | ACTLR.FW 92 mcr p15, 0, \tmp1, c1, c0, 1 @ ACTLR 95 check_cpu_part_num 0xc09, \tmp1, \tmp2 96 mrceq p15, 0, \tmp1, c0, c0, 5 [all …]
|
/openbmc/linux/arch/loongarch/lib/ |
H A D | csum.c | 60 __uint128_t tmp1, tmp2, tmp3, tmp4; in do_csum() local 62 tmp1 = *(__uint128_t *)ptr; in do_csum() 71 tmp1 += (tmp1 >> 64) | (tmp1 << 64); in do_csum() 75 tmp1 = ((tmp1 >> 64) << 64) | (tmp2 >> 64); in do_csum() 76 tmp1 += (tmp1 >> 64) | (tmp1 << 64); in do_csum() 79 tmp1 = ((tmp1 >> 64) << 64) | (tmp3 >> 64); in do_csum() 80 tmp1 += (tmp1 >> 64) | (tmp1 << 64); in do_csum() 81 tmp1 = ((tmp1 >> 64) << 64) | sum64; in do_csum() 82 tmp1 += (tmp1 >> 64) | (tmp1 << 64); in do_csum() 83 sum64 = tmp1 >> 64; in do_csum()
|
/openbmc/linux/arch/arm64/lib/ |
H A D | strlen.S | 30 #define tmp1 x4 macro 83 and tmp1, srcin, MIN_PAGE_SIZE - 1 85 cmp tmp1, MIN_PAGE_SIZE - 16 96 sub tmp1, data1, zeroones 100 bics has_nul1, tmp1, tmp2 109 clz tmp1, has_nul1 111 add len, len, tmp1, lsr 3 124 sub tmp1, data1, zeroones 126 orr tmp2, tmp1, tmp3 130 sub tmp1, data1, zeroones [all …]
|
H A D | csum.c | 63 __uint128_t tmp1, tmp2, tmp3, tmp4; in do_csum() local 65 tmp1 = *(__uint128_t *)ptr; in do_csum() 74 tmp1 += (tmp1 >> 64) | (tmp1 << 64); in do_csum() 78 tmp1 = ((tmp1 >> 64) << 64) | (tmp2 >> 64); in do_csum() 79 tmp1 += (tmp1 >> 64) | (tmp1 << 64); in do_csum() 82 tmp1 = ((tmp1 >> 64) << 64) | (tmp3 >> 64); in do_csum() 83 tmp1 += (tmp1 >> 64) | (tmp1 << 64); in do_csum() 84 tmp1 = ((tmp1 >> 64) << 64) | sum64; in do_csum() 85 tmp1 += (tmp1 >> 64) | (tmp1 << 64); in do_csum() 86 sum64 = tmp1 >> 64; in do_csum()
|
H A D | strnlen.S | 38 tmp1 .req x8 label 54 ands tmp1, srcin, #15 74 sub tmp1, data1, zeroones 78 bic has_nul1, tmp1, tmp2 81 orr tmp1, has_nul1, has_nul2 82 ccmp tmp1, #0, #0, pl /* NZCV = 0000 */ 85 cbz tmp1, .Lhit_limit /* No null in final Qword. */ 106 CPU_BE( sub tmp1, data2, zeroones ) 108 CPU_BE( bic has_nul2, tmp1, tmp2 ) 135 add tmp3, tmp3, tmp1 [all …]
|
H A D | strncmp.S | 37 #define tmp1 x8 macro 63 eor tmp1, src1, src2 65 tst tmp1, #7 79 sub tmp1, data1, zeroones 83 bics has_nul, tmp1, tmp2 /* Non-zero if NUL terminator. */ 111 add tmp1, limit, 8 114 lsl limit, tmp1, #3 /* Bits -> bytes. */ 138 sub tmp1, tmp3, zeroones 140 bic has_nul, tmp1, tmp2 238 ldp tmp1, tmp2, [src2], #16 [all …]
|
/openbmc/linux/arch/mips/crypto/ |
H A D | poly1305-mips.pl | 76 my ($in0,$in1,$tmp0,$tmp1,$tmp2,$tmp3,$tmp4) = ($a4,$a5,$a6,$a7,$at,$t0,$t1); 139 subu $tmp1,$zero,$tmp0 142 dsrlv $tmp3,$in1,$tmp1 144 dsrlv $tmp2,$tmp2,$tmp1 147 dsllv $tmp3,$in1,$tmp1 149 dsllv $tmp2,$tmp2,$tmp1 171 and $tmp1,$in0,$tmp0 # byte swap 175 dsll $tmp1,24 180 or $tmp1,$tmp2 190 or $tmp1,$tmp2 [all …]
|
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | mmap.c | 24 void *bss_mmaped = NULL, *map_mmaped = NULL, *tmp0, *tmp1, *tmp2; in test_mmap() local 55 tmp1 = mmap(NULL, page_size, PROT_READ | PROT_WRITE, MAP_SHARED, rdmap_fd, 0); in test_mmap() 56 if (CHECK(tmp1 != MAP_FAILED, "rdonly_write_mmap", "unexpected success\n")) { in test_mmap() 57 munmap(tmp1, page_size); in test_mmap() 61 tmp1 = mmap(NULL, page_size, PROT_READ, MAP_SHARED, rdmap_fd, 0); in test_mmap() 62 if (CHECK(tmp1 == MAP_FAILED, "rdonly_read_mmap", "failed: %d\n", errno)) in test_mmap() 180 tmp1 = mmap(NULL, map_sz, PROT_READ | PROT_WRITE, MAP_SHARED, in test_mmap() 182 if (CHECK(tmp1 != MAP_FAILED, "data_mmap", "mmap succeeded\n")) { in test_mmap() 183 munmap(tmp1, map_sz); in test_mmap() 206 tmp1 = mmap(tmp0, 3 * page_size, PROT_READ, MAP_SHARED | MAP_FIXED, in test_mmap() [all …]
|
/openbmc/linux/arch/x86/lib/ |
H A D | memmove_32.S | 25 .set tmp1, %ebx define 71 movl 1*4(src), tmp1 73 movl tmp1, 1*4(dest) 75 movl 3*4(src), tmp1 77 movl tmp1, 3*4(dest) 88 leal -4(dest, n), tmp1 91 movl tmp0, (tmp1) 98 movl dest, tmp1 104 movl tmp0,(tmp1) 129 movl -2*4(src), tmp1 [all …]
|
/openbmc/linux/tools/lib/ |
H A D | rbtree.c | 230 struct rb_node *node = NULL, *sibling, *tmp1, *tmp2; in ____rb_erase_color() local 252 tmp1 = sibling->rb_left; in ____rb_erase_color() 253 WRITE_ONCE(parent->rb_right, tmp1); in ____rb_erase_color() 255 rb_set_parent_color(tmp1, parent, RB_BLACK); in ____rb_erase_color() 259 sibling = tmp1; in ____rb_erase_color() 261 tmp1 = sibling->rb_right; in ____rb_erase_color() 262 if (!tmp1 || rb_is_black(tmp1)) { in ____rb_erase_color() 319 tmp1 = tmp2->rb_right; in ____rb_erase_color() 320 WRITE_ONCE(sibling->rb_left, tmp1); in ____rb_erase_color() 323 if (tmp1) in ____rb_erase_color() [all …]
|
/openbmc/linux/lib/ |
H A D | rbtree.c | 230 struct rb_node *node = NULL, *sibling, *tmp1, *tmp2; in ____rb_erase_color() local 252 tmp1 = sibling->rb_left; in ____rb_erase_color() 253 WRITE_ONCE(parent->rb_right, tmp1); in ____rb_erase_color() 255 rb_set_parent_color(tmp1, parent, RB_BLACK); in ____rb_erase_color() 259 sibling = tmp1; in ____rb_erase_color() 261 tmp1 = sibling->rb_right; in ____rb_erase_color() 262 if (!tmp1 || rb_is_black(tmp1)) { in ____rb_erase_color() 319 tmp1 = tmp2->rb_right; in ____rb_erase_color() 320 WRITE_ONCE(sibling->rb_left, tmp1); in ____rb_erase_color() 323 if (tmp1) in ____rb_erase_color() [all …]
|
/openbmc/linux/arch/powerpc/include/asm/book3s/32/ |
H A D | mmu-hash.h | 99 .macro update_user_segments_by_4 tmp1 tmp2 tmp3 tmp4 100 uus_addi 1, \tmp2, \tmp1, 0x111 101 uus_addi 2, \tmp3, \tmp1, 0x222 102 uus_addi 3, \tmp4, \tmp1, 0x333 104 uus_mtsr 0, \tmp1 109 uus_addi 4, \tmp1, \tmp1, 0x444 114 uus_mtsr 4, \tmp1 119 uus_addi 8, \tmp1, \tmp1, 0x444 124 uus_mtsr 8, \tmp1 129 uus_addi 12, \tmp1, \tmp1, 0x444 [all …]
|
/openbmc/linux/arch/arc/include/asm/ |
H A D | uaccess.h | 143 unsigned long tmp1, tmp2, tmp3, tmp4; in raw_copy_from_user() local 219 "=r"(tmp1), "=r"(tmp2), "=r"(tmp3), "=r"(tmp4) in raw_copy_from_user() 243 "=r"(tmp1), "=r"(tmp2) in raw_copy_from_user() 263 : "+r" (res), "+r"(to), "+r"(from), "=r"(tmp1) in raw_copy_from_user() 283 : "+r" (res), "+r"(to), "+r"(from), "=r"(tmp1) in raw_copy_from_user() 301 : "+r" (res), "+r"(to), "+r"(from), "=r"(tmp1) in raw_copy_from_user() 358 "=r"(tmp1), "=r"(tmp2), "=r"(tmp3), "=r"(tmp4) in raw_copy_from_user() 371 unsigned long tmp1, tmp2, tmp3, tmp4; in raw_copy_to_user() local 442 "=r"(tmp1), "=r"(tmp2), "=r"(tmp3), "=r"(tmp4) in raw_copy_to_user() 466 "=r"(tmp1), "=r"(tmp2) in raw_copy_to_user() [all …]
|
/openbmc/u-boot/drivers/mtd/nand/raw/ |
H A D | nand_ecc.c | 68 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()
|
/openbmc/u-boot/lib/ |
H A D | rbtree.c | 195 struct rb_node *node = NULL, *sibling, *tmp1, *tmp2; in ____rb_erase_color() local 217 parent->rb_right = tmp1 = sibling->rb_left; in ____rb_erase_color() 219 rb_set_parent_color(tmp1, parent, RB_BLACK); in ____rb_erase_color() 223 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() 268 sibling->rb_left = tmp1 = tmp2->rb_right; 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() [all …]
|
/openbmc/linux/arch/ia64/lib/ |
H A D | do_csum.S | 105 #define tmp1 r26 macro 136 add tmp1=buf,len // last byte's address 149 adds tmp2=-1,tmp1 // last-1 150 and lastoff=7,tmp1 // how many bytes off for last element 152 sub tmp1=8,lastoff // complement to lastoff 161 and tmp1=7, tmp1 // make sure that if tmp1==8 -> tmp1=0 165 shl tmp1=tmp1,3 // number of bits 170 shr.u tmask=tmask,tmp1 // build tail mask, mask off ]8,lastoff] 263 zxt4 tmp1=result1[0] 266 add result1[0]=tmp1,tmp2 [all …]
|
/openbmc/linux/arch/x86/crypto/ |
H A D | curve25519-x86_64.c | 979 u64 *tmp1 = p01_tmp1 + (u32)16U; in point_add_and_double() local 984 u64 *a = tmp1; in point_add_and_double() 985 u64 *b = tmp1 + (u32)4U; in point_add_and_double() 986 u64 *ab = tmp1; in point_add_and_double() 987 u64 *dc = tmp1 + (u32)8U; in point_add_and_double() 1009 a1 = tmp1; in point_add_and_double() 1010 b1 = tmp1 + (u32)4U; in point_add_and_double() 1011 d = tmp1 + (u32)8U; in point_add_and_double() 1012 c = tmp1 + (u32)12U; in point_add_and_double() 1013 ab1 = tmp1; in point_add_and_double() [all …]
|
/openbmc/qemu/tests/tcg/aarch64/system/ |
H A D | mte.S | 14 #define tmp1 x3 /* Scratch register. */ macro 45 mrs tmp1, tcr_el1 46 orr tmp1, tmp1, (1 << 37) 47 msr tcr_el1, tmp1 104 ldr tmp1, =0xdeadbeef 105 str tmp1, [tagged_addr]
|
/openbmc/linux/arch/arm/include/asm/ |
H A D | tls.h | 10 .macro switch_tls_none, base, tp, tpuser, tmp1, tmp2 13 .macro switch_tls_v6k, base, tp, tpuser, tmp1, tmp2 20 .macro switch_tls_v6, base, tp, tpuser, tmp1, tmp2 27 ldr_va \tmp1, elf_hwcap 29 tst \tmp1, #HWCAP_TLS @ hardware TLS available? 37 .L1_\@: switch_tls_v6k \base, \tp, \tpuser, \tmp1, \tmp2 41 .macro switch_tls_software, base, tp, tpuser, tmp1, tmp2 42 mov \tmp1, #0xffff0fff 43 str \tp, [\tmp1, #-15] @ set TLS value at 0xffff0ff0
|
/openbmc/linux/arch/m68k/lib/ |
H A D | checksum.c | 40 unsigned long tmp1, tmp2; in csum_partial() local 118 "=&d" (tmp1), "=&d" (tmp2) in csum_partial() 139 unsigned long tmp1, tmp2; in csum_and_copy_from_user() local 261 "=&d" (tmp1), "=d" (tmp2) in csum_and_copy_from_user() 276 unsigned long tmp1, tmp2; in csum_partial_copy_nocheck() local 364 "=&d" (tmp1), "=&d" (tmp2) in csum_partial_copy_nocheck()
|
/openbmc/qemu/util/ |
H A D | interval-tree.c | 351 RBNode *node = NULL, *sibling, *tmp1, *tmp2; in rb_erase_color() local 373 tmp1 = sibling->rb_left; in rb_erase_color() 374 qatomic_set(&parent->rb_right, tmp1); in rb_erase_color() 376 rb_set_parent_color(tmp1, parent, RB_BLACK); in rb_erase_color() 379 sibling = tmp1; in rb_erase_color() 381 tmp1 = sibling->rb_right; in rb_erase_color() 382 if (!tmp1 || rb_is_black(tmp1)) { in rb_erase_color() 439 tmp1 = tmp2->rb_right; in rb_erase_color() 440 qatomic_set(&sibling->rb_left, tmp1); in rb_erase_color() 443 if (tmp1) { in rb_erase_color() [all …]
|