Home
last modified time | relevance | path

Searched refs:type (Results 1 – 25 of 31) sorted by relevance

12

/arch/x86/core/
A Dmultiboot.c24 x86_memmap[index].type = X86_MEMMAP_ENTRY_UNUSED; in clear_memmap()
66 uint32_t type; in z_multiboot_init() local
88 switch (mmap->type) { in z_multiboot_init()
90 type = X86_MEMMAP_ENTRY_RAM; in z_multiboot_init()
93 type = X86_MEMMAP_ENTRY_ACPI; in z_multiboot_init()
96 type = X86_MEMMAP_ENTRY_NVS; in z_multiboot_init()
99 type = X86_MEMMAP_ENTRY_DEFECTIVE; in z_multiboot_init()
102 type = X86_MEMMAP_ENTRY_UNKNOWN; in z_multiboot_init()
106 x86_memmap[index].type = type; in z_multiboot_init()
121 x86_memmap[0].type = X86_MEMMAP_ENTRY_RAM; in z_multiboot_init()
[all …]
A Dreboot_rst_cnt.c37 void __weak sys_arch_reboot(int type) in sys_arch_reboot() argument
39 switch (type) { in sys_arch_reboot()
/arch/arm64/core/
A Dreboot.c15 void __weak sys_arch_reboot(int type) in sys_arch_reboot() argument
19 if (type == SYS_REBOOT_COLD) { in sys_arch_reboot()
21 } else if (type == SYS_REBOOT_WARM) { in sys_arch_reboot()
30 void __weak sys_arch_reboot(int type) in sys_arch_reboot() argument
33 ARG_UNUSED(type); in sys_arch_reboot()
A Delf.c231 type = AARCH64_RELOC_TYPE_PREL; in movw_reloc_handler()
237 type = AARCH64_RELOC_TYPE_PREL; in movw_reloc_handler()
244 type = AARCH64_RELOC_TYPE_PREL; in movw_reloc_handler()
250 type = AARCH64_RELOC_TYPE_PREL; in movw_reloc_handler()
258 x = reloc(type, loc, sym_base_addr, rel->r_addend); in movw_reloc_handler()
338 type = AARCH64_RELOC_TYPE_PREL; in imm_reloc_handler()
345 type = AARCH64_RELOC_TYPE_PREL; in imm_reloc_handler()
352 type = AARCH64_RELOC_TYPE_PREL; in imm_reloc_handler()
360 type = AARCH64_RELOC_TYPE_PAGE; in imm_reloc_handler()
368 type = AARCH64_RELOC_TYPE_PREL; in imm_reloc_handler()
[all …]
/arch/xtensa/core/
A Delf.c37 uint8_t *loc, int type, uint32_t stb, in xtensa_elf_relocate() argument
42 switch (type) { in xtensa_elf_relocate()
125 LOG_DBG("Unsupported relocation type %u", type); in xtensa_elf_relocate()
131 *(uint32_t *)((uintptr_t)got_entry & ~3), type, (void *)got_entry); in xtensa_elf_relocate()
143 int type = ELF32_R_TYPE(rel->r_info); in arch_elf_relocate_local() local
157 return xtensa_elf_relocate(ldr, ext, rel, sh_addr, rel_addr, type, in arch_elf_relocate_local()
167 int type = ELF32_R_TYPE(rel->r_info); in arch_elf_relocate_global() local
170 if (type == R_XTENSA_RELATIVE && *(elf_word *)rel_addr) { in arch_elf_relocate_global()
174 return xtensa_elf_relocate(ldr, ext, rel, (uintptr_t)link_addr, rel_addr, type, in arch_elf_relocate_global()
A Ddebug_helpers_asm.S18 .type xtensa_backtrace_get_start, @function
A Dcrt1.S25 .type z_prep_c, @function
A Dgdbstub.c844 int arch_gdb_add_breakpoint(struct gdb_ctx *ctx, uint8_t type, in arch_gdb_add_breakpoint() argument
850 switch (type) { in arch_gdb_add_breakpoint()
899 int arch_gdb_remove_breakpoint(struct gdb_ctx *ctx, uint8_t type, in arch_gdb_remove_breakpoint() argument
905 switch (type) { in arch_gdb_remove_breakpoint()
/arch/rx/core/
A Dreboot.c24 void __weak sys_arch_reboot(int type) in sys_arch_reboot() argument
26 ARG_UNUSED(type); in sys_arch_reboot()
A Dreset.S77 .type _rx_run_preinit_array,@function
85 .type _rx_run_init_array,@function
94 .type _rx_run_fini_array,@function
/arch/riscv/core/
A Dreboot.c24 void __weak sys_arch_reboot(int type) in sys_arch_reboot() argument
26 ARG_UNUSED(type); in sys_arch_reboot()
/arch/arm/core/mpu/cortex_a_r/
A Darm_mpu_internal.h13 uint32_t type; in get_num_regions() local
15 __asm__ volatile("mrc p15, 0, %0, c0, c0, 4" : "=r" (type) ::); in get_num_regions()
17 type = (type & MPU_TYPE_DREGION_Msk) >> MPU_TYPE_DREGION_Pos; in get_num_regions()
19 return (uint8_t)type; in get_num_regions()
/arch/posix/core/
A Dcpuhalt.c55 void __weak sys_arch_reboot(int type) in sys_arch_reboot() argument
58 __func__, type); in sys_arch_reboot()
/arch/arm/core/mpu/cortex_m/
A Darm_mpu_internal.h13 uint32_t type = MPU->TYPE; in get_num_regions() local
15 type = (type & MPU_TYPE_DREGION_Msk) >> MPU_TYPE_DREGION_Pos; in get_num_regions()
17 return (uint8_t)type; in get_num_regions()
/arch/arc/core/mpu/
A Darc_mpu.c36 static inline uint32_t get_region_attr_by_type(uint32_t type) in get_region_attr_by_type() argument
38 switch (type) { in get_region_attr_by_type()
A Darc_mpu_v2_internal.h82 static inline int get_region_index_by_type(uint32_t type) in get_region_index_by_type() argument
94 switch (type) { in get_region_index_by_type()
104 return get_num_regions() - mpu_config.num_regions - type + 1; in get_region_index_by_type()
A Darc_mpu_v4_internal.h416 static inline int _mpu_configure(uint8_t type, uint32_t base, uint32_t size) in _mpu_configure() argument
418 uint32_t region_attr = get_region_attr_by_type(type); in _mpu_configure()
427 static inline int get_region_index_by_type(uint32_t type) in get_region_index_by_type() argument
439 switch (type) { in get_region_index_by_type()
445 return static_regions_num + type; in get_region_index_by_type()
448 return static_regions_num + type; in get_region_index_by_type()
454 return static_regions_num + type - 1; in get_region_index_by_type()
469 static inline int _mpu_configure(uint8_t type, uint32_t base, uint32_t size) in _mpu_configure() argument
471 int region_index = get_region_index_by_type(type); in _mpu_configure()
472 uint32_t region_attr = get_region_attr_by_type(type); in _mpu_configure()
A Darc_mpu_v6_internal.h116 static inline int get_region_index_by_type(uint32_t type) in get_region_index_by_type() argument
128 switch (type) { in get_region_index_by_type()
138 return get_num_regions() - mpu_config.num_regions - type + 1; in get_region_index_by_type()
A Darc_mpu_common_internal.h24 static inline int _mpu_configure(uint8_t type, uint32_t base, uint32_t size) in _mpu_configure() argument
26 int32_t region_index = get_region_index_by_type(type); in _mpu_configure()
27 uint32_t region_attr = get_region_attr_by_type(type); in _mpu_configure()
/arch/arm/core/cortex_a_r/
A Dreboot.c70 void __weak sys_arch_reboot(int type) in sys_arch_reboot() argument
72 ARG_UNUSED(type); in sys_arch_reboot()
/arch/arm/core/mpu/
A Darm_mpu_v8_internal.h69 uint32_t type = MPU->TYPE; in mpu_get_num_regions() local
71 type = (type & MPU_TYPE_DREGION_Msk) >> MPU_TYPE_DREGION_Pos; in mpu_get_num_regions()
73 return (uint8_t)type; in mpu_get_num_regions()
121 uint32_t type = read_mpuir(); in mpu_get_num_regions() local
123 type = (type >> MPU_IR_REGION_Pos) & MPU_IR_REGION_Msk; in mpu_get_num_regions()
125 return (uint8_t)type; in mpu_get_num_regions()
A Darm_core_mpu_dev.h219 void arm_core_mpu_configure(uint8_t type, uint32_t base, uint32_t size);
/arch/arm/core/cortex_m/
A Dscb.c41 void __weak sys_arch_reboot(int type) in sys_arch_reboot() argument
43 ARG_UNUSED(type); in sys_arch_reboot()
/arch/arm/core/
A DKconfig.vfp25 # VFP type symbols; these should be selected by the SoC symbol to specify the
26 # type of the VFP core instantiated by the SoC.
208 # Advanced SIMD type symbols; these should be selected by the SoC symbol to
209 # specify the type of the VFP core instantiated by the SoC.
/arch/arm64/core/cortex_r/
A Darm_mpu.c77 uint64_t type; in get_num_regions() local
79 type = read_mpuir_el1(); in get_num_regions()
80 type = type & MPU_IR_REGION_Msk; in get_num_regions()
82 return (uint8_t)type; in get_num_regions()

Completed in 43 milliseconds

12