• Home
  • Raw
  • Download

Lines Matching refs:timestamp

35 				enum hl_cs_wait_status *status, s64 *timestamp);
226 fence->timestamp = ktime_set(0, 0); in hl_fence_init()
614 if (!mcs_compl->timestamp) in complete_multi_cs()
615 mcs_compl->timestamp = ktime_to_ns(fence->timestamp); in complete_multi_cs()
779 if (cs->timestamp) { in cs_do_release()
780 cs->fence->timestamp = ktime_get(); in cs_do_release()
782 cs->fence->timestamp, cs->fence->error); in cs_do_release()
831 hdev->captured_err_info.cs_timeout.timestamp = ktime_get(); in cs_timedout()
905 cs->timestamp = !!(flags & HL_CS_FLAGS_TIMESTAMP); in allocate_cs()
2491 enum hl_cs_wait_status *status, u64 timeout_us, s64 *timestamp) in hl_wait_for_fence() argument
2533 timestamp_kt = fence->timestamp; in hl_wait_for_fence()
2538 if (timestamp) in hl_wait_for_fence()
2539 *timestamp = ktime_to_ns(timestamp_kt); in hl_wait_for_fence()
2658 (ktime_compare(fence->timestamp, first_cs_time) < 0)) in hl_cs_poll_fences()
2659 first_cs_time = fence->timestamp; in hl_cs_poll_fences()
2683 mcs_data->timestamp = ktime_to_ns(first_cs_time); in hl_cs_poll_fences()
2689 enum hl_cs_wait_status *status, s64 *timestamp) in _hl_cs_wait_ioctl() argument
2694 if (timestamp) in _hl_cs_wait_ioctl()
2695 *timestamp = 0; in _hl_cs_wait_ioctl()
2701 rc = hl_wait_for_fence(ctx, seq, fence, status, timeout_us, timestamp); in _hl_cs_wait_ioctl()
2747 mcs_compl->timestamp = 0; in hl_wait_multi_cs_completion_init()
2801 mcs_data->timestamp = mcs_compl->timestamp; in hl_wait_multi_cs_completion()
2935 mcs_compl->timestamp = 0; in hl_multi_cs_wait_ioctl()
2965 if (mcs_data.timestamp) { in hl_multi_cs_wait_ioctl()
2966 args->out.timestamp_nsec = mcs_data.timestamp; in hl_multi_cs_wait_ioctl()
2971 if (!mcs_data.timestamp) in hl_multi_cs_wait_ioctl()
2986 s64 timestamp; in hl_cs_wait_ioctl() local
2989 rc = _hl_cs_wait_ioctl(hdev, hpriv->ctx, args->in.timeout_us, seq, &status, &timestamp); in hl_cs_wait_ioctl()
3015 if (timestamp) { in hl_cs_wait_ioctl()
3017 args->out.timestamp_nsec = timestamp; in hl_cs_wait_ioctl()
3118 u32 *status, u64 *timestamp) in _hl_interrupt_wait_ioctl() argument
3186 pend->fence.timestamp = ktime_get(); in _hl_interrupt_wait_ioctl()
3192 pend->fence.timestamp = ktime_get(); in _hl_interrupt_wait_ioctl()
3264 *timestamp = ktime_to_ns(pend->fence.timestamp); in _hl_interrupt_wait_ioctl()
3286 u64 *timestamp) in _hl_interrupt_wait_ioctl_user_addr() argument
3325 pend->fence.timestamp = ktime_get(); in _hl_interrupt_wait_ioctl_user_addr()
3390 *timestamp = ktime_to_ns(pend->fence.timestamp); in _hl_interrupt_wait_ioctl_user_addr()
3406 u64 timestamp = 0; in hl_interrupt_wait_ioctl() local
3453 &status, &timestamp); in hl_interrupt_wait_ioctl()
3458 &timestamp); in hl_interrupt_wait_ioctl()
3465 if (timestamp) { in hl_interrupt_wait_ioctl()
3466 args->out.timestamp_nsec = timestamp; in hl_interrupt_wait_ioctl()