Lines Matching refs:timer
205 static void receive_timeout_handler(struct k_timer *timer) in receive_timeout_handler() argument
207 struct isotp_recv_ctx *rctx = CONTAINER_OF(timer, struct isotp_recv_ctx, timer); in receive_timeout_handler()
238 k_timer_start(&rctx->timer, K_MSEC(ISOTP_ALLOC_TIMEOUT_MS), K_NO_WAIT); in receive_alloc_buffer()
254 k_timer_stop(&rctx->timer); in receive_alloc_buffer()
311 k_timer_stop(&rctx->timer); in receive_state_machine()
323 k_timer_start(&rctx->timer, K_MSEC(ISOTP_CR_TIMEOUT_MS), K_NO_WAIT); in receive_state_machine()
331 k_timer_start(&rctx->timer, K_MSEC(ISOTP_ALLOC_TIMEOUT_MS), K_NO_WAIT); in receive_state_machine()
342 k_timer_stop(&rctx->timer); in receive_state_machine()
505 k_timer_start(&rctx->timer, K_MSEC(ISOTP_CR_TIMEOUT_MS), K_NO_WAIT); in process_cf()
667 k_timer_init(&rctx->timer, receive_timeout_handler, NULL); in isotp_bind()
680 k_timer_stop(&rctx->timer); in isotp_unbind()
779 static void send_timeout_handler(struct k_timer *timer) in send_timeout_handler() argument
781 struct isotp_send_ctx *sctx = CONTAINER_OF(timer, struct isotp_send_ctx, timer); in send_timeout_handler()
831 k_timer_start(&sctx->timer, K_MSEC(ISOTP_BS_TIMEOUT_MS), K_NO_WAIT); in send_process_fc()
861 k_timer_stop(&sctx->timer); in send_can_rx_cb()
1089 k_timer_start(&sctx->timer, K_MSEC(ISOTP_BS_TIMEOUT_MS), K_NO_WAIT); in send_state_machine()
1096 k_timer_stop(&sctx->timer); in send_state_machine()
1113 k_timer_start(&sctx->timer, K_MSEC(ISOTP_BS_TIMEOUT_MS), K_NO_WAIT); in send_state_machine()
1129 k_timer_start(&sctx->timer, stmin_to_timeout(sctx->opts.stmin), K_NO_WAIT); in send_state_machine()
1145 k_timer_stop(&sctx->timer); in send_state_machine()
1229 k_timer_init(&sctx->timer, send_timeout_handler, NULL); in send()