Home
last modified time | relevance | path

Searched refs:paddr_t (Results 1 – 25 of 124) sorted by relevance

12345

/optee_os/core/arch/arm/plat-imx/
A Dimx_pm.h31 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/core/arch/arm/plat-rcar/
A Dromapi.c58 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/core/include/mm/
A Dcore_memprot.h42 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 Dtee_mm.h29 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 Dmobj.h30 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,
255 paddr_t pa, unsigned int num_pages);
260 struct mobj *mobj_reg_shm_alloc(paddr_t *pages, size_t num_pages,
261 paddr_t page_offset, uint64_t cookie);
292 struct mobj *mobj_mapped_shm_alloc(paddr_t *pages, size_t num_pages,
293 paddr_t page_offset, uint64_t cookie);
297 static inline struct mobj *mobj_mapped_shm_alloc(paddr_t *pages __unused, in mobj_mapped_shm_alloc()
299 paddr_t page_offset __unused, in mobj_mapped_shm_alloc()
[all …]
/optee_os/core/arch/arm/include/kernel/
A Dtz_ssvce_pl310.h20 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 Dtee_l2cc_mutex.h15 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/core/include/kernel/
A Dtee_misc.h45 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 Ddt.h26 #define DT_INFO_INVALID_REG ((paddr_t)-1)
47 paddr_t reg;
171 paddr_t _fdt_reg_base_address(const void *fdt, int offs);
212 static inline paddr_t _fdt_reg_base_address(const void *fdt __unused, in _fdt_reg_base_address()
215 return (paddr_t)-1; in _fdt_reg_base_address()
/optee_os/core/kernel/
A Dtee_misc.c71 static bool is_valid_conf_and_notnull_size(paddr_t b, paddr_size_t bl, in is_valid_conf_and_notnull_size()
72 paddr_t a, paddr_size_t al) in is_valid_conf_and_notnull_size()
84 bool core_is_buffer_inside(paddr_t b, paddr_size_t bl, in core_is_buffer_inside()
85 paddr_t a, paddr_size_t al) in core_is_buffer_inside()
97 bool core_is_buffer_outside(paddr_t b, paddr_size_t bl, in core_is_buffer_outside()
98 paddr_t a, paddr_size_t al) in core_is_buffer_outside()
110 bool core_is_buffer_intersect(paddr_t b, paddr_size_t bl, in core_is_buffer_intersect()
111 paddr_t a, paddr_size_t al) in core_is_buffer_intersect()
A Dmsg_param.c62 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 Dtpm.c26 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()
68 paddr_t *addr, size_t *size) in get_tpm_phys_params()
122 paddr_t log_addr = 0; in tpm_map_log_area()
/optee_os/core/arch/arm/include/mm/
A Dcore_mmu.h23 #define SMALL_PAGE_MASK ((paddr_t)SMALL_PAGE_SIZE - 1)
37 #define CORE_MMU_PGDIR_MASK ((paddr_t)CORE_MMU_PGDIR_SIZE - 1)
210 paddr_t addr;
345 bool core_mmu_place_tee_ram_at_top(paddr_t paddr);
506 paddr_t pa, uint32_t attr);
518 paddr_t pa, uint32_t attr);
521 paddr_t *pa, uint32_t *attr);
531 paddr_t *pa, uint32_t *attr);
564 struct core_mmu_table_info *tbl_info, paddr_t pa) in core_mmu_get_block_offset()
635 enum teecore_memtypes core_mmu_get_type_by_pa(paddr_t pa);
[all …]
/optee_os/core/arch/arm/mm/
A Dcore_mmu_private.h26 static inline bool core_mmu_check_max_pa(paddr_t pa __maybe_unused) in core_mmu_check_max_pa()
33 COMPILE_TIME_ASSERT(sizeof(paddr_t) == sizeof(uint32_t)); in core_mmu_check_max_pa()
38 static inline bool core_mmu_check_end_pa(paddr_t pa, size_t len) in core_mmu_check_end_pa()
40 paddr_t end_pa = 0; in core_mmu_check_end_pa()
A Dcore_mmu.c63 paddr_t paddr;
558 paddr_t pa; in add_phys_mem()
739 paddr_t pa; in dump_xlat_table()
798 paddr_t end = 0; in add_pager_vaspace()
1329 paddr_t p; in core_vbuf_is()
1540 paddr_t pa; in set_region()
1923 paddr_t p = 0; in core_mmu_remove_mapping()
1999 paddr_t p; in core_mmu_add_mapping()
2154 paddr_t p = 0; in check_pa_matches_va()
2233 paddr_t pa = 0; in virt_to_phys()
[all …]
A Dmobj_dyn_shm.c39 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()
A Dtee_mm.c38 bool tee_mm_init(tee_mm_pool_t *pool, paddr_t lo, paddr_size_t size, in tee_mm_init()
42 paddr_t initial_lo = lo; in tee_mm_init()
228 paddr_t offslo, paddr_t offshi) in fit_in_gap()
248 tee_mm_entry_t *tee_mm_alloc2(tee_mm_pool_t *pool, paddr_t base, size_t size) in tee_mm_alloc2()
251 paddr_t offslo; in tee_mm_alloc2()
252 paddr_t offshi; in tee_mm_alloc2()
335 bool tee_mm_addr_is_within_range(const tee_mm_pool_t *pool, paddr_t addr) in tee_mm_addr_is_within_range()
365 tee_mm_entry_t *tee_mm_find(const tee_mm_pool_t *pool, paddr_t addr) in tee_mm_find()
/optee_os/out/arm/export-ta_arm32/host_include/
A Dtypes_ext.h21 typedef uint64_t paddr_t; typedef
27 typedef uintptr_t paddr_t; typedef
35 #define PRIxPA_WIDTH ((int)(sizeof(paddr_t) * 2))
/optee_os/out/arm/export-ta_arm64/host_include/
A Dtypes_ext.h21 typedef uint64_t paddr_t; typedef
27 typedef uintptr_t paddr_t; typedef
35 #define PRIxPA_WIDTH ((int)(sizeof(paddr_t) * 2))
/optee_os/out/arm/export-ta_arm64/include/
A Dtypes_ext.h21 typedef uint64_t paddr_t; typedef
27 typedef uintptr_t paddr_t; typedef
35 #define PRIxPA_WIDTH ((int)(sizeof(paddr_t) * 2))
/optee_os/lib/libutils/ext/include/
A Dtypes_ext.h21 typedef uint64_t paddr_t; typedef
27 typedef uintptr_t paddr_t; typedef
35 #define PRIxPA_WIDTH ((int)(sizeof(paddr_t) * 2))
/optee_os/out/arm/export-ta_arm32/include/
A Dtypes_ext.h21 typedef uint64_t paddr_t; typedef
27 typedef uintptr_t paddr_t; typedef
35 #define PRIxPA_WIDTH ((int)(sizeof(paddr_t) * 2))
/optee_os/core/drivers/crypto/caam/hal/common/
A Dhal_cfg_dt.c33 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/core/drivers/crypto/caam/
A Dcaam_desc.c50 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/core/mm/
A Dmobj.c40 paddr_t pa;
56 size_t granule, paddr_t *pa) in mobj_phys_get_pa()
59 paddr_t p; in mobj_phys_get_pa()
182 struct mobj *mobj_phys_alloc(paddr_t pa, size_t size, uint32_t cattr, in mobj_phys_alloc()
265 size_t granule, paddr_t *pa) in mobj_mm_get_pa()
347 paddr_t pa;
365 size_t granule, paddr_t *pa) in mobj_shm_get_pa()
368 paddr_t p; in mobj_shm_get_pa()
429 struct mobj *mobj_shm_alloc(paddr_t pa, size_t size, uint64_t cookie) in mobj_shm_alloc()
640 size_t granule, paddr_t *pa) in mobj_with_fobj_get_pa()
[all …]

Completed in 27 milliseconds

12345