Home
last modified time | relevance | path

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

12

/optee_os/core/arch/arm/dts/
H A Dstm32mp257f-dk-ca35tdcid-resmem.dtsi15 no-map;
20 no-map;
25 no-map;
30 no-map;
35 no-map;
40 no-map;
45 no-map;
50 no-map;
55 no-map;
61 no-map;
[all …]
H A Dstm32mp257f-ev1-ca35tdcid-resmem.dtsi15 no-map;
20 no-map;
25 no-map;
30 no-map;
35 no-map;
40 no-map;
45 no-map;
51 no-map;
57 no-map;
62 no-map;
[all …]
H A Dstm32mp235f-dk-ca35tdcid-resmem.dtsi15 no-map;
20 no-map;
25 no-map;
30 no-map;
35 no-map;
40 no-map;
45 no-map;
50 no-map;
55 no-map;
61 no-map;
[all …]
H A Dstm32mp15xx-dhcor-som.dtsi32 no-map;
38 no-map;
44 no-map;
50 no-map;
56 no-map;
62 no-map;
H A Dstm32mp157c-ed1.dts36 no-map;
42 no-map;
48 no-map;
54 no-map;
60 no-map;
66 no-map;
72 no-map;
77 no-map;
H A Dhikey.dts18 no-map;
H A Dfsl-lx2160a.dtsi956 iommu-map = <0 &smmu 0 1>; /* This is fixed-up by u-boot */
958 interrupt-map-mask = <0 0 0 7>;
959 interrupt-map = <0000 0 0 1 &gic 0 0 GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>,
993 iommu-map = <0 &smmu 0 1>; /* This is fixed-up by u-boot */
995 interrupt-map-mask = <0 0 0 7>;
996 interrupt-map = <0000 0 0 1 &gic 0 0 GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>,
1030 iommu-map = <0 &smmu 0 1>; /* This is fixed-up by u-boot */
1032 interrupt-map-mask = <0 0 0 7>;
1033 interrupt-map = <0000 0 0 1 &gic 0 0 GIC_SPI 119 IRQ_TYPE_LEVEL_HIGH>,
1068 iommu-map = <0 &smmu 0 1>; /* This is fixed-up by u-boot */
[all …]
H A Dstm32mp231.dtsi265 st,mem-map = <0x0 0x42000000 0x0 0x2000>;
273 st,mem-map = <0x0 0x60000000 0x0 0x10000000>;
282 st,mem-map = <0x0 0x80000000 0x1 0x00000000>;
290 st,mem-map = <0xa000000 0x20000>;
298 st,mem-map = <0xa020000 0x20000>;
306 st,mem-map = <0xa040000 0x20000>;
314 st,mem-map = <0xa060000 0x20000>;
322 st,mem-map = <0xa080000 0x20000>;
330 st,mem-map = <0xa0a0000 0x20000>;
H A Dstm32mp251.dtsi309 st,mem-map = <0x0 0x42000000 0x0 0x2000>;
317 st,mem-map = <0x0 0x60000000 0x0 0x10000000>;
326 st,mem-map = <0x0 0x80000000 0x1 0x00000000>;
334 st,mem-map = <0x0 0x10000000 0x0 0x10000000>;
343 st,mem-map = <0xa000000 0x20000>;
351 st,mem-map = <0xa020000 0x20000>;
359 st,mem-map = <0xa040000 0x20000>;
367 st,mem-map = <0xa060000 0x20000>;
375 st,mem-map = <0xa080000 0x20000>;
383 st,mem-map = <0xa0a0000 0x20000>;
H A Dstm32mp15xx-dkx.dtsi24 no-map;
30 no-map;
36 no-map;
42 no-map;
48 no-map;
54 no-map;
60 no-map;
65 no-map;
H A Dstm32mp15xx-dhcom-som.dtsi33 no-map;
39 no-map;
45 no-map;
51 no-map;
57 no-map;
63 no-map;
/optee_os/core/mm/
H A Dcore_mmu.c125 struct tee_mmap_region *old = mem_map->map; in heap_realloc_memory_map()
133 mem_map->map = m; in heap_realloc_memory_map()
140 struct tee_mmap_region *old = mem_map->map; in boot_mem_realloc_memory_map()
146 mem_map->map = m; in boot_mem_realloc_memory_map()
190 struct memory_map *map = virt_get_memory_map(); in get_memory_map() local
192 if (map) in get_memory_map()
193 return map; in get_memory_map()
227 static bool pa_is_in_map(struct tee_mmap_region *map, paddr_t pa, size_t len) in pa_is_in_map() argument
231 if (!map) in pa_is_in_map()
237 return (pa >= map->pa && end_pa <= map->pa + map->size - 1); in pa_is_in_map()
[all …]
H A Dmobj.c141 struct tee_mmap_region *map = NULL; in mobj_phys_init() local
152 map = core_mmu_find_mapping_exclusive(area_type, size); in mobj_phys_init()
153 if (!map) in mobj_phys_init()
156 pa = map->pa; in mobj_phys_init()
157 va = (void *)map->va; in mobj_phys_init()
/optee_os/core/arch/arm/kernel/
H A Dvirtualization.c116 struct tee_mmap_region *map = NULL; in prepare_memory_map() local
129 mem_map->map = nex_calloc(kmem_map->count + 1, sizeof(*mem_map->map)); in prepare_memory_map()
130 if (!mem_map->map) in prepare_memory_map()
135 memcpy(mem_map->map, kmem_map->map, in prepare_memory_map()
136 sizeof(*mem_map->map) * mem_map->count); in prepare_memory_map()
140 map = mem_map->map + n; in prepare_memory_map()
141 if (map->va == (vaddr_t)(VCORE_UNPG_RW_PA)) { in prepare_memory_map()
142 map->type = MEM_AREA_TEE_RAM_RW; in prepare_memory_map()
143 map->attr = core_mmu_type_to_attr(map->type); in prepare_memory_map()
144 map->pa = tee_data; in prepare_memory_map()
[all …]
/optee_os/core/lib/zlib/
H 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")
537 #pragma map(inflateSetDictionary,"INSEDI")
538 #pragma map(compressBound,"CMBND")
[all …]
/optee_os/core/lib/libtomcrypt/src/misc/base32/
H A Dbase32_decode.c25 const unsigned char *map; in base32_decode() local
82 map = tables[id]; in base32_decode()
87 if (c < '0' || c > 'Z' || map[c-'0'] > 31) { in base32_decode()
90 t = (t<<5) | map[c-'0']; in base32_decode()
/optee_os/core/arch/arm/mm/
H A Dcore_mmu_lpae.c855 struct tee_mmap_region *mm = mem_map->map + n; in core_init_mmu_prtn_tee()
867 if (core_mmu_type_is_nex_shared(mem_map->map[n].type) && in core_init_mmu_prtn_tee()
870 mem_map->map + n); in core_init_mmu_prtn_tee()
872 core_mmu_map_region(prtn, mem_map->map + n); in core_init_mmu_prtn_tee()
1069 vaddr_t va_end = mem_map->map[n].va + mem_map->map[n].size - 1; in core_init_mmu()
1180 const uint8_t map[] = { 32, 36, 40, 42, 44, 48, 52, }; in core_mmu_arm64_get_pa_width() local
1183 size_bits = MIN(size_bits, ARRAY_SIZE(map) - 1); in core_mmu_arm64_get_pa_width()
1184 return map[size_bits]; in core_mmu_arm64_get_pa_width()
1260 struct core_mmu_user_map *map) in core_mmu_create_user_map() argument
1269 map->user_map = virt_to_phys(dir_info.table) | TABLE_DESC; in core_mmu_create_user_map()
[all …]
H A Dcore_mmu_v7.c565 struct core_mmu_user_map *map) in core_mmu_create_user_map() argument
574 map->ttbr0 = core_mmu_get_ul1_ttb_pa(get_prtn()) | in core_mmu_create_user_map()
576 map->ctxid = uctx->vm_info.asid; in core_mmu_create_user_map()
724 void core_mmu_get_user_map(struct core_mmu_user_map *map) in core_mmu_get_user_map() argument
726 map->ttbr0 = read_ttbr0(); in core_mmu_get_user_map()
727 map->ctxid = read_contextidr(); in core_mmu_get_user_map()
730 void core_mmu_set_user_map(struct core_mmu_user_map *map) in core_mmu_set_user_map() argument
742 if (map) { in core_mmu_set_user_map()
743 write_ttbr0(map->ttbr0); in core_mmu_set_user_map()
745 write_contextidr(map->ctxid); in core_mmu_set_user_map()
[all …]
/optee_os/core/arch/riscv/mm/
H A Dcore_mmu_arch.c542 struct tee_mmap_region *mm = mem_map->map + n; in core_init_mmu_prtn_tee()
555 core_mmu_map_region(prtn, mem_map->map + n); in core_init_mmu_prtn_tee()
944 void core_mmu_set_user_map(struct core_mmu_user_map *map) in core_mmu_set_user_map() argument
956 if (map && map->user_map) { in core_mmu_set_user_map()
957 ptp = core_mmu_ptp_create(pa_to_ppn((paddr_t)map->user_map)); in core_mmu_set_user_map()
960 satp |= SHIFT_U64(map->asid, RISCV_SATP_ASID_SHIFT); in core_mmu_set_user_map()
1005 struct core_mmu_user_map *map) in core_mmu_create_user_map() argument
1012 map->user_map = virt_to_phys(tbl_info.table); in core_mmu_create_user_map()
1013 map->asid = uctx->vm_info.asid; in core_mmu_create_user_map()
1016 void core_mmu_get_user_map(struct core_mmu_user_map *map) in core_mmu_get_user_map() argument
[all …]
/optee_os/core/lib/libtomcrypt/src/misc/base64/
H A Dbase64_decode.c80 const unsigned char *map, int mode) in s_base64_decode_internal() argument
95 c = map[(unsigned char)in[x]&0xFF]; in s_base64_decode_internal()
130 if (((y + g) != 4) && (mode == strict) && (map != map_base64url)) return CRYPT_INVALID_PACKET; in s_base64_decode_internal()
/optee_os/core/arch/arm/plat-stm/
H A D.gitignore1 System.map
/optee_os/core/drivers/crypto/se050/core/
H A Decc.c177 } map[] = { in ecc_prepare_msg() local
186 for (i = 0; i < ARRAY_SIZE(map); i++) { in ecc_prepare_msg()
187 if (algo == map[i].algo) in ecc_prepare_msg()
191 if (i >= ARRAY_SIZE(map)) in ecc_prepare_msg()
194 if (*msg_len >= map[i].len) { in ecc_prepare_msg()
196 *msg_len = map[i].len; in ecc_prepare_msg()
201 *msg_padded = calloc(1, map[i].len); in ecc_prepare_msg()
206 *msg_len = map[i].len; in ecc_prepare_msg()
/optee_os/core/include/mm/
H A Dcore_mmu.h383 struct core_mmu_user_map *map);
388 void core_mmu_get_user_map(struct core_mmu_user_map *map);
397 void core_mmu_set_user_map(struct core_mmu_user_map *map);
588 TEE_Result (*fn)(struct tee_mmap_region *map,
/optee_os/ldelf/
H 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/
H A Dltc_ecc_mulmod_timing.c25 int ltc_ecc_mulmod(void *k, const ecc_point *G, ecc_point *R, void *a, void *modulus, int map) in ltc_ecc_mulmod() argument
132 if (map) { in ltc_ecc_mulmod()

12