/optee_os-3.20.0/core/arch/arm/plat-imx/ |
A D | imx_pm.h | 31 paddr_t tee_resume; 34 paddr_t ddrc_pa_base; 36 paddr_t ddrc_phy_pa_base; 38 paddr_t src_pa_base; 40 paddr_t iomuxc_gpr_pa_base; 42 paddr_t ccm_pa_base; 44 paddr_t gpc_pa_base; 46 paddr_t snvs_pa_base; 48 paddr_t anatop_pa_base; 50 paddr_t lpsr_pa_base; [all …]
|
/optee_os-3.20.0/core/arch/arm/include/kernel/ |
A D | tz_ssvce_pl310.h | 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);
|
A D | tee_l2cc_mutex.h | 15 TEE_Result tee_get_l2cc_mutex(paddr_t *mutex); 16 TEE_Result tee_set_l2cc_mutex(paddr_t *mutex); 29 static TEE_Result tee_get_l2cc_mutex(paddr_t *mutex); 30 static TEE_Result tee_set_l2cc_mutex(paddr_t *mutex); 40 static inline TEE_Result tee_get_l2cc_mutex(paddr_t *mutex __unused) in tee_get_l2cc_mutex() 44 static inline TEE_Result tee_set_l2cc_mutex(paddr_t *mutex __unused) in tee_set_l2cc_mutex()
|
/optee_os-3.20.0/core/arch/arm/plat-rcar/ |
A D | romapi.c | 58 extern uint32_t __plat_romapi_wrapper(paddr_t func, uint64_t arg1, 61 static uint32_t __plat_romapi_direct(paddr_t func, uint64_t arg1, in __plat_romapi_direct() 73 static uint32_t plat_call_romapi(paddr_t func, uint64_t arg1, in plat_call_romapi() 76 uint32_t (*fptr)(paddr_t func, uint64_t arg1, uint64_t arg2, in plat_call_romapi() 105 static paddr_t va2pa(void *ptr) in va2pa() 110 return (paddr_t)ptr; in va2pa() 113 static const paddr_t romapi_getrndvector[] = { 124 paddr_t func_addr = romapi_getrndvector[get_api_table_index()]; in plat_rom_getrndvector() 125 paddr_t rndbuff_pa = va2pa(rndbuff); in plat_rom_getrndvector() 126 paddr_t scratch_pa = va2pa(scratch); in plat_rom_getrndvector()
|
/optee_os-3.20.0/core/include/mm/ |
A D | core_memprot.h | 42 core_pbuf_is(CORE_MEM_NON_SEC, (paddr_t)(buf), (len)) 45 core_pbuf_is(CORE_MEM_SEC, (paddr_t)(buf), (len)) 61 bool core_pbuf_is(uint32_t flags, paddr_t pbuf, size_t len); 77 void *phys_to_virt(paddr_t pa, enum teecore_memtypes m, size_t len); 85 void *phys_to_virt_io(paddr_t pa, size_t len); 91 paddr_t virt_to_phys(void *va); 98 vaddr_t core_mmu_get_va(paddr_t pa, enum teecore_memtypes type, size_t len); 104 paddr_t pa;
|
A D | tee_mm.h | 29 paddr_t lo; /* low boundary of the pool */ 53 tee_mm_entry_t *tee_mm_find(const tee_mm_pool_t *pool, paddr_t addr); 61 static inline bool tee_mm_validate(const tee_mm_pool_t *pool, paddr_t addr) in tee_mm_validate() 73 bool tee_mm_init(tee_mm_pool_t *pool, paddr_t lo, paddr_size_t size, 87 tee_mm_entry_t *tee_mm_alloc2(tee_mm_pool_t *pool, paddr_t base, size_t size); 110 bool tee_mm_addr_is_within_range(const tee_mm_pool_t *pool, paddr_t addr);
|
A D | core_mmu.h | 23 #define SMALL_PAGE_MASK ((paddr_t)SMALL_PAGE_SIZE - 1) 30 #define CORE_MMU_PGDIR_MASK ((paddr_t)CORE_MMU_PGDIR_SIZE - 1) 170 paddr_t addr; 280 bool core_mmu_prefer_tee_ram_at_top(paddr_t paddr); 406 paddr_t pa, uint32_t attr); 418 paddr_t pa, uint32_t attr); 421 paddr_t *pa, uint32_t *attr); 431 paddr_t *pa, uint32_t *attr); 464 struct core_mmu_table_info *tbl_info, paddr_t pa) in core_mmu_get_block_offset() 630 bool arch_va2pa_helper(void *va, paddr_t *pa); [all …]
|
A D | mobj.h | 30 paddr_t *pa); 64 size_t granule, paddr_t *pa) in mobj_get_pa() 232 struct mobj *mobj_phys_alloc(paddr_t pa, size_t size, uint32_t cattr, 253 paddr_t pa, unsigned int num_pages); 258 struct mobj *mobj_reg_shm_alloc(paddr_t *pages, size_t num_pages, 259 paddr_t page_offset, uint64_t cookie); 290 struct mobj *mobj_mapped_shm_alloc(paddr_t *pages, size_t num_pages, 291 paddr_t page_offset, uint64_t cookie); 295 static inline struct mobj *mobj_mapped_shm_alloc(paddr_t *pages __unused, in mobj_mapped_shm_alloc() 297 paddr_t page_offset __unused, in mobj_mapped_shm_alloc() [all …]
|
/optee_os-3.20.0/core/include/kernel/ |
A D | tee_misc.h | 45 bool core_is_buffer_inside(paddr_t b, paddr_size_t bl, 46 paddr_t a, paddr_size_t al); 47 bool core_is_buffer_outside(paddr_t b, paddr_size_t bl, 48 paddr_t a, paddr_size_t al); 49 bool core_is_buffer_intersect(paddr_t b, paddr_size_t bl, 50 paddr_t a, paddr_size_t al);
|
A D | dt.h | 26 #define DT_INFO_INVALID_REG ((paddr_t)-1) 47 paddr_t reg; 184 paddr_t _fdt_reg_base_address(const void *fdt, int offs); 256 static inline paddr_t _fdt_reg_base_address(const void *fdt __unused, in _fdt_reg_base_address() 259 return (paddr_t)-1; in _fdt_reg_base_address()
|
A D | msg_param.h | 52 struct mobj *msg_param_mobj_from_noncontig(paddr_t buf_ptr, size_t size, 56 msg_param_mobj_from_noncontig(paddr_t buf_ptr __unused, size_t size __unused, in msg_param_mobj_from_noncontig()
|
/optee_os-3.20.0/core/kernel/ |
A D | msg_param.c | 62 static bool msg_param_extract_pages(paddr_t buffer, paddr_t *pages, in msg_param_extract_pages() 67 paddr_t page; in msg_param_extract_pages() 115 struct mobj *msg_param_mobj_from_noncontig(paddr_t buf_ptr, size_t size, in msg_param_mobj_from_noncontig() 119 paddr_t *pages = NULL; in msg_param_mobj_from_noncontig() 120 paddr_t page_offset = 0; in msg_param_mobj_from_noncontig() 129 if (MUL_OVERFLOW(num_pages, sizeof(paddr_t), &msize)) in msg_param_mobj_from_noncontig()
|
A D | tee_misc.c | 73 static bool is_valid_conf_and_notnull_size(paddr_t b, paddr_size_t bl, in is_valid_conf_and_notnull_size() 74 paddr_t a, paddr_size_t al) in is_valid_conf_and_notnull_size() 86 bool core_is_buffer_inside(paddr_t b, paddr_size_t bl, in core_is_buffer_inside() 87 paddr_t a, paddr_size_t al) in core_is_buffer_inside() 99 bool core_is_buffer_outside(paddr_t b, paddr_size_t bl, in core_is_buffer_outside() 100 paddr_t a, paddr_size_t al) in core_is_buffer_outside() 112 bool core_is_buffer_intersect(paddr_t b, paddr_size_t bl, in core_is_buffer_intersect() 113 paddr_t a, paddr_size_t al) in core_is_buffer_intersect()
|
A D | tpm.c | 26 static int read_dt_tpm_log_info(void *fdt, int node, paddr_t *buf, in read_dt_tpm_log_info() 32 paddr_t log_addr = 0; in read_dt_tpm_log_info() 73 paddr_t *addr, size_t *size) in get_tpm_phys_params() 134 paddr_t log_addr = 0; in tpm_map_log_area()
|
/optee_os-3.20.0/core/include/drivers/ |
A D | gic.h | 39 void gic_init(struct gic_data *gd, paddr_t gicc_base_pa, paddr_t gicd_base_pa); 41 void gic_init_base_addr(struct gic_data *gd, paddr_t gicc_base_pa, 42 paddr_t gicd_base_pa);
|
A D | stm32_etzpc.h | 83 void stm32_etzpc_init(paddr_t base); 85 static inline void stm32_etzpc_init(paddr_t __unused base) {} in stm32_etzpc_init()
|
/optee_os-3.20.0/lib/libutils/ext/include/ |
A D | types_ext.h | 21 typedef uint64_t paddr_t; typedef 27 typedef uintptr_t paddr_t; typedef 35 #define PRIxPA_WIDTH ((int)(sizeof(paddr_t) * 2))
|
/optee_os-3.20.0/core/drivers/ |
A D | lpc_uart.c | 13 static paddr_t chip_to_base(struct serial_chip *chip) in chip_to_base() 21 static void lpc_byte_read(paddr_t addr, uint8_t *data) in lpc_byte_read() 47 static void lpc_byte_write(paddr_t addr, uint8_t data) in lpc_byte_write() 70 static void lpc_uart_core_putc(paddr_t base, int ch) in lpc_uart_core_putc() 92 paddr_t base = chip_to_base(chip); in lpc_uart_putc() 102 void lpc_uart_init(struct lpc_uart_data *pd, paddr_t base, in lpc_uart_init()
|
/optee_os-3.20.0/core/drivers/crypto/caam/hal/common/ |
A D | hal_cfg_dt.c | 33 static paddr_t find_jr_offset(void *fdt, int status, int *find_node) in find_jr_offset() 35 paddr_t jr_offset = 0; in find_jr_offset() 58 paddr_t pctrl_base = 0; in caam_hal_cfg_get_ctrl_dt() 96 paddr_t jr_offset = 0; in caam_hal_cfg_get_jobring_dt()
|
/optee_os-3.20.0/core/drivers/crypto/caam/hal/imx_8q/ |
A D | hal_jr.c | 12 paddr_t jr_offset __unused, in caam_hal_jr_setowner() 29 paddr_t jr_offset __unused) in caam_hal_jr_prepare_backup()
|
/optee_os-3.20.0/core/mm/ |
A D | core_mmu.c | 58 paddr_t paddr; 622 paddr_t pa; in add_phys_mem() 815 paddr_t pa; in dump_xlat_table() 877 paddr_t end = 0; in add_pager_vaspace() 1439 paddr_t p; in core_vbuf_is() 1548 paddr_t pa; in set_region() 1930 paddr_t p = 0; in core_mmu_remove_mapping() 2006 paddr_t p; in core_mmu_add_mapping() 2095 paddr_t p = 0; in check_pa_matches_va() 2175 paddr_t pa = 0; in virt_to_phys() [all …]
|
/optee_os-3.20.0/core/drivers/crypto/caam/ |
A D | caam_desc.c | 50 void caam_desc_add_ptr(uint32_t *desc, paddr_t ptr) in caam_desc_add_ptr() 76 void caam_desc_push(struct caam_inring_entry *in_entry, paddr_t paddr) in caam_desc_push() 85 paddr_t caam_desc_pop(struct caam_outring_entry *out_entry) in caam_desc_pop() 97 void caam_desc_push(struct caam_inring_entry *in_entry, paddr_t paddr) in caam_desc_push() 102 paddr_t caam_desc_pop(struct caam_outring_entry *out_entry) in caam_desc_pop()
|
/optee_os-3.20.0/core/drivers/crypto/caam/hal/ls/ |
A D | hal_jr.c | 14 enum caam_status caam_hal_jr_setowner(vaddr_t ctrl_base, paddr_t jr_offset, in caam_hal_jr_setowner() 33 paddr_t jr_offset __unused) in caam_hal_jr_prepare_backup()
|
/optee_os-3.20.0/core/arch/arm/include/mm/ |
A D | core_mmu_arch.h | 188 TEE_Result cache_op_outer(enum cache_op op, paddr_t pa, size_t len); 191 paddr_t pa __unused, in cache_op_outer() 202 static inline bool core_mmu_check_max_pa(paddr_t pa __maybe_unused) in core_mmu_check_max_pa() 209 COMPILE_TIME_ASSERT(sizeof(paddr_t) == sizeof(uint32_t)); in core_mmu_check_max_pa()
|
/optee_os-3.20.0/core/arch/arm/mm/ |
A D | mobj_dyn_shm.c | 39 paddr_t page_offset; 44 paddr_t pages[]; 51 if (MUL_OVERFLOW(sizeof(paddr_t), nr_pages, &s)) in mobj_reg_shm_size() 67 size_t granule, paddr_t *pa) in mobj_reg_shm_get_pa() 71 paddr_t p = 0; in mobj_reg_shm_get_pa() 296 struct mobj *mobj_reg_shm_alloc(paddr_t *pages, size_t num_pages, in mobj_reg_shm_alloc() 297 paddr_t page_offset, uint64_t cookie) in mobj_reg_shm_alloc() 433 struct mobj *mobj_mapped_shm_alloc(paddr_t *pages, size_t num_pages, in mobj_mapped_shm_alloc() 434 paddr_t page_offset, uint64_t cookie) in mobj_mapped_shm_alloc()
|