Home
last modified time | relevance | path

Searched refs:old_timestamp (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/iio/pressure/
H A Drohm-bm1390.c149 s64 timestamp, old_timestamp; member
364 sample_period = timestamp - data->old_timestamp; in __bm1390_fifo_flush()
397 * Idea is to always keep the "old_timestamp" matching the in __bm1390_fifo_flush()
400 data->old_timestamp += sample_period; in __bm1390_fifo_flush()
401 buffer[i].ts = data->old_timestamp; in __bm1390_fifo_flush()
568 data->old_timestamp = iio_get_time_ns(idev); in bm1390_fifo_enable()
/linux/drivers/iio/accel/
H A Dbmc150-accel.h80 int64_t timestamp, old_timestamp; /* Only used in hw fifo mode. */ member
H A Dfxls8962af-core.c172 int64_t timestamp, old_timestamp; /* Only used in hw fifo mode. */ member
974 data->old_timestamp = data->timestamp; in fxls8962af_fifo_flush()
981 sample_period = (data->timestamp - data->old_timestamp); in fxls8962af_fifo_flush()
H A Dbmc150-accel-core.c968 data->old_timestamp = data->timestamp; in __bmc150_accel_fifo_flush()
986 sample_period = (data->timestamp - data->old_timestamp); in __bmc150_accel_fifo_flush()
1361 data->old_timestamp = data->timestamp; in bmc150_accel_irq_handler()