/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 127 * Side effects: overwrites r2, r3, tmp1, tmp2, tmp3, r7 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] [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 …]
|
H A D | el2_setup.h | 234 // This will clobber tmp1 and tmp2, and expect tmp1 to contain 236 .macro __check_override idreg, fld, width, pass, fail, tmp1, tmp2 237 ubfx \tmp1, \tmp1, #\fld, #\width 238 cbz \tmp1, \fail 240 adr_l \tmp1, \idreg\()_override 241 ldr \tmp2, [\tmp1, FTR_OVR_VAL_OFFSET] 242 ldr \tmp1, [\tmp1, FTR_OVR_MASK_OFFSET] 244 ubfx \tmp1, \tmp1, #\fld, #\width 245 cmp \tmp1, xzr 246 and \tmp2, \tmp2, \tmp1 [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/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 ) 124 * limit + tmp1 - 1 as a 65-bit value before shifting it; [all …]
|
H A D | memcpy.S | 45 #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 159 add count, count, tmp1 /* Count is now 16 too large. */ [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/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/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/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/arch/loongarch/include/asm/ |
H A D | asmmacro.h | 58 .macro fpu_restore_csr thread tmp0 tmp1 68 la.pcrel \tmp1, 1f 69 alsl.d \tmp1, \tmp0, \tmp1, 3 70 jr \tmp1 91 .macro fpu_save_cc thread tmp0 tmp1 93 move \tmp1, \tmp0 95 bstrins.d \tmp1, \tmp0, 15, 8 97 bstrins.d \tmp1, \tmp0, 23, 16 99 bstrins.d \tmp1, \tmp0, 31, 24 101 bstrins.d \tmp1, \tmp0, 39, 32 [all …]
|
/openbmc/linux/arch/x86/crypto/ |
H A D | aesni-intel_asm.S | 195 .macro PRECOMPUTE SUBKEY TMP1 TMP2 TMP3 TMP4 TMP5 TMP6 TMP7 206 movdqa \TMP2, \TMP1 208 psrldq $8, \TMP1 213 pshufd $0x24, \TMP1, \TMP2 220 pshufd $78, \TMP3, \TMP1 221 pxor \TMP3, \TMP1 222 movdqu \TMP1, HashKey_k(%arg2) 224 GHASH_MUL \TMP5, \TMP3, \TMP1, \TMP2, \TMP4, \TMP6, \TMP7 228 pshufd $78, \TMP5, \TMP1 229 pxor \TMP5, \TMP1 [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/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/qemu/docs/spin/ |
H A D | win32-qemu-event.promela | 56 int tmp1, tmp2; 57 #define WAIT tmp1 = state; \ 58 if :: tmp1 != EV_SET -> \ 59 if :: tmp1 == EV_FREE -> \ 67 if :: tmp2 == EV_SET -> tmp1 = EV_SET; \ 68 :: else -> tmp1 = EV_BUSY; \ 72 assert(tmp1 != EV_FREE); \ 73 if :: tmp1 == EV_BUSY -> RAW_WAIT; \
|
/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/loongarch/kernel/ |
H A D | fpu.S | 98 .macro sc_save_fcc base, tmp0, tmp1 argument 100 move \tmp1, \tmp0 102 bstrins.d \tmp1, \tmp0, 15, 8 104 bstrins.d \tmp1, \tmp0, 23, 16 106 bstrins.d \tmp1, \tmp0, 31, 24 108 bstrins.d \tmp1, \tmp0, 39, 32 110 bstrins.d \tmp1, \tmp0, 47, 40 112 bstrins.d \tmp1, \tmp0, 55, 48 114 bstrins.d \tmp1, \tmp0, 63, 56 115 EX st.d \tmp1, \base, 0 [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/xtensa/lib/ |
H A D | umulsidi3.S | 199 .macro mul_mulsi3_body dst, src1, src2, tmp1, tmp2 201 1: add \tmp1, \src2, \dst 203 movnez \dst, \tmp1, \tmp2 205 do_addx2 \tmp1, \src2, \dst, \tmp1 207 movnez \dst, \tmp1, \tmp2 209 do_addx4 \tmp1, \src2, \dst, \tmp1 211 movnez \dst, \tmp1, \tmp2 213 do_addx8 \tmp1, \src2, \dst, \tmp1 215 movnez \dst, \tmp1, \tmp2
|
/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/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 …]
|