/Zephyr-latest/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-latest/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)"_"))) 197 #define INIT_LEVEL_ORD(level) \ argument 198 COND_CODE_1(Z_INIT_EARLY_##level, (Z_INIT_ORD_EARLY), \ 199 (COND_CODE_1(Z_INIT_PRE_KERNEL_1_##level, (Z_INIT_ORD_PRE_KERNEL_1), \ 200 (COND_CODE_1(Z_INIT_PRE_KERNEL_2_##level, (Z_INIT_ORD_PRE_KERNEL_2), \ 201 (COND_CODE_1(Z_INIT_POST_KERNEL_##level, (Z_INIT_ORD_POST_KERNEL), \ 202 (COND_CODE_1(Z_INIT_APPLICATION_##level, (Z_INIT_ORD_APPLICATION), \ 203 (COND_CODE_1(Z_INIT_SMP_##level, (Z_INIT_ORD_SMP), \ 222 #define SYS_INIT(init_fn, level, prio) \ argument [all …]
|
D | irq_multilevel.h | 253 static inline unsigned int irq_from_level(unsigned int irq, unsigned int level) in irq_from_level() argument 255 if (level == 1) { in irq_from_level() 257 } else if (level == 2) { in irq_from_level() 259 } else if (level == 3) { in irq_from_level() 276 static inline unsigned int irq_to_level(unsigned int irq, unsigned int level) in irq_to_level() argument 278 if (level == 1) { in irq_to_level() 280 } else if (level == 2) { in irq_to_level() 282 } else if (level == 3) { in irq_to_level() 299 static inline unsigned int irq_parent_level(unsigned int irq, unsigned int level) in irq_parent_level() argument 301 if (level == 1) { in irq_parent_level() [all …]
|
/Zephyr-latest/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-latest/soc/nxp/imxrt/imxrt5xx/f1/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-latest/soc/nxp/imx/imx8x/adsp/ |
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-latest/soc/nxp/imx/imx8/adsp/ |
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-latest/soc/nxp/imx/imx8m/adsp/ |
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-latest/soc/nxp/imx/imx8ulp/adsp/ |
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-latest/soc/espressif/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-latest/samples/drivers/led/pwm/src/ |
D | main.c | 36 int16_t level; in run_led_test() local 60 for (level = 0; level <= MAX_BRIGHTNESS; level++) { in run_led_test() 61 err = led_set_brightness(led_pwm, led, level); in run_led_test() 63 LOG_ERR("err=%d brightness=%d\n", err, level); in run_led_test() 72 for (level = MAX_BRIGHTNESS; level >= 0; level--) { in run_led_test() 73 err = led_set_brightness(led_pwm, led, level); in run_led_test() 75 LOG_ERR("err=%d brightness=%d\n", err, level); in run_led_test()
|
/Zephyr-latest/subsys/logging/ |
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_msg.c | 54 static bool frontend_runtime_filtering(const void *source, uint32_t level) in frontend_runtime_filtering() argument 67 if (level == LOG_LEVEL_NONE) { in frontend_runtime_filtering() 74 return level <= f_level; in frontend_runtime_filtering() 93 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 122 .level = level, in z_log_msg_simple_create() 130 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 133 if (IS_ENABLED(CONFIG_LOG_FRONTEND) && frontend_runtime_filtering(source, level)) { in z_impl_z_log_msg_simple_create_0() 135 log_frontend_simple_0(source, level, fmt); in z_impl_z_log_msg_simple_create_0() 161 .level = level, in z_impl_z_log_msg_simple_create_0() 176 z_log_msg_simple_create(source, level, data, ARRAY_SIZE(data)); in z_impl_z_log_msg_simple_create_0() [all …]
|
D | log_mgmt.c | 304 uint8_t level; in link_compiled_level_get() local 308 return !log_link_get_levels(link, rel_domain_id, source_id, &level, NULL) ? in link_compiled_level_get() 309 level : 0; in link_compiled_level_get() 316 return TYPE_SECTION_START(log_const)[source_id].level; in log_compiled_level_get() 325 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 332 return log_link_set_runtime_level(link, rel_domain_id, source_id, level); in z_log_link_set_runtime_level() 357 uint8_t level = log_compiled_level_get(Z_LOG_LOCAL_DOMAIN_ID, i); in z_log_runtime_filters_init() local 359 level = MAX(level, CONFIG_LOG_OVERRIDE_LEVEL); in z_log_runtime_filters_init() 362 level); in z_log_runtime_filters_init() 400 uint32_t source_id, uint32_t level) in set_runtime_filter() argument [all …]
|
/Zephyr-latest/soc/common/riscv-privileged/ |
D | soc_common_irq.c | 56 unsigned int level = irq_get_level(irq); in arch_irq_enable() local 58 if (level == 2) { in arch_irq_enable() 76 unsigned int level = irq_get_level(irq); in arch_irq_disable() local 78 if (level == 2) { in arch_irq_disable() 96 unsigned int level = irq_get_level(irq); in arch_irq_is_enabled() local 98 if (level == 2) { in arch_irq_is_enabled() 111 unsigned int level = irq_get_level(irq); in z_riscv_irq_priority_set() local 113 if (level == 2) { in z_riscv_irq_priority_set()
|
/Zephyr-latest/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-latest/soc/cdns/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-latest/soc/cdns/sample_controller32/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-latest/soc/intel/intel_adsp/cavs/ |
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-latest/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-latest/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-latest/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-latest/arch/common/ |
D | multilevel_irq.c | 30 const unsigned int level = irq_get_level(irq); in get_intc_entry_for_irq() local 33 if (level == 1) { in get_intc_entry_for_irq() 41 if ((intc->level == level) && (intc->irq == intc_irq)) { in get_intc_entry_for_irq() 76 const unsigned int level = irq_get_level(irq); in z_get_sw_isr_table_idx() local 79 local_irq = irq_from_level(irq, level); in z_get_sw_isr_table_idx() 85 __ASSERT(level == 1, "can't find an aggregator to handle irq(%X)", irq); in z_get_sw_isr_table_idx()
|
/Zephyr-latest/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 …]
|