Lines Matching full:level
120 /* Helper definitions to evaluate level equality */
128 /* Init level ordinals */
148 * level/priority/sub-priority.
150 #define Z_INIT_ENTRY_SECTION(level, prio, sub_prio) \ argument
152 ".z_init_" #level STRINGIFY(prio)"_" STRINGIFY(sub_prio)"_")))
190 * @brief Obtain the ordinal for an init level.
192 * @param level Init level (EARLY, PRE_KERNEL_1, PRE_KERNEL_2, POST_KERNEL,
195 * @return Init level ordinal.
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), \
210 * given level and priority.
213 * @param level Initialization level. Allowed tokens: `EARLY`, `PRE_KERNEL_1`,
222 #define SYS_INIT(init_fn, level, prio) \ argument
223 SYS_INIT_NAMED(init_fn, init_fn, level, prio)
233 * @param level See SYS_INIT().
238 #define SYS_INIT_NAMED(name, init_fn_, level, prio) \ argument
240 Z_INIT_ENTRY_SECTION(level, prio, 0) __used __noasan \