| /linux/tools/testing/selftests/futex/functional/ |
| H A D | futex_wait_timeout.c | 24 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 D | futex_requeue_pi.c | 67 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 D | futex_wait_wouldblock.c | 29 #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 D | futex_requeue.c | 14 #define timeout_ns 30000000 macro 24 to.tv_nsec = timeout_ns; in waiterfn()
|
| H A D | futex_wait.c | 16 #define timeout_ns 30000000 macro 31 to.tv_nsec = timeout_ns; in waiterfn()
|
| /linux/kernel/power/ |
| H A D | wakelock.c | 210 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 D | xhci.c | 4837 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 D | vc4_drm.h | 209 __u64 timeout_ns; member 223 __u64 timeout_ns; member
|
| H A D | lima_drm.h | 137 __s64 timeout_ns; /* in, wait timeout in absulute time */ member
|
| H A D | tegra_drm.h | 1020 __s64 timeout_ns; member
|
| H A D | amdgpu_drm.h | 794 __u64 timeout_ns; member
|
| H A D | i915_drm.h | 1938 __s64 timeout_ns; member
|
| /linux/drivers/gpu/drm/lima/ |
| H A D | lima_gem.h | 43 int lima_gem_wait(struct drm_file *file, u32 handle, u32 op, s64 timeout_ns);
|
| H A D | lima_drv.c | 186 return lima_gem_wait(file, args->handle, args->op, args->timeout_ns); in lima_ioctl_gem_wait()
|
| /linux/drivers/mmc/host/ |
| H A D | cavium.c | 668 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 D | wbsd.c | 546 if (data->timeout_ns > 127000000) in wbsd_prepare_data() 550 data->timeout_ns / 1000000); in wbsd_prepare_data()
|
| H A D | pxamci.c | 174 clks = (unsigned long long)data->timeout_ns * host->clkrate; in pxamci_setup_data()
|
| H A D | tifm_sd.c | 594 data_timeout += data->timeout_ns / in tifm_sd_set_data_timeout()
|
| H A D | usdhi6rol0.c | 881 ticks = host->rate / 1000000 * (mrq->data->timeout_ns / 1000) + in usdhi6_timeout_set()
|
| /linux/drivers/gpu/drm/tegra/ |
| H A D | uapi.c | 359 timeout_jiffies = drm_timeout_abs_to_jiffies(args->timeout_ns); in tegra_drm_ioctl_syncpoint_wait()
|
| /linux/drivers/gpu/drm/amd/amdgpu/ |
| H A D | amdgpu_cs.c | 1644 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 D | i915_drm.h | 1938 __s64 timeout_ns; member
|
| /linux/drivers/mmc/core/ |
| H A D | block.c | 539 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()
|