Home
last modified time | relevance | path

Searched refs:work (Results 126 – 150 of 991) sorted by relevance

12345678910>>...40

/Zephyr-latest/samples/bluetooth/mesh/src/
Dmain.c55 struct k_work_delayable work; member
113 k_work_delayable_remaining_get(&onoff.work)) + in onoff_status_send()
132 static void onoff_timeout(struct k_work *work) in onoff_timeout() argument
143 k_work_reschedule(&onoff.work, K_MSEC(onoff.transition_time)); in onoff_timeout()
199 k_work_reschedule(&onoff.work, K_MSEC(delay)); in gen_onoff_set_unack()
327 static void button_pressed(struct k_work *work) in button_pressed() argument
425 k_work_init_delayable(&onoff.work, onoff_timeout); in main()
/Zephyr-latest/samples/net/ptp/src/
Dmain.c22 static void stop_handler(struct k_work *work) in stop_handler() argument
24 ARG_UNUSED(work); in stop_handler()
/Zephyr-latest/drivers/sensor/nordic/temp/
Dtemp_nrfs.c36 struct k_work work; member
76 static void temp_nrfs_work_handler(struct k_work *work) in temp_nrfs_work_handler() argument
79 CONTAINER_OF(work, struct temp_nrfs_data, work); in temp_nrfs_work_handler()
196 k_work_submit(&data->work); in sensor_handler()
305 .work = Z_WORK_INITIALIZER(temp_nrfs_work_handler),
/Zephyr-latest/doc/hardware/peripherals/sensor/
Dfetch_and_get.rst14 These functions work together. The fetch APIs block the calling context which
51 handlers. Either the trigger handler is run using the system work queue thread
55 :kconfig:option:`CONFIG_BMI160_TRIGGER_GLOBAL_THREAD` (work queue),
58 Some notable attributes of using a driver dedicated thread vs the system work
70 interrupt to your callback function being run. In the work queue
71 (GLOBAL_THREAD) case the work queue itself can be the source of variable
/Zephyr-latest/tests/net/socket/socketpair/src/
Dpoll.c15 static ZTEST_BMEM struct k_work work; variable
112 k_work_init(&work, close_fun); in ZTEST_F()
113 k_work_submit(&work); in ZTEST_F()
150 k_work_init(&work, close_fun); in ZTEST_F()
151 k_work_submit(&work); in ZTEST_F()
257 k_work_init(&work, rw_fun); in ZTEST_F()
258 k_work_submit(&work); in ZTEST_F()
280 k_work_init(&work, rw_fun); in ZTEST_F()
281 k_work_submit(&work); in ZTEST_F()
/Zephyr-latest/drivers/dma/
Ddma_emul.c40 struct k_work work; member
66 struct dma_emul_work work; member
69 static void dma_emul_work_handler(struct k_work *work);
196 static void dma_emul_work_handler(struct k_work *work) in dma_emul_work_handler() argument
206 struct dma_emul_work *dma_work = CONTAINER_OF(work, struct dma_emul_work, work); in dma_emul_work_handler()
435 data->work.channel = channel; in dma_emul_start()
448 ret = k_work_submit_to_queue(&data->work_q, &data->work.work); in dma_emul_start()
543 data->work.dev = dev; in dma_emul_init()
549 k_work_init(&data->work.work, dma_emul_work_handler); in dma_emul_init()
/Zephyr-latest/subsys/mgmt/mcumgr/smp_client/src/
Dclient.c52 static void smp_client_handle_reqs(struct k_work *work) in smp_client_handle_reqs() argument
58 smp_client = (void *)work; in smp_client_handle_reqs()
79 static void smp_client_transport_work_fn(struct k_work *work) in smp_client_transport_work_fn() argument
89 ARG_UNUSED(work); in smp_client_transport_work_fn()
115 k_work_submit_to_queue(smp_get_wq(), &entry->smp_client->work); in smp_client_transport_work_fn()
221 k_work_init(&smp_client->work, smp_client_handle_reqs); in smp_client_object_init()
325 k_work_submit_to_queue(smp_get_wq(), &smp_client->work); in smp_client_send_cmd()
/Zephyr-latest/drivers/serial/
DKconfig.emul28 int "UART emulator work queue stack size"
32 int "UART emulator work queue thread priority"
/Zephyr-latest/samples/net/gptp/src/
Dgptp.c24 static void stop_handler(struct k_work *work) in stop_handler() argument
26 ARG_UNUSED(work); in stop_handler()
/Zephyr-latest/soc/st/stm32/stm32wbax/hci_if/
Dhost_stack_if.c34 static void ble_ctlr_stack_handler(struct k_work *work) in ble_ctlr_stack_handler() argument
59 static void bpka_work_handler(struct k_work *work) in bpka_work_handler() argument
/Zephyr-latest/drivers/sensor/sensirion/sht3xd/
Dsht3xd_trigger.c107 k_work_submit(&data->work); in handle_alert()
180 static void sht3xd_work_cb(struct k_work *work) in sht3xd_work_cb() argument
183 CONTAINER_OF(work, struct sht3xd_data, work); in sht3xd_work_cb()
250 data->work.handler = sht3xd_work_cb; in sht3xd_init_interrupt()
/Zephyr-latest/drivers/sensor/st/iis2iclx/
Diis2iclx_trigger.c181 k_work_submit(&iis2iclx->work); in iis2iclx_gpio_callback()
201 static void iis2iclx_work_cb(struct k_work *work) in iis2iclx_work_cb() argument
204 CONTAINER_OF(work, struct iis2iclx_data, work); in iis2iclx_work_cb()
232 iis2iclx->work.handler = iis2iclx_work_cb; in iis2iclx_init_interrupt()
/Zephyr-latest/drivers/sensor/bosch/bma280/
Dbma280_trigger.c84 k_work_submit(&drv_data->work); in bma280_gpio_callback()
145 static void bma280_work_cb(struct k_work *work) in bma280_work_cb() argument
148 CONTAINER_OF(work, struct bma280_data, work); in bma280_work_cb()
293 drv_data->work.handler = bma280_work_cb; in bma280_init_interrupt()
/Zephyr-latest/drivers/sensor/bosch/bmg160/
Dbmg160_trigger.c43 k_work_submit(&bmg160->work); in bmg160_gpio_callback()
200 static void bmg160_work_cb(struct k_work *work) in bmg160_work_cb() argument
203 CONTAINER_OF(work, struct bmg160_device_data, work); in bmg160_work_cb()
259 bmg160->work.handler = bmg160_work_cb; in bmg160_trigger_init()
/Zephyr-latest/subsys/tracing/ctf/
Dtracing_ctf.h76 #define sys_port_trace_k_work_init(work) argument
77 #define sys_port_trace_k_work_submit_to_queue_enter(queue, work) argument
78 #define sys_port_trace_k_work_submit_to_queue_exit(queue, work, ret) argument
79 #define sys_port_trace_k_work_submit_enter(work) argument
80 #define sys_port_trace_k_work_submit_exit(work, ret) argument
81 #define sys_port_trace_k_work_flush_enter(work) argument
82 #define sys_port_trace_k_work_flush_blocking(work, timeout) argument
83 #define sys_port_trace_k_work_flush_exit(work, ret) argument
84 #define sys_port_trace_k_work_cancel_enter(work) argument
85 #define sys_port_trace_k_work_cancel_exit(work, ret) argument
[all …]
/Zephyr-latest/samples/boards/nordic/mesh/onoff_level_lighting_vnd_app/src/mesh/
Dno_transition_work_handler.c14 static void unsolicitedly_publish_states_work_handler(struct k_work *work) in unsolicitedly_publish_states_work_handler() argument
37 static void no_transition_work_handler(struct k_work *work) in no_transition_work_handler() argument
/Zephyr-latest/drivers/sensor/st/iis328dq/
Diis328dq_trigger.c217 k_work_submit(&iis328dq->work); in iis328dq_int1_gpio_callback()
233 k_work_submit(&iis328dq->work); in iis328dq_int2_gpio_callback()
253 static void iis328dq_work_cb(struct k_work *work) in iis328dq_work_cb() argument
255 struct iis328dq_data *iis328dq = CONTAINER_OF(work, struct iis328dq_data, work); in iis328dq_work_cb()
294 iis328dq->work.handler = iis328dq_work_cb; in iis328dq_init_interrupt()
/Zephyr-latest/drivers/input/
Dinput_gt911.c57 struct k_work work; member
198 static void gt911_work_handler(struct k_work *work) in gt911_work_handler() argument
200 struct gt911_data *data = CONTAINER_OF(work, struct gt911_data, work); in gt911_work_handler()
210 k_work_submit(&data->work); in gt911_isr_handler()
217 k_work_submit(&data->work); in gt911_timer_handler()
253 k_work_init(&data->work, gt911_work_handler); in gt911_init()
/Zephyr-latest/doc/connectivity/networking/api/
Dtraffic-class.rst19 specific kernel work queue. Each kernel work queue has a priority.
23 kernel work queue. The maximum number of traffic classes for both Rx and Tx
/Zephyr-latest/boards/ene/kb1200_evb/support/
Dopenocd.cfg38 $_TARGETNAME configure -work-area-phys 0x200c0000 -work-area-size $_WORKAREASIZE -work-area-backup 0
/Zephyr-latest/subsys/usb/device_next/
Dusbd_msg.c18 static void msg_work_handler(struct k_work *work);
55 static void msg_work_handler(struct k_work *work) in msg_work_handler() argument
57 struct k_work_delayable *dwork = k_work_delayable_from_work(work); in msg_work_handler()
/Zephyr-latest/subsys/tracing/sysview/
DSYSVIEW_Zephyr.txt125 113 k_work_cancel work=%I
131 119 k_work_flush work=%I
133 121 k_work_init work=%I
134 122 k_work_poll_cancel work=%I
135 123 k_work_poll_init work=%I
136 124 k_work_poll_submit work=%I, Timeout=%TimeOut
137 125 k_work_poll_submit_to_queue work_q=%I, work=%I, Timeout=%TimeOut
143 131 k_work_submit work=%I | Returns %ErrCodePosix
144 132 k_work_submit_to_queue queue=%I, work=%I | Returns %ErrCodePosix
/Zephyr-latest/drivers/stepper/step_dir/
Dstep_dir_stepper_work_timing.c20 static void stepper_work_step_handler(struct k_work *work) in stepper_work_step_handler() argument
22 struct k_work_delayable *dwork = k_work_delayable_from_work(work); in stepper_work_step_handler()
/Zephyr-latest/drivers/sensor/ti/tmp108/
Dtmp108_trigger.c17 void tmp108_trigger_handle_one_shot(struct k_work *work) in tmp108_trigger_handle_one_shot() argument
19 struct k_work_delayable *delayable_work = k_work_delayable_from_work(work); in tmp108_trigger_handle_one_shot()
/Zephyr-latest/subsys/ipc/rpmsg_service/
DKconfig55 int "Size of RX work queue stack"
58 Size of stack used by work queue RX thread. This work queue is
60 service users about received data from the system work queue.

12345678910>>...40