Searched refs:sample_time_us (Results 1 – 4 of 4) sorted by relevance
/device/google/contexthub/firmware/os/algos/calibration/magnetometer/mag_sphere_fit_cal/ |
D | mag_sphere_fit.c | 100 uint64_t sample_time_us) { in magCalSphereFit() argument 111 if (sphereFitRunCal(&mocs->sphere_fit.sphere_cal, &data, sample_time_us)) { in magCalSphereFit() 123 uint64_t sample_time_us, float x, float y, in magCalSphereUpdate() argument 131 if (UPDATE_BIAS == magCalUpdate(&mocs->moc, sample_time_us, x, y, z)) { in magCalSphereUpdate() 133 new_cal = magCalSphereFit(mocs, sample_time_us); in magCalSphereUpdate()
|
D | mag_sphere_fit.h | 63 uint64_t sample_time_us, float x, float y,
|
/device/google/contexthub/firmware/os/algos/calibration/magnetometer/mag_cal/ |
D | mag_cal.c | 90 static bool moc_batch_complete(struct MagCal *moc, uint64_t sample_time_us) { in moc_batch_complete() argument 93 if ((sample_time_us - moc->start_time > moc->min_batch_window_in_micros) && in moc_batch_complete() 97 } else if (sample_time_us - moc->start_time > MAX_BATCH_WINDOW) { in moc_batch_complete() 140 enum MagUpdate magCalUpdate(struct MagCal *moc, uint64_t sample_time_us, in magCalUpdate() argument 151 moc->start_time = sample_time_us; in magCalUpdate() 156 if (moc_batch_complete(moc, sample_time_us)) { in magCalUpdate() 204 sample_time_us, in magCalUpdate() 215 moc->update_time = sample_time_us; in magCalUpdate()
|
D | mag_cal.h | 89 enum MagUpdate magCalUpdate(struct MagCal *moc, uint64_t sample_time_us,
|