Home
last modified time | relevance | path

Searched refs:work (Results 101 – 125 of 991) sorted by relevance

12345678910>>...40

/Zephyr-latest/doc/connectivity/bluetooth/api/mesh/
Dcore.rst77 the change needs to be stored persistently, the stack schedules a work item.
78 The delay between scheduling the work item and submitting it to the workqueue
80 storing of data is scheduled, it can not be rescheduled until the work item is
83 When IV index, Sequence Number or CDB configuration have to be stored, the work
84 item is submitted to the workqueue without the delay. If the work item was
87 The Replay Protection List uses the same work item to store RPL entries. If
92 :kconfig:option:`CONFIG_BT_MESH_RPL_STORE_TIMEOUT`, and the work item was
93 scheduled by the Replay Protection List, the work item will be rescheduled.
95 When the work item is running, the stack will store all pending configuration,
102 context from which the work item is executed. This option is enabled by
[all …]
/Zephyr-latest/drivers/sensor/memsic/mc3419/
Dmc3419_trigger.c28 k_work_submit(&data->work); in mc3419_gpio_callback()
74 static void mc3419_work_cb(struct k_work *work) in mc3419_work_cb() argument
76 struct mc3419_driver_data *data = CONTAINER_OF(work, in mc3419_work_cb()
77 struct mc3419_driver_data, work); in mc3419_work_cb()
158 k_work_init(&data->work, mc3419_work_cb); in mc3419_trigger_init()
/Zephyr-latest/drivers/sensor/microchip/tcn75a/
Dtcn75a_trigger.c147 k_work_submit(&data->work); in tcn75a_gpio_callback()
167 static void tcn75a_work_handler(struct k_work *work) in tcn75a_work_handler() argument
169 struct tcn75a_data *data = CONTAINER_OF(work, struct tcn75a_data, work); in tcn75a_work_handler()
204 data->work.handler = tcn75a_work_handler; in tcn75a_trigger_init()
/Zephyr-latest/drivers/sensor/nxp/fxas21002/
Dfxas21002_trigger.c32 k_work_submit(&data->work); in fxas21002_gpio_callback()
86 static void fxas21002_work_handler(struct k_work *work) in fxas21002_work_handler() argument
89 CONTAINER_OF(work, struct fxas21002_data, work); in fxas21002_work_handler()
185 data->work.handler = fxas21002_work_handler; in fxas21002_trigger_init()
/Zephyr-latest/drivers/sensor/renesas/isl29035/
Disl29035_trigger.c41 k_work_submit(&drv_data->work); in handle_int()
140 static void isl29035_work_cb(struct k_work *work) in isl29035_work_cb() argument
143 CONTAINER_OF(work, struct isl29035_driver_data, work); in isl29035_work_cb()
217 drv_data->work.handler = isl29035_work_cb; in isl29035_init_interrupt()
/Zephyr-latest/drivers/sensor/st/lps2xdf/
Dlps2xdf_trigger.c53 k_work_submit(&lps2xdf->work); in lps2xdf_intr_callback()
90 static void lps2xdf_work_cb(struct k_work *work) in lps2xdf_work_cb() argument
93 CONTAINER_OF(work, struct lps2xdf_data, work); in lps2xdf_work_cb()
147 lps2xdf->work.handler = lps2xdf_work_cb; in lps2xdf_init_interrupt()
/Zephyr-latest/drivers/sensor/tdk/icm42688/
Dicm42688_trigger.c32 k_work_submit(&data->work); in icm42688_gpio_callback()
71 static void icm42688_work_handler(struct k_work *work) in icm42688_work_handler() argument
73 struct icm42688_dev_data *data = CONTAINER_OF(work, struct icm42688_dev_data, work); in icm42688_work_handler()
148 data->work.handler = icm42688_work_handler; in icm42688_trigger_init()
/Zephyr-latest/drivers/sensor/ti/tmp007/
Dtmp007_trigger.c80 k_work_submit(&drv_data->work); in tmp007_gpio_callback()
123 static void tmp007_work_cb(struct k_work *work) in tmp007_work_cb() argument
126 CONTAINER_OF(work, struct tmp007_data, work); in tmp007_work_cb()
197 drv_data->work.handler = tmp007_work_cb; in tmp007_init_interrupt()
/Zephyr-latest/drivers/sensor/adi/adxl362/
Dadxl362_trigger.c66 k_work_submit(&drv_data->work); in adxl362_gpio_callback()
84 static void adxl362_work_cb(struct k_work *work) in adxl362_work_cb() argument
87 CONTAINER_OF(work, struct adxl362_data, work); in adxl362_work_cb()
191 drv_data->work.handler = adxl362_work_cb; in adxl362_init_interrupt()
/Zephyr-latest/drivers/sensor/adi/adxl367/
Dadxl367_trigger.c65 k_work_submit(&drv_data->work); in adxl367_gpio_callback()
79 static void adxl367_work_cb(struct k_work *work) in adxl367_work_cb() argument
82 CONTAINER_OF(work, struct adxl367_data, work); in adxl367_work_cb()
184 drv_data->work.handler = adxl367_work_cb; in adxl367_init_interrupt()
/Zephyr-latest/drivers/sensor/adi/adxl372/
Dadxl372_trigger.c74 k_work_submit(&drv_data->work); in adxl372_gpio_callback()
93 static void adxl372_work_cb(struct k_work *work) in adxl372_work_cb() argument
96 CONTAINER_OF(work, struct adxl372_data, work); in adxl372_work_cb()
198 drv_data->work.handler = adxl372_work_cb; in adxl372_init_interrupt()
/Zephyr-latest/drivers/sensor/amg88xx/
Damg88xx_trigger.c89 k_work_submit(&drv_data->work); in amg88xx_gpio_callback()
131 static void amg88xx_work_cb(struct k_work *work) in amg88xx_work_cb() argument
134 CONTAINER_OF(work, struct amg88xx_data, work); in amg88xx_work_cb()
208 drv_data->work.handler = amg88xx_work_cb; in amg88xx_init_interrupt()
/Zephyr-latest/drivers/sensor/ams/tsl2540/
Dtsl2540_trigger.c31 k_work_submit(&drv_data->work); in tsl2540_handle_int()
99 static void tsl2540_work_handler(struct k_work *work) in tsl2540_work_handler() argument
101 struct tsl2540_data *data = CONTAINER_OF(work, struct tsl2540_data, work); in tsl2540_work_handler()
201 data->work.handler = tsl2540_work_handler; in tsl2540_trigger_init()
/Zephyr-latest/subsys/net/lib/shell/
Dping.c25 struct k_work_delayable work; member
239 k_work_cancel_delayable(&ctx->work); in ping_done()
245 static void ping_work(struct k_work *work) in ping_work() argument
247 struct k_work_delayable *dwork = k_work_delayable_from_work(work); in ping_work()
249 CONTAINER_OF(dwork, struct ping_context, work); in ping_work()
263 k_work_reschedule(&ctx->work, K_MSEC(ctx->interval)); in ping_work()
265 k_work_reschedule(&ctx->work, K_SECONDS(2)); in ping_work()
295 k_work_cancel_delayable(&ping_ctx.work); in ping_bypass()
446 k_work_init_delayable(&ping_ctx.work, ping_work); in cmd_net_ping()
485 k_work_reschedule(&ping_ctx.work, K_NO_WAIT); in cmd_net_ping()
/Zephyr-latest/include/zephyr/
Dkernel.h3386 typedef void (*k_work_handler_t)(struct k_work *work);
3401 void k_work_init(struct k_work *work,
3418 int k_work_busy_get(const struct k_work *work);
3433 static inline bool k_work_is_pending(const struct k_work *work);
3456 struct k_work *work);
3466 int k_work_submit(struct k_work *work);
3492 bool k_work_flush(struct k_work *work,
3514 int k_work_cancel(struct k_work *work);
3546 bool k_work_cancel_sync(struct k_work *work, struct k_work_sync *sync);
3677 k_work_delayable_from_work(struct k_work *work);
[all …]
/Zephyr-latest/drivers/input/
Dinput_ili2132a.c26 struct k_work work; member
39 k_work_submit(&data->work); in gpio_isr()
68 struct ili2132a_data *data = CONTAINER_OF(work_item, struct ili2132a_data, work); in ili2132a_work_handler()
126 k_work_init(&data->work, ili2132a_work_handler); in ili2132a_init()
Dinput_cf1133.c80 struct k_work work; member
240 static void cf1133_work_handler(struct k_work *work) in cf1133_work_handler() argument
242 struct cf1133_data *data = CONTAINER_OF(work, struct cf1133_data, work); in cf1133_work_handler()
253 k_work_submit(&data->work); in cf1133_isr_handler()
260 k_work_submit(&data->work); in cf1133_timer_handler()
276 k_work_init(&data->work, cf1133_work_handler); in cf1133_init()
/Zephyr-latest/drivers/mfd/
Dmfd_npm2100.c82 struct k_work work; member
125 k_work_submit(&data->work); in gpio_callback()
128 static void work_callback(struct k_work *work) in work_callback() argument
130 struct mfd_npm2100_data *data = CONTAINER_OF(work, struct mfd_npm2100_data, work); in work_callback()
138 k_work_submit(&data->work); in work_callback()
152 k_work_submit(&data->work); in work_callback()
158 k_work_submit(&data->work); in work_callback()
288 mfd_data->work.handler = work_callback; in mfd_npm2100_init()
/Zephyr-latest/subsys/ipc/ipc_service/lib/
DKconfig.icmsg53 int "Size of RX work queue stack"
56 Size of stack used by work queue RX thread. This work queue is
58 from the system work queue. The queue is shared among instances.
61 int "Priority of RX work queue thread"
65 Priority of the ICMSG RX work queue thread.
/Zephyr-latest/drivers/wifi/esp_at/
Desp_socket.c17 struct k_work work; member
232 static void esp_workq_flush_work(struct k_work *work) argument
235 CONTAINER_OF(work, struct esp_workq_flush_data, work);
244 k_work_init(&flush.work, esp_workq_flush_work);
249 __esp_socket_work_submit(sock, &flush.work);
Desp.h352 struct k_work *work) in __esp_socket_work_submit() argument
356 k_work_submit_to_queue(&data->workq, work); in __esp_socket_work_submit()
360 struct k_work *work) in esp_socket_work_submit() argument
366 __esp_socket_work_submit(sock, work); in esp_socket_work_submit()
430 void esp_connect_work(struct k_work *work);
431 void esp_recvdata_work(struct k_work *work);
432 void esp_close_work(struct k_work *work);
433 void esp_send_work(struct k_work *work);
/Zephyr-latest/drivers/sensor/honeywell/sm351lt/
Dsm351lt.c63 k_work_submit(&data->work); in sm351lt_gpio_callback()
94 static void sm351lt_work_cb(struct k_work *work) in sm351lt_work_cb() argument
97 CONTAINER_OF(work, struct sm351lt_data, work); in sm351lt_work_cb()
225 data->work.handler = sm351lt_work_cb; in sm351lt_init()
/Zephyr-latest/drivers/sensor/st/lis2ds12/
Dlis2ds12_trigger.c36 k_work_submit(&data->work); in lis2ds12_gpio_callback()
85 static void lis2ds12_work_cb(struct k_work *work) in lis2ds12_work_cb() argument
88 CONTAINER_OF(work, struct lis2ds12_data, work); in lis2ds12_work_cb()
172 data->work.handler = lis2ds12_work_cb; in lis2ds12_trigger_init()
/Zephyr-latest/drivers/sensor/st/lps22hh/
Dlps22hh_trigger.c103 k_work_submit(&lps22hh->work); in lps22hh_intr_callback()
141 static void lps22hh_work_cb(struct k_work *work) in lps22hh_work_cb() argument
144 CONTAINER_OF(work, struct lps22hh_data, work); in lps22hh_work_cb()
199 lps22hh->work.handler = lps22hh_work_cb; in lps22hh_init_interrupt()
/Zephyr-latest/drivers/sensor/ams/ccs811/
Dccs811_trigger.c71 k_work_submit(&data->work); in handle_irq()
114 static void work_cb(struct k_work *work) in work_cb() argument
116 struct ccs811_data *data = CONTAINER_OF(work, struct ccs811_data, work); in work_cb()
204 drv_data->work.handler = work_cb; in ccs811_init_interrupt()

12345678910>>...40