Lines Matching refs:ts
67 void inv_sensors_timestamp_init(struct inv_sensors_timestamp *ts,
70 int inv_sensors_timestamp_update_odr(struct inv_sensors_timestamp *ts,
73 void inv_sensors_timestamp_interrupt(struct inv_sensors_timestamp *ts,
77 static inline int64_t inv_sensors_timestamp_pop(struct inv_sensors_timestamp *ts)
79 ts->timestamp += ts->period;
80 return ts->timestamp;
83 void inv_sensors_timestamp_apply_odr(struct inv_sensors_timestamp *ts,
87 static inline void inv_sensors_timestamp_reset(struct inv_sensors_timestamp *ts)
91 ts->it = interval_init;
92 ts->timestamp = 0;