Home
last modified time | relevance | path

Searched full:priority (Results 1 – 25 of 1985) sorted by relevance

12345678910>>...80

/Zephyr-latest/kernel/
DKconfig.device41 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/tests/kernel/threads/thread_apis/src/
Dtest_threads_set_priority.c26 * @brief Test ISR used to change a thread's priority
37 * @brief thread2 portion to test setting the priority
46 /* lower thread2 priority by 5 */ in thread2_set_prio_test()
51 /* raise thread2 priority by 10 */ in thread2_set_prio_test()
56 /* restore thread2 priority */ in thread2_set_prio_test()
73 /* Lower the priority of the current thread (thread1) */ in ZTEST()
77 "Expected priority to be changed to %d, not %d\n", in ZTEST()
80 /* Raise the priority of the current thread (thread1) */ in ZTEST()
84 "Expected priority to be changed to %d, not %d\n", in ZTEST()
87 /* Restore the priority of the current thread (thread1) */ in ZTEST()
[all …]
/Zephyr-latest/drivers/gpio/
DKconfig.nct38xx18 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
DKconfig.rt1718s16 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
DKconfig.axp19215 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/drivers/power_domain/
DKconfig16 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/tests/kernel/ipi_optimize/src/
Dmain.c109 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()
120 "%s priority thread has not pended.\n", desc); 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()
[all …]
/Zephyr-latest/arch/xtensa/core/
Dirq_manage.c21 * @brief Set an interrupt's priority
23 * The priority is verified if ASSERT_ON is enabled.
25 * The priority is verified if ASSERT_ON is enabled. The maximum number of
26 * priority levels is a little complex, as there are some hardware priority
30 * Valid values are from 1 to 6. Interrupts of priority 1 are not masked when
32 * ISR installed with priority 0 interrupts cannot make kernel calls.
37 "invalid priority %d! values must be less than %d\n", in z_irq_priority_set()
39 /* TODO: Write code to set priority if this is ever possible on in z_irq_priority_set()
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()
[all …]
/Zephyr-latest/.github/workflows/
Dissues-report-config.json3 "section": "High Priority Bugs",
4 "labels": ["bug", "priority: high"],
8 "section": "Medium Priority Bugs",
9 "labels": ["bug", "priority: medium"],
13 "section": "Low Priority Bugs",
14 "labels": ["bug", "priority: low"],
/Zephyr-latest/dts/bindings/ipc/
Dzephyr,ipc-openamp-static-vrings.yaml32 zephyr,priority:
35 WQ priority for the instance. This property is an array composed by the
36 priority level and the type of priority (PRIO_COOP for cooperative or
39 For example for a thread priority K_PRIO_COOP(1) in DT we have
40 priority = <1 PRIO_COOP>;
42 priority = <2 PRIO_PREEMPT>;
44 When this property is missing a default priority of <0 PRIO_PREEMPT> is
/Zephyr-latest/drivers/regulator/
DKconfig.max2033516 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
DKconfig.npm130016 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
DKconfig.npm210016 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
DKconfig.pca942015 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
DKconfig.fake14 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/tests/kernel/mutex/mutex_api/src/
Dtest_mutex_apis.c122 /* record its original priority */ in tThread_T1_priority_inheritance()
125 /* wait for a time period to see if priority inheritance happened */ in tThread_T1_priority_inheritance()
128 int priority = k_thread_priority_get((k_tid_t)p2); in tThread_T1_priority_inheritance() local
131 zassert_equal(priority, THREAD_HIGH_PRIORITY, in tThread_T1_priority_inheritance()
132 "priority inheritance not happened!"); in tThread_T1_priority_inheritance()
136 /* check if priority set back to original one */ in tThread_T1_priority_inheritance()
137 priority = k_thread_priority_get((k_tid_t)p2); in tThread_T1_priority_inheritance()
139 zassert_equal(priority, priority_origin, in tThread_T1_priority_inheritance()
140 "priority inheritance adjust back not happened!"); in tThread_T1_priority_inheritance()
142 zassert_equal(priority, priority_origin, in tThread_T1_priority_inheritance()
[all …]
/Zephyr-latest/tests/kernel/mutex/sys_mutex/src/
Dmain.c12 * This module demonstrates the kernel's priority inheritance algorithm.
13 * A thread that owns a mutex is promoted to the priority level of the
14 * highest-priority thread attempting to lock the mutex.
24 * Timeline for priority inheritance testing:
29 * - 1.0 sec: main thread (@ priority 9) takes mutex_2 then sleeps
31 * - 2.0 sec: main thread (@ priority 8) takes mutex_3 then sleeps
33 * - 3.0 sec: main thread (@ priority 7) takes mutex_4 then sleeps
37 * - 4.0 sec: main thread wakes (@ priority 5) then sleeps
39 * - 5.0 sec: main thread wakes (@ priority 6) then gives mutex_4
40 * : main thread (@ priority 7) sleeps
[all …]
/Zephyr-latest/drivers/adc/
DKconfig.max1125x18 int "Init priority"
21 ADS1X1X ADC device driver initialization priority.
24 int "ADC MAX1125X async thread priority"
28 int "Priority for the ADC data acquisition thread"
31 Priority level for the internal ADC data acquisition thread.
DKconfig.tla202x18 int "Priority for the driver initialization"
21 Fine tune the priority for the driver initialization. Make sure it's
22 higher (-> lower priority) than I2C_INIT_PRIORITY.
27 int "Priority for the data acquisition thread"
30 Execution priority for the internal data acquisition thread.
/Zephyr-latest/subsys/sensing/
DKconfig56 int "priority for sensing subsystem runtime thread"
60 This is the thread priority for sensor subsystem runtime thread
62 to notify dispatch thread, runtime thread priority should lower than
63 dispatch thread priority to ensure dispatch thread could fetch data as
65 priority is higher than dispatch thread, and runtime running in full
79 int "priority for sensor dispatch thread"
83 This is the thread priority for sensing subsystem dispatch thread
85 thread priority should be higher than runtime thread
/Zephyr-latest/tests/kernel/sched/schedule_api/src/
Dtest_sched_timeslice_and_lock.c41 /* spawn thread with higher priority */ in setup_threads()
42 tdata[i].priority = init_prio - 1; in setup_threads()
44 /* spawn thread with same priority */ in setup_threads()
45 tdata[i].priority = init_prio; in setup_threads()
47 /* spawn thread with lower priority */ in setup_threads()
48 tdata[i].priority = init_prio + 1; in setup_threads()
62 NULL, tdata[i].priority, 0, in spawn_threads()
95 * @details Create 3 threads of priority -2, -1 and 0.
102 /* set current thread to a cooperative priority */ in ZTEST()
107 /* checkpoint: only higher priority thread get executed when yield */ in ZTEST()
[all …]
Dtest_sched_priority.c40 * @details Create a cooperative thread with priority higher
42 * priority thread will not preempt the lower priority cooperative
51 /* set current thread to a negative priority */ in ZTEST()
55 /* spawn thread with higher priority */ in ZTEST()
75 * @details Create a preemptive thread which is of priority
78 * preemptive thread which is of priority higher than current
87 /* set current thread to a non-negative priority */ in ZTEST()
117 * @details Create four preemptive threads which are of priority
118 * higher than current thread. Make sure that the highest priority
134 /* set current thread to a non-negative priority */ in ZTEST()
[all …]
/Zephyr-latest/lib/posix/options/
Dsyslog.c17 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()
75 /* invalid priority */ in vsyslog()
/Zephyr-latest/drivers/wifi/nrf_wifi/inc/
Dcoex_struct.h45 /* To insturct Coexistence Manager to allocate a priority window to SR */
49 /* To start allocating periodic priority windows to Wi-Fi and SR */
51 /* To start allocating virtual priority windows to Wi-Fi */
96 * struct coex_allocate_pti_window - Message to CM to request a priority window.
98 * @device_req_window: Indicates device requesting a priority window.
99 * @window_start_or_end: Indicates if request is posted to START or END a priority window.
103 * Message to CM to request a priority window
114 * struct coex_allocate_ppw - Message from CD to CM to allocate Periodic Priority Windows.
117 * @first_pti_window: Indicates first priority window in the series of PPWs.
119 * @wifi_window_duration: Indicates duration of Wi-Fi priority window.
[all …]
/Zephyr-latest/tests/subsys/portability/cmsis_rtos_v1/src/
Dthread_apis.c28 /* This thread starts off at a high priority (same as thread2) */ in thread1()
32 /* Yield to thread2 which is of same priority */ in thread1()
50 /* Yield back to thread1 which is of same priority */ in thread2()
61 /* Lower the priority of the current thread */ in thread3()
65 "Expected priority to be changed to %d, not %d", in thread3()
68 /* Increase the priority of the current thread */ in thread3()
72 "Expected priority to be changed to %d, not %d", in thread3()
75 /* Restore the priority of the current thread */ in thread3()
79 "Expected priority to be changed to %d, not %d", in thread3()
82 /* Try to set unsupported priority and assert failure */ in thread3()
[all …]

12345678910>>...80