Home
last modified time | relevance | path

Searched refs:k_work_schedule (Results 1 – 25 of 55) sorted by relevance

123

/Zephyr-Core-3.4.0/tests/bluetooth/host/id/mocks/
Dkernel.h14 FAKE(k_work_schedule) \
19 DECLARE_FAKE_VALUE_FUNC(int, k_work_schedule, struct k_work_delayable *, k_timeout_t);
Dkernel.c12 DEFINE_FAKE_VALUE_FUNC(int, k_work_schedule, struct k_work_delayable *, k_timeout_t);
/Zephyr-Core-3.4.0/samples/net/lwm2m_client/src/
Dtemperature.c51 k_work_schedule(&temp_work, PERIOD); in temp_work_cb()
58 k_work_schedule(&temp_work, K_NO_WAIT); in init_temp_sensor()
/Zephyr-Core-3.4.0/samples/drivers/led_sx1509b_intensity/src/
Dmain.c65 k_work_schedule(k_work_delayable_from_work(work), K_MSEC(10)); in rgb_work_handler()
91 k_work_schedule(&rgb_work, K_NO_WAIT); in main()
/Zephyr-Core-3.4.0/tests/posix/common/src/
Dsleep.c53 zassert_equal(1, k_work_schedule(&ww.dwork, K_SECONDS(sleep_min_s))); in ZTEST()
84 zassert_equal(1, k_work_schedule(&ww.dwork, K_USEC(USEC_PER_SEC / 2))); in ZTEST()
/Zephyr-Core-3.4.0/tests/bluetooth/audio/mocks/src/
Dkernel.c16 FAKE(k_work_schedule) \
23 DEFINE_FAKE_VALUE_FUNC(int, k_work_schedule, struct k_work_delayable *, k_timeout_t);
/Zephyr-Core-3.4.0/tests/bluetooth/audio/mocks/include/
Dmock_kernel.h18 DECLARE_FAKE_VALUE_FUNC(int, k_work_schedule, struct k_work_delayable *, k_timeout_t);
/Zephyr-Core-3.4.0/samples/boards/reel_board/mesh_badge/src/
Dperiphs.c91 k_work_schedule(&motion_work, MOTION_TIMEOUT); in motion_timeout()
137 k_work_schedule(&motion_work, MOTION_TIMEOUT); in configure_accel()
/Zephyr-Core-3.4.0/tests/kernel/workq/work_queue/src/
Dmain.c136 k_work_schedule(&delayed_tests[i].work, K_NO_WAIT); in coop_work_main()
155 k_work_schedule(&delayed_tests[i].work, K_NO_WAIT); in delayed_test_items_submit()
231 k_work_schedule(&delayed_tests[0].work, K_NO_WAIT); in ZTEST()
282 k_work_schedule(&delayed_tests[i].work, in coop_delayed_work_main()
316 k_work_schedule(&delayed_tests[1].work, K_MSEC(WORK_ITEM_WAIT)); in coop_delayed_work_cancel_main()
334 k_work_schedule(&delayed_tests[0].work, K_MSEC(WORK_ITEM_WAIT)); in ZTEST()
360 k_work_schedule(&delayed_tests[0].work, K_NO_WAIT); in ZTEST()
371 k_work_schedule(&delayed_tests[0].work, K_MSEC(WORK_ITEM_WAIT)); in ZTEST()
/Zephyr-Core-3.4.0/samples/bluetooth/hap_ha/src/
Dmain.c59 k_work_schedule(&adv_work, K_SECONDS(1)); in disconnected()
235 k_work_schedule(&adv_work, K_NO_WAIT); in main()
Dbap_unicast_sr.c169 k_work_schedule(&audio_send_work, K_MSEC(1000U)); in audio_timer_timeout()
264 k_work_schedule(&audio_send_work, K_MSEC(0)); in lc3_start()
/Zephyr-Core-3.4.0/modules/hal_nordic/nrf_802154/sl_opensource/platform/
Dnrf_802154_temperature_zephyr.c61 k_work_schedule(&dwork, K_NO_WAIT); in temperature_update_init()
/Zephyr-Core-3.4.0/samples/bluetooth/central_iso/src/
Dmain.c73 k_work_schedule(&iso_send_work, K_USEC(interval_us)); in iso_timer_timeout()
138 k_work_schedule(&iso_send_work, K_MSEC(0)); in iso_connected()
/Zephyr-Core-3.4.0/samples/bluetooth/periodic_sync/src/
Dmain.c39 k_work_schedule(&blink_work, BLINK_ONOFF); in blink_timeout()
215 k_work_schedule(&blink_work, BLINK_ONOFF); in main()
/Zephyr-Core-3.4.0/samples/bluetooth/tmap_peripheral/src/
Dmain.c291 k_work_schedule(&call_terminate_set_work, K_MSEC(2000)); in main()
301 k_work_schedule(&media_pause_set_work, K_MSEC(2000)); in main()
/Zephyr-Core-3.4.0/samples/boards/nrf/clock_skew/src/
Dmain.c193 (void)k_work_schedule(k_work_delayable_from_work(work), in sync_work_handler()
253 rc = k_work_schedule(&sync_work, K_NO_WAIT); in main()
/Zephyr-Core-3.4.0/samples/bluetooth/tmap_central/src/
Dcap_initiator.c405 k_work_schedule(&audio_send_work, K_MSEC(1000)); in audio_timer_timeout()
472 k_work_schedule(&audio_send_work, K_MSEC(0)); in cap_initiator_setup()
/Zephyr-Core-3.4.0/subsys/input/
Dinput_longpress.c77 k_work_schedule(&entry->work, K_MSEC(cfg->long_delays_ms)); in longpress_cb()
/Zephyr-Core-3.4.0/subsys/bluetooth/mesh/
Dsettings.c173 k_work_schedule(&pending_store, K_MSEC(timeout_ms)); in bt_mesh_settings_store_schedule()
Dbeacon.c467 k_work_schedule(&beacon_timer, PROVISIONED_INTERVAL); in beacon_send()
477 k_work_schedule(&beacon_timer, K_SECONDS(CONFIG_BT_MESH_UNPROV_BEACON_INT)); in beacon_send()
767 k_work_schedule(&beacon_timer, K_NO_WAIT); in bt_mesh_beacon_ivu_initiator()
/Zephyr-Core-3.4.0/samples/bluetooth/unicast_audio_server/src/
Dmain.c232 k_work_schedule(&audio_send_work, K_USEC(MAX_FRAME_DURATION_US)); in audio_timer_timeout()
234 k_work_schedule(&audio_send_work, K_USEC(AUDIO_DATA_TIMEOUT_US)); in audio_timer_timeout()
406 k_work_schedule(&audio_send_work, K_MSEC(0)); in lc3_start()
/Zephyr-Core-3.4.0/drivers/rtc/
Drtc_emul.c254 k_work_schedule(&work_delayable->dwork, K_MSEC(1000)); in rtc_emul_update()
502 k_work_schedule(&data->dwork.dwork, K_MSEC(1000)); in rtc_emul_init()
/Zephyr-Core-3.4.0/drivers/video/
Dvideo_sw_generator.c60 return k_work_schedule(&data->buf_work, K_MSEC(33)); in video_sw_generator_stream_start()
/Zephyr-Core-3.4.0/samples/bluetooth/unicast_audio_client/src/
Dmain.c140 k_work_schedule(&audio_send_work, K_USEC(codec_configuration.qos.interval)); in lc3_audio_timer_timeout()
338 k_work_schedule(&audio_send_work, K_USEC(AUDIO_DATA_TIMEOUT_US)); in audio_timer_timeout()
1121 k_work_schedule(&audio_send_work, K_MSEC(0)); in main()
/Zephyr-Core-3.4.0/subsys/pm/
Ddevice_runtime.c80 (void)k_work_schedule(&pm->work, K_NO_WAIT); in runtime_suspend()

123