Lines Matching refs:delta
116 int64_t delta, interval; in inv_icm42600_timestamp_interrupt() local
129 delta = it->up - it->lo; in inv_icm42600_timestamp_interrupt()
132 period = div_s64(delta, fifo_nb); in inv_icm42600_timestamp_interrupt()
152 delta = it->lo - ts->timestamp; in inv_icm42600_timestamp_interrupt()
154 while (delta >= (fifo_period * 3 / 2)) in inv_icm42600_timestamp_interrupt()
155 delta -= fifo_period; in inv_icm42600_timestamp_interrupt()
158 if (delta > m) in inv_icm42600_timestamp_interrupt()
159 delta = m; in inv_icm42600_timestamp_interrupt()
160 else if (delta < -m) in inv_icm42600_timestamp_interrupt()
161 delta = -m; in inv_icm42600_timestamp_interrupt()
162 ts->timestamp += delta; in inv_icm42600_timestamp_interrupt()