| /rk3399_ARM-atf/plat/imx/common/ |
| H A D | imx_sip_svc.c | 27 u_register_t x3, in imx_sip_handler() argument 35 SMC_RET1(handle, imx_kernel_entry_handler(smc_fid, x1, x2, x3, x4)); in imx_sip_handler() 46 return dram_dvfs_handler(smc_fid, handle, x1, x2, x3); in imx_sip_handler() 50 SMC_RET1(handle, imx_soc_info_handler(smc_fid, x1, x2, x3)); in imx_sip_handler() 53 SMC_RET1(handle, imx_gpc_handler(smc_fid, x1, x2, x3)); in imx_sip_handler() 56 return dram_dvfs_handler(smc_fid, handle, x1, x2, x3); in imx_sip_handler() 60 return dram_dvfs_handler(smc_fid, handle, x1, x2, x3); in imx_sip_handler() 62 SMC_RET1(handle, imx_gpc_handler(smc_fid, x1, x2, x3)); in imx_sip_handler() 67 return imx_srtc_handler(smc_fid, handle, x1, x2, x3, x4); in imx_sip_handler() 69 SMC_RET1(handle, imx_cpufreq_handler(smc_fid, x1, x2, x3)); in imx_sip_handler() [all …]
|
| H A D | imx_sip_handler.c | 52 u_register_t x3, in imx_srtc_handler() argument 59 ret = imx_srtc_set_time(x2, x3, x4); in imx_srtc_handler() 88 u_register_t x3) in imx_cpufreq_handler() argument 92 imx_cpufreq_set_target(x2, x3); in imx_cpufreq_handler() 111 u_register_t x3) in imx_wakeup_src_handler() argument 156 u_register_t x3, in imx_misc_set_temp_handler() argument 159 return sc_misc_set_temp(ipc_handle, x1, x2, x3, x4); in imx_misc_set_temp_handler() 168 u_register_t x3, in imx_src_handler() argument 248 u_register_t x3, in imx_src_handler() argument 266 u_register_t x3, in imx_get_commit_hash() argument [all …]
|
| /rk3399_ARM-atf/plat/hisilicon/hikey/ |
| H 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
|
| /rk3399_ARM-atf/lib/libc/aarch64/ |
| H 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 …]
|
| /rk3399_ARM-atf/plat/imx/common/include/ |
| H A D | imx_sip_svc.h | 53 u_register_t x2, u_register_t x3, 62 u_register_t x2, u_register_t x3); 64 u_register_t x2, u_register_t x3); 67 u_register_t x1, u_register_t x2, u_register_t x3); 70 u_register_t x1, u_register_t x2, u_register_t x3) in dram_dvfs_handler() argument 76 u_register_t x2, u_register_t x3, u_register_t x4); 80 u_register_t x1, u_register_t x2, u_register_t x3); 83 u_register_t x2, u_register_t x3); 90 u_register_t x2, u_register_t x3, void *handle); 95 u_register_t x2, u_register_t x3, u_register_t x4); [all …]
|
| /rk3399_ARM-atf/plat/nxp/soc-ls1028a/aarch64/ |
| H A D | ls1028a.S | 151 mov x3, x30 163 mov x30, x3 176 mov x3, x30 197 mov x30, x3 366 mrs x3, osdlr_el1 367 orr x3, x3, #OSDLR_EL1_DLK_LOCK 368 msr osdlr_el1, x3 372 mov x3, #ICC_IGRPEN0_EL1_EN 373 msr ICC_IGRPEN0_EL1, x3 386 ldr x3, =NXP_TIMER_ADDR [all …]
|
| /rk3399_ARM-atf/plat/nxp/common/aarch64/ |
| H A D | bl31_data.S | 161 clz x3, x0 163 sub x0, x0, x3 173 ldr x3, =BC_PSCI_BASE 174 add x3, x3, x1 184 mov x3, #SEC_REGION_SIZE 185 mul x3, x3, x0 192 sub x1, x3, x1 197 ldr x3, =SECONDARY_TOP 200 sub x3, x3, x1 206 str x2, [x3] [all …]
|
| /rk3399_ARM-atf/services/std_svc/ |
| H A D | std_svc_setup.c | 117 u_register_t x3 = x3_arg; in std_svc_smc_handler() local 125 x3 &= UINT32_MAX; in std_svc_smc_handler() 148 ret = psci_smc_handler(smc_fid, x1, x2, x3, x4, in std_svc_smc_handler() 166 return spm_mm_smc_handler(smc_fid, x1, x2, x3, x4, cookie, in std_svc_smc_handler() 177 return spmd_ffa_smc_handler(smc_fid, x1, x2, x3, x4, cookie, in std_svc_smc_handler() 184 return sdei_smc_handler(smc_fid, x1, x2, x3, x4, cookie, handle, in std_svc_smc_handler() 191 return trng_smc_handler(smc_fid, x1, x2, x3, x4, cookie, handle, in std_svc_smc_handler() 198 return errata_abi_smc_handler(smc_fid, x1, x2, x3, x4, cookie, in std_svc_smc_handler() 206 return rmmd_rmm_el3_handler(smc_fid, x1, x2, x3, x4, cookie, in std_svc_smc_handler() 211 return rmmd_rmi_handler(smc_fid, x1, x2, x3, x4, cookie, in std_svc_smc_handler() [all …]
|
| H 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()
|
| /rk3399_ARM-atf/plat/mediatek/drivers/emi/ |
| H A D | emi_ctrl.c | 73 u_register_t x3, in sip_emidbg_control() argument 87 ret = emi_mpu_read_by_type((unsigned int)x2, (unsigned int)x3, in sip_emidbg_control() 104 ret = emi_clear_violation((unsigned int)x2, (unsigned int)x3); in sip_emidbg_control() 109 ret = slc_parity_select((unsigned int)x2, (unsigned int)x3); in sip_emidbg_control() 125 u_register_t x3, in sip_emimpu_control() argument 134 ret = emi_mpu_set_protection((uint32_t)x2, (uint32_t)x3, (unsigned int)x4); in sip_emimpu_control() 137 ret = emi_mpu_set_aid((unsigned int)x2, (unsigned int)x3); in sip_emimpu_control() 140 ret = emi_mpu_read_by_type((unsigned int)x2, (unsigned int)x3, in sip_emimpu_control() 144 ret = emi_kp_set_protection((size_t)x2, (size_t)x3, (unsigned int)x4); in sip_emimpu_control() 159 u_register_t x3, in sip_tee_emimpu_control() argument [all …]
|
| /rk3399_ARM-atf/plat/nxp/soc-ls1088a/aarch64/ |
| H A D | ls1088a.S | 173 mov x3, x30 184 mov x30, x3 216 mov x3, x30 241 mov x30, x3 409 mrs x3, osdlr_el1 410 orr x3, x3, #OSDLR_EL1_DLK_LOCK 411 msr osdlr_el1, x3 415 mov x3, #ICC_IGRPEN0_EL1_EN 416 msr ICC_IGRPEN0_EL1, x3 429 ldr x3, =NXP_TIMER_ADDR [all …]
|
| /rk3399_ARM-atf/plat/arm/board/automotive_rd/platform/rdaspen/include/ |
| H A D | rdaspen_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
|
| /rk3399_ARM-atf/plat/arm/board/arm_fpga/aarch64/ |
| H 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
|
| /rk3399_ARM-atf/plat/mediatek/common/ |
| H 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()
|
| /rk3399_ARM-atf/lib/aarch64/ |
| H A D | cache_helpers.S | 41 dcache_line_size x2, x3 43 sub x3, x2, #1 44 bic x0, x0, x3 59 dcache_line_size x2, x3 60 sub x3, x2, #1 61 bic x0, x0, x3 75 mov x3, x30 78 mov x30, x3 164 ubfx x3, x9, \shift, \fw 165 lsl x3, x3, \ls [all …]
|
| H A D | misc_helpers.S | 152 block_size .req x3 /* Size of a block in bytes as read in DCZID_EL0 */ 387 orr x3, x0, x1 388 tst x3, #0xf 395 ldp x3, x4, [x1], #16 396 stp x3, x4, [x0], #16 506 1: ldr x3, [x1] 509 cmp x3, x6 513 cmp x3, x7 515 add x3, x3, x0 516 str x3, [x1] [all …]
|
| /rk3399_ARM-atf/lib/pmf/ |
| H A D | pmf_smc.c | 20 u_register_t x3, in pmf_smc_handler() argument 37 x3 = (uint32_t)x3; in pmf_smc_handler() 48 (unsigned int)x3, &ts_value); in pmf_smc_handler() 66 (unsigned int)x3, &ts_value); in pmf_smc_handler()
|
| /rk3399_ARM-atf/plat/arm/common/ |
| H A D | arm_sip_svc.c | 56 u_register_t x3, in arm_sip_handler() argument 72 return pmf_smc_handler(smc_fid, x1, x2, x3, x4, cookie, in arm_sip_handler() 82 return debugfs_smc_handler(smc_fid, x1, x2, x3, x4, cookie, in arm_sip_handler() 91 return ethosn_smc_handler(smc_fid, x1, x2, x3, x4, cookie, in arm_sip_handler() 109 (uint32_t) x1, (uint32_t) x2, (uint32_t) x3, in arm_sip_handler() 148 return plat_arm_sip_handler(smc_fid, x1, x2, x3, x4, in arm_sip_handler()
|
| /rk3399_ARM-atf/plat/mediatek/mt8195/ |
| H A D | plat_sip_calls.c | 21 u_register_t x3, in mediatek_plat_sip_handler() argument 33 ret = emi_mpu_sip_handler(x1, x2, x3); in mediatek_plat_sip_handler() 43 ret = spm_vcorefs_v2_args(x1, x2, x3, &x4); in mediatek_plat_sip_handler() 48 ret = dfd_smc_dispatcher(x1, x2, x3, x4); in mediatek_plat_sip_handler() 53 ret = apusys_kernel_ctrl(x1, x2, x3, x4, &ret_val); in mediatek_plat_sip_handler()
|
| /rk3399_ARM-atf/services/el3/ |
| H A D | ven_el3_svc.c | 48 u_register_t x3, in ven_el3_svc_handler() argument 60 return debugfs_smc_handler(smc_fid, x1, x2, x3, x4, cookie, in ven_el3_svc_handler() 72 return pmf_smc_handler(smc_fid, x1, x2, x3, x4, cookie, in ven_el3_svc_handler() 83 return plat_arm_acs_smc_handler(smc_fid, x1, x2, x3, x4, handle); in ven_el3_svc_handler() 101 return spm_mm_tpm_start_handler(smc_fid, x1, x2, x3, x4, cookie, in ven_el3_svc_handler()
|
| /rk3399_ARM-atf/plat/mediatek/mt8186/ |
| H A D | plat_sip_calls.c | 19 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 = dfd_smc_dispatcher(x1, x2, x3, x4); in mediatek_plat_sip_handler() 40 ret = msdc_smc_dispatcher(x1, x2, x3, x4); in mediatek_plat_sip_handler()
|
| /rk3399_ARM-atf/plat/arm/board/tc/include/ |
| H A D | tc_helpers.S | 41 lsl x3, x0, #MPIDR_AFFINITY_BITS 42 csel x3, x3, x0, eq 45 ubfx x0, x3, #MPIDR_AFF0_SHIFT, #MPIDR_AFFINITY_BITS 46 ubfx x1, x3, #MPIDR_AFF1_SHIFT, #MPIDR_AFFINITY_BITS 47 ubfx x2, x3, #MPIDR_AFF2_SHIFT, #MPIDR_AFFINITY_BITS
|
| /rk3399_ARM-atf/plat/mediatek/mt8192/ |
| H 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()
|
| /rk3399_ARM-atf/plat/nvidia/tegra/soc/t194/ |
| H 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 */
|
| /rk3399_ARM-atf/plat/xilinx/zynqmp/ |
| H A D | sip_svc_setup.c | 75 u_register_t x3, in sip_svc_smc_handler() argument 82 smc_fid, x1, x2, x3, x4); in sip_svc_smc_handler() 91 return pm_smc_handler(smc_fid, x1, x2, x3, x4, cookie, handle, in sip_svc_smc_handler() 97 return ipi_smc_handler(smc_fid, x1, x2, x3, x4, cookie, handle, in sip_svc_smc_handler() 110 return custom_smc_handler(smc_fid, x1, x2, x3, x4, cookie, in sip_svc_smc_handler()
|