Home
last modified time | relevance | path

Searched refs:map (Results 1 – 25 of 32) sorted by relevance

12

/optee_os/core/arch/arm/kernel/
A Dvirtualization.c99 if (!map) in prepare_memory_map()
102 memcpy(map, kmemory_map, sizeof(*map) * entries); in prepare_memory_map()
108 map[i].attr = core_mmu_type_to_attr(map[i].type); in prepare_memory_map()
111 if (map[i].va + map[i].size > max_va) in prepare_memory_map()
112 max_va = map[i].va + map[i].size; in prepare_memory_map()
117 map[entries] = map[entries - 1]; in prepare_memory_map()
132 map[i].region_size, map[i].pa, map[i].va, in prepare_memory_map()
133 map[i].size, map[i].attr); in prepare_memory_map()
134 return map; in prepare_memory_map()
151 for (map = memory_map; map->type != MEM_AREA_END; map++) { in virt_init_memory()
[all …]
A Dlink.mk24 link-ldflags += -T $(link-script-pp) -Map=$(link-out-dir)/tee.map
171 cleanfiles += $(link-out-dir)/tee.elf $(link-out-dir)/tee.map
/optee_os/core/arch/arm/mm/
A Dcore_mmu.c208 return (pa >= map->pa && end_pa <= map->pa + map->size - 1); in pa_is_in_map()
215 return (va >= map->va && va <= (map->va + map->size - 1)); in va_is_in_map()
255 if ((a >= map->va) && (a <= (map->va - 1 + map->size))) in find_map_by_va()
267 if ((pa >= map->pa) && (pa <= (map->pa + map->size - 1))) in find_map_by_pa()
345 map->pa, map->size)) { in check_phys_mem_is_outside()
349 map->type, map->pa, map->size); in check_phys_mem_is_outside()
728 (paddr_t)(map->pa + map->size - 1), map->size, in dump_mmap_table()
939 for (map = memory_map; !core_mmap_is_end_of_table(map); map++) in assign_mem_va()
1072 for (map = memory_map; !core_mmap_is_end_of_table(map); map++) in mem_map_add_id_map()
1381 *e = map->va + map->size; in core_mmu_get_mem_by_type()
[all …]
A Dcore_mmu_lpae.c950 map->asid = uctx->vm_info.asid; in core_mmu_create_user_map()
1143 map->user_map = *entry; in core_mmu_get_user_map()
1144 if (map->user_map) { in core_mmu_get_user_map()
1148 map->asid = 0; in core_mmu_get_user_map()
1170 if (map && map->user_map) { in core_mmu_set_user_map()
1172 *entries[i] = map->user_map; in core_mmu_set_user_map()
1229 map->user_map = *entry; in core_mmu_get_user_map()
1230 if (map->user_map) { in core_mmu_get_user_map()
1234 map->asid = 0; in core_mmu_get_user_map()
1256 if (map && map->user_map) { in core_mmu_set_user_map()
[all …]
A Dcore_mmu_v7.c490 struct core_mmu_user_map *map) in core_mmu_create_user_map() argument
499 map->ttbr0 = core_mmu_get_ul1_ttb_pa(get_prtn()) | in core_mmu_create_user_map()
501 map->ctxid = uctx->vm_info.asid; in core_mmu_create_user_map()
646 void core_mmu_get_user_map(struct core_mmu_user_map *map) in core_mmu_get_user_map() argument
648 map->ttbr0 = read_ttbr0(); in core_mmu_get_user_map()
649 map->ctxid = read_contextidr(); in core_mmu_get_user_map()
652 void core_mmu_set_user_map(struct core_mmu_user_map *map) in core_mmu_set_user_map() argument
664 if (map) { in core_mmu_set_user_map()
665 write_ttbr0(map->ttbr0); in core_mmu_set_user_map()
667 write_contextidr(map->ctxid); in core_mmu_set_user_map()
/optee_os/core/arch/arm/plat-imx/pm/
A Dpm-imx7.c95 struct tee_mmap_region map; in pm_imx7_iram_tbl_init() local
110 map.pa = phys_addr[i]; in pm_imx7_iram_tbl_init()
115 map.type = MEM_AREA_IO_SEC; in pm_imx7_iram_tbl_init()
124 map.va = (vaddr_t)phys_to_virt(map.pa, MEM_AREA_TEE_COHERENT, in pm_imx7_iram_tbl_init()
126 map.region_size = CORE_MMU_PGDIR_SIZE; in pm_imx7_iram_tbl_init()
127 map.size = CORE_MMU_PGDIR_SIZE; in pm_imx7_iram_tbl_init()
128 map.type = MEM_AREA_TEE_COHERENT; in pm_imx7_iram_tbl_init()
132 map.pa = GIC_BASE; in pm_imx7_iram_tbl_init()
134 map.region_size = CORE_MMU_PGDIR_SIZE; in pm_imx7_iram_tbl_init()
135 map.size = CORE_MMU_PGDIR_SIZE; in pm_imx7_iram_tbl_init()
[all …]
/optee_os/core/lib/zlib/
A Dzconf.h529 #pragma map(deflateInit_,"DEIN")
530 #pragma map(deflateInit2_,"DEIN2")
531 #pragma map(deflateEnd,"DEEND")
532 #pragma map(deflateBound,"DEBND")
533 #pragma map(inflateInit_,"ININ")
534 #pragma map(inflateInit2_,"ININ2")
535 #pragma map(inflateEnd,"INEND")
536 #pragma map(inflateSync,"INSY")
538 #pragma map(compressBound,"CMBND")
539 #pragma map(inflate_table,"INTABL")
[all …]
/optee_os/core/lib/libtomcrypt/src/misc/base32/
A Dbase32_decode.c32 const unsigned char *map; in base32_decode() local
89 map = tables[id]; in base32_decode()
94 if (c < '0' || c > 'Z' || map[c-'0'] > 31) { in base32_decode()
97 t = (t<<5) | map[c-'0']; in base32_decode()
/optee_os/core/lib/libtomcrypt/src/misc/base64/
A Dbase64_decode.c87 const unsigned char *map, int mode) in _base64_decode_internal() argument
102 c = map[(unsigned char)in[x]&0xFF]; in _base64_decode_internal()
137 if (((y + g) != 4) && (mode == strict) && (map != map_base64url)) return CRYPT_INVALID_PACKET; in _base64_decode_internal()
/optee_os/core/arch/arm/dts/
A Dstm32mp157c-ed1.dts36 no-map;
42 no-map;
48 no-map;
54 no-map;
60 no-map;
66 no-map;
71 no-map;
A Dfsl-lx2160a.dtsi938 iommu-map = <0 &smmu 0 1>; /* This is fixed-up by u-boot */
940 interrupt-map-mask = <0 0 0 7>;
975 iommu-map = <0 &smmu 0 1>; /* This is fixed-up by u-boot */
977 interrupt-map-mask = <0 0 0 7>;
1012 iommu-map = <0 &smmu 0 1>; /* This is fixed-up by u-boot */
1014 interrupt-map-mask = <0 0 0 7>;
1052 interrupt-map-mask = <0 0 0 7>;
1089 interrupt-map-mask = <0 0 0 7>;
1127 interrupt-map-mask = <0 0 0 7>;
1254 /* iommu-map property is fixed up by u-boot */
[all …]
A Dstm32mp15xx-dkx.dtsi24 no-map;
30 no-map;
36 no-map;
42 no-map;
48 no-map;
54 no-map;
59 no-map;
/optee_os/core/drivers/crypto/se050/core/
A Decc.c156 } map[] = { in ecc_prepare_msg() local
165 for (i = 0; i < ARRAY_SIZE(map); i++) { in ecc_prepare_msg()
166 if (algo == map[i].algo) in ecc_prepare_msg()
170 if (i >= ARRAY_SIZE(map)) in ecc_prepare_msg()
173 if (*msg_len >= map[i].len) { in ecc_prepare_msg()
175 *msg_len = map[i].len; in ecc_prepare_msg()
180 *msg_padded = calloc(1, map[i].len); in ecc_prepare_msg()
185 *msg_len = map[i].len; in ecc_prepare_msg()
/optee_os/core/arch/arm/plat-stm/
A D.gitignore1 System.map
/optee_os/ldelf/
A Dlink.mk11 cleanfiles += $(link-out-dir$(sm))/ldelf.map
17 link-ldflags += -Map=$(link-out-dir$(sm))/ldelf.map
/optee_os/core/lib/libtomcrypt/src/pk/ecc/
A Dltc_ecc_mulmod_timing.c32 int ltc_ecc_mulmod(void *k, const ecc_point *G, ecc_point *R, void *a, void *modulus, int map) in ltc_ecc_mulmod() argument
139 if (map) { in ltc_ecc_mulmod()
A Dltc_ecc_mulmod.c33 int ltc_ecc_mulmod(void *k, const ecc_point *G, ecc_point *R, void *a, void *modulus, int map) in ltc_ecc_mulmod() argument
189 if (map) { in ltc_ecc_mulmod()
/optee_os/core/mm/
A Dmobj.c144 struct tee_mmap_region *map = NULL; in mobj_phys_init() local
155 map = core_mmu_find_mapping_exclusive(area_type, size); in mobj_phys_init()
156 if (!map) in mobj_phys_init()
159 pa = map->pa; in mobj_phys_init()
160 va = (void *)map->va; in mobj_phys_init()
/optee_os/core/arch/arm/include/mm/
A Dcore_mmu.h447 struct core_mmu_user_map *map);
452 void core_mmu_get_user_map(struct core_mmu_user_map *map);
461 void core_mmu_set_user_map(struct core_mmu_user_map *map);
/optee_os/ta/arch/arm/
A Dlink.mk24 cleanfiles += $(link-out-dir$(sm))/$(user-ta-uuid).map
31 link-ldflags += -Map=$(link-out-dir$(sm))/$(user-ta-uuid).map
/optee_os/out/arm/export-ta_arm32/mk/
A Dlink.mk24 cleanfiles += $(link-out-dir$(sm))/$(user-ta-uuid).map
31 link-ldflags += -Map=$(link-out-dir$(sm))/$(user-ta-uuid).map
/optee_os/out/arm/export-ta_arm64/mk/
A Dlink.mk24 cleanfiles += $(link-out-dir$(sm))/$(user-ta-uuid).map
31 link-ldflags += -Map=$(link-out-dir$(sm))/$(user-ta-uuid).map
/optee_os/core/lib/libtomcrypt/src/math/fp/
A Dltc_ecc_fp_mulmod.c779 static int _accel_fp_mul(int idx, void *k, ecc_point *R, void *a, void *modulus, void *mp, int map) in _accel_fp_mul() argument
892 if (map) { in _accel_fp_mul()
1229 int ltc_ecc_fp_mulmod(void *k, ecc_point *G, ecc_point *R, void *a, void *modulus, int map) in ltc_ecc_fp_mulmod() argument
1281 err = _accel_fp_mul(idx, k, R, a, modulus, mp, map); in ltc_ecc_fp_mulmod()
1283 err = ltc_ecc_mulmod(k, G, R, a, modulus, map); in ltc_ecc_fp_mulmod()
/optee_os/core/lib/libtomcrypt/src/headers/
A Dtomcrypt_math.h396 int map);
A Dtomcrypt_private.h286 int ltc_ecc_fp_mulmod(void *k, ecc_point *G, ecc_point *R, void *a, void *modulus, int map);
299 int ltc_ecc_mulmod(void *k, const ecc_point *G, ecc_point *R, void *a, void *modulus, int map);

Completed in 76 milliseconds

12