Home
last modified time | relevance | path

Searched refs:x2 (Results 1 – 25 of 234) sorted by relevance

12345678910

/arm-trusted-firmware-2.8.0/lib/compiler-rt/builtins/
A Dpopcountdi2.c18 du_int x2 = (du_int)a; in __popcountdi2() local
19 x2 = x2 - ((x2 >> 1) & 0x5555555555555555uLL); in __popcountdi2()
21 x2 = ((x2 >> 2) & 0x3333333333333333uLL) + (x2 & 0x3333333333333333uLL); in __popcountdi2()
23 x2 = (x2 + (x2 >> 4)) & 0x0F0F0F0F0F0F0F0FuLL; in __popcountdi2()
25 su_int x = (su_int)(x2 + (x2 >> 32)); in __popcountdi2()
/arm-trusted-firmware-2.8.0/plat/nxp/common/aarch64/
A Dbl31_data.S37 clz x2, x0
49 add x2, x2, x1
59 mul x2, x2, x0
73 sub x2, x2, x1
77 dc ivac, x2
97 clz x2, x0
109 add x2, x2, x1
119 mul x2, x2, x0
133 sub x2, x2, x1
255 sub x2, x3, x2
[all …]
/arm-trusted-firmware-2.8.0/plat/nvidia/tegra/soc/t194/
A Dplat_trampoline.S25 mov x2, #TEGRA194_STATE_SYSTEM_SUSPEND
26 lsl x2, x2, #16
27 add x2, x2, #TEGRA194_STATE_SYSTEM_SUSPEND
28 cmp x1, x2
34 mov x2, #TEGRA194_STATE_SYSTEM_RESUME
35 add x1, x1, x2
43 ldr x2, [x2, #8]
47 cmp x2, #16
51 sub x2, x2, #16
55 cbz x2, boot_cpu
[all …]
/arm-trusted-firmware-2.8.0/lib/romlib/
A Dinit.s21 adrp x2, __DATA_RAM_END__
22 add x2, x2, :lo12:__DATA_RAM_END__
23 sub x2, x2, x0
29 adrp x2, __BSS_END__
30 add x2, x2, :lo12:__BSS_END__
31 sub x2, x2, x0
/arm-trusted-firmware-2.8.0/plat/imx/common/
A Dimx_sip_svc.c21 u_register_t x2, 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 dram_dvfs_handler(smc_fid, handle, x1, x2, x3); in imx_sip_handler()
41 SMC_RET1(handle, imx_gpc_handler(smc_fid, x1, x2, x3)); in imx_sip_handler()
46 return imx_srtc_handler(smc_fid, handle, x1, x2, x3, x4); in imx_sip_handler()
48 SMC_RET1(handle, imx_cpufreq_handler(smc_fid, x1, x2, x3)); in imx_sip_handler()
51 SMC_RET1(handle, imx_wakeup_src_handler(smc_fid, x1, x2, x3)); in imx_sip_handler()
54 return imx_otp_handler(smc_fid, handle, x1, x2); in imx_sip_handler()
60 SMC_RET1(handle, imx_src_handler(smc_fid, x1, x2, x3, handle)); in imx_sip_handler()
[all …]
A Dimx_sip_handler.c41 u_register_t x2, in imx_srtc_handler() argument
49 ret = imx_srtc_set_time(x2, x3, x4); in imx_srtc_handler()
72 u_register_t x2, in imx_cpufreq_handler() argument
77 imx_cpufreq_set_target(x2, x3); in imx_cpufreq_handler()
95 u_register_t x2, in imx_wakeup_src_handler() argument
115 u_register_t x2) in imx_otp_handler() argument
140 u_register_t x2, in imx_misc_set_temp_handler() argument
152 u_register_t x2, in imx_src_handler() argument
160 if (x2 != 0U) { in imx_src_handler()
206 u_register_t x2, in imx_buildinfo_handler() argument
[all …]
/arm-trusted-firmware-2.8.0/lib/extensions/amu/aarch64/
A Damu_helpers.S61 adr x2, 1f
76 add x2, x2, x0, lsl #2 /* + "bti j" instruction */
78 br x2
137 adr x2, 1f
152 add x2, x2, x0, lsl #2 /* + "bti j" instruction */
154 br x2
181 adr x2, 1f
200 add x2, x2, x0, lsl #2 /* + "bti j" instruction */
202 br x2
291 br x2
[all …]
/arm-trusted-firmware-2.8.0/plat/st/stm32mp1/services/
A Dbsec_svc.c17 uint32_t bsec_main(uint32_t x1, uint32_t x2, uint32_t x3, in bsec_main() argument
25 result = bsec_read_otp(ret_otp_value, x2); in bsec_main()
29 result = bsec_program_otp(x3, x2); in bsec_main()
33 result = bsec_write_otp(x3, x2); in bsec_main()
37 result = bsec_read_otp(&tmp_data, x2); in bsec_main()
42 result = bsec_shadow_register(x2); in bsec_main()
47 result = bsec_read_otp(ret_otp_value, x2); in bsec_main()
52 result = bsec_write_otp(tmp_data, x2); in bsec_main()
/arm-trusted-firmware-2.8.0/plat/nxp/soc-ls1088a/aarch64/
A Dls1088a.S151 mov x2, x0
158 tst x0, x2
307 lsl x2, x2, x1
311 orr x2, x2, x1
313 orr x2, x2, #ICC_SGI0R_EL1_INTID
565 add x2, x2, x4
1031 add x2, x2, #AUX_01_DATA
1058 add x2, x2, #AUX_01_DATA
1553 sub x2, x2, #1
1579 sub x2, x2, #1
[all …]
/arm-trusted-firmware-2.8.0/plat/imx/common/include/
A Dimx_sip_svc.h53 u_register_t x2, u_register_t x3,
57 u_register_t x2, u_register_t x3);
61 u_register_t x1, u_register_t x2, u_register_t x3);
64 u_register_t x2, u_register_t x3);
69 u_register_t x2, u_register_t x3, void *handle);
74 u_register_t x2, u_register_t x3, u_register_t x4);
79 u_register_t x2, u_register_t x3);
83 u_register_t x2, u_register_t x3);
85 u_register_t x1, u_register_t x2);
87 u_register_t x2, u_register_t x3,
[all …]
/arm-trusted-firmware-2.8.0/lib/cpus/aarch64/
A Dwa_cve_2022_23960_bhb.S16 str x2, [sp, #CTX_GPREGS_OFFSET + CTX_GPREG_X2]
19 mov x2, \_bhb_loop_count
25 subs x2, x2, #1
28 ldr x2, [sp, #CTX_GPREGS_OFFSET + CTX_GPREG_X2]
A Ddenver.S167 cmp x1, x2
187 cmp x1, x2
195 lsl x2, x1, #16
201 lsr x2, x2, #32
203 and x2, x2, x1
204 cbnz x2, 1b
220 mov x2, #0x10000
221 and x1, x1, x2
258 mrs x2, vbar_el3
259 csel x0, x1, x2, ne
[all …]
A Dcpu_helpers.S41 cbz x2, 1f
44 br x2
67 cmp x0, x2
68 csel x2, x2, x0, hi
130 cbz x2, 1f
131 blr x2
158 mrs x2, midr_el1
208 cbz x2, error_exit
209 mov x2, #0
248 csel x0, x2, x3, ls
[all …]
/arm-trusted-firmware-2.8.0/plat/nvidia/tegra/soc/t210/
A Dplat_sip_calls.c43 uint64_t x2, in plat_sip_handler() argument
59 if ((x2 >= TEGRA_PMC_SIZE) || (x2 & 0x3)) in plat_sip_handler()
62 switch (x2) { in plat_sip_handler()
77 ERROR("%s: error offset=0x%" PRIx64 "\n", __func__, x2); in plat_sip_handler()
86 val = mmio_read_32((uint32_t)(TEGRA_PMC_BASE + x2)); in plat_sip_handler()
89 mmio_write_32((uint32_t)(TEGRA_PMC_BASE + x2), (uint32_t)x3); in plat_sip_handler()
/arm-trusted-firmware-2.8.0/plat/nxp/soc-ls1028a/aarch64/
A Dls1028a.S108 mov x2, x0
115 tst x0, x2
256 mov x2, #1
257 lsl x2, x2, x1
262 orr x2, x2, x1
265 orr x2, x2, #ICC_SGI0R_EL1_INTID
422 cmp x2, x3
522 add x2, x2, x4
523 dc cvac, x2
1337 sub x2, x2, #1
[all …]
/arm-trusted-firmware-2.8.0/services/std_svc/
A Dstd_svc_setup.c97 u_register_t x2, in std_svc_smc_handler() argument
108 x2 &= UINT32_MAX; in std_svc_smc_handler()
132 ret = psci_smc_handler(smc_fid, x1, x2, x3, x4, in std_svc_smc_handler()
150 return spm_mm_smc_handler(smc_fid, x1, x2, x3, x4, cookie, in std_svc_smc_handler()
161 return spmd_ffa_smc_handler(smc_fid, x1, x2, x3, x4, cookie, in std_svc_smc_handler()
168 return sdei_smc_handler(smc_fid, x1, x2, x3, x4, cookie, handle, in std_svc_smc_handler()
175 return trng_smc_handler(smc_fid, x1, x2, x3, x4, cookie, handle, in std_svc_smc_handler()
183 return rmmd_rmm_el3_handler(smc_fid, x1, x2, x3, x4, cookie, in std_svc_smc_handler()
188 return rmmd_rmi_handler(smc_fid, x1, x2, x3, x4, cookie, in std_svc_smc_handler()
195 return pci_smc_handler(smc_fid, x1, x2, x3, x4, cookie, handle, in std_svc_smc_handler()
[all …]
/arm-trusted-firmware-2.8.0/plat/mediatek/common/
A Dmtk_sip_svc.c27 u_register_t x2, in mediatek_plat_sip_handler() argument
42 u_register_t x2, in mediatek_sip_handler() argument
52 clean_top_32b_of_param(smc_fid, &x1, &x2, &x3, &x4); in mediatek_sip_handler()
68 (uint32_t)x2); 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()
93 u_register_t x2, in sip_smc_handler() argument
116 return mediatek_sip_handler(smc_fid, x1, x2, x3, x4, in sip_smc_handler()
/arm-trusted-firmware-2.8.0/plat/hisilicon/hikey/aarch64/
A Dhikey_helpers.S48 mov_imm x2, PL011_BAUDRATE
89 ldr x2, =0xf7020000
91 str w1, [x2, #4]
93 str w1, [x2, #8]
95 str w1, [x2, #16]
97 str w1, [x2, #32]
99 mrs x2, currentel
100 and x2, x2, #0xc0
102 cmp x2, #0x04
/arm-trusted-firmware-2.8.0/plat/marvell/armada/common/
A Dmrvl_sip_svc.c75 u_register_t x2, in mrvl_sip_smc_handler() argument
86 __func__, smc_fid, x1, x2, x3); in mrvl_sip_smc_handler()
99 if (x2 >= MAX_LANE_NR) { in mrvl_sip_smc_handler()
101 __func__, smc_fid, x2); in mrvl_sip_smc_handler()
111 ret = mvebu_cp110_comphy_power_on(x1, x2, x3, x5); in mrvl_sip_smc_handler()
115 ret = mvebu_cp110_comphy_power_off(x1, x2, x3); in mrvl_sip_smc_handler()
119 ret = mvebu_cp110_comphy_is_pll_locked(x1, x2); in mrvl_sip_smc_handler()
123 ret = mvebu_cp110_comphy_xfi_rx_training(x1, x2); in mrvl_sip_smc_handler()
150 ret = mvebu_dfx_thermal_handle(x1, &read, x2, x3); in mrvl_sip_smc_handler()
154 ret = mvebu_dfx_misc_handle(x1, &read, x2, x3); in mrvl_sip_smc_handler()
[all …]
/arm-trusted-firmware-2.8.0/plat/hisilicon/hikey960/aarch64/
A Dhikey960_helpers.S52 mov_imm x2, PL011_BAUDRATE
93 ldr x2, =0xf7020000
95 str w1, [x2, #4]
97 str w1, [x2, #8]
99 str w1, [x2, #16]
101 str w1, [x2, #32]
103 mrs x2, currentel
104 and x2, x2, #0x0c
106 cmp x2, #0x04
/arm-trusted-firmware-2.8.0/plat/marvell/armada/a3k/common/
A Da3700_sip_svc.c31 u_register_t x2, in mrvl_sip_smc_handler() argument
41 __func__, smc_fid, x1, x2); in mrvl_sip_smc_handler()
45 __func__, smc_fid, x2); in mrvl_sip_smc_handler()
54 ret = mvebu_3700_comphy_power_on(x1, x2); in mrvl_sip_smc_handler()
58 ret = mvebu_3700_comphy_power_off(x1, x2); in mrvl_sip_smc_handler()
62 ret = mvebu_3700_comphy_is_pll_locked(x1, x2); in mrvl_sip_smc_handler()
/arm-trusted-firmware-2.8.0/lib/pmf/
A Dpmf_smc.c19 u_register_t x2, in pmf_smc_handler() argument
32 x2 = (uint32_t)x2; in pmf_smc_handler()
42 rc = pmf_get_timestamp_smc((unsigned int)x1, x2, in pmf_smc_handler()
55 rc = pmf_get_timestamp_smc((unsigned int)x1, x2, in pmf_smc_handler()
/arm-trusted-firmware-2.8.0/plat/intel/soc/common/
A Dsocfpga_sip_svc_v2.c127 u_register_t x2, in sip_smc_handler_v2() argument
145 status = intel_secure_reg_read(x2, &retval); in sip_smc_handler_v2()
146 SMC_RET4(handle, status, x1, retval, x2); in sip_smc_handler_v2()
149 status = intel_secure_reg_write(x2, (uint32_t)x3, &retval); in sip_smc_handler_v2()
150 SMC_RET4(handle, status, x1, retval, x2); in sip_smc_handler_v2()
153 status = intel_secure_reg_update(x2, (uint32_t)x3, in sip_smc_handler_v2()
155 SMC_RET4(handle, status, x1, retval, x2); in sip_smc_handler_v2()
158 status = intel_hps_set_bridges(x2, x3); in sip_smc_handler_v2()
162 status = intel_v2_mbox_send_cmd(x1, (uint32_t *)x2, x3); in sip_smc_handler_v2()
166 status = intel_v2_mbox_poll_resp(x1, (uint32_t *)x2, in sip_smc_handler_v2()
[all …]
/arm-trusted-firmware-2.8.0/plat/mediatek/mt8195/
A Dplat_sip_calls.c19 u_register_t x2, in mediatek_plat_sip_handler() argument
32 ret = dp_secure_handler(x1, x2, &ret_val); in mediatek_plat_sip_handler()
37 ret = spm_vcorefs_v2_args(x1, x2, x3, &x4); in mediatek_plat_sip_handler()
42 ret = dfd_smc_dispatcher(x1, x2, x3, x4); in mediatek_plat_sip_handler()
47 ret = apusys_kernel_ctrl(x1, x2, x3, x4, &ret_val); in mediatek_plat_sip_handler()
/arm-trusted-firmware-2.8.0/include/lib/pmf/aarch64/
A Dpmf_asm_macros.S21 adr x2, __PMF_PERCPU_TIMESTAMP_END__
23 sub x1, x2, x1
24 mov x2, #(\_tid * PMF_TS_SIZE)
25 madd x0, x0, x1, x2

Completed in 38 milliseconds

12345678910