Home
last modified time | relevance | path

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

1234

/Zephyr-latest/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-latest/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-latest/samples/bluetooth/handsfree_ag/src/
Dmain.c47 k_work_schedule(&call_connect_work, K_MSEC(CONFIG_BT_HFP_AG_START_CALL_DELAY_TIME)); in ag_connected()
73 k_work_schedule(&call_disconnect_work, K_SECONDS(10)); in ag_accept()
79 k_work_schedule(&call_disconnect_work, K_SECONDS(1)); in ag_reject()
85 k_work_schedule(&call_disconnect_work, K_SECONDS(1)); in ag_terminate()
92 k_work_schedule(&call_remote_ringing_work, K_SECONDS(1)); in ag_outgoing()
337 k_work_schedule(&call_remote_accept_work, K_SECONDS(1)); in call_remote_ringing_work_handler()
/Zephyr-latest/drivers/bluetooth/hci/
Dhci_stm32wb0.c213 k_work_schedule(&hal_radio_timer_work, K_NO_WAIT); in HAL_RADIO_TIMER_TxRxWakeUpCallback()
214 k_work_schedule(&ble_stack_work, K_NO_WAIT); in HAL_RADIO_TIMER_TxRxWakeUpCallback()
219 k_work_schedule(&hal_radio_timer_work, K_NO_WAIT); in HAL_RADIO_TIMER_CpuWakeUpCallback()
220 k_work_schedule(&ble_stack_work, K_NO_WAIT); in HAL_RADIO_TIMER_CpuWakeUpCallback()
226 k_work_schedule(&ble_stack_work, K_NO_WAIT); in HAL_RADIO_TxRxCallback()
227 k_work_schedule(&hal_radio_timer_work, K_NO_WAIT); in HAL_RADIO_TxRxCallback()
278 k_work_schedule(&ble_stack_work, K_NO_WAIT); in PKAMGR_IRQCallback()
486 k_work_schedule(&ble_stack_work, K_NO_WAIT); in bt_hci_stm32wb0_open()
/Zephyr-latest/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-latest/tests/bluetooth/host/conn/mocks/
Dkernel.h25 FAKE(k_work_schedule) \
47 DECLARE_FAKE_VALUE_FUNC(int, k_work_schedule, struct k_work_delayable *, k_timeout_t);
Dkernel.c24 DEFINE_FAKE_VALUE_FUNC(int, k_work_schedule, struct k_work_delayable *, k_timeout_t);
/Zephyr-latest/tests/posix/common/src/
Dsleep.c54 zassert_equal(1, k_work_schedule(&wake_work.dwork, K_SECONDS(sleep_min_s))); in ZTEST()
85 zassert_equal(1, k_work_schedule(&wake_work.dwork, K_USEC(USEC_PER_SEC / 2))); in ZTEST()
/Zephyr-latest/samples/boards/phytec/reel_board/mesh_badge/src/
Dperiphs.c90 k_work_schedule(&motion_work, MOTION_TIMEOUT); in motion_timeout()
136 k_work_schedule(&motion_work, MOTION_TIMEOUT); in configure_accel()
/Zephyr-latest/tests/kernel/workq/work_queue/src/
Dmain.c143 k_work_schedule(&delayed_tests[i].work, K_NO_WAIT); in coop_work_main()
162 k_work_schedule(&delayed_tests[i].work, K_NO_WAIT); in delayed_test_items_submit()
239 k_work_schedule(&delayed_tests[0].work, K_NO_WAIT); in ZTEST()
292 k_work_schedule(&delayed_tests[i].work, in coop_delayed_work_main()
327 k_work_schedule(&delayed_tests[1].work, K_MSEC(WORK_ITEM_WAIT)); in coop_delayed_work_cancel_main()
345 k_work_schedule(&delayed_tests[0].work, K_MSEC(WORK_ITEM_WAIT)); in ZTEST()
371 k_work_schedule(&delayed_tests[0].work, K_NO_WAIT); in ZTEST()
382 k_work_schedule(&delayed_tests[0].work, K_MSEC(WORK_ITEM_WAIT)); in ZTEST()
/Zephyr-latest/modules/nrf_wifi/os/
Dtimer.c37 k_work_schedule(&timer->work, K_MSEC(msec)); in mod_timer()
/Zephyr-latest/subsys/usb/device_next/
Dusbd_msg.c50 if (k_work_schedule(&msg_work, K_NO_WAIT) < 0) { in usbd_msg_pub()
86 (void)k_work_schedule(dwork, K_NO_WAIT); in msg_work_handler()
/Zephyr-latest/modules/hal_nordic/nrf_802154/sl_opensource/platform/
Dnrf_802154_temperature_zephyr.c62 k_work_schedule(&dwork, K_NO_WAIT); in temperature_update_init()
/Zephyr-latest/samples/bluetooth/hap_ha/src/
Dmain.c57 k_work_schedule(&adv_work, K_SECONDS(1)); in disconnected()
233 k_work_schedule(&adv_work, K_NO_WAIT); in main()
/Zephyr-latest/subsys/modem/
Dmodem_cmux.c254 k_work_schedule(&cmux->receive_work, K_NO_WAIT); in modem_cmux_bus_callback()
258 k_work_schedule(&cmux->transmit_work, K_NO_WAIT); in modem_cmux_bus_callback()
317 k_work_schedule(&cmux->transmit_work, K_NO_WAIT); in modem_cmux_transmit_frame()
921 k_work_schedule(&cmux->receive_work, K_NO_WAIT); in modem_cmux_receive_handler()
1008 k_work_schedule(&cmux->connect_work, MODEM_CMUX_T1_TIMEOUT); in modem_cmux_connect_handler()
1038 k_work_schedule(&cmux->disconnect_work, MODEM_CMUX_T1_TIMEOUT); in modem_cmux_disconnect_handler()
1088 k_work_schedule(&dlci->open_work, K_NO_WAIT); in modem_cmux_dlci_pipe_api_open()
1154 k_work_schedule(&dlci->close_work, K_NO_WAIT); in modem_cmux_dlci_pipe_api_close()
1191 k_work_schedule(&dlci->open_work, MODEM_CMUX_T1_TIMEOUT); in modem_cmux_dlci_open_handler()
1220 k_work_schedule(&dlci->close_work, MODEM_CMUX_T1_TIMEOUT); in modem_cmux_dlci_close_handler()
[all …]
/Zephyr-latest/samples/bluetooth/iso_central/src/
Dmain.c88 k_work_schedule(&iso_send_work, K_USEC(interval_us)); in iso_timer_timeout()
150 k_work_schedule(&iso_send_work, K_MSEC(0)); in iso_connected()
/Zephyr-latest/tests/subsys/modem/modem_pipe/src/
Dmain.c64 k_work_schedule(&backend->opened_dwork, TEST_MODEM_PIPE_NOTIFY_TIMEOUT); in modem_backend_fake_open()
90 k_work_schedule(&backend->transmit_idle_dwork, TEST_MODEM_PIPE_NOTIFY_TIMEOUT); in modem_backend_fake_transmit()
124 k_work_schedule(&backend->closed_dwork, TEST_MODEM_PIPE_NOTIFY_TIMEOUT); in modem_backend_fake_close()
/Zephyr-latest/samples/bluetooth/peripheral_hr/src/
Dmain.c140 k_work_schedule(&blink_work, BLINK_ONOFF); in blink_timeout()
172 k_work_schedule(&blink_work, BLINK_ONOFF); in blink_start()
/Zephyr-latest/drivers/clock_control/
Dclock_control_smartbond.c84 k_work_schedule(&calibration_work, in calibration_work_cb()
124 k_work_schedule(&calibration_work, in smartbond_start_rc32k()
139 k_work_schedule(&calibration_work, in smartbond_start_rcx()
151 k_work_schedule(&xtal32k_settle_work, in smartbond_start_xtal32k()
/Zephyr-latest/samples/bluetooth/tmap_peripheral/src/
Dmain.c302 k_work_schedule(&call_terminate_set_work, K_MSEC(2000)); in main()
313 k_work_schedule(&media_pause_set_work, K_MSEC(2000)); in main()
/Zephyr-latest/tests/bsim/bluetooth/samples/battery_service/src/
Dperipheral_test.c158 k_work_schedule(&update_bas_char_work, K_SECONDS(1)); in test_bas_peripheral_main()
/Zephyr-latest/drivers/input/
Dinput_adc_keys.c153 k_work_schedule(&data->dwork, K_MSEC(cfg->sample_period_ms)); in adc_keys_work_handler()
190 k_work_schedule(&data->dwork, K_MSEC(cfg->sample_period_ms)); in adc_keys_init()
/Zephyr-latest/samples/boards/nordic/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-latest/samples/bluetooth/periodic_sync/src/
Dmain.c42 k_work_schedule(&blink_work, BLINK_ONOFF); in blink_timeout()
237 k_work_schedule(&blink_work, BLINK_ONOFF); in main()

1234