Lines Matching refs:timestamp
50 uint64_t timestamp; member
81 uint64_t *timestamp) in _time_to_timestamp() argument
87 fwk_assert(timestamp != NULL); in _time_to_timestamp()
94 *timestamp = ((uint64_t)frequency * microseconds) / 1000000; in _time_to_timestamp()
102 uint64_t *timestamp) in _timestamp_from_now() argument
108 fwk_assert(timestamp != NULL); in _timestamp_from_now()
110 status = _time_to_timestamp(ctx, microseconds, timestamp); in _timestamp_from_now()
120 *timestamp += counter; in _timestamp_from_now()
127 uint64_t timestamp, in _remaining() argument
142 if (timestamp < counter) { in _remaining()
145 *remaining_ticks = timestamp - counter; in _remaining()
163 ctx->driver->set_timer(ctx->driver_dev_id, alarm_head->timestamp); in _configure_timer_with_next_alarm()
192 while ((alarm_node != NULL) && (alarm_new->timestamp > alarm->timestamp)) { in _insert_alarm_ctx_into_active_queue()
225 uint64_t *timestamp) in time_to_timestamp() argument
229 if (timestamp == NULL) { in time_to_timestamp()
235 return _time_to_timestamp(ctx, microseconds, timestamp); in time_to_timestamp()
315 uint64_t timestamp, in remaining() argument
326 return _remaining(ctx, timestamp, remaining_ticks); in remaining()
363 exit_status = _remaining(ctx, alarm_ctx->timestamp, remaining_ticks); in get_next_alarm_remaining()
513 &alarm->timestamp); in alarm_start()
541 uint64_t timestamp = 0; in timer_isr() local
572 status = _time_to_timestamp(ctx, alarm->microseconds, ×tamp); in timer_isr()
575 alarm->timestamp += timestamp; in timer_isr()