Home
last modified time | relevance | path

Searched refs:thread (Results 126 – 150 of 920) sorted by relevance

12345678910>>...37

/Zephyr-latest/include/zephyr/arch/arc/v2/mpu/
Darc_core_mpu.h60 void arc_core_mpu_configure_thread(struct k_thread *thread);
86 void arc_core_mpu_configure_mem_domain(struct k_thread *thread);
95 void configure_mpu_thread(struct k_thread *thread);
/Zephyr-latest/drivers/sensor/bosch/bmp388/
DKconfig27 bool "Use global thread"
33 bool "Use own thread"
49 int "Own thread priority"
53 Priority of the thread used by the driver to handle interrupts.
56 int "Own thread stack size"
60 Stack size of thread used by the driver to handle interrupts.
/Zephyr-latest/arch/mips/core/
Dthread.c13 void z_thread_entry(k_thread_entry_t thread,
18 void arch_new_thread(struct k_thread *thread, k_thread_stack_t *stack, in arch_new_thread() argument
40 thread->callee_saved.sp = (unsigned long)stack_init; in arch_new_thread()
/Zephyr-latest/drivers/usb/udc/
DKconfig.numaker21 int "UDC NuMaker driver internal thread stack size"
24 Size of the stack for the driver internal thread.
27 int "UDC NuMaker driver internal thread priority"
30 Priority of the driver internal thread.
DKconfig.renesas_ra16 int "UDC controller driver internal thread stack size"
19 Renesas RA device controller driver internal thread stack size.
22 int "Renesas RA family UDC driver thread priority"
25 Renesas RA device controller driver thread priority.
/Zephyr-latest/drivers/input/
DKconfig.evdev17 int "Priority for the Linux evdev thread"
20 Priority level of the internal thread handling Linux input events.
23 int "Sleep period for the Linux evdev thread"
27 events thread.
/Zephyr-latest/drivers/adc/
DKconfig.mcp320x20 int "Stack size for the ADC data acquisition thread"
24 thread.
27 int "Priority for the ADC data acquisition thread"
30 Priority level for the internal ADC data acquisition thread.
DKconfig.ads1x1x28 int "Priority for the ADC data acquisition thread"
31 Priority level for the internal ADC data acquisition thread.
34 int "Stack size for the ADC data acquisition thread"
38 thread.
DKconfig.ads705224 int "Stack size for the ADC data acquisition thread"
28 thread.
31 int "Priority for the ADC data acquisition thread"
34 Priority level for the internal ADC data acquisition thread.
DKconfig.adc_emul16 int "Stack size for the ADC data acquisition thread"
20 thread. Increasing size may be required when value function for
24 int "Priority for the ADC data acquisition thread"
27 Priority level for the internal ADC data acquisition thread.
/Zephyr-latest/tests/arch/xtensa/save_restore_hifi/src/
Dmain.c14 struct k_thread thread[NUM_THREADS]; variable
25 k_thread_start(&thread[index + 1]); in thread_entry()
67 k_thread_create(&thread[i], thread_stack[i], STACK_SIZE, in ZTEST()
74 k_thread_start(&thread[0]); in ZTEST()
/Zephyr-latest/subsys/input/
DKconfig32 bool "Process input events in a dedicated thread"
36 processed asynchronously in a dedicated thread.
43 bool "Override default input thread priority"
45 Option to change the default value of input thread priority.
49 int "Input thread priority"
52 Set thread priority of the input
62 int "Input thread stack size"
65 Stack size for the thread processing the input events, must have
/Zephyr-latest/subsys/portability/cmsis_rtos_v2/
Dthread.c42 static inline int _is_thread_cmsis_inactive(struct k_thread *thread) in _is_thread_cmsis_inactive() argument
44 uint8_t state = thread->base.thread_state; in _is_thread_cmsis_inactive()
515 struct k_thread *thread; in osThreadGetCount() local
519 for (thread = _kernel.threads; thread; thread = thread->next_thread) { in osThreadGetCount()
520 if (get_cmsis_thread_id(thread) && z_is_thread_queued(thread)) { in osThreadGetCount()
533 struct k_thread *thread; in osThreadEnumerate() local
541 for (thread = _kernel.threads; thread; thread = thread->next_thread) { in osThreadEnumerate()
546 tid = get_cmsis_thread_id(thread); in osThreadEnumerate()
/Zephyr-latest/subsys/tracing/sysview/
Dtracing_sysview.h19 void sys_trace_thread_info(struct k_thread *thread);
40 #define sys_port_trace_k_thread_heap_assign(thread, heap) argument
41 #define sys_port_trace_k_thread_join_enter(thread, timeout) \ argument
42 SEGGER_SYSVIEW_RecordU32x2(TID_THREAD_JOIN, (uint32_t)(uintptr_t)thread, \
44 #define sys_port_trace_k_thread_join_blocking(thread, timeout) argument
45 #define sys_port_trace_k_thread_join_exit(thread, timeout, ret) \ argument
72 #define sys_port_trace_k_thread_wakeup(thread) \ argument
73 SEGGER_SYSVIEW_RecordU32(TID_THREAD_WAKEUP, (uint32_t)(uintptr_t)thread)
75 #define sys_port_trace_k_thread_start(thread) \ argument
76 SEGGER_SYSVIEW_RecordU32(TID_THREAD_START, (uint32_t)(uintptr_t)thread)
[all …]
/Zephyr-latest/include/zephyr/arch/arc/v2/dsp/
Darc_dsp.h22 void arc_dsp_disable(struct k_thread *thread, unsigned int options);
37 void arc_dsp_enable(struct k_thread *thread, unsigned int options);
/Zephyr-latest/include/zephyr/tracing/
Dtracing.h82 #define sys_port_trace_k_thread_join_enter(thread, timeout) argument
89 #define sys_port_trace_k_thread_join_blocking(thread, timeout) argument
97 #define sys_port_trace_k_thread_join_exit(thread, timeout, ret) argument
159 #define sys_port_trace_k_thread_wakeup(thread) argument
165 #define sys_port_trace_k_thread_start(thread) argument
171 #define sys_port_trace_k_thread_abort(thread) argument
177 #define sys_port_trace_k_thread_abort_enter(thread) argument
183 #define sys_port_trace_k_thread_abort_exit(thread) argument
189 #define sys_port_trace_k_thread_priority_set(thread) argument
196 #define sys_port_trace_k_thread_suspend_enter(thread) argument
[all …]
/Zephyr-latest/kernel/include/
Dkswap.h29 void z_smp_release_global_lock(struct k_thread *thread);
53 static inline void z_sched_switch_spin(struct k_thread *thread) in z_sched_switch_spin() argument
56 volatile void **shp = (void *)&thread->switch_handle; in z_sched_switch_spin()
198 static inline void z_sched_switch_spin(struct k_thread *thread) in z_sched_switch_spin() argument
200 ARG_UNUSED(thread); in z_sched_switch_spin()
/Zephyr-latest/tests/benchmarks/sched_userspace/src/
Dmain.c50 struct k_app_thread *thread = (struct k_app_thread *) _thread; in yielder_entry() local
54 thread->partition, in yielder_entry()
57 ret = k_mem_domain_init(&thread->domain, ARRAY_SIZE(parts), parts); in yielder_entry()
64 k_mem_domain_add_thread(&thread->domain, k_current_get()); in yielder_entry()
87 threads[tid] = k_thread_create(&app_threads[tid].thread, in exec_test()
/Zephyr-latest/samples/userspace/prod_consumer/
DREADME.rst18 - Use of APIs like ``k_queue_alloc_append()`` which require thread resource
40 - App A monitor thread in user mode waits for data in the message queue.
44 - Application B processing thread waits on new items in the queue. It
47 - Application A writeback thread monitors the outgoing data queue for
62 I:monitor thread got data payload #0
64 I:monitor thread got data payload #1
66 I:monitor thread got data payload #2
68 I:monitor thread got data payload #3
70 I:monitor thread got data payload #4
74 I:monitor thread got data payload #5
[all …]
/Zephyr-latest/drivers/sensor/jedec/jc42/
DKconfig28 bool "Use global thread"
34 bool "Use own thread"
42 int "Sensor delayed work thread stack size"
47 int "JC42 thread priority"
/Zephyr-latest/tests/kernel/smp_abort/src/
Dmain.c20 struct k_thread thread[NUM_THREADS]; variable
74 isr_args[i].target = &thread[(i + 1) % NUM_THREADS]; in ZTEST()
79 k_thread_create(&thread[i], thread_stack[i], in ZTEST()
86 k_thread_join(&thread[i], K_FOREVER); in ZTEST()
/Zephyr-latest/doc/develop/api/
Dterminology.rst7 allowed calling context (thread, ISR, pre-kernel), the effect of a call
8 on the current thread state, and other behavioral characteristics.
13 if executing the function can cause the invoking thread to sleep
15 if a parameter to the function can prevent the invoking thread from
19 effect whether invoked from interrupt or thread context
29 if the calling thread must have supervisor privileges to execute the
47 is invoked by a thread it is possible for that thread to be suspended as
48 a consequence of a higher-priority thread being made ready. Whether the
50 reschedule point and the relative priorities of the invoking thread and
54 interrupts, any thread may be suspended in any function.
[all …]
/Zephyr-latest/samples/net/cellular_modem/server/
Dte_udp_echo.py11 self.thread = threading.Thread(target=self._target_)
14 self.thread.start()
18 self.thread.join(1)
/Zephyr-latest/arch/arc/core/mpu/
Darc_mpu_v4_internal.h521 void arc_core_mpu_configure_thread(struct k_thread *thread) in arc_core_mpu_configure_thread() argument
547 if ((thread->base.user_options & K_USER) != 0U) { in arc_core_mpu_configure_thread()
548 guard_start = thread->arch.priv_stack_start; in arc_core_mpu_configure_thread()
552 guard_start = thread->stack_info.start; in arc_core_mpu_configure_thread()
558 LOG_ERR("thread %p's stack guard failed", thread); in arc_core_mpu_configure_thread()
565 if (thread->base.user_options & K_USER) { in arc_core_mpu_configure_thread()
566 LOG_DBG("configure user thread %p's stack", thread); in arc_core_mpu_configure_thread()
568 (uint32_t)thread->stack_info.start, in arc_core_mpu_configure_thread()
569 thread->stack_info.size) < 0) { in arc_core_mpu_configure_thread()
570 LOG_ERR("thread %p's stack failed", thread); in arc_core_mpu_configure_thread()
[all …]
/Zephyr-latest/tests/posix/eventfd/src/
Dblocking.c75 static struct k_thread thread; variable
88 k_thread_create(&thread, thread_stack, K_THREAD_STACK_SIZEOF(thread_stack), in ZTEST_F()
97 k_thread_join(&thread, K_FOREVER); in ZTEST_F()
118 k_thread_create(&thread, thread_stack, K_THREAD_STACK_SIZEOF(thread_stack), in ZTEST_F()
131 zassert_ok(k_thread_join(&thread, K_FOREVER)); in ZTEST_F()
154 k_thread_create(&thread, thread_stack, K_THREAD_STACK_SIZEOF(thread_stack), in ZTEST_F()
163 zassert_ok(k_thread_join(&thread, K_FOREVER)); in ZTEST_F()

12345678910>>...37