Home
last modified time | relevance | path

Searched refs:work_item (Results 1 – 6 of 6) sorted by relevance

/Zephyr-latest/tests/benchmarks/footprints/src/
Dworkq.c41 struct k_work work_item; in simple_workq_thread() local
48 k_work_init(&work_item, workq_func); in simple_workq_thread()
49 k_work_submit_to_queue(&workq, &work_item); in simple_workq_thread()
56 struct k_work_delayable work_item; in delayed_workq_thread() local
63 k_work_init_delayable(&work_item, workq_func); in delayed_workq_thread()
64 k_work_reschedule_for_queue(&workq, &work_item, K_NO_WAIT); in delayed_workq_thread()
/Zephyr-latest/tests/kernel/pending/src/
Dmain.c54 struct k_work work_item; member
114 CONTAINER_OF(work, struct offload_work, work_item); in sync_threads()
307 k_work_init(&offload1.work_item, sync_threads); in ZTEST()
309 k_work_submit_to_queue(&offload_work_q, &offload1.work_item); in ZTEST()
339 k_work_init(&offload1.work_item, sync_threads); in ZTEST()
341 k_work_submit_to_queue(&offload_work_q, &offload1.work_item); in ZTEST()
375 k_work_init(&offload1.work_item, sync_threads); in ZTEST()
377 k_work_submit_to_queue(&offload_work_q, &offload1.work_item); in ZTEST()
379 k_work_init(&offload2.work_item, sync_threads); in ZTEST()
381 k_work_submit_to_queue(&offload_work_q, &offload2.work_item); in ZTEST()
[all …]
/Zephyr-latest/tests/kernel/workq/critical/src/
Dmain.c92 struct k_work work_item; in critical_loop() local
100 k_work_init(&work_item, critical_rtn); in critical_loop()
101 k_work_submit_to_queue(&offload_work_q, &work_item); in critical_loop()
/Zephyr-latest/drivers/input/
Dinput_ili2132a.c66 static void ili2132a_work_handler(struct k_work *work_item) in ili2132a_work_handler() argument
68 struct ili2132a_data *data = CONTAINER_OF(work_item, struct ili2132a_data, work); in ili2132a_work_handler()
/Zephyr-latest/tests/bsim/bluetooth/host/l2cap/stress/src/
Dmain.c54 struct k_work_delayable work_item; member
91 k_work_reschedule(&(get_ctx(chan)->work_item), RESCHEDULE_DELAY); in l2cap_chan_send()
187 struct test_ctx, work_item); in deferred_send()
206 k_work_init_delayable(&contexts[i].work_item, deferred_send); in alloc_test_context()
/Zephyr-latest/doc/kernel/services/threads/
Dworkqueue.rst432 work_item);