/tf-a-ffa_el3_spmc/plat/hisilicon/hikey/ |
A D | hisi_pwrc_sram.S | 29 mrs x3, actlr_el3 30 orr x3, x3, #ACTLR_EL3_L2ECTLR_BIT 31 msr actlr_el3, x3 33 mrs x3, actlr_el2 34 orr x3, x3, #ACTLR_EL2_L2ECTLR_BIT 35 msr actlr_el2, x3 37 ldr x3, =PWRCTRL_ACPU_ASM_D_ARM_PARA_AD 42 pen: ldr x4, [x3, x0, LSL #3] 48 mov x3, #0x0
|
/tf-a-ffa_el3_spmc/lib/libc/aarch64/ |
A D | memset.S | 22 mov x3, x0 /* keep x0 */ 28 strb w1, [x3], #1 31 tst x3, #7 45 stp x1, x1, [x3], #16 /* write 64 bytes in a loop */ 50 stp x1, x1, [x3], #16 /* write 32 bytes */ 51 stp x1, x1, [x3], #16 53 stp x1, x1, [x3], #16 /* write 16 bytes */ 55 str x1, [x3], #8 /* write 8 bytes */ 57 str w1, [x3], #4 /* write 4 bytes */ 59 strh w1, [x3], #2 /* write 2 bytes */ [all …]
|
/tf-a-ffa_el3_spmc/plat/imx/common/ |
A D | imx_sip_svc.c | 22 u_register_t x3, in imx_sip_handler() argument 30 SMC_RET1(handle, imx_kernel_entry_handler(smc_fid, x1, x2, x3, x4)); in imx_sip_handler() 34 SMC_RET1(handle, imx_soc_info_handler(smc_fid, x1, x2, x3)); in imx_sip_handler() 39 return imx_srtc_handler(smc_fid, handle, x1, x2, x3, x4); in imx_sip_handler() 41 SMC_RET1(handle, imx_cpufreq_handler(smc_fid, x1, x2, x3)); in imx_sip_handler() 44 SMC_RET1(handle, imx_wakeup_src_handler(smc_fid, x1, x2, x3)); in imx_sip_handler() 49 SMC_RET1(handle, imx_misc_set_temp_handler(smc_fid, x1, x2, x3, x4)); in imx_sip_handler() 53 SMC_RET1(handle, imx_src_handler(smc_fid, x1, x2, x3, handle)); in imx_sip_handler() 57 SMC_RET1(handle, imx_buildinfo_handler(smc_fid, x1, x2, x3, x4)); in imx_sip_handler()
|
A D | imx_sip_handler.c | 42 u_register_t x3, in imx_srtc_handler() argument 49 ret = imx_srtc_set_time(x2, x3, x4); in imx_srtc_handler() 73 u_register_t x3) in imx_cpufreq_handler() argument 77 imx_cpufreq_set_target(x2, x3); in imx_cpufreq_handler() 96 u_register_t x3) in imx_wakeup_src_handler() argument 141 u_register_t x3, in imx_misc_set_temp_handler() argument 153 u_register_t x3, in imx_src_handler() argument 181 u_register_t x3, in imx_get_commit_hash() argument 207 u_register_t x3, in imx_buildinfo_handler() argument 226 u_register_t x3, in imx_kernel_entry_handler() argument [all …]
|
/tf-a-ffa_el3_spmc/plat/arm/board/tc/include/ |
A D | tc_helpers.S | 36 lsl x3, x0, #MPIDR_AFFINITY_BITS 37 csel x3, x3, x0, eq 40 ubfx x0, x3, #MPIDR_AFF0_SHIFT, #MPIDR_AFFINITY_BITS 41 ubfx x1, x3, #MPIDR_AFF1_SHIFT, #MPIDR_AFFINITY_BITS 42 ubfx x2, x3, #MPIDR_AFF2_SHIFT, #MPIDR_AFFINITY_BITS
|
/tf-a-ffa_el3_spmc/plat/imx/common/include/ |
A D | imx_sip_svc.h | 38 u_register_t x2, u_register_t x3, 42 u_register_t x2, u_register_t x3); 47 u_register_t x2, u_register_t x3, void *handle); 52 u_register_t x2, u_register_t x3); 54 u_register_t x2, u_register_t x3, u_register_t x4); 56 u_register_t x2, u_register_t x3); 60 u_register_t x2, u_register_t x3, 64 u_register_t x2, u_register_t x3,
|
/tf-a-ffa_el3_spmc/plat/nxp/common/aarch64/ |
A D | bl31_data.S | 161 clz x3, x0 174 add x3, x3, x1 185 mul x3, x3, x0 200 sub x3, x3, x1 208 dc cvac, x3 224 clz x3, x0 237 add x3, x3, x2 248 mul x3, x3, x0 263 sub x3, x3, x2 434 mov x3, #2 [all …]
|
/tf-a-ffa_el3_spmc/lib/pmf/ |
A D | pmf_smc.c | 20 u_register_t x3, in pmf_smc_handler() argument 33 x3 = (uint32_t)x3; in pmf_smc_handler() 43 (unsigned int)x3, &ts_value); in pmf_smc_handler() 56 (unsigned int)x3, &ts_value); in pmf_smc_handler()
|
/tf-a-ffa_el3_spmc/plat/arm/css/sgm/aarch64/ |
A D | css_sgm_helpers.S | 38 lsr x3, x0, #MPIDR_AFFINITY_BITS 39 csel x3, x3, x0, eq 42 ubfx x0, x3, #MPIDR_AFF0_SHIFT, #MPIDR_AFFINITY_BITS 43 ubfx x1, x3, #MPIDR_AFF1_SHIFT, #MPIDR_AFFINITY_BITS 44 ubfx x2, x3, #MPIDR_AFF2_SHIFT, #MPIDR_AFFINITY_BITS
|
/tf-a-ffa_el3_spmc/services/std_svc/ |
A D | std_svc_setup.c | 81 u_register_t x3, in std_svc_smc_handler() argument 92 x3 &= UINT32_MAX; in std_svc_smc_handler() 115 ret = psci_smc_handler(smc_fid, x1, x2, x3, x4, in std_svc_smc_handler() 133 return spm_mm_smc_handler(smc_fid, x1, x2, x3, x4, cookie, in std_svc_smc_handler() 149 … return spmc_smc_handler(smc_fid, is_caller_secure(flags), x1, x2, x3, x4, cookie, handle, flags); in std_svc_smc_handler() 152 return spmd_smc_handler(smc_fid, x1, x2, x3, x4, cookie, in std_svc_smc_handler() 159 return sdei_smc_handler(smc_fid, x1, x2, x3, x4, cookie, handle, in std_svc_smc_handler() 166 return trng_smc_handler(smc_fid, x1, x2, x3, x4, cookie, handle, in std_svc_smc_handler() 173 return pci_smc_handler(smc_fid, x1, x2, x3, x4, cookie, handle, in std_svc_smc_handler()
|
A D | pci_svc.c | 44 u_register_t x3, in pci_smc_handler() argument 73 if (validate_rw_addr_sz(x1, x2, x3) != SMC_PCI_CALL_SUCCESS) { in pci_smc_handler() 79 if (pci_read_config(x1, x2, x3, &ret) != 0U) { in pci_smc_handler() 89 if (validate_rw_addr_sz(x1, x2, x3) != SMC_PCI_CALL_SUCCESS) { in pci_smc_handler() 92 ret = pci_write_config(x1, x2, x3, x4); in pci_smc_handler() 101 if ((x2 != 0U) || (x3 != 0U) || (x4 != 0U)) { in pci_smc_handler()
|
/tf-a-ffa_el3_spmc/plat/mediatek/common/ |
A D | mtk_sip_svc.c | 28 u_register_t x3, in mediatek_plat_sip_handler() argument 43 u_register_t x3, in mediatek_sip_handler() argument 52 clean_top_32b_of_param(smc_fid, &x1, &x2, &x3, &x4); in mediatek_sip_handler() 74 boot_to_kernel(x1, x2, x3, x4); in mediatek_sip_handler() 83 return mediatek_plat_sip_handler(smc_fid, x1, x2, x3, x4, in mediatek_sip_handler() 94 u_register_t x3, in sip_smc_handler() argument 116 return mediatek_sip_handler(smc_fid, x1, x2, x3, x4, in sip_smc_handler()
|
/tf-a-ffa_el3_spmc/plat/arm/board/arm_fpga/aarch64/ |
A D | fpga_helpers.S | 80 ldr x3, [x1, x0, LSL #PLAT_FPGA_HOLD_ENTRY_SHIFT] 81 cmp x3, #PLAT_FPGA_HOLD_STATE_GO 86 ldr x3, [x2] 87 br x3 136 lsl x3, x0, #MPIDR_AFFINITY_BITS 137 csel x3, x3, x0, eq 140 ubfx x0, x3, #MPIDR_AFF0_SHIFT, #MPIDR_AFFINITY_BITS 141 ubfx x1, x3, #MPIDR_AFF1_SHIFT, #MPIDR_AFFINITY_BITS 142 ubfx x2, x3, #MPIDR_AFF2_SHIFT, #MPIDR_AFFINITY_BITS
|
/tf-a-ffa_el3_spmc/lib/aarch64/ |
A D | misc_helpers.S | 390 orr x3, x0, x1 391 tst x3, #0xf 527 1: ldr x3, [x1] 530 cmp x3, x6 534 cmp x3, x7 536 add x3, x3, x0 537 str x3, [x1] 567 1: ldr x3, [x1, #8] 568 cbz x3, 2f 576 add x3, x0, x3 [all …]
|
A D | cache_helpers.S | 25 dcache_line_size x2, x3 27 sub x3, x2, #1 28 bic x0, x0, x3 84 ubfx x3, x9, \shift, \fw 85 lsl x3, x3, \ls 91 cbz x3, exit 142 cmp x3, x10 173 mov x3, \level 174 sub x10, x3, #2
|
/tf-a-ffa_el3_spmc/plat/mediatek/mt8192/ |
A D | plat_sip_calls.c | 18 u_register_t x3, in mediatek_plat_sip_handler() argument 30 ret = spm_vcorefs_args(x1, x2, x3, (uint64_t *)&x4); in mediatek_plat_sip_handler() 35 ret = apusys_kernel_ctrl(x1, x2, x3, x4, &rnd_val0); in mediatek_plat_sip_handler() 40 ret = dfd_smc_dispatcher(x1, x2, x3, x4); in mediatek_plat_sip_handler()
|
/tf-a-ffa_el3_spmc/plat/arm/common/ |
A D | arm_sip_svc.c | 46 u_register_t x3, in arm_sip_handler() argument 61 return pmf_smc_handler(smc_fid, x1, x2, x3, x4, cookie, in arm_sip_handler() 70 return debugfs_smc_handler(smc_fid, x1, x2, x3, x4, cookie, in arm_sip_handler() 79 return ethosn_smc_handler(smc_fid, x1, x2, x3, x4, cookie, in arm_sip_handler() 97 (uint32_t) x1, (uint32_t) x2, (uint32_t) x3, in arm_sip_handler()
|
/tf-a-ffa_el3_spmc/plat/arm/board/fvp/aarch64/ |
A D | fvp_helpers.S | 163 lsl x3, x0, #MPIDR_AFFINITY_BITS 164 csel x3, x3, x0, eq 167 ubfx x0, x3, #MPIDR_AFF0_SHIFT, #MPIDR_AFFINITY_BITS 168 ubfx x1, x3, #MPIDR_AFF1_SHIFT, #MPIDR_AFFINITY_BITS 169 ubfx x2, x3, #MPIDR_AFF2_SHIFT, #MPIDR_AFFINITY_BITS
|
/tf-a-ffa_el3_spmc/bl31/aarch64/ |
A D | ea_delegate.S | 67 stp x2, x3, [sp, #CTX_GPREGS_OFFSET + CTX_GPREG_X2] 113 ldp x2, x3, [sp, #CTX_GPREGS_OFFSET + CTX_GPREG_X2] 179 ubfx x3, x1, #EABORT_DFSC_SHIFT, #EABORT_DFSC_WIDTH 180 cmp x3, #SYNC_EA_FSC 215 ubfx x3, x1, #EABORT_DFSC_SHIFT, #EABORT_DFSC_WIDTH 216 cmp x3, #DFSC_SERROR 246 mrs x3, elr_el3 247 stp x2, x3, [sp, #CTX_EL3STATE_OFFSET + CTX_SPSR_EL3] 267 mov x3, sp 302 ldp x3, x4, [sp, #CTX_EL3STATE_OFFSET + CTX_SCR_EL3] [all …]
|
/tf-a-ffa_el3_spmc/plat/nvidia/tegra/soc/t194/ |
A D | plat_trampoline.S | 49 ldp x3, x4, [x1], #16 50 stp x3, x4, [x0], #16 135 mov x3, #MC_SECURITY_CFG3_0 136 ldr w1, [x0, x3] 138 mov x3, #MC_SECURITY_CFG0_0 139 ldr w2, [x0, x3] 140 orr x3, x1, x2 /* TZDRAM base */ 147 str x0, [x3, x2] /* set value in TZDRAM */
|
/tf-a-ffa_el3_spmc/services/std_svc/spm/common/ |
A D | logical_mm_sp.c | 143 uint64_t x3, uint64_t x4, in direct_req_secure_smc_handler() argument 155 switch (x3) { in direct_req_secure_smc_handler() 207 WARN("Not supported direct request handling for ID=0x%llx\n", x3); in direct_req_secure_smc_handler() 217 uint64_t x3, in direct_req_non_secure_smc_handler() argument 226 switch (x3) { in direct_req_non_secure_smc_handler() 235 return spmc_mm_interface_handler(sp_index, x3, x4, in direct_req_non_secure_smc_handler() 239 WARN("Not supported direct request handling for ID=0x%llx\n", x3); in direct_req_non_secure_smc_handler() 250 uint64_t x3, uint64_t x4, void *cookie, void *handle, uint64_t flags) { in handle_ffa_direct_request() argument 255 return direct_req_secure_smc_handler(x1, x2, x3, x4, cookie, in handle_ffa_direct_request() 259 return direct_req_non_secure_smc_handler(x1, x2, x3, x4, cookie, in handle_ffa_direct_request()
|
/tf-a-ffa_el3_spmc/plat/nxp/soc-lx2160a/aarch64/ |
A D | lx2160a.S | 205 mov x3, x30 228 mov x30, x3 399 mrs x3, osdlr_el1 400 orr x3, x3, #OSDLR_EL1_DLK_LOCK 401 msr osdlr_el1, x3 453 cmp x2, x3 513 mrs x3, osdlr_el1 514 bic x3, x3, #OSDLR_EL1_DLK_LOCK 667 str w1, [x3, x0] 936 str w4, [x2, x3] [all …]
|
A D | lx2160a_warm_rst.S | 40 mov x3, xzr 43 mov x3, #1 60 cbz x3, touch_line1 82 cbz x3, touch_line2 103 cbz x3, touch_line3 124 cbz x3, touch_line4 149 cbz x3, touch_line6 170 cbz x3, touch_line5 198 cbz x3, touch_line6 227 cbz x3, start_line0
|
/tf-a-ffa_el3_spmc/services/std_svc/spm/spmc/ |
A D | spmc_main.c | 140 uint64_t x3, in spmc_smc_return() argument 182 uint64_t x3, in partition_info_get_handler() argument 197 uuid[2] = x3; in partition_info_get_handler() 326 uint64_t x3, in direct_resp_smc_handler() argument 379 uint64_t x3, in rxtx_map_handler() argument 462 uint64_t x3, in rxtx_unmap_handler() argument 559 uint64_t x3, in ffa_version_handler() argument 586 uint64_t x3, in ffa_id_get_handler() argument 620 uint64_t x3, in ffa_run_handler() argument 680 uint64_t x3, in msg_wait_handler() argument [all …]
|
/tf-a-ffa_el3_spmc/plat/xilinx/zynqmp/ |
A D | sip_svc_setup.c | 59 u_register_t x3, in sip_svc_smc_handler() argument 67 return em_smc_handler(smc_fid, x1, x2, x3, x4, cookie, handle, in sip_svc_smc_handler() 71 return pm_smc_handler(smc_fid, x1, x2, x3, x4, cookie, handle, in sip_svc_smc_handler() 77 return ipi_smc_handler(smc_fid, x1, x2, x3, x4, cookie, handle, in sip_svc_smc_handler()
|