/optee_os/core/arch/arm/kernel/ |
A D | entry_a32.S | 92 lsl r0, r0, #2 123 add r0, r0, #4 149 bic r0, r0, #SCTLR_I 150 bic r0, r0, #SCTLR_TE 153 orr r0, r0, #SCTLR_A 155 bic r0, r0, #SCTLR_A 233 orr r0, r0, r2 406 add r0, r0, r2 460 add r0, r0, r2 608 sub r0, r0, r1 [all …]
|
A D | thread_a32.S | 101 ldm r0, {r0-r12} 220 ldm r0, {r0-r7} 307 ldm r0, {r0-r12} 379 bic r0, r0, #1 384 bic r0, r0, #TTBCR_PD1 393 ldr r0, [r0] 802 ldr r0, [r0] 827 orr r0, r0, #TTBCR_PD1 832 orr r0, r0, #BIT(0) 911 bic r0, r0, r3 [all …]
|
A D | thread_optee_smc_a32.S | 49 mov r1, r0 58 push {r0-r7} 59 mov r0, sp 83 mov r1, r0 93 mov r1, r0 103 mov r1, r0 113 mov r1, r0 123 mov r1, r0 133 mov r1, r0 172 mov sp, r0 [all …]
|
A D | tz_ssvce_pl310_a32.S | 32 subs r0, r0, #1 74 ldr r1, [r0, #PL310_SYNC] 79 str r1, [r0, #PL310_SYNC] 82 ldr r1, [r0, #PL310_SYNC] 102 ldr r1, [r0, #PL310_SYNC] 107 str r1, [r0, #PL310_SYNC] 110 ldr r1, [r0, #PL310_SYNC] 163 sub r0, r0, #(PL310_BASE - SCU_BASE) 167 add r0, r0, #(PL310_BASE - SCU_BASE) 170 str r1, [r0, r3] [all …]
|
A D | misc_a32.S | 15 read_mpidr r0 22 mov r3, r0 31 tst r0, #MPIDR_MT_MASK 32 lsleq r3, r0, #MPIDR_AFFINITY_BITS 42 add r0, r0, r1, LSL #(CFG_CORE_CLUSTER_SHIFT) 52 add r0, r0, r1, LSL #(CFG_CORE_THREAD_SHIFT) 63 mov r1, r0 68 bic r0, #CPSR_MODE_MASK /* clear mode */ 69 orr r0, r1 /* set expected mode */ 79 msr cpsr, r0 /* set the new mode */ [all …]
|
A D | thread_spmc_a32.S | 18 mov_imm r0, FFA_MSG_WAIT /* FID */ 39 push {r0-r7} 40 mov r0, sp 46 pop {r0-r7} 57 mov r5, r0 /* Save return value */ 62 mov sp, r0 77 push {r0, lr} 78 UNWIND( .save {r0, lr}) 96 ldr r0, =FFA_MSG_SEND_DIRECT_RESP_32 129 mla r1, r1, r0, r2 [all …]
|
A D | cache_helpers_a32.S | 35 add r1, r0, r1 37 bic r0, r0, r3 39 write_\reg r0 40 add r0, r0, r2 41 cmp r0, r1 134 orr r0, r0, r7, LSL r10 // factor in the set number 154 write_dcisw r0 158 write_dccsw r0 254 bic r0, r0, r3 257 add r0, r0, r2 [all …]
|
/optee_os/core/lib/libtomcrypt/src/ciphers/ |
A D | serpent.c | 86 r3 ^= r0; \ 90 r1 ^= r0; \ 91 r0 |= r3; \ 92 r0 ^= r4; \ 101 r3 |= r0; \ 109 r1 |= r0; \ 114 r0 ^= r4; \ 115 r2 ^= r0; \ 129 r0 = ~r0; \ 274 r0 = ~r0; \ [all …]
|
/optee_os/core/arch/arm/sm/ |
A D | sm_a32.S | 43 stm r0!, {r2} 48 stm r0!, {r2} 77 ldm r0!, {r2} 82 ldm r0!, {r2} 99 push {r0-r7} 127 cmp r0, r9 158 read_scr r0 184 mov r0, sp 195 pop {r0-r7} 340 orr r0, r0, #SCR_NS /* Set NS bit in SCR */ [all …]
|
A D | psci-helper.S | 12 read_actlr r0 13 bic r0, r0, #ACTLR_SMP 14 write_actlr r0 20 read_actlr r0 21 orr r0, r0, #ACTLR_SMP 22 write_actlr r0 31 mov r0, #DCACHE_OP_CLEAN_INV 35 read_sctlr r0 36 bic r0, r0, #SCTLR_C 37 write_sctlr r0 [all …]
|
A D | pm_a32.S | 30 push {r0, r1} 33 add r0, sp, #8 37 pop {r0, pc} 42 mov r0, #(-1) 96 adr r0, _core_pos 97 ldr r1, [r0] 98 add r0, r0, r1 99 blx r0 114 mla r0, r0, r1, r4 116 ldr r0, [r0, #THREAD_CORE_LOCAL_SM_PM_CTX_PHYS] [all …]
|
/optee_os/core/arch/arm/plat-imx/ |
A D | a9_plat_init.S | 83 read_diag r0 84 orr r0, r0, #1 << 22 85 write_diag r0 95 mov r0, #SCR_AW 96 write_scr r0 121 write_sctlr r0 128 write_actlr r0 131 write_nsacr r0 133 read_pcr r0 134 orr r0, r0, #0x1 [all …]
|
/optee_os/core/arch/arm/plat-stm/ |
A D | tz_a9init.S | 31 str r1, [r0, #PL310_CTRL] 36 read_actlr r0 37 orrne r0, r0, #(1 << 3) /* enable ACTLR[FLZW] */ 38 write_actlr r0 53 mov_imm r0, SCR_AW 54 write_scr r0 57 write_sctlr r0 60 write_actlr r0 63 write_nsacr r0 65 mov_imm r0, CPU_PCR_INIT [all …]
|
/optee_os/core/lib/libtomcrypt/src/stream/sosemanuk/ |
A D | sosemanuk.c | 80 r1 ^= r0; r0 |= r3; \ 90 r0 = ~r0; r2 = ~r2; \ 91 r4 = r0; r0 &= r1; \ 92 r2 ^= r0; r0 |= r3; \ 98 r1 ^= r0; r0 &= r2; \ 103 r4 = r0; r0 &= r2; \ 108 r3 ^= r0; r0 &= r1; \ 114 r4 = r0; r0 |= r3; \ 132 r2 ^= r0; r0 &= r1; \ 134 r4 ^= r0; r0 |= r3; \ [all …]
|
/optee_os/core/arch/arm/plat-sunxi/ |
A D | plat_init.S | 36 read_nsacr r0 37 orr r0, r0, #NSACR_CP10 38 orr r0, r0, #NSACR_CP11 39 orr r0, r0, #NSACR_NS_SMP 40 write_nsacr r0 43 read_actlr r0 44 orr r0, r0, #ACTLR_SMP 45 write_actlr r0
|
/optee_os/core/arch/arm/plat-hisilicon/ |
A D | hi3519av100_plat_init.S | 40 mrrc p15, 1, r0, r1, c15 41 orr r0, r0, #CPUECTLR_A53_SMPEN 50 read_scr r0 51 orr r0, r0, #SCR_NS /* Set NS bit in SCR */ 52 write_scr r0 60 bic r0, r0, #SCR_NS /* Clr NS bit in SCR */ 61 write_scr r0 76 cmp r0, #0 78 ldr r0, =CCI_BASE 79 ldr r1, [r0] [all …]
|
/optee_os/core/arch/arm/plat-imx/pm/ |
A D | psci-suspend-imx7.S | 51 push {r0 - r10, lr} 53 mov r0, #DCACHE_OP_CLEAN_INV 56 pop {r0 - r10, lr} 65 push {r0 - r10, lr} 67 mov r0, #DCACHE_OP_CLEAN_INV 70 pop {r0 - r10, lr} 78 str r7, [r0, #PM_INFO_MX7_TTBR1_OFF] 82 str r7, [r0, #PM_INFO_MX7_TTBR0_OFF] 340 add r7, r7, r0 384 add r7, r7, r0 [all …]
|
A D | psci-cpuidle-imx7.S | 50 mov r8, r0 80 addeq r7, r0, #PM_INFO_MX7_FLAG0_OFF 89 push {r0 - r12, lr} 90 mov r0, #DCACHE_OP_CLEAN_INV 93 pop {r0 - r12, lr} 102 push {r0 - r12, lr} 103 mov r0, #DCACHE_OP_CLEAN_INV 106 pop {r0 - r12, lr} 555 push {r0 - r12} 696 pop {r0 - r12} [all …]
|
/optee_os/core/arch/arm/plat-zynq7k/ |
A D | plat_init.S | 68 mov r0, #SCR_AW 69 write_scr r0 /* write Secure Configuration Register */ 91 mov_imm r0, 0x00004000 92 write_sctlr r0 94 mov_imm r0, 0x00000041 95 write_actlr r0 97 mov_imm r0, 0x00020C00 98 write_nsacr r0 100 mov_imm r0, 0x00000001 101 write_pcr r0
|
/optee_os/lib/libutils/ext/arch/arm/ |
A D | mcount_a32.S | 29 stmdb sp!, {r0-r3, lr} 31 ldr r0, [sp, #20] /* lr of instrumented func */ 32 mcount_adj_pc r0, r0 38 ldr r0, [sp, #16] 39 mcount_adj_pc r0, r0 44 ldmia sp!, {r0-r3, ip, lr} 51 stmdb sp!, {r0-r3} 55 mov lr, r0 58 ldmia sp!, {r0-r3}
|
/optee_os/core/arch/arm/plat-ls/ |
A D | plat_init.S | 62 mov r0, #SCR_AW 63 write_scr r0 /* write Secure Configuration Register */ 77 mov_imm r0, 0x00000000 78 write_sctlr r0 80 mov_imm r0, 0x00000040 81 write_actlr r0 83 mov_imm r0, 0x00000C00 84 write_nsacr r0
|
/optee_os/core/arch/arm/plat-rzn1/ |
A D | a7_plat_init.S | 35 mov r0, #SCR_AW 36 write_scr r0 38 mov_imm r0, 0x00000000 39 write_sctlr r0 51 mov_imm r0, 0x00006040 52 write_actlr r0 60 mov_imm r0, 0x00000C00 61 write_nsacr r0
|
/optee_os/core/arch/arm/plat-vexpress/ |
A D | juno_core_pos_a32.S | 13 and r1, r0, #MPIDR_CPU_MASK 14 and r0, r0, #MPIDR_CLUSTER_MASK 15 eor r0, r0, #(1 << MPIDR_CLUSTER_SHIFT) 16 add r0, r1, r0, LSR #6
|
/optee_os/lib/libutils/isoc/arch/arm/ |
A D | arm32_aeabi_ldivmod_a32.S | 14 push {r0-r3} 15 UNWIND( .save {r0-r3}) 16 mov r0, sp 18 pop {r0-r3} 29 push {r0-r3} 30 UNWIND( .save {r0-r3}) 31 mov r0, sp 33 pop {r0-r3}
|
/optee_os/core/arch/arm/plat-ti/ |
A D | a9_plat_init.S | 76 cmp r0, #CFG_TEE_CORE_NB_CORE 83 mul r1, r0, r1 84 ldr r0, =stack_tmp_export 85 ldr r0, [r0] 86 add sp, r1, r0 93 ldr r0, =suspend_regs 100 mov r0, r5 105 mov r0, #TEESMC_OPTEED_RETURN_ENTRY_DONE
|