Lines Matching refs:time_to_start
86 int32_t time_to_start; in multicast_schedule_class_c_session() local
90 time_to_start = session_time - current_time; in multicast_schedule_class_c_session()
92 if (err != 0 || time_to_start > 0xFFFFFF) { in multicast_schedule_class_c_session()
96 time_to_start = 0xFFFFFF; in multicast_schedule_class_c_session()
97 } else if (time_to_start >= 0) { in multicast_schedule_class_c_session()
98 LOG_DBG("Starting class C session in %d s", time_to_start); in multicast_schedule_class_c_session()
101 K_SECONDS(time_to_start)); in multicast_schedule_class_c_session()
104 K_SECONDS(time_to_start + session_timeout)); in multicast_schedule_class_c_session()
107 return time_to_start; in multicast_schedule_class_c_session()
223 int32_t time_to_start; in multicast_package_callback() local
225 time_to_start = multicast_schedule_class_c_session(id, session_time, in multicast_package_callback()
227 if (time_to_start >= 0) { in multicast_package_callback()
229 sys_put_le24(time_to_start, tx_buf + tx_pos); in multicast_package_callback()
233 session_time, time_to_start); in multicast_package_callback()