Home
last modified time | relevance | path

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

12345678910>>...21

/optee_os/core/arch/arm/kernel/
A Dabort.c160 ai->regs->r0, ai->regs->r4, ai->regs->r8, ai->regs->ip); in __print_abort_info()
162 ai->regs->r1, ai->regs->r5, ai->regs->r9, sp); in __print_abort_info()
164 ai->regs->r2, ai->regs->r6, ai->regs->r10, lr); in __print_abort_info()
166 ai->regs->r3, ai->regs->r7, ai->regs->r11, ai->pc); in __print_abort_info()
175 ai->regs->x0, ai->regs->x1); in __print_abort_info()
177 ai->regs->x2, ai->regs->x3); in __print_abort_info()
179 ai->regs->x4, ai->regs->x5); in __print_abort_info()
181 ai->regs->x6, ai->regs->x7); in __print_abort_info()
183 ai->regs->x8, ai->regs->x9); in __print_abort_info()
296 ai->regs = regs; in set_abort_info()
[all …]
A Dstmm_sp.c135 spc->regs.x[0] = a0; in init_stmm_regs()
136 spc->regs.x[1] = a1; in init_stmm_regs()
137 spc->regs.sp = sp; in init_stmm_regs()
138 spc->regs.pc = pc; in init_stmm_regs()
157 spc->regs.r0 = a0; in init_stmm_regs()
158 spc->regs.r1 = a1; in init_stmm_regs()
161 spc->regs.pc = pc; in init_stmm_regs()
421 spc->regs.x[5] = 0; in stmm_enter_invoke_cmd()
431 spc->regs.r5 = 0; in stmm_enter_invoke_cmd()
432 spc->regs.r6 = 0; in stmm_enter_invoke_cmd()
[all …]
A Dthread.c600 regs->r0 = a0; in copy_a0_to_a3()
601 regs->r1 = a1; in copy_a0_to_a3()
602 regs->r2 = a2; in copy_a0_to_a3()
603 regs->r3 = a3; in copy_a0_to_a3()
615 regs->x[0] = a0; in copy_a0_to_a3()
616 regs->x[1] = a1; in copy_a0_to_a3()
1446 regs->r0 = a0; in set_ctx_regs()
1447 regs->r1 = a1; in set_ctx_regs()
1448 regs->r2 = a2; in set_ctx_regs()
1449 regs->r3 = a3; in set_ctx_regs()
[all …]
A Dldelf_loader.c224 arg->arm32.regs[0] = tsd->abort_regs.r0; in ldelf_dump_state()
225 arg->arm32.regs[1] = tsd->abort_regs.r1; in ldelf_dump_state()
226 arg->arm32.regs[2] = tsd->abort_regs.r2; in ldelf_dump_state()
227 arg->arm32.regs[3] = tsd->abort_regs.r3; in ldelf_dump_state()
228 arg->arm32.regs[4] = tsd->abort_regs.r4; in ldelf_dump_state()
229 arg->arm32.regs[5] = tsd->abort_regs.r5; in ldelf_dump_state()
230 arg->arm32.regs[6] = tsd->abort_regs.r6; in ldelf_dump_state()
231 arg->arm32.regs[7] = tsd->abort_regs.r7; in ldelf_dump_state()
232 arg->arm32.regs[8] = tsd->abort_regs.r8; in ldelf_dump_state()
233 arg->arm32.regs[9] = tsd->abort_regs.r9; in ldelf_dump_state()
[all …]
A Dsecure_partition.c445 static void sp_svc_store_registers(struct thread_svc_regs *regs, in sp_svc_store_registers() argument
448 COMPILE_TIME_ASSERT(sizeof(sp_regs->x[0]) == sizeof(regs->x0)); in sp_svc_store_registers()
449 memcpy(sp_regs->x, &regs->x0, 31 * sizeof(regs->x0)); in sp_svc_store_registers()
450 sp_regs->pc = regs->elr; in sp_svc_store_registers()
451 sp_regs->sp = regs->sp_el0; in sp_svc_store_registers()
455 static bool sp_handle_svc(struct thread_svc_regs *regs) in sp_handle_svc() argument
463 sp_svc_store_registers(regs, &uctx->sp_regs); in sp_handle_svc()
465 regs->x0 = 0; in sp_handle_svc()
466 regs->x1 = 0; /* panic */ in sp_handle_svc()
467 regs->x2 = 0; /* panic code */ in sp_handle_svc()
A Dthread_private.h57 struct thread_ctx_regs regs; member
143 void thread_resume(struct thread_ctx_regs *regs);
145 uint32_t __thread_enter_user_mode(struct thread_ctx_regs *regs,
245 void thread_svc_handler(struct thread_svc_regs *regs);
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]);
/optee_os/core/drivers/
A Dls_i2c.c121 struct i2c_regs *regs = NULL; in i2c_init() local
153 regs = (struct i2c_regs *)ctrl_base; in i2c_init()
260 io_read8((vaddr_t)&regs->ibdr); in i2c_read()
272 io_setbits8((vaddr_t)&regs->ibcr, in i2c_read()
276 io_clrbits8((vaddr_t)&regs->ibcr, in i2c_read()
278 res = i2c_bus_test_bus_busy(regs, in i2c_read()
303 io_write8((vaddr_t)&regs->ibdr, in i2c_write()
329 reg = io_read8((vaddr_t)&regs->ibsr); in i2c_stop()
332 io_clrbits8((vaddr_t)&regs->ibcr, in i2c_stop()
385 res = i2c_start(regs); in i2c_bus_xfer()
[all …]
/optee_os/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/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/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/core/arch/arm/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 Dstmm_sp.h137 struct thread_ctx_regs regs; member
/optee_os/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/core/include/kernel/
A Dts_manager.h34 bool (*handle_svc)(struct thread_svc_regs *regs);
50 bool (*handle_svc)(struct thread_svc_regs *regs);
/optee_os/ldelf/
A Dta_elf.h116 void ta_elf_stack_trace_a32(uint32_t regs[16]);
119 static inline void ta_elf_stack_trace_a32(uint32_t regs[16] __unused) { } in ta_elf_stack_trace_a32()
/optee_os/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/core/mm/
A Dvm.c523 struct vm_region_head regs = TAILQ_HEAD_INITIALIZER(regs); in vm_remap() local
554 TAILQ_INSERT_TAIL(&regs, r, link); in vm_remap()
563 r_first = TAILQ_FIRST(&regs); in vm_remap()
564 while (!TAILQ_EMPTY(&regs)) { in vm_remap()
565 r = TAILQ_FIRST(&regs); in vm_remap()
566 TAILQ_REMOVE(&regs, r, link); in vm_remap()
596 TAILQ_INSERT_HEAD(&regs, r, link); in vm_remap()
605 TAILQ_INSERT_HEAD(&regs, r, link); in vm_remap()
622 while (!TAILQ_EMPTY(&regs)) { in vm_remap()
623 r = TAILQ_FIRST(&regs); in vm_remap()
[all …]
/optee_os/ldelf/include/
A Dldelf.h55 uint32_t regs[16]; member
/optee_os/out/arm/ldelf/
A D.ta_elf.o.cmd1 …ta-sections -pipe -g3 -fpie -mstrict-align -mno-outline-atomics -mgeneral-regs-only -fpie -fvisibi…
A D.ta_elf_rel.o.cmd1 …ta-sections -pipe -g3 -fpie -mstrict-align -mno-outline-atomics -mgeneral-regs-only -fpie -fvisibi…
A D.dl.o.cmd1 …ta-sections -pipe -g3 -fpie -mstrict-align -mno-outline-atomics -mgeneral-regs-only -fpie -fvisibi…
A D.main.o.cmd1 …ta-sections -pipe -g3 -fpie -mstrict-align -mno-outline-atomics -mgeneral-regs-only -fpie -fvisibi…
A D.sys.o.cmd1 …ta-sections -pipe -g3 -fpie -mstrict-align -mno-outline-atomics -mgeneral-regs-only -fpie -fvisibi…

Completed in 29 milliseconds

12345678910>>...21