Lines Matching refs:timestamp
58 return cb(indio_dev, sample->vector, sample->timestamp); in cros_sensorhub_send_sample()
365 sample->timestamp) in cros_ec_sensor_ring_check_for_past_timestamp()
367 sample->timestamp = in cros_ec_sensor_ring_check_for_past_timestamp()
371 sample->timestamp; in cros_ec_sensor_ring_check_for_past_timestamp()
405 s64 a = in->timestamp; in cros_ec_sensor_ring_process_event()
406 s64 b = fifo_info->timestamp; in cros_ec_sensor_ring_process_event()
434 trace_cros_ec_sensorhub_timestamp(in->timestamp, in cros_ec_sensor_ring_process_event()
435 fifo_info->timestamp, in cros_ec_sensor_ring_process_event()
455 out->timestamp = *current_timestamp; in cros_ec_sensor_ring_process_event()
473 fifo_info->timestamp, in cros_ec_sensor_ring_process_event()
495 out->timestamp = now; in cros_ec_sensor_ring_process_event()
497 out->timestamp = *current_timestamp; in cros_ec_sensor_ring_process_event()
559 s64 batch_timestamp = batch_start->timestamp; in cros_ec_sensor_ring_spread_add()
583 if (batch_start->timestamp <= in cros_ec_sensor_ring_spread_add()
616 if (s->timestamp != batch_timestamp) in cros_ec_sensor_ring_spread_add()
665 s->timestamp = batch_timestamp + in cros_ec_sensor_ring_spread_add()
719 s64 timestamp; in cros_ec_sensor_ring_spread_add_legacy() local
728 timestamp = out->timestamp; in cros_ec_sensor_ring_spread_add_legacy()
743 time_period = div_s64(current_timestamp - timestamp, count); in cros_ec_sensor_ring_spread_add_legacy()
748 timestamp += time_period; in cros_ec_sensor_ring_spread_add_legacy()
749 out->timestamp = timestamp; in cros_ec_sensor_ring_spread_add_legacy()
878 (last_out - 1)->timestamp == current_timestamp) in cros_ec_sensorhub_ring_handler()