Home
last modified time | relevance | path

Searched refs:regs (Results 1 – 25 of 26) sorted by relevance

12

/optee_os-3.20.0/core/arch/arm/kernel/
A Dabort.c161 ai->regs->r0, ai->regs->r4, ai->regs->r8, ai->regs->ip); in __print_abort_info()
163 ai->regs->r1, ai->regs->r5, ai->regs->r9, sp); in __print_abort_info()
165 ai->regs->r2, ai->regs->r6, ai->regs->r10, lr); in __print_abort_info()
167 ai->regs->r3, ai->regs->r7, ai->regs->r11, ai->pc); in __print_abort_info()
176 ai->regs->x0, ai->regs->x1); in __print_abort_info()
178 ai->regs->x2, ai->regs->x3); in __print_abort_info()
180 ai->regs->x4, ai->regs->x5); in __print_abort_info()
182 ai->regs->x6, ai->regs->x7); in __print_abort_info()
184 ai->regs->x8, ai->regs->x9); in __print_abort_info()
297 ai->regs = regs; in set_abort_info()
[all …]
A Dstmm_sp.c145 spc->regs.x[0] = a0; in init_stmm_regs()
146 spc->regs.x[1] = a1; in init_stmm_regs()
147 spc->regs.sp = sp; in init_stmm_regs()
148 spc->regs.pc = pc; in init_stmm_regs()
167 spc->regs.r0 = a0; in init_stmm_regs()
168 spc->regs.r1 = a1; in init_stmm_regs()
171 spc->regs.pc = pc; in init_stmm_regs()
432 spc->regs.x[5] = 0; in stmm_enter_invoke_cmd()
442 spc->regs.r5 = 0; in stmm_enter_invoke_cmd()
443 spc->regs.r6 = 0; in stmm_enter_invoke_cmd()
[all …]
A Dthread.c289 regs->r0 = a0; in copy_a0_to_a3()
290 regs->r1 = a1; in copy_a0_to_a3()
291 regs->r2 = a2; in copy_a0_to_a3()
292 regs->r3 = a3; in copy_a0_to_a3()
304 regs->x[0] = a0; in copy_a0_to_a3()
305 regs->x[1] = a1; in copy_a0_to_a3()
955 regs->r0 = a0; in set_ctx_regs()
956 regs->r1 = a1; in set_ctx_regs()
957 regs->r2 = a2; in set_ctx_regs()
958 regs->r3 = a3; in set_ctx_regs()
[all …]
A Dldelf_loader.c225 arg->arm32.regs[0] = tsd->abort_regs.r0; in ldelf_dump_state()
226 arg->arm32.regs[1] = tsd->abort_regs.r1; in ldelf_dump_state()
227 arg->arm32.regs[2] = tsd->abort_regs.r2; in ldelf_dump_state()
228 arg->arm32.regs[3] = tsd->abort_regs.r3; in ldelf_dump_state()
229 arg->arm32.regs[4] = tsd->abort_regs.r4; in ldelf_dump_state()
230 arg->arm32.regs[5] = tsd->abort_regs.r5; in ldelf_dump_state()
231 arg->arm32.regs[6] = tsd->abort_regs.r6; in ldelf_dump_state()
232 arg->arm32.regs[7] = tsd->abort_regs.r7; in ldelf_dump_state()
233 arg->arm32.regs[8] = tsd->abort_regs.r8; in ldelf_dump_state()
234 arg->arm32.regs[9] = tsd->abort_regs.r9; in ldelf_dump_state()
[all …]
A Dvfp_private.h11 void vfp_save_extension_regs(struct vfp_reg regs[VFP_NUM_REGS]);
12 void vfp_restore_extension_regs(struct vfp_reg regs[VFP_NUM_REGS]);
A Dsecure_partition.c1042 static void sp_svc_store_registers(struct thread_svc_regs *regs, in sp_svc_store_registers() argument
1045 COMPILE_TIME_ASSERT(sizeof(sp_regs->x[0]) == sizeof(regs->x0)); in sp_svc_store_registers()
1046 memcpy(sp_regs->x, &regs->x0, 31 * sizeof(regs->x0)); in sp_svc_store_registers()
1047 sp_regs->pc = regs->elr; in sp_svc_store_registers()
1048 sp_regs->sp = regs->sp_el0; in sp_svc_store_registers()
1052 static bool sp_handle_svc(struct thread_svc_regs *regs) in sp_handle_svc() argument
1060 sp_svc_store_registers(regs, &uctx->sp_regs); in sp_handle_svc()
1062 regs->x0 = 0; in sp_handle_svc()
1063 regs->x1 = 0; /* panic */ in sp_handle_svc()
1064 regs->x2 = 0; /* panic code */ in sp_handle_svc()
/optee_os-3.20.0/core/drivers/
A Dls_i2c.c121 struct i2c_regs *regs = NULL; in i2c_init() local
154 regs = (struct i2c_regs *)ctrl_base; in i2c_init()
261 io_read8((vaddr_t)&regs->ibdr); in i2c_read()
273 io_setbits8((vaddr_t)&regs->ibcr, in i2c_read()
277 io_clrbits8((vaddr_t)&regs->ibcr, in i2c_read()
279 res = i2c_bus_test_bus_busy(regs, in i2c_read()
304 io_write8((vaddr_t)&regs->ibdr, in i2c_write()
330 reg = io_read8((vaddr_t)&regs->ibsr); in i2c_stop()
333 io_clrbits8((vaddr_t)&regs->ibcr, in i2c_stop()
386 res = i2c_start(regs); in i2c_bus_xfer()
[all …]
/optee_os-3.20.0/core/arch/arm/tee/
A Darch_svc.c200 *scn = regs->r7; in get_scn_max_args()
201 *max_args = regs->r6; in get_scn_max_args()
211 *scn = regs->x7; in get_scn_max_args()
212 *max_args = regs->x6; in get_scn_max_args()
214 *scn = regs->x8; in get_scn_max_args()
223 regs->r0 = ret_val; in set_svc_retval()
230 regs->x0 = ret_val; in set_svc_retval()
269 set_svc_retval(regs, tee_svc_do_call(regs, scf)); in user_ta_handle_svc()
315 set_svc_retval(regs, tee_svc_do_call(regs, scf)); in ldelf_handle_svc()
473 regs->r1 = panic; in tee_svc_sys_return_helper()
[all …]
A Darch_svc_private.h17 uint32_t tee_svc_do_call(struct thread_svc_regs *regs, syscall_t func);
/optee_os-3.20.0/core/arch/arm/include/tee/
A Darch_svc.h12 bool user_ta_handle_svc(struct thread_svc_regs *regs);
15 bool ldelf_handle_svc(struct thread_svc_regs *regs);
25 struct thread_svc_regs *regs);
/optee_os-3.20.0/core/drivers/crypto/caam/
A Dcaam_pwr.c19 void caam_pwr_add_backup(vaddr_t baseaddr, const struct reglist *regs, in caam_pwr_add_backup() argument
33 nbregs += regs[idx].nbregs; in caam_pwr_add_backup()
37 newelem->regs = regs; in caam_pwr_add_backup()
65 reg = elem->regs; in do_save_regs()
95 reg = elem->regs; in do_restore_regs()
/optee_os-3.20.0/core/include/kernel/
A Dabort.h25 struct thread_abort_regs *regs; member
33 void abort_handler(uint32_t abort_type, struct thread_abort_regs *regs);
A Dts_manager.h34 bool (*handle_svc)(struct thread_svc_regs *regs);
53 bool (*handle_svc)(struct thread_svc_regs *regs);
A Dthread_private.h36 struct thread_ctx_regs regs; member
/optee_os-3.20.0/core/drivers/crypto/caam/include/
A Dcaam_pwr.h36 const struct reglist *regs; /* Register list */ member
49 void caam_pwr_add_backup(vaddr_t baseaddr, const struct reglist *regs,
/optee_os-3.20.0/core/arch/arm/include/kernel/
A Dthread_private_arch.h141 void thread_resume(struct thread_ctx_regs *regs);
143 uint32_t __thread_enter_user_mode(struct thread_ctx_regs *regs,
239 void thread_svc_handler(struct thread_svc_regs *regs);
A Dstmm_sp.h137 struct thread_ctx_regs regs; member
/optee_os-3.20.0/ldelf/
A Dta_elf.h134 void ta_elf_stack_trace_a32(uint32_t regs[16]);
137 static inline void ta_elf_stack_trace_a32(uint32_t regs[16] __unused) { } in ta_elf_stack_trace_a32()
A Dmain.c44 ta_elf_stack_trace_a32(arg->arm32.regs); in dump_ta_state()
/optee_os-3.20.0/core/arch/arm/include/sm/
A Dsm.h125 void sm_save_unbanked_regs(struct sm_unbanked_regs *regs);
126 void sm_restore_unbanked_regs(struct sm_unbanked_regs *regs);
/optee_os-3.20.0/ldelf/include/
A Dldelf.h55 uint32_t regs[16]; member
/optee_os-3.20.0/core/mm/
A Dvm.c560 struct vm_region_head regs = TAILQ_HEAD_INITIALIZER(regs); in vm_remap() local
591 TAILQ_INSERT_TAIL(&regs, r, link); in vm_remap()
600 r_first = TAILQ_FIRST(&regs); in vm_remap()
601 while (!TAILQ_EMPTY(&regs)) { in vm_remap()
602 r = TAILQ_FIRST(&regs); in vm_remap()
603 TAILQ_REMOVE(&regs, r, link); in vm_remap()
638 TAILQ_INSERT_HEAD(&regs, r, link); in vm_remap()
649 TAILQ_INSERT_HEAD(&regs, r, link); in vm_remap()
666 while (!TAILQ_EMPTY(&regs)) { in vm_remap()
667 r = TAILQ_FIRST(&regs); in vm_remap()
[all …]
/optee_os-3.20.0/core/arch/arm/dts/
A Dfsl-lx2160a.dtsi964 reg-names = "regs", "addr_space";
1001 reg-names = "regs", "addr_space";
1038 reg-names = "regs", "addr_space";
1076 reg-names = "regs", "addr_space";
1113 reg-names = "regs", "addr_space";
1151 reg-names = "regs", "addr_space";
/optee_os-3.20.0/core/kernel/
A Dthread.c512 return &threads[l->curr_thread].regs; in thread_get_ctx_regs()
/optee_os-3.20.0/core/arch/arm/
A Darm.mk187 arm64-platform-cflags-no-hard-float ?= -mgeneral-regs-only

Completed in 37 milliseconds

12