Home
last modified time | relevance | path

Searched defs:regs (Results 1 – 21 of 21) sorted by relevance

/optee_os/core/drivers/
H A Dls_i2c.c83 struct i2c_regs *regs = (struct i2c_regs *)base; in i2c_reset() local
99 struct i2c_regs *regs = (struct i2c_regs *)base; in i2c_get_ibfd() local
121 struct i2c_regs *regs = NULL; in i2c_init() local
172 static TEE_Result i2c_bus_test_bus_busy(struct i2c_regs *regs, bool test_busy) in i2c_bus_test_bus_busy()
205 static TEE_Result i2c_transfer_complete(struct i2c_regs *regs, bool test_rx_ack) in i2c_transfer_complete()
240 static TEE_Result i2c_read(struct i2c_regs *regs, unsigned int slave_address, in i2c_read()
297 static TEE_Result i2c_write(struct i2c_regs *regs, unsigned int slave_address, in i2c_write()
325 static TEE_Result i2c_stop(struct i2c_regs *regs) in i2c_stop()
350 static TEE_Result i2c_start(struct i2c_regs *regs) in i2c_start()
377 struct i2c_regs *regs = (struct i2c_regs *)base; in i2c_bus_xfer() local
/optee_os/core/arch/riscv/include/kernel/
H A Darch_scall.h13 static inline void scall_get_max_args(struct thread_scall_regs *regs, in scall_get_max_args()
20 static inline void scall_set_retval(struct thread_scall_regs *regs, in scall_set_retval()
26 static inline void scall_set_sys_return_regs(struct thread_scall_regs *regs, in scall_set_sys_return_regs()
/optee_os/core/arch/arm/include/kernel/
H A Darch_scall.h13 static inline void scall_get_max_args(struct thread_scall_regs *regs, in scall_get_max_args()
32 static inline void scall_set_retval(struct thread_scall_regs *regs, in scall_set_retval()
43 static inline void scall_set_sys_return_regs(struct thread_scall_regs *regs, in scall_set_sys_return_regs()
H A Dstmm_sp.h137 struct thread_ctx_regs regs; member
/optee_os/core/kernel/
H A Dscall.c206 bool scall_handle_user_ta(struct thread_scall_regs *regs) in scall_handle_user_ta()
253 bool scall_handle_ldelf(struct thread_scall_regs *regs) in scall_handle_ldelf()
286 struct thread_scall_regs *regs) in scall_sys_return_helper()
/optee_os/core/arch/arm/kernel/
H A Darch_scall.c45 void scall_save_panic_stack(struct thread_scall_regs *regs) in scall_save_panic_stack()
117 void scall_save_panic_stack(struct thread_scall_regs *regs) in scall_save_panic_stack()
H A Dstmm_sp.c598 struct thread_scall_regs *regs) in save_sp_ctx()
614 struct thread_scall_regs *regs) in save_sp_ctx()
631 struct thread_scall_regs *regs) in return_from_sp_helper()
646 static void service_compose_direct_resp(struct thread_scall_regs *regs, in service_compose_direct_resp()
784 static void spm_eret_error(int32_t error_code, struct thread_scall_regs *regs) in spm_eret_error()
797 static void stmm_handle_storage_service(struct thread_scall_regs *regs) in stmm_handle_storage_service()
833 static void spm_handle_direct_req(struct thread_scall_regs *regs) in spm_handle_direct_req()
845 static void spm_handle_get_mem_attr(struct thread_scall_regs *regs) in spm_handle_get_mem_attr()
889 static void spm_handle_set_mem_attr(struct thread_scall_regs *regs) in spm_handle_set_mem_attr()
939 static bool spm_handle_scall(struct thread_scall_regs *regs) in spm_handle_scall()
H A Dabort.c289 static void set_abort_info(uint32_t abort_type, struct thread_abort_regs *regs, in set_abort_info()
314 struct thread_abort_regs *regs, struct abort_info *ai) in set_abort_info()
556 void abort_handler(uint32_t abort_type, struct thread_abort_regs *regs) in abort_handler()
H A Dthread.c283 static void copy_a0_to_a3(struct thread_ctx_regs *regs, uint32_t a0, in copy_a0_to_a3()
298 static void copy_a0_to_a3(struct thread_ctx_regs *regs, uint32_t a0, in copy_a0_to_a3()
357 static bool is_user_mode(struct thread_ctx_regs *regs) in is_user_mode()
943 static void set_ctx_regs(struct thread_ctx_regs *regs, unsigned long a0, in set_ctx_regs()
1011 struct thread_ctx_regs *regs = NULL; in thread_enter_user_mode() local
1066 static void setup_unwind_user_mode(struct thread_scall_regs *regs) in setup_unwind_user_mode()
1099 void __weak thread_scall_handler(struct thread_scall_regs *regs) in thread_scall_handler()
H A Dsecure_partition.c1851 static void sp_svc_store_registers(struct thread_scall_regs *regs, in sp_svc_store_registers()
1861 static bool sp_handle_scall(struct thread_scall_regs *regs) in sp_handle_scall()
/optee_os/core/arch/riscv/kernel/
H A Dthread_arch.c99 static void setup_unwind_user_mode(struct thread_scall_regs *regs) in setup_unwind_user_mode()
121 void thread_scall_handler(struct thread_scall_regs *regs) in thread_scall_handler()
156 void thread_native_interrupt_handler(struct thread_ctx_regs *regs, in thread_native_interrupt_handler()
275 static void copy_a0_to_a3(struct thread_ctx_regs *regs, uint32_t a0, in copy_a0_to_a3()
315 static bool is_user_mode(struct thread_ctx_regs *regs) in is_user_mode()
501 static void set_ctx_regs(struct thread_ctx_regs *regs, unsigned long a0, in set_ctx_regs()
532 struct thread_ctx_regs *regs = NULL; in thread_enter_user_mode() local
H A Dabort.c200 struct thread_abort_regs *regs, in set_abort_info()
350 void abort_handler(uint32_t abort_type, struct thread_abort_regs *regs) in abort_handler()
H A Darch_scall.c53 void scall_save_panic_stack(struct thread_scall_regs *regs) in scall_save_panic_stack()
/optee_os/lib/libmbedtls/mbedtls/library/
H A Daesni.c446 #define AESDEC(regs) ".byte 0x66,0x0F,0x38,0xDE," regs "\n\t" argument
447 #define AESDECLAST(regs) ".byte 0x66,0x0F,0x38,0xDF," regs "\n\t" argument
448 #define AESENC(regs) ".byte 0x66,0x0F,0x38,0xDC," regs "\n\t" argument
449 #define AESENCLAST(regs) ".byte 0x66,0x0F,0x38,0xDD," regs "\n\t" argument
450 #define AESIMC(regs) ".byte 0x66,0x0F,0x38,0xDB," regs "\n\t" argument
451 #define AESKEYGENA(regs, imm) ".byte 0x66,0x0F,0x3A,0xDF," regs "," imm "\n\t" argument
452 #define PCLMULQDQ(regs, imm) ".byte 0x66,0x0F,0x3A,0x44," regs "," imm "\n\t" argument
/optee_os/core/include/kernel/
H A Dabort.h25 struct thread_abort_regs *regs; member
H A Dthread_private.h36 struct thread_ctx_regs regs; member
/optee_os/core/drivers/crypto/caam/include/
H A Dcaam_pwr.h36 const struct reglist *regs; /* Register list */ member
/optee_os/core/drivers/crypto/caam/
H A Dcaam_pwr.c22 void caam_pwr_add_backup(vaddr_t baseaddr, const struct reglist *regs, in caam_pwr_add_backup()
/optee_os/ldelf/include/
H A Dldelf.h57 uint32_t regs[16]; member
/optee_os/core/drivers/crypto/hisilicon/
H A Dhisi_qm.c857 const struct qm_dfx_registers *regs = qm_dfx_regs; in qm_dfx_dump() local
/optee_os/core/mm/
H A Dvm.c559 struct vm_region_head regs = TAILQ_HEAD_INITIALIZER(regs); in vm_remap() local