/optee_os-3.20.0/core/drivers/crypto/caam/include/ |
A D | caam_hal_jr.h | 29 enum caam_status caam_hal_jr_reset(vaddr_t baseaddr); 54 void caam_hal_jr_add_newjob(vaddr_t baseaddr); 61 uint32_t caam_hal_jr_get_nbjob_done(vaddr_t baseaddr); 68 void caam_hal_jr_del_job(vaddr_t baseaddr); 75 void caam_hal_jr_disable_itr(vaddr_t baseaddr); 82 void caam_hal_jr_enable_itr(vaddr_t baseaddr); 89 bool caam_hal_jr_check_ack_itr(vaddr_t baseaddr); 97 enum caam_status caam_hal_jr_halt(vaddr_t baseaddr); 111 void caam_hal_jr_resume(vaddr_t baseaddr); 119 uint8_t caam_hal_jr_input_index(vaddr_t baseaddr); [all …]
|
A D | caam_hal_ctrl.h | 17 void caam_hal_ctrl_init(vaddr_t baseaddr); 24 uint8_t caam_hal_ctrl_jrnum(vaddr_t baseaddr); 32 uint8_t caam_hal_ctrl_hash_limit(vaddr_t baseaddr); 39 uint8_t caam_hal_ctrl_pknum(vaddr_t baseaddr); 46 bool caam_hal_ctrl_splitkey_support(vaddr_t baseaddr); 53 uint8_t caam_hal_ctrl_era(vaddr_t baseaddr); 60 void caam_hal_ctrl_inc_priblob(vaddr_t baseaddr);
|
A D | caam_hal_rng.h | 19 enum caam_status caam_hal_rng_instantiated(vaddr_t baseaddr); 26 uint32_t caam_hal_rng_get_nb_sh(vaddr_t baseaddr); 33 uint32_t caam_hal_rng_get_sh_status(vaddr_t baseaddr); 40 bool caam_hal_rng_key_loaded(vaddr_t baseaddr); 48 enum caam_status caam_hal_rng_kick(vaddr_t baseaddr, uint32_t inc_delay);
|
A D | caam_cipher.h | 18 enum caam_status caam_cipher_init(vaddr_t ctrl_addr); 20 static inline enum caam_status caam_cipher_init(vaddr_t ctrl_addr __unused) in caam_cipher_init() 31 enum caam_status caam_cmac_init(vaddr_t ctrl_addr); 33 static inline enum caam_status caam_cmac_init(vaddr_t ctrl_addr __unused) in caam_cmac_init()
|
/optee_os-3.20.0/core/kernel/ |
A D | asan.c | 41 static vaddr_t asan_va_base; 47 vaddr_t sa = ((vaddr_t)va / ASAN_BLOCK_SIZE) + CFG_ASAN_SHADOW_OFFSET; in va_to_shadow() 54 return ((vaddr_t)end - (vaddr_t)begin) / ASAN_BLOCK_SIZE; in va_range_to_shadow_size() 59 vaddr_t b = (vaddr_t)begin; in va_range_inside_shadow() 60 vaddr_t e = (vaddr_t)end; in va_range_inside_shadow() 69 vaddr_t b = (vaddr_t)begin; in va_range_outside_shadow() 70 vaddr_t e = (vaddr_t)end; in va_range_outside_shadow() 79 return (vaddr_t)va & ASAN_BLOCK_MASK; in va_misalignment() 89 vaddr_t b = (vaddr_t)begin; in asan_set_shadowed() 90 vaddr_t e = (vaddr_t)end; in asan_set_shadowed() [all …]
|
/optee_os-3.20.0/core/drivers/ |
A D | ls_sec_mon.c | 88 vaddr_t ctrl_base = 0; in ls_sec_mon_init() 124 data->hplr = io_read32((vaddr_t)&sec_mon_regs->hplr); in ls_sec_mon_read() 125 data->hpcomr = io_read32((vaddr_t)&sec_mon_regs->hpcomr); in ls_sec_mon_read() 126 data->hpsicr = io_read32((vaddr_t)&sec_mon_regs->hpsicr); in ls_sec_mon_read() 127 data->hpsvcr = io_read32((vaddr_t)&sec_mon_regs->hpsvcr); in ls_sec_mon_read() 128 data->hpsr = io_read32((vaddr_t)&sec_mon_regs->hpsr); in ls_sec_mon_read() 129 data->hpsvsr = io_read32((vaddr_t)&sec_mon_regs->hpsvsr); in ls_sec_mon_read() 131 data->hphacr = io_read32((vaddr_t)&sec_mon_regs->hphacr); in ls_sec_mon_read() 132 data->lplr = io_read32((vaddr_t)&sec_mon_regs->lplr); in ls_sec_mon_read() 133 data->lpcr = io_read32((vaddr_t)&sec_mon_regs->lpcr); in ls_sec_mon_read() [all …]
|
A D | ls_i2c.c | 81 void i2c_reset(vaddr_t base) in i2c_reset() 126 vaddr_t ctrl_base = 0; in i2c_init() 160 io_write8((vaddr_t)®s->ibfd, ibfd); in i2c_init() 178 reg = io_read8((vaddr_t)®s->ibsr); in i2c_bus_test_bus_busy() 211 reg = io_read8((vaddr_t)®s->ibsr); in i2c_transfer_complete() 261 io_read8((vaddr_t)®s->ibdr); in i2c_read() 273 io_setbits8((vaddr_t)®s->ibcr, in i2c_read() 277 io_clrbits8((vaddr_t)®s->ibcr, in i2c_read() 304 io_write8((vaddr_t)®s->ibdr, in i2c_write() 330 reg = io_read8((vaddr_t)®s->ibsr); in i2c_stop() [all …]
|
A D | ls_sfp.c | 91 vaddr_t ctrl_base = 0; in ls_sfp_init() 154 vaddr_t sfp_ingr_va = (vaddr_t)&sfp_regs->ingr; in ls_sfp_program_fuses() 212 data->ingr = io_read32((vaddr_t)&sfp_regs->ingr); in ls_sfp_read() 214 data->sfpcr = io_read32((vaddr_t)&sfp_regs->sfpcr); in ls_sfp_read() 216 data->ospr0 = io_read32((vaddr_t)&sfp_regs->ospr0); in ls_sfp_read() 217 data->ospr1 = io_read32((vaddr_t)&sfp_regs->ospr1); in ls_sfp_read() 218 data->dcvr0 = io_read32((vaddr_t)&sfp_regs->dcvr0); in ls_sfp_read() 219 data->dcvr1 = io_read32((vaddr_t)&sfp_regs->dcvr1); in ls_sfp_read() 341 ospr1 = io_read32((vaddr_t)&sfp_regs->ospr1); in ls_sfp_set_debug_level() 361 ospr0 = io_read32((vaddr_t)&sfp_regs->ospr0); in ls_sfp_set_its_wp() [all …]
|
A D | tzc380.c | 48 vaddr_t base; 55 static uint32_t tzc_read_build_config(vaddr_t base) in tzc_read_build_config() 65 static uint32_t tzc_read_action(vaddr_t base) in tzc_read_action() 93 void tzc_init(vaddr_t base) in tzc_init() 114 void tzc_security_inversion_en(vaddr_t base) in tzc_security_inversion_en() 141 vaddr_t base __maybe_unused = core_mmu_get_va(tzc.base, in tzc_fail_dump() 161 static uint32_t addr_low(vaddr_t addr) in addr_low() 166 static uint32_t addr_high(vaddr_t addr __maybe_unused) in addr_high() 221 int tzc_auto_configure(vaddr_t addr, vaddr_t size, uint32_t attr, in tzc_auto_configure() 228 vaddr_t sub_address = 0; in tzc_auto_configure() [all …]
|
/optee_os-3.20.0/core/arch/arm/kernel/ |
A D | unwind_arm32.c | 48 bool find_exidx(vaddr_t addr __unused, vaddr_t *idx_start, vaddr_t *idx_end) in find_exidx() 50 *idx_start = (vaddr_t)__exidx_start; in find_exidx() 51 *idx_end = (vaddr_t)__exidx_end; in find_exidx() 55 vaddr_t *unw_get_kernel_stack(void) in unw_get_kernel_stack() 60 vaddr_t *tmp = NULL; in unw_get_kernel_stack() 61 vaddr_t *addr = NULL; in unw_get_kernel_stack() 63 vaddr_t stack = thread_stack_start(); in unw_get_kernel_stack() 66 if (SUB_OVERFLOW((vaddr_t)__exidx_end, (vaddr_t)__exidx_start, in unw_get_kernel_stack() 85 tmp = unw_grow(addr, &size, (n + 1) * sizeof(vaddr_t)); in unw_get_kernel_stack() 111 vaddr_t stack_start = 0; in print_kernel_stack() [all …]
|
A D | unwind_arm64.c | 49 vaddr_t *unw_get_kernel_stack(void) in unw_get_kernel_stack() 53 vaddr_t *tmp = NULL; in unw_get_kernel_stack() 54 vaddr_t *addr = NULL; in unw_get_kernel_stack() 63 tmp = unw_grow(addr, &size, (n + 1) * sizeof(vaddr_t)); in unw_get_kernel_stack() 72 tmp = unw_grow(addr, &size, (n + 1) * sizeof(vaddr_t)); in unw_get_kernel_stack() 90 vaddr_t stack_start = 0; in print_kernel_stack() 91 vaddr_t stack_end = 0; in print_kernel_stack()
|
/optee_os-3.20.0/lib/libunw/include/unw/ |
A D | unwind.h | 44 vaddr_t insn; 57 vaddr_t stack, size_t stack_size); 60 vaddr_t stack, size_t stack_size); 63 vaddr_t stack __unused, in unwind_stack_arm32() 70 vaddr_t stack __unused, in print_stack_arm32() 80 bool find_exidx(vaddr_t addr, vaddr_t *idx_start, vaddr_t *idx_end); 96 vaddr_t stack, size_t stack_size); 99 vaddr_t stack, size_t stack_size); 102 vaddr_t stack __unused, in unwind_stack_arm64() 109 vaddr_t stack __unused, in print_stack_arm64()
|
/optee_os-3.20.0/core/arch/arm/include/kernel/ |
A D | tz_ssvce_pl310.h | 13 vaddr_t pl310_base(void); 17 void arm_cl2_cleaninvbyway(vaddr_t pl310_base); 18 void arm_cl2_invbyway(vaddr_t pl310_base); 19 void arm_cl2_cleanbyway(vaddr_t pl310_base); 20 void arm_cl2_cleanbypa(vaddr_t pl310_base, paddr_t start, paddr_t end); 21 void arm_cl2_invbypa(vaddr_t pl310_base, paddr_t start, paddr_t end); 22 void arm_cl2_cleaninvbypa(vaddr_t pl310_base, paddr_t start, paddr_t end);
|
/optee_os-3.20.0/core/drivers/pm/sam/ |
A D | at91_pm.h | 23 vaddr_t shdwc; 24 vaddr_t securam; 25 vaddr_t secumod; 26 vaddr_t sfrbu; 27 vaddr_t pmc; 28 vaddr_t ramc;
|
/optee_os-3.20.0/core/include/mm/ |
A D | tee_pager.h | 33 bool tee_pager_get_table_info(vaddr_t va, struct core_mmu_table_info *ti); 63 vaddr_t tee_pager_init_iv_region(struct fobj *fobj); 86 void tee_pager_add_core_region(vaddr_t base, enum vm_paged_region_type type, 107 vaddr_t base __unused, struct fobj *fobj __unused, in tee_pager_add_um_region() 130 vaddr_t base __unused, size_t size __unused, in tee_pager_set_um_region_attr() 138 void tee_pager_rem_um_region(struct user_mode_ctx *uctx, vaddr_t base, 142 vaddr_t base __unused, in tee_pager_rem_um_region() 153 vaddr_t va __unused) in tee_pager_split_um_region() 160 void tee_pager_merge_um_region(struct user_mode_ctx *uctx, vaddr_t va, 165 vaddr_t va __unused, size_t len __unused) in tee_pager_merge_um_region() [all …]
|
A D | vm.h | 29 TEE_Result vm_map_pad(struct user_mode_ctx *uctx, vaddr_t *va, size_t len, 39 static inline TEE_Result vm_map(struct user_mode_ctx *uctx, vaddr_t *va, in vm_map() 46 TEE_Result vm_remap(struct user_mode_ctx *uctx, vaddr_t *new_va, vaddr_t old_va, 49 TEE_Result vm_get_flags(struct user_mode_ctx *uctx, vaddr_t va, size_t len, 52 TEE_Result vm_get_prot(struct user_mode_ctx *uctx, vaddr_t va, size_t len, 55 TEE_Result vm_set_prot(struct user_mode_ctx *uctx, vaddr_t va, size_t len, 58 TEE_Result vm_unmap(struct user_mode_ctx *uctx, vaddr_t va, size_t len); 70 vaddr_t *va); 71 void vm_rem_rwmem(struct user_mode_ctx *uctx, struct mobj *mobj, vaddr_t va); 106 struct mobj *vm_get_mobj(struct user_mode_ctx *uctx, vaddr_t va, size_t *len,
|
/optee_os-3.20.0/core/arch/arm/plat-rockchip/ |
A D | psci_rk322x.c | 66 vaddr_t va_base = (vaddr_t)phys_to_virt_io(CRU_BASE, CRU_SIZE); in clks_disable() 78 vaddr_t va_base = (vaddr_t)phys_to_virt_io(CRU_BASE, CRU_SIZE); in clks_restore() 87 vaddr_t va_base = (vaddr_t)phys_to_virt_io(CRU_BASE, CRU_SIZE); in pll_power_down() 95 vaddr_t va_base = (vaddr_t)phys_to_virt_io(CRU_BASE, CRU_SIZE); in pll_power_up() 103 vaddr_t va_base = (vaddr_t)phys_to_virt_io(CRU_BASE, CRU_SIZE); in pll_wait_lock() 123 vaddr_t va_base = (vaddr_t)phys_to_virt_io(CRU_BASE, CRU_SIZE); in plls_power_down() 158 vaddr_t va_base = (vaddr_t)phys_to_virt_io(CRU_BASE, CRU_SIZE); in plls_restore() 206 vaddr_t va_base = (vaddr_t)phys_to_virt_io(GRF_BASE, GRF_SIZE); in wait_core_wfe_i() 221 vaddr_t va_base = (vaddr_t)phys_to_virt_io(CRU_BASE, CRU_SIZE); in core_held_in_reset() 325 vaddr_t va_base = (vaddr_t)phys_to_virt_io(GRF_BASE, GRF_SIZE); in psci_affinity_info() [all …]
|
/optee_os-3.20.0/core/arch/arm/plat-imx/ |
A D | imx_pm.h | 28 vaddr_t va_base; /* va of pm_info */ 35 vaddr_t ddrc_va_base; 37 vaddr_t ddrc_phy_va_base; 39 vaddr_t src_va_base; 41 vaddr_t iomuxc_gpr_va_base; 43 vaddr_t ccm_va_base; 45 vaddr_t gpc_va_base; 47 vaddr_t snvs_va_base; 49 vaddr_t anatop_va_base; 51 vaddr_t lpsr_va_base; [all …]
|
/optee_os-3.20.0/ldelf/ |
A D | ta_elf.h | 34 vaddr_t load_addr; 35 vaddr_t max_addr; 36 vaddr_t max_offs; 38 vaddr_t ehdr_addr; 41 vaddr_t e_entry; 42 vaddr_t e_phoff; 43 vaddr_t e_shoff; 71 vaddr_t exidx_start; 78 vaddr_t tls_start; 87 vaddr_t prop_start; [all …]
|
/optee_os-3.20.0/core/include/ |
A D | io.h | 23 static inline void io_write8(vaddr_t addr, uint8_t val) in io_write8() 28 static inline void io_write16(vaddr_t addr, uint16_t val) in io_write16() 33 static inline void io_write32(vaddr_t addr, uint32_t val) in io_write32() 38 static inline void io_write64(vaddr_t addr, uint64_t val) in io_write64() 43 static inline uint8_t io_read8(vaddr_t addr) in io_read8() 48 static inline uint16_t io_read16(vaddr_t addr) in io_read16() 53 static inline uint32_t io_read32(vaddr_t addr) in io_read32() 58 static inline uint64_t io_read64(vaddr_t addr) in io_read64() 228 static inline void io_setbits32(vaddr_t addr, uint32_t set_mask) in io_setbits32() 244 static inline void io_setbits16(vaddr_t addr, uint16_t set_mask) in io_setbits16() [all …]
|
/optee_os-3.20.0/core/drivers/crypto/caam/hal/common/ |
A D | hal_jr.c | 29 enum caam_status caam_hal_jr_reset(vaddr_t baseaddr) in caam_hal_jr_reset() 124 void caam_hal_jr_add_newjob(vaddr_t baseaddr) in caam_hal_jr_add_newjob() 134 void caam_hal_jr_del_job(vaddr_t baseaddr) in caam_hal_jr_del_job() 140 void caam_hal_jr_disable_itr(vaddr_t baseaddr) in caam_hal_jr_disable_itr() 146 void caam_hal_jr_enable_itr(vaddr_t baseaddr) in caam_hal_jr_enable_itr() 156 bool caam_hal_jr_check_ack_itr(vaddr_t baseaddr) in caam_hal_jr_check_ack_itr() 171 enum caam_status caam_hal_jr_halt(vaddr_t baseaddr) in caam_hal_jr_halt() 201 enum caam_status caam_hal_jr_flush(vaddr_t baseaddr) in caam_hal_jr_flush() 231 void caam_hal_jr_resume(vaddr_t baseaddr) in caam_hal_jr_resume() 238 uint8_t caam_hal_jr_input_index(vaddr_t baseaddr) in caam_hal_jr_input_index() [all …]
|
/optee_os-3.20.0/core/drivers/bnxt/ |
A D | bnxt_images.c | 24 int chip_type, vaddr_t src, vaddr_t dst); 33 static int verify_header(vaddr_t mem) in verify_header() 44 int chip_type, vaddr_t src, vaddr_t dst) in set_bnxt_images_info() 85 vaddr_t ddr_dest) in get_bnxt_images_info() 87 vaddr_t flash_dev_vaddr = 0; in get_bnxt_images_info() 100 flash_dev_vaddr = (vaddr_t) in get_bnxt_images_info() 111 (vaddr_t)phys_to_virt(QSPI_BSPD_ADDR, in get_bnxt_images_info()
|
/optee_os-3.20.0/core/arch/arm/plat-ti/ |
A D | ti_pl310.c | 17 vaddr_t pl310_base(void) in pl310_base() 25 return (vaddr_t)va; in pl310_base() 32 void arm_cl2_config(vaddr_t pl310_base) in arm_cl2_config() 38 void arm_cl2_enable(vaddr_t pl310_base) in arm_cl2_enable()
|
/optee_os-3.20.0/core/arch/arm/plat-sunxi/ |
A D | psci.c | 72 vaddr_t base = (vaddr_t)phys_to_virt(SUNXI_PRCM_BASE, MEM_AREA_IO_SEC, in psci_cpu_on() 74 vaddr_t cpucfg = (vaddr_t)phys_to_virt(SUNXI_CPUCFG_BASE, in psci_cpu_on() 135 vaddr_t base = (vaddr_t)phys_to_virt(SUNXI_PRCM_BASE, MEM_AREA_IO_SEC, in psci_cpu_off() 137 vaddr_t cpucfg = (vaddr_t)phys_to_virt(SUNXI_CPUCFG_BASE, in psci_cpu_off()
|
/optee_os-3.20.0/core/include/drivers/ |
A D | stm32_shared_io.h | 16 void io_clrsetbits32_stm32shregs(vaddr_t va, uint32_t clr, uint32_t set); 17 void io_mask32_stm32shregs(vaddr_t va, uint32_t value, uint32_t mask); 19 static inline void io_setbits32_stm32shregs(vaddr_t va, uint32_t value) in io_setbits32_stm32shregs() 24 static inline void io_clrbits32_stm32shregs(vaddr_t va, uint32_t value) in io_clrbits32_stm32shregs()
|