/Zephyr-Core-3.6.0/include/zephyr/ |
D | init.h | 150 #define Z_INIT_ENTRY_SECTION(level, prio, sub_prio) \ argument 152 ".z_init_" #level STRINGIFY(prio)"_" STRINGIFY(sub_prio)"_"))) 164 #define INIT_LEVEL_ORD(level) \ argument 165 COND_CODE_1(Z_INIT_EARLY_##level, (Z_INIT_ORD_EARLY), \ 166 (COND_CODE_1(Z_INIT_PRE_KERNEL_1_##level, (Z_INIT_ORD_PRE_KERNEL_1), \ 167 (COND_CODE_1(Z_INIT_PRE_KERNEL_2_##level, (Z_INIT_ORD_PRE_KERNEL_2), \ 168 (COND_CODE_1(Z_INIT_POST_KERNEL_##level, (Z_INIT_ORD_POST_KERNEL), \ 169 (COND_CODE_1(Z_INIT_APPLICATION_##level, (Z_INIT_ORD_APPLICATION), \ 170 (COND_CODE_1(Z_INIT_SMP_##level, (Z_INIT_ORD_SMP), \ 189 #define SYS_INIT(init_fn, level, prio) \ argument [all …]
|
/Zephyr-Core-3.6.0/drivers/interrupt_controller/ |
D | Kconfig.multilevel.aggregator_template | 3 config $(cur-level)_LVL_INTR_0$(aggregator)_OFFSET 4 int "Level $(prev-level-num) IRQ line for $(cur-level) level aggregator $(aggregator)" 6 depends on $(cur-level)_LEVEL_INTERRUPTS 8 This is the level $(prev-level-num) interrupt number for level 9 $(cur-level-num) interrupt aggregator $(aggregator).
|
D | Kconfig.multilevel | 8 bool "Multi-level interrupt support" 13 levels are used, a second level interrupt aggregator would combine 14 all interrupts routed to it into one IRQ line in the first level 15 interrupt controller. If three levels are used, a third level 17 second level. The number of interrupt levels is usually determined 23 int "Total number of first level interrupt bits" 39 bool "Second-level interrupt support" 41 Second level interrupts are used to increase the number of 45 int "Offset in _sw_isr_table for level 2 interrupts" 50 where storage for 2nd level interrupt ISRs begins. This is [all …]
|
/Zephyr-Core-3.6.0/subsys/net/l2/ieee802154/ |
D | ieee802154_security.c | 25 int ieee802154_security_setup_session(struct ieee802154_security_ctx *sec_ctx, uint8_t level, in ieee802154_security_setup_session() argument 31 if (level > IEEE802154_SECURITY_LEVEL_ENC_MIC_128 || in ieee802154_security_setup_session() 37 if (level > IEEE802154_SECURITY_LEVEL_NONE && in ieee802154_security_setup_session() 43 sec_ctx->level = level; in ieee802154_security_setup_session() 45 if (level == IEEE802154_SECURITY_LEVEL_NONE) { in ieee802154_security_setup_session() 50 if (level > IEEE802154_SECURITY_LEVEL_ENC) { in ieee802154_security_setup_session() 51 authtag_len = level_2_authtag_len[level - 4]; in ieee802154_security_setup_session() 52 } else if (level < IEEE802154_SECURITY_LEVEL_ENC) { in ieee802154_security_setup_session() 53 authtag_len = level_2_authtag_len[level]; in ieee802154_security_setup_session() 93 if (sec_ctx->level == IEEE802154_SECURITY_LEVEL_NONE) { in ieee802154_security_teardown_session() [all …]
|
/Zephyr-Core-3.6.0/soc/xtensa/nxp_adsp/rt5xx/include/ |
D | _soc_inthandlers.h | 11 #error core-isa.h interrupt level does not match dispatcher! 14 #error core-isa.h interrupt level does not match dispatcher! 17 #error core-isa.h interrupt level does not match dispatcher! 20 #error core-isa.h interrupt level does not match dispatcher! 23 #error core-isa.h interrupt level does not match dispatcher! 26 #error core-isa.h interrupt level does not match dispatcher! 29 #error core-isa.h interrupt level does not match dispatcher! 32 #error core-isa.h interrupt level does not match dispatcher! 35 #error core-isa.h interrupt level does not match dispatcher! 38 #error core-isa.h interrupt level does not match dispatcher! [all …]
|
/Zephyr-Core-3.6.0/soc/xtensa/nxp_adsp/imx8/include/ |
D | _soc_inthandlers.h | 23 #error core-isa.h interrupt level does not match dispatcher! 26 #error core-isa.h interrupt level does not match dispatcher! 29 #error core-isa.h interrupt level does not match dispatcher! 32 #error core-isa.h interrupt level does not match dispatcher! 35 #error core-isa.h interrupt level does not match dispatcher! 38 #error core-isa.h interrupt level does not match dispatcher! 41 #error core-isa.h interrupt level does not match dispatcher! 44 #error core-isa.h interrupt level does not match dispatcher! 47 #error core-isa.h interrupt level does not match dispatcher! 50 #error core-isa.h interrupt level does not match dispatcher! [all …]
|
/Zephyr-Core-3.6.0/soc/xtensa/nxp_adsp/imx8m/include/ |
D | _soc_inthandlers.h | 23 #error core-isa.h interrupt level does not match dispatcher! 26 #error core-isa.h interrupt level does not match dispatcher! 29 #error core-isa.h interrupt level does not match dispatcher! 32 #error core-isa.h interrupt level does not match dispatcher! 35 #error core-isa.h interrupt level does not match dispatcher! 38 #error core-isa.h interrupt level does not match dispatcher! 41 #error core-isa.h interrupt level does not match dispatcher! 44 #error core-isa.h interrupt level does not match dispatcher! 47 #error core-isa.h interrupt level does not match dispatcher! 50 #error core-isa.h interrupt level does not match dispatcher! [all …]
|
/Zephyr-Core-3.6.0/subsys/logging/ |
D | log_msg.c | 54 static bool frontend_runtime_filtering(const void *source, uint32_t level) in frontend_runtime_filtering() argument 65 if (level == LOG_LEVEL_NONE) { in frontend_runtime_filtering() 72 return level <= f_level; in frontend_runtime_filtering() 91 static void z_log_msg_simple_create(const void *source, uint32_t level, uint32_t *data, size_t len) in z_log_msg_simple_create() argument 114 .level = level, in z_log_msg_simple_create() 123 void z_impl_z_log_msg_simple_create_0(const void *source, uint32_t level, const char *fmt) in z_impl_z_log_msg_simple_create_0() argument 126 if (IS_ENABLED(CONFIG_LOG_FRONTEND) && frontend_runtime_filtering(source, level)) { in z_impl_z_log_msg_simple_create_0() 128 log_frontend_simple_0(source, level, fmt); in z_impl_z_log_msg_simple_create_0() 144 .level = level, in z_impl_z_log_msg_simple_create_0() 159 z_log_msg_simple_create(source, level, data, ARRAY_SIZE(data)); in z_impl_z_log_msg_simple_create_0() [all …]
|
D | Kconfig.filtering | 11 level for instance. 14 int "Default log level" 18 Sets log level for modules which don't specify it explicitly. When 29 int "Override lowest log level" 33 Forces a minimum log level for all modules. Modules use their 34 specified level if it is greater than this option, otherwise they use 35 the level specified by this option instead of their default or 46 int "Maximal log level compiled in the system" 50 Forces a maximal log level for all modules. Modules saturates their 51 specified level if it is greater than this option, otherwise they use [all …]
|
D | log_mgmt.c | 301 uint8_t level; in link_compiled_level_get() local 305 return !log_link_get_levels(link, rel_domain_id, source_id, &level, NULL) ? in link_compiled_level_get() 306 level : 0; in link_compiled_level_get() 313 return TYPE_SECTION_START(log_const)[source_id].level; in log_compiled_level_get() 322 int z_log_link_set_runtime_level(uint8_t domain_id, uint16_t source_id, uint8_t level) in z_log_link_set_runtime_level() argument 329 return log_link_set_runtime_level(link, rel_domain_id, source_id, level); in z_log_link_set_runtime_level() 354 uint8_t level = log_compiled_level_get(Z_LOG_LOCAL_DOMAIN_ID, i); in z_log_runtime_filters_init() local 356 level = MAX(level, CONFIG_LOG_OVERRIDE_LEVEL); in z_log_runtime_filters_init() 359 level); in z_log_runtime_filters_init() 393 uint32_t source_id, uint32_t level) in set_runtime_filter() argument [all …]
|
/Zephyr-Core-3.6.0/soc/xtensa/nxp_adsp/imx8ulp/include/ |
D | _soc_inthandlers.h | 23 #error core-isa.h interrupt level does not match dispatcher! 26 #error core-isa.h interrupt level does not match dispatcher! 29 #error core-isa.h interrupt level does not match dispatcher! 32 #error core-isa.h interrupt level does not match dispatcher! 35 #error core-isa.h interrupt level does not match dispatcher! 38 #error core-isa.h interrupt level does not match dispatcher! 41 #error core-isa.h interrupt level does not match dispatcher! 44 #error core-isa.h interrupt level does not match dispatcher! 47 #error core-isa.h interrupt level does not match dispatcher! 50 #error core-isa.h interrupt level does not match dispatcher! [all …]
|
/Zephyr-Core-3.6.0/soc/xtensa/espressif_esp32/common/include/ |
D | _soc_inthandlers.h | 24 #error core-isa.h interrupt level does not match dispatcher! 27 #error core-isa.h interrupt level does not match dispatcher! 30 #error core-isa.h interrupt level does not match dispatcher! 33 #error core-isa.h interrupt level does not match dispatcher! 36 #error core-isa.h interrupt level does not match dispatcher! 39 #error core-isa.h interrupt level does not match dispatcher! 42 #error core-isa.h interrupt level does not match dispatcher! 45 #error core-isa.h interrupt level does not match dispatcher! 48 #error core-isa.h interrupt level does not match dispatcher! 51 #error core-isa.h interrupt level does not match dispatcher! [all …]
|
/Zephyr-Core-3.6.0/soc/riscv/common/riscv-privileged/ |
D | soc_common_irq.c | 47 unsigned int level = irq_get_level(irq); in arch_irq_enable() local 49 if (level == 2) { in arch_irq_enable() 67 unsigned int level = irq_get_level(irq); in arch_irq_disable() local 69 if (level == 2) { in arch_irq_disable() 87 unsigned int level = irq_get_level(irq); in arch_irq_is_enabled() local 89 if (level == 2) { in arch_irq_is_enabled() 102 unsigned int level = irq_get_level(irq); in z_riscv_irq_priority_set() local 104 if (level == 2) { in z_riscv_irq_priority_set()
|
/Zephyr-Core-3.6.0/tests/subsys/logging/log_msg/src/ |
D | main.c | 77 uint8_t domain, uint8_t level, log_timestamp_t t, in basic_validate() argument 88 zassert_equal(log_msg_get_level(msg), level); in basic_validate() 151 uint8_t domain, uint8_t level, in validate_base_message_set() argument 194 basic_validate(&msg0->log, source, domain, level, in validate_base_message_set() 196 basic_validate(&msg2->log, source, domain, level, in validate_base_message_set() 205 static const uint8_t level = 2; in ZTEST() local 212 Z_LOG_MSG_CREATE3(1, mode, 0, domain, source, level, in ZTEST() 216 Z_LOG_MSG_CREATE3(0, mode, 0, domain, source, level, in ZTEST() 221 level, NULL, 0, 0, TEST_MSG); in ZTEST() 223 validate_base_message_set(source, domain, level, in ZTEST() [all …]
|
/Zephyr-Core-3.6.0/soc/xtensa/sample_controller/include/ |
D | _soc_inthandlers.h | 17 #error core-isa.h interrupt level does not match dispatcher! 20 #error core-isa.h interrupt level does not match dispatcher! 23 #error core-isa.h interrupt level does not match dispatcher! 26 #error core-isa.h interrupt level does not match dispatcher! 29 #error core-isa.h interrupt level does not match dispatcher! 32 #error core-isa.h interrupt level does not match dispatcher! 35 #error core-isa.h interrupt level does not match dispatcher! 38 #error core-isa.h interrupt level does not match dispatcher! 41 #error core-isa.h interrupt level does not match dispatcher! 44 #error core-isa.h interrupt level does not match dispatcher! [all …]
|
/Zephyr-Core-3.6.0/soc/xtensa/intel_adsp/common/include/ |
D | _soc_inthandlers.h | 22 #error core-isa.h interrupt level does not match dispatcher! 25 #error core-isa.h interrupt level does not match dispatcher! 28 #error core-isa.h interrupt level does not match dispatcher! 31 #error core-isa.h interrupt level does not match dispatcher! 34 #error core-isa.h interrupt level does not match dispatcher! 37 #error core-isa.h interrupt level does not match dispatcher! 40 #error core-isa.h interrupt level does not match dispatcher! 43 #error core-isa.h interrupt level does not match dispatcher! 46 #error core-isa.h interrupt level does not match dispatcher! 49 #error core-isa.h interrupt level does not match dispatcher! [all …]
|
/Zephyr-Core-3.6.0/tests/drivers/led/led_api/src/ |
D | test_led_api.c | 198 uint16_t level; in ZTEST_USER() local 202 for (level = 0; level <= COLOR_FULL; level++) { in ZTEST_USER() 203 colors[col] = level; in ZTEST_USER() 209 led, level); in ZTEST_USER() 225 uint16_t level; in ZTEST_USER() local 227 for (level = 0; level <= BRIGHTNESS_MAX; level++) { in ZTEST_USER() 228 ret = led_set_brightness(led_ctrl, led, level); in ZTEST_USER() 231 led, level); in ZTEST_USER() 233 for (level = BRIGHTNESS_MAX + 1; level <= 255; level++) { in ZTEST_USER() 234 ret = led_set_brightness(led_ctrl, led, level); in ZTEST_USER() [all …]
|
/Zephyr-Core-3.6.0/soc/xtensa/dc233c/include/ |
D | _soc_inthandlers.h | 18 #error core-isa.h interrupt level does not match dispatcher! 21 #error core-isa.h interrupt level does not match dispatcher! 24 #error core-isa.h interrupt level does not match dispatcher! 27 #error core-isa.h interrupt level does not match dispatcher! 30 #error core-isa.h interrupt level does not match dispatcher! 33 #error core-isa.h interrupt level does not match dispatcher! 36 #error core-isa.h interrupt level does not match dispatcher! 39 #error core-isa.h interrupt level does not match dispatcher! 42 #error core-isa.h interrupt level does not match dispatcher! 45 #error core-isa.h interrupt level does not match dispatcher! [all …]
|
/Zephyr-Core-3.6.0/tests/net/lib/lwm2m/observation/src/ |
D | lwm2m_observation.c | 22 struct lwm2m_obj_path *compare_path, uint8_t level) in lwm2m_path_object_equal_upto() argument 25 if (level >= LWM2M_PATH_LEVEL_OBJECT && path->obj_id != compare_path->obj_id) { in lwm2m_path_object_equal_upto() 29 if (level >= LWM2M_PATH_LEVEL_OBJECT_INST && in lwm2m_path_object_equal_upto() 34 if (level >= LWM2M_PATH_LEVEL_RESOURCE && path->res_id != compare_path->res_id) { in lwm2m_path_object_equal_upto() 38 if (level >= LWM2M_PATH_LEVEL_RESOURCE_INST && in lwm2m_path_object_equal_upto() 63 if (entry->path.level > prev->path.level) { in assert_path_list_order() 67 if (prev->path.level >= LWM2M_PATH_LEVEL_OBJECT) { in assert_path_list_order() 70 if (is_after && prev->path.level >= LWM2M_PATH_LEVEL_OBJECT_INST && in assert_path_list_order() 76 if (is_after && prev->path.level >= LWM2M_PATH_LEVEL_RESOURCE && in assert_path_list_order() 82 prev->path.level >= LWM2M_PATH_LEVEL_RESOURCE_INST && in assert_path_list_order() [all …]
|
/Zephyr-Core-3.6.0/include/zephyr/arch/posix/ |
D | native_tasks.ld | 7 #define NATIVE_INIT_LEVEL(level) \ argument 8 __native_##level##_tasks_start = .; \ 9 KEEP(*(SORT(.native_##level[0-9]_task))); \ 10 KEEP(*(SORT(.native_##level[1-9][0-9]_task))); \ 11 KEEP(*(SORT(.native_##level[1-9][0-9][0-9]_task))); \
|
/Zephyr-Core-3.6.0/arch/arm64/core/ |
D | mmu.c | 92 static inline bool is_table_desc(uint64_t desc, unsigned int level) in is_table_desc() argument 94 return level != XLAT_LAST_LEVEL && in is_table_desc() 124 unsigned int level) in is_desc_superset() argument 126 uint64_t mask = DESC_ATTRS_MASK | GENMASK(47, LEVEL_TO_VA_SIZE_SHIFT(level)); in is_desc_superset() 132 static void debug_show_pte(uint64_t *pte, unsigned int level) in debug_show_pte() argument 134 MMU_DEBUG("%.*s", level * 2U, ". . . "); in debug_show_pte() 142 if (is_table_desc(*pte, level)) { in debug_show_pte() 167 static inline void debug_show_pte(uint64_t *pte, unsigned int level) { } in debug_show_pte() argument 170 static void set_pte_table_desc(uint64_t *pte, uint64_t *table, unsigned int level) in set_pte_table_desc() argument 174 debug_show_pte(pte, level); in set_pte_table_desc() [all …]
|
/Zephyr-Core-3.6.0/arch/x86/core/ |
D | x86_mmu.c | 287 static inline int get_index(void *virt, int level) in get_index() argument 289 return (((uintptr_t)virt >> paging_levels[level].shift) % in get_index() 290 paging_levels[level].entries); in get_index() 294 static inline pentry_t *get_entry_ptr(pentry_t *ptables, void *virt, int level) in get_entry_ptr() argument 296 return &ptables[get_index(virt, level)]; in get_entry_ptr() 300 static inline pentry_t get_entry(pentry_t *ptables, void *virt, int level) in get_entry() argument 302 return ptables[get_index(virt, level)]; in get_entry() 307 static inline uintptr_t get_entry_phys(pentry_t entry, int level) in get_entry_phys() argument 309 return entry & paging_levels[level].mask; in get_entry_phys() 314 static inline pentry_t *next_table(pentry_t entry, int level) in next_table() argument [all …]
|
/Zephyr-Core-3.6.0/scripts/native_simulator/common/src/ |
D | nsi_tasks.h | 52 #define NSI_TASK(fn, level, prio) \ argument 55 __attribute__((__section__(".nsi_" #level NSI_STRINGIFY(prio) "_task")))\ 58 _Static_assert(NSITASK_##level##_LEVEL >= 0, \ 66 void nsi_run_tasks(int level);
|
/Zephyr-Core-3.6.0/soc/xtensa/intel_adsp/ace/ |
D | _soc_inthandlers.h | 21 #error core-isa.h interrupt level does not match dispatcher! 24 #error core-isa.h interrupt level does not match dispatcher! 27 #error core-isa.h interrupt level does not match dispatcher! 30 #error core-isa.h interrupt level does not match dispatcher! 33 #error core-isa.h interrupt level does not match dispatcher! 36 #error core-isa.h interrupt level does not match dispatcher! 39 #error core-isa.h interrupt level does not match dispatcher! 42 #error core-isa.h interrupt level does not match dispatcher! 45 #error core-isa.h interrupt level does not match dispatcher!
|
/Zephyr-Core-3.6.0/scripts/native_simulator/common/other/ |
D | linker_script.pre.ld | 12 #define NSI_INIT_LEVEL(level) \ argument 13 __nsi_##level##_tasks_start = .; \ 14 KEEP(*(SORT(.nsi_##level[0-9]_task))); \ 15 KEEP(*(SORT(.nsi_##level[1-9][0-9]_task))); \ 16 KEEP(*(SORT(.nsi_##level[1-9][0-9][0-9]_task))); \
|