Home
last modified time | relevance | path

Searched refs:k_work_reschedule (Results 1 – 25 of 164) sorted by relevance

1234567

/Zephyr-latest/subsys/mgmt/hawkbit/
Dhawkbit_autohandler.c82 k_work_reschedule(&hawkbit_work_handle, K_SECONDS(hawkbit_get_poll_interval())); in autohandler()
111 return k_work_reschedule(&hawkbit_work_handle, timeout); in hawkbit_autohandler_set_delay()
119 k_work_reschedule(&hawkbit_work_handle, K_NO_WAIT); in hawkbit_autohandler()
121 k_work_reschedule(&hawkbit_work_handle_once, K_NO_WAIT); in hawkbit_autohandler()
/Zephyr-latest/samples/boards/bbc/microbit/pong/src/
Dble.c257 k_work_reschedule(&ble_work, K_NO_WAIT); in connected()
290 k_work_reschedule(&ble_work, K_NO_WAIT); in ble_connect()
309 k_work_reschedule(&ble_work, K_NO_WAIT); in ble_cancel_connect()
316 k_work_reschedule(&ble_work, K_NO_WAIT); in ble_cancel_connect()
323 k_work_reschedule(&ble_work, K_NO_WAIT); in ble_cancel_connect()
362 k_work_reschedule(&ble_work, SCAN_TIMEOUT); in create_conn()
457 k_work_reschedule(&ble_work, SCAN_TIMEOUT); in ble_timeout()
464 k_work_reschedule(&ble_work, K_NO_WAIT); in ble_timeout()
470 k_work_reschedule(&ble_work, K_NO_WAIT); in ble_timeout()
482 k_work_reschedule(&ble_work, K_MSEC(adv_timeout())); in ble_timeout()
[all …]
Dmain.c269 k_work_reschedule(&refresh, K_NO_WAIT); in check_start()
304 k_work_reschedule(&refresh, K_MSEC(RESTART_THRESHOLD)); in game_ended()
387 k_work_reschedule(&refresh, GAME_REFRESH); in game_refresh()
400 k_work_reschedule(&refresh, K_NO_WAIT); in pong_ball_received()
489 k_work_reschedule(&refresh, K_SECONDS(1)); in pong_remote_disconnected()
/Zephyr-latest/subsys/bluetooth/mesh/
Dpb_gatt.c97 k_work_reschedule(&link.prot_timer, bt_mesh_prov_protocol_timeout_get()); in bt_mesh_pb_gatt_recv()
113 k_work_reschedule(&link.prot_timer, bt_mesh_prov_protocol_timeout_get()); in bt_mesh_pb_gatt_start()
144 k_work_reschedule(&link.prot_timer, bt_mesh_prov_protocol_timeout_get()); in bt_mesh_pb_gatt_cli_start()
171 k_work_reschedule(&link.prot_timer, K_SECONDS(timeout)); in prov_link_open()
220 k_work_reschedule(&link.prot_timer, bt_mesh_prov_protocol_timeout_get()); in buf_send()
Dheartbeat.c62 k_work_reschedule(&pub_timer, K_SECONDS(pub.period)); in hb_publish_end_cb()
281 k_work_reschedule(&pub_timer, K_NO_WAIT); in bt_mesh_hb_pub_set()
341 k_work_reschedule(&sub_timer, K_SECONDS(sub.period)); in bt_mesh_hb_sub_set()
392 k_work_reschedule(&pub_timer, K_NO_WAIT); in bt_mesh_hb_start()
408 k_work_reschedule(&pub_timer, K_NO_WAIT); in bt_mesh_hb_resume()
Dlpn.c202 k_work_reschedule(&lpn->timer, K_MSEC(FRIEND_REQ_TIMEOUT)); in friend_clear_sent()
299 k_work_reschedule(&lpn->timer, FRIEND_REQ_RETRY_TIMEOUT); in clear_friendship()
331 k_work_reschedule(&lpn->timer, in friend_req_send_end()
335 k_work_reschedule(&lpn->timer, K_MSEC(FRIEND_REQ_TIMEOUT)); in friend_req_send_end()
428 k_work_reschedule(&lpn->timer, in req_send_end()
432 k_work_reschedule(&lpn->timer, K_MSEC(LPN_RECV_DELAY + lpn->recv_win)); in req_send_end()
582 k_work_reschedule(&lpn->timer, K_MSEC(timeout)); in friend_response_received()
592 k_work_reschedule(&lpn->timer, K_MSEC(LPN_AUTO_TIMEOUT)); in bt_mesh_lpn_msg_received()
861 k_work_reschedule(&lpn->timer, K_MSEC(POLL_RETRY_TIMEOUT)); in update_timeout()
906 k_work_reschedule(&lpn->timer, K_MSEC(lpn->adv_duration + FRIEND_REQ_SCAN)); in lpn_timeout()
[all …]
/Zephyr-latest/drivers/stepper/
Dgpio_stepper_controller.c114 (void)k_work_reschedule(&data->stepper_dwork, K_USEC(data->delay_in_us)); in update_remaining_steps()
117 (void)k_work_reschedule(&data->stepper_dwork, K_USEC(data->delay_in_us)); in update_remaining_steps()
157 (void)k_work_reschedule(&data->stepper_dwork, K_USEC(data->delay_in_us)); in velocity_mode_task()
198 (void)k_work_reschedule(&data->stepper_dwork, K_NO_WAIT); in gpio_stepper_move_by()
240 (void)k_work_reschedule(&data->stepper_dwork, K_NO_WAIT); in gpio_stepper_move_to()
290 (void)k_work_reschedule(&data->stepper_dwork, K_NO_WAIT); in gpio_stepper_run()
346 (void)k_work_reschedule(&data->stepper_dwork, K_NO_WAIT); in gpio_stepper_enable()
/Zephyr-latest/samples/net/secure_mqtt_sensor_actuator/src/
Dmain.c74 k_work_reschedule(&mqtt_publish_work, in publish_work_handler()
132 k_work_reschedule(&mqtt_publish_work, in main()
/Zephyr-latest/tests/bluetooth/host/conn/mocks/
Dkernel.h24 FAKE(k_work_reschedule) \
46 DECLARE_FAKE_VALUE_FUNC(int, k_work_reschedule, struct k_work_delayable *, k_timeout_t);
Dkernel.c23 DEFINE_FAKE_VALUE_FUNC(int, k_work_reschedule, struct k_work_delayable *, k_timeout_t);
/Zephyr-latest/samples/net/dns_resolve/src/
Dmain.c160 k_work_reschedule(&ipv4_timer, K_NO_WAIT); in schedule_ipv4_queries()
164 k_work_reschedule(&mdns_ipv4_timer, K_NO_WAIT); in schedule_ipv4_queries()
321 k_work_reschedule(&mdns_ipv4_timer, K_NO_WAIT); in setup_ipv4()
363 k_work_reschedule(&mdns_ipv6_timer, K_NO_WAIT); in setup_ipv6()
/Zephyr-latest/subsys/net/lib/trickle/
Dtrickle.c82 k_work_reschedule(&trickle->timer, K_MSEC(rand_time)); in double_interval_timeout()
103 k_work_reschedule(&trickle->timer, K_MSEC(diff)); in reschedule()
147 k_work_reschedule(&trickle->timer, K_MSEC(t)); in setup_new_interval()
/Zephyr-latest/samples/net/sockets/coap_server/src/
Dobserver.c81 k_work_reschedule(&obs_work, K_SECONDS(5)); in send_notification_packet()
139 k_work_reschedule(&obs_work, K_SECONDS(5)); in update_counter()
/Zephyr-latest/samples/boards/phytec/reel_board/mesh_badge/src/
Dreel_board.c132 k_work_reschedule(&led_timer, K_MSEC(100)); in board_blink_leds()
162 k_work_reschedule(&epd_work, duration); in board_show_text()
391 k_work_reschedule(&epd_work, interval); in show_sensors_data()
458 k_work_reschedule(&long_press_work, LONG_PRESS_TIMEOUT); in button_interrupt()
548 k_work_reschedule(&led_timer, K_MSEC(100)); in led_timeout()
582 k_work_reschedule(&epd_work, K_NO_WAIT); in board_refresh_display()
/Zephyr-latest/drivers/stepper/adi_tmc/
Dadi_tmc5041_stepper_controller.c160 k_work_reschedule(dwork, K_MSEC(stepper_config->sg_velocity_check_interval_ms)); in stallguard_work_handler()
253 k_work_reschedule( in rampstat_work_handler()
338 k_work_reschedule(&data->stallguard_dwork, in tmc5041_stepper_move_by()
343 k_work_reschedule( in tmc5041_stepper_move_by()
467 k_work_reschedule(&data->stallguard_dwork, in tmc5041_stepper_move_to()
472 k_work_reschedule( in tmc5041_stepper_move_to()
527 k_work_reschedule(&data->stallguard_dwork, in tmc5041_stepper_run()
532 k_work_reschedule( in tmc5041_stepper_run()
674 k_work_reschedule(&data->stallguard_dwork, in tmc5041_stepper_init()
688 k_work_reschedule(&data->rampstat_callback_dwork, in tmc5041_stepper_init()
/Zephyr-latest/drivers/input/
Dinput_gpio_keys.c105 k_work_reschedule(dwork, K_MSEC(cfg->debounce_interval_ms)); in gpio_keys_poll_pins()
139 k_work_reschedule(&pin_data->work, K_MSEC(cfg->debounce_interval_ms)); in gpio_keys_interrupt()
206 k_work_reschedule(&pin_data[0].work, K_MSEC(cfg->debounce_interval_ms)); in gpio_keys_init()
267 k_work_reschedule(&pin_data[0].work, in gpio_keys_pm_action()
Dinput_nunchuk.c97 k_work_reschedule(dwork, data->interval_ms); in nunchuk_poll()
150 ret = k_work_reschedule(&data->work, data->interval_ms); in nunchuk_init()
/Zephyr-latest/modules/hal_nordic/nrf_802154/sl_opensource/platform/
Dnrf_802154_temperature_zephyr.c53 k_work_reschedule(&dwork, K_MSEC(CONFIG_NRF_802154_TEMPERATURE_UPDATE_PERIOD)); in work_handler()
/Zephyr-latest/drivers/serial/
Duart_ite_it8xxx2.c63 k_work_reschedule(&uart_console_data->rx_refresh_timeout_work, delay); in uart1_wui_isr()
83 k_work_reschedule(&uart_console_data->rx_refresh_timeout_work, delay); in uart2_wui_isr()
/Zephyr-latest/samples/net/sockets/echo_server/src/
Dudp.c220 k_work_reschedule(&data->udp.stats_print, K_SECONDS(STATS_TIMER)); in print_stats()
233 k_work_reschedule(&conf.ipv6.udp.stats_print, in start_udp()
245 k_work_reschedule(&conf.ipv4.udp.stats_print, in start_udp()
/Zephyr-latest/samples/net/ptp/src/
Dmain.c78 k_work_reschedule(&stop_sample, K_SECONDS(run_duration)); in init_testing()
/Zephyr-latest/samples/net/gptp/src/
Dgptp.c86 k_work_reschedule(&stop_sample, K_SECONDS(run_duration)); in init_testing()
/Zephyr-latest/samples/net/cloud/mqtt_azure/src/
Dmain.c347 k_work_reschedule(&pub_message, K_SECONDS(timeout_for_publish())); in publish_timeout()
378 k_work_reschedule(&pub_message, in try_to_connect()
475 k_work_reschedule(&check_network_conn, K_SECONDS(3)); in check_network_connection()
498 k_work_reschedule(&check_network_conn, K_SECONDS(3)); in l4_event_handler()
/Zephyr-latest/subsys/net/lib/config/
Dinit_clock_sntp.c57 k_work_reschedule(&sntp_resync_work_handle, in net_init_clock_via_sntp()
/Zephyr-latest/drivers/ethernet/phy/
Dphy_ti_dp83825.c128 ret = k_work_reschedule(&data->phy_monitor_work, K_NO_WAIT); in phy_ti_dp83825_interrupt_handler()
449 k_work_reschedule(&data->phy_monitor_work, K_MSEC(CONFIG_PHY_MONITOR_PERIOD)); in phy_ti_dp83825_cfg_link()
452 k_work_reschedule(&data->phy_monitor_work, K_MSEC(CONFIG_PHY_MONITOR_PERIOD)); in phy_ti_dp83825_cfg_link()
504 k_work_reschedule(&data->phy_monitor_work, K_MSEC(CONFIG_PHY_MONITOR_PERIOD)); in phy_ti_dp83825_monitor_work_handler()
507 k_work_reschedule(&data->phy_monitor_work, K_MSEC(CONFIG_PHY_MONITOR_PERIOD)); in phy_ti_dp83825_monitor_work_handler()

1234567