/Zephyr-latest/tests/kernel/ipi_optimize/src/ |
D | main.c | 109 static void alt_thread_create(int priority, const char *desc) in alt_thread_create() argument 113 priority, 0, K_NO_WAIT); in alt_thread_create() 123 uint32_t busy_threads_create(int priority) in busy_threads_create() argument 134 priority, 0, K_NO_WAIT); in busy_threads_create() 156 void busy_threads_priority_set(int priority, int delta) in busy_threads_priority_set() argument 161 k_thread_priority_set(&thread[i], priority); in busy_threads_priority_set() 162 priority += delta; in busy_threads_priority_set() 173 int priority; in ZTEST() local 176 priority = k_thread_priority_get(k_current_get()); in ZTEST() 178 id = busy_threads_create(priority - 1); in ZTEST() [all …]
|
/Zephyr-latest/kernel/ |
D | Kconfig.device | 41 int "Kernel objects initialization priority" 44 Kernel objects use this priority for initialization. This 45 priority needs to be higher than minimal default initialization 46 priority. 49 int "LIBC initialization priority" 52 LIBC uses this priority for initialization. This 53 priority needs to be higher than minimal default initialization 54 priority. 57 int "Default init priority" 60 Default minimal init priority for each init level. [all …]
|
/Zephyr-latest/lib/posix/options/ |
D | syslog.c | 17 static int syslog_priority_to_zephyr_log_level(int priority) in syslog_priority_to_zephyr_log_level() argument 19 switch (priority) { in syslog_priority_to_zephyr_log_level() 48 void syslog(int priority, const char *format, ...) in syslog() argument 53 vsyslog(priority, format, ap); in syslog() 69 void vsyslog(int priority, const char *format, va_list ap) in vsyslog() argument 72 int level = syslog_priority_to_zephyr_log_level(priority); in vsyslog()
|
/Zephyr-latest/drivers/gpio/ |
D | Kconfig.nct38xx | 18 int "NCT38XX GPIO init priority" 21 NCT38xx GPIO driver initialization priority. The priority must be lower 25 int "NCT38XX GPIO port init priority" 28 NCT38xx GPIO port device driver initialization priority. The priority 39 int "NCT38XX GPIO alert handler init priority" 43 NCT38XX alert handler initialization priority. This initialization
|
D | Kconfig.rt1718s | 16 int "RT1718S GPIO init priority" 19 RT1718S device driver initialization priority. The priority should be 23 int "RT1718S GPIO port init priority" 26 RT1718S GPIO driver initialization priority. The priority should be lower
|
D | Kconfig.axp192 | 15 int "AXP192 GPIO driver initialization priority" 19 Initialization priority for the AXP192 GPIO driver. It must be 20 greater than the I2C controller init priority and the mfd driver 21 init priority.
|
/Zephyr-latest/tests/benchmarks/latency_measure/src/ |
D | thread_switch_yield.c | 96 int priority) in thread_switch_yield_common() argument 108 priority - 1, start_options, K_FOREVER); in thread_switch_yield_common() 114 priority - 1, alt_options, K_FOREVER); in thread_switch_yield_common() 146 int priority; in thread_switch_yield() local 149 priority = is_cooperative ? K_PRIO_COOP(6) in thread_switch_yield() 158 priority); in thread_switch_yield() 163 priority); in thread_switch_yield() 167 priority); in thread_switch_yield() 171 priority); in thread_switch_yield()
|
D | thread.c | 34 int priority; in alt_thread_entry() local 59 priority = k_thread_priority_get(&alt_thread); in alt_thread_entry() 60 k_thread_priority_set(&alt_thread, priority + 2); in alt_thread_entry() 74 int priority; in start_thread_entry() local 78 priority = k_thread_priority_get(&start_thread); in start_thread_entry() 89 priority, in start_thread_entry() 174 int priority; in thread_ops() local 180 priority = k_thread_priority_get(k_current_get()); in thread_ops() 204 priority - 1, start_options, K_FOREVER); in thread_ops() 226 priority - 1, alt_options, K_FOREVER); in thread_ops() [all …]
|
/Zephyr-latest/drivers/power_domain/ |
D | Kconfig | 16 int "Power domain init priority" 19 Power domain initialization priority. 33 int "GPIO power domain init priority" 36 GPIO power domain initialization priority. 51 int "Intel ADSP power domain init priority" 54 Intel ADSP power domain initialization priority. 69 int "GPIO monitor power domain init priority" 72 GPIO monitor power domain initialization priority. 86 int "NXP SCU-managed PD driver init priority" 89 NXP SCU-managed PD driver initialization priority.
|
/Zephyr-latest/arch/riscv/core/ |
D | irq_manage.c | 50 int arch_irq_connect_dynamic(unsigned int irq, unsigned int priority, in arch_irq_connect_dynamic() argument 57 z_riscv_irq_priority_set(irq, priority, flags); in arch_irq_connect_dynamic() 60 ARG_UNUSED(priority); in arch_irq_connect_dynamic() 66 int arch_irq_disconnect_dynamic(unsigned int irq, unsigned int priority, in arch_irq_disconnect_dynamic() argument 70 ARG_UNUSED(priority); in arch_irq_disconnect_dynamic()
|
/Zephyr-latest/subsys/testsuite/ztest/src/ |
D | ztress.c | 188 static bool cont_check(struct ztress_context_data *context_data, uint32_t priority) in cont_check() argument 190 if (context_data->preempt_cnt != 0 && preempt_cnt[priority] >= context_data->preempt_cnt) { in cont_check() 195 if (context_data->exec_cnt != 0 && exec_cnt[priority] >= context_data->exec_cnt) { in cont_check() 229 uint32_t priority = 0; in ztress_timeout() local 233 cont_test = cont_check(context_data, priority); in ztress_timeout() 235 exec_cnt[priority], in ztress_timeout() 237 priority); in ztress_timeout() 238 exec_cnt[priority]++; in ztress_timeout() 241 k_timer_start(timer, randomize_t(backoff[priority]), K_NO_WAIT); in ztress_timeout() 256 uint32_t priority = (uint32_t)(uintptr_t)prio; in ztress_thread() local [all …]
|
/Zephyr-latest/include/zephyr/drivers/timer/ |
D | arm_arch_timer.h | 22 priority) 24 priority) 26 priority) 28 priority)
|
/Zephyr-latest/drivers/regulator/ |
D | Kconfig.max20335 | 16 int "MAX20335 regulator driver init priority (common part)" 19 Init priority for the Maxim MAX20335 regulator driver 20 (common part). It must be greater than I2C and MFD init priority. 23 int "MAX20335 regulator driver init priority" 26 Init priority for the Maxim MAX20335 regulator driver. It must be
|
D | Kconfig.npm1300 | 16 int "nPM1300 regulator driver init priority (common part)" 19 Init priority for the Nordic nPM1300 regulator driver (common part). 20 It must be greater than I2C init priority. 23 int "nPM1300 regulator driver init priority" 26 Init priority for the Nordic nPM1300 regulator driver. It must be
|
D | Kconfig.npm2100 | 16 int "nPM2100 regulator driver init priority (common part)" 19 Init priority for the Nordic nPM2100 regulator driver (common part). 20 It must be greater than I2C init priority. 23 int "nPM2100 regulator driver init priority" 26 Init priority for the Nordic nPM2100 regulator driver. It must be
|
D | Kconfig.pca9420 | 15 int "NXP PCA9420 regulator driver init priority (common part)" 18 Init priority for the NXP PCA9420 regulator driver (common part). It 19 must be greater than I2C init priority. 22 int "NXP PCA9420 regulator driver init priority" 25 Init priority for the NXP PCA9420 regulator driver. It must be
|
D | Kconfig.fake | 14 int "Fake regulator driver init priority (common part)" 17 Init priority for the fake regulator driver (common part). 20 int "Fake regulator driver init priority" 23 Init priority for the fake regulator driver. It must be
|
/Zephyr-latest/arch/xtensa/core/ |
D | irq_manage.c | 46 int z_arch_irq_connect_dynamic(unsigned int irq, unsigned int priority, in z_arch_irq_connect_dynamic() argument 51 ARG_UNUSED(priority); in z_arch_irq_connect_dynamic() 57 int z_arch_irq_connect_dynamic(unsigned int irq, unsigned int priority, in z_arch_irq_connect_dynamic() argument 61 return z_soc_irq_connect_dynamic(irq, priority, routine, parameter, in z_arch_irq_connect_dynamic()
|
/Zephyr-latest/tests/arch/arc/arc_vpx_lock/src/ |
D | main.c | 77 int priority; in ZTEST() local 80 priority = k_thread_priority_get(k_current_get()); in ZTEST() 86 priority - 2, 0, K_FOREVER); in ZTEST() 130 int priority; in ZTEST() local 133 priority = k_thread_priority_get(k_current_get()); in ZTEST() 138 priority - 2, 0, K_FOREVER); in ZTEST()
|
/Zephyr-latest/samples/subsys/portability/cmsis_rtos_v2/philosophers/src/ |
D | main.c | 77 .priority = osPriorityHigh 83 .priority = osPriorityHigh 89 .priority = osPriorityHigh 95 .priority = osPriorityHigh 101 .priority = osPriorityHigh 107 .priority = osPriorityHigh 227 thread_attr[i].priority = prio; in start_threads()
|
/Zephyr-latest/subsys/usb/device_next/class/ |
D | Kconfig.bt | 14 int "TX thread priority" 17 Bluetooth HCI USB Transport Layer TX thread priority. 26 int "RX thread priority" 29 Bluetooth HCI USB Transport Layer RX thread priority.
|
/Zephyr-latest/samples/boards/nordic/dynamic_pinctrl/ |
D | Kconfig | 7 int "Remap routine initialization priority" 10 Initialization priority of the remap routine within the PRE_KERNEL1 level. 11 This priority must be greater than GPIO_INIT_PRIORITY and lower than
|
/Zephyr-latest/soc/infineon/cat1a/common/ |
D | soc.c | 33 uint32_t priority; in Cy_SysInt_Init() local 43 priority = (config->intrPriority > IRQ_PRIO_LOWEST) ? in Cy_SysInt_Init() 47 (void) irq_connect_dynamic(config->intrSrc, priority, in Cy_SysInt_Init()
|
/Zephyr-latest/include/zephyr/ |
D | irq.h | 65 irq_connect_dynamic(unsigned int irq, unsigned int priority, in irq_connect_dynamic() argument 69 return arch_irq_connect_dynamic(irq, priority, routine, parameter, in irq_connect_dynamic() 90 irq_disconnect_dynamic(unsigned int irq, unsigned int priority, in irq_disconnect_dynamic() argument 94 return arch_irq_disconnect_dynamic(irq, priority, routine, in irq_disconnect_dynamic()
|
/Zephyr-latest/samples/bluetooth/hci_uart/dts/arm/nordic/ |
D | override.dtsi | 1 /* Keep default IRQ priority low for peripherals to reduce Radio ISR latency. 2 * ARM Cortex-M4 lowest priority value of 5, i.e. considering Zephyr reserved 2 4 * ARM Cortex-M0 lowest priority value of 3, i.e. we use it as Zephyr has no
|