Home
last modified time | relevance | path

Searched refs:timeout_ns (Results 1 – 23 of 23) sorted by relevance

/linux/tools/testing/selftests/futex/functional/
H A Dfutex_wait_timeout.c24 static long timeout_ns = 100000; /* 100us default timeout */ variable
67 long timeout_ns) in futex_get_abs_timeout() argument
72 to->tv_nsec += timeout_ns; in futex_get_abs_timeout()
90 to.tv_nsec = timeout_ns; in TEST()
96 if (futex_get_abs_timeout(CLOCK_REALTIME, &to, timeout_ns)) in TEST()
102 if (futex_get_abs_timeout(CLOCK_MONOTONIC, &to, timeout_ns)) in TEST()
115 if (futex_get_abs_timeout(CLOCK_REALTIME, &to, timeout_ns)) in TEST()
121 if (futex_get_abs_timeout(CLOCK_MONOTONIC, &to, timeout_ns)) in TEST()
152 if (futex_get_abs_timeout(CLOCK_REALTIME, &to, timeout_ns)) in TEST()
175 if (futex_get_abs_timeout(CLOCK_MONOTONIC, &to, timeout_ns)) in TEST()
[all …]
H A Dfutex_requeue_pi.c67 long timeout_ns; in FIXTURE_VARIANT() local
81 .timeout_ns = timeout, \
86 .timeout_ns = timeout, \
92 .timeout_ns = timeout, \
99 .timeout_ns = timeout, \
106 .timeout_ns = timeout, \
112 .timeout_ns = timeout, \
326 long timeout_ns = variant->timeout_ns; in TEST_F() local
335 broadcast, lock, third_party_owner, timeout_ns); in TEST_F()
337 if (timeout_ns) { in TEST_F()
[all …]
H A Dfutex_wait_wouldblock.c29 #define timeout_ns 100000 macro
33 struct timespec to = {.tv_sec = 0, .tv_nsec = timeout_ns}; in TEST()
50 struct timespec to = {.tv_sec = 0, .tv_nsec = timeout_ns}; in TEST()
63 to.tv_nsec += timeout_ns; in TEST()
H A Dfutex_requeue.c14 #define timeout_ns 30000000 macro
24 to.tv_nsec = timeout_ns; in waiterfn()
H A Dfutex_wait.c16 #define timeout_ns 30000000 macro
31 to.tv_nsec = timeout_ns; in waiterfn()
/linux/kernel/power/
H A Dwakelock.c210 u64 timeout_ns = 0; in pm_wake_lock() local
226 ret = kstrtou64(skip_spaces(str), 10, &timeout_ns); in pm_wake_lock()
238 if (timeout_ns) { in pm_wake_lock()
239 u64 timeout_ms = timeout_ns + NSEC_PER_MSEC - 1; in pm_wake_lock()
/linux/drivers/usb/host/
H A Dxhci.c4837 unsigned long long timeout_ns; in xhci_calculate_intel_u1_timeout() local
4844 timeout_ns = udev->u1_params.sel * 3; in xhci_calculate_intel_u1_timeout()
4847 timeout_ns = udev->u1_params.sel * 5; in xhci_calculate_intel_u1_timeout()
4852 timeout_ns = udev->u1_params.sel * 3; in xhci_calculate_intel_u1_timeout()
4858 timeout_ns = xhci_service_interval_to_ns(desc); in xhci_calculate_intel_u1_timeout()
4859 timeout_ns = DIV_ROUND_UP_ULL(timeout_ns * 105, 100); in xhci_calculate_intel_u1_timeout()
4860 if (timeout_ns < udev->u1_params.sel * 2) in xhci_calculate_intel_u1_timeout()
4861 timeout_ns = udev->u1_params.sel * 2; in xhci_calculate_intel_u1_timeout()
4867 return timeout_ns; in xhci_calculate_intel_u1_timeout()
4875 unsigned long long timeout_ns; in xhci_calculate_u1_timeout() local
[all …]
/linux/include/uapi/drm/
H A Dvc4_drm.h209 __u64 timeout_ns; member
223 __u64 timeout_ns; member
H A Dlima_drm.h137 __s64 timeout_ns; /* in, wait timeout in absulute time */ member
H A Dtegra_drm.h1020 __s64 timeout_ns; member
H A Damdgpu_drm.h794 __u64 timeout_ns; member
H A Di915_drm.h1938 __s64 timeout_ns; member
/linux/drivers/gpu/drm/lima/
H A Dlima_gem.h43 int lima_gem_wait(struct drm_file *file, u32 handle, u32 op, s64 timeout_ns);
H A Dlima_drv.c186 return lima_gem_wait(file, args->handle, args->op, args->timeout_ns); in lima_ioctl_gem_wait()
/linux/drivers/mmc/host/
H A Dcavium.c668 if (data->timeout_ns) in cvm_mmc_dma_request()
669 set_wdog(slot, data->timeout_ns); in cvm_mmc_dma_request()
787 if (cmd->data->timeout_ns) in cvm_mmc_request()
788 set_wdog(slot, cmd->data->timeout_ns); in cvm_mmc_request()
H A Dwbsd.c546 if (data->timeout_ns > 127000000) in wbsd_prepare_data()
550 data->timeout_ns / 1000000); in wbsd_prepare_data()
H A Dpxamci.c174 clks = (unsigned long long)data->timeout_ns * host->clkrate; in pxamci_setup_data()
H A Dtifm_sd.c594 data_timeout += data->timeout_ns / in tifm_sd_set_data_timeout()
H A Dusdhi6rol0.c881 ticks = host->rate / 1000000 * (mrq->data->timeout_ns / 1000) + in usdhi6_timeout_set()
/linux/drivers/gpu/drm/tegra/
H A Duapi.c359 timeout_jiffies = drm_timeout_abs_to_jiffies(args->timeout_ns); in tegra_drm_ioctl_syncpoint_wait()
/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_cs.c1644 unsigned long timeout = amdgpu_gem_timeout(wait->in.timeout_ns); in amdgpu_cs_wait_all_fences()
1683 unsigned long timeout = amdgpu_gem_timeout(wait->in.timeout_ns); in amdgpu_cs_wait_any_fence()
/linux/tools/include/uapi/drm/
H A Di915_drm.h1938 __s64 timeout_ns; member
/linux/drivers/mmc/core/
H A Dblock.c539 data.timeout_ns = idata->ic.data_timeout_ns; in __mmc_blk_ioctl_cmd()
1032 unsigned int ms = DIV_ROUND_UP(data->timeout_ns, 1000000); in mmc_blk_data_timeout_ms()