Searched refs:sync_state (Results 1 – 2 of 2) sorted by relevance
23 static struct timeutil_sync_state sync_state; variable121 const struct timeutil_sync_instant *base = &sync_state.base; in sync_work_handler()122 const struct timeutil_sync_instant *latest = &sync_state.latest; in sync_work_handler()132 rc = timeutil_sync_state_update(&sync_state, &inst); in sync_work_handler()161 float skew = timeutil_sync_estimate_skew(&sync_state); in sync_work_handler()169 struct timeutil_sync_state st2 = sync_state; in sync_work_handler()250 sync_state.cfg = &sync_config; in main()
134 uint8_t sync_state; member258 if (data->sync_state != SYNCSM_IDLE) { in validate_isw_monitoring()801 data->sync_state = SYNCSM_IDLE; in sync_finish()829 data->sync_state = SYNCSM_FINISH_READ; in sync_prep_read()881 data->sync_state = SYNCSM_FINISH_WRITE; in sync_prep_write()944 LOG_DBG("SYNC.%u %u latency %u", data->sync_state, data->isw_syncclock, in sync_worker()946 switch (data->sync_state) { in sync_worker()980 } else if (data->sync_state != SYNCSM_IDLE) { in isw_gpio_callback()1025 if (data->sync_state != SYNCSM_IDLE) { in maxim_ds3231_synchronize()1032 data->sync_state = SYNCSM_PREP_READ; in maxim_ds3231_synchronize()[all …]