Lines Matching refs:stmin
152 *data++ = rctx->opts.stmin; in receive_send_fc()
634 __ASSERT(opts->stmin < ISOTP_STMIN_MAX, "STmin limit"); in isotp_bind()
635 __ASSERT(opts->stmin <= ISOTP_STMIN_MS_MAX || in isotp_bind()
636 opts->stmin >= ISOTP_STMIN_US_BEGIN, "STmin reserved"); in isotp_bind()
823 sctx->opts.stmin = *data++; in send_process_fc()
826 sctx->opts.stmin); in send_process_fc()
1066 static k_timeout_t stmin_to_timeout(uint8_t stmin) in stmin_to_timeout() argument
1069 if (stmin > ISOTP_STMIN_MAX || in stmin_to_timeout()
1070 (stmin > ISOTP_STMIN_MS_MAX && stmin < ISOTP_STMIN_US_BEGIN)) { in stmin_to_timeout()
1074 if (stmin >= ISOTP_STMIN_US_BEGIN) { in stmin_to_timeout()
1075 return K_USEC((stmin + 1 - ISOTP_STMIN_US_BEGIN) * 100U); in stmin_to_timeout()
1078 return K_MSEC(stmin); in stmin_to_timeout()
1117 } else if (sctx->opts.stmin) { in send_state_machine()
1129 k_timer_start(&sctx->timer, stmin_to_timeout(sctx->opts.stmin), K_NO_WAIT); in send_state_machine()