Searched refs:sample_time_us (Results 1 – 2 of 2) sorted by relevance
123 static int moc_batch_complete(struct MagCal *moc, uint64_t sample_time_us) in moc_batch_complete() argument127 if ((sample_time_us - moc->start_time > MIN_BATCH_WINDOW) in moc_batch_complete()132 } else if (sample_time_us - moc->start_time > MAX_BATCH_WINDOW) { in moc_batch_complete()164 bool magCalUpdate(struct MagCal *moc, uint64_t sample_time_us, in magCalUpdate() argument190 moc->start_time = sample_time_us; in magCalUpdate()194 if (moc_batch_complete(moc, sample_time_us)) { in magCalUpdate()229 moc->update_time = sample_time_us; in magCalUpdate()
53 bool magCalUpdate(struct MagCal *moc, uint64_t sample_time_us,