/linux/drivers/gpu/drm/loongson/ |
H A D | lsdc_benchmark.c | 75 unsigned long end_jiffies; in lsdc_benchmark_copy() local 86 end_jiffies = jiffies; in lsdc_benchmark_copy() 91 time = jiffies_to_msecs(end_jiffies - start_jiffies); in lsdc_benchmark_copy()
|
/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_amdkfd_gfx_v7.c | 243 unsigned long end_jiffies; in kgd_hqd_sdma_load() local 253 end_jiffies = msecs_to_jiffies(2000) + jiffies; in kgd_hqd_sdma_load() 258 if (time_after(jiffies, end_jiffies)) { in kgd_hqd_sdma_load() 366 unsigned long flags, end_jiffies; in kgd_hqd_destroy() local 443 end_jiffies = (utimeout * HZ / 1000) + jiffies; in kgd_hqd_destroy() 448 if (time_after(jiffies, end_jiffies)) { in kgd_hqd_destroy() 466 unsigned long end_jiffies = (utimeout * HZ / 1000) + jiffies; in kgd_hqd_sdma_destroy() local 479 if (time_after(jiffies, end_jiffies)) { in kgd_hqd_sdma_destroy()
|
H A D | amdgpu_amdkfd_gfx_v8.c | 267 unsigned long end_jiffies; in kgd_hqd_sdma_load() local 276 end_jiffies = msecs_to_jiffies(2000) + jiffies; in kgd_hqd_sdma_load() 281 if (time_after(jiffies, end_jiffies)) { in kgd_hqd_sdma_load() 398 unsigned long flags, end_jiffies; in kgd_hqd_destroy() local 478 end_jiffies = (utimeout * HZ / 1000) + jiffies; in kgd_hqd_destroy() 483 if (time_after(jiffies, end_jiffies)) { in kgd_hqd_destroy() 501 unsigned long end_jiffies = (utimeout * HZ / 1000) + jiffies; in kgd_hqd_sdma_destroy() local 514 if (time_after(jiffies, end_jiffies)) { in kgd_hqd_sdma_destroy()
|
H A D | amdgpu_amdkfd_arcturus.c | 128 unsigned long end_jiffies; in kgd_arcturus_hqd_sdma_load() local 140 end_jiffies = msecs_to_jiffies(2000) + jiffies; in kgd_arcturus_hqd_sdma_load() 145 if (time_after(jiffies, end_jiffies)) { in kgd_arcturus_hqd_sdma_load() 248 unsigned long end_jiffies = (utimeout * HZ / 1000) + jiffies; in kgd_arcturus_hqd_sdma_destroy() local 262 if (time_after(jiffies, end_jiffies)) { in kgd_arcturus_hqd_sdma_destroy()
|
H A D | amdgpu_amdkfd_gfx_v10_3.c | 364 unsigned long end_jiffies; in hqd_sdma_load_v10_3() local 376 end_jiffies = msecs_to_jiffies(2000) + jiffies; in hqd_sdma_load_v10_3() 381 if (time_after(jiffies, end_jiffies)) { in hqd_sdma_load_v10_3() 506 unsigned long end_jiffies; in hqd_destroy_v10_3() local 532 end_jiffies = (utimeout * HZ / 1000) + jiffies; in hqd_destroy_v10_3() 537 if (time_after(jiffies, end_jiffies)) { in hqd_destroy_v10_3() 556 unsigned long end_jiffies = (utimeout * HZ / 1000) + jiffies; in hqd_sdma_destroy_v10_3() local 570 if (time_after(jiffies, end_jiffies)) { in hqd_sdma_destroy_v10_3()
|
H A D | amdgpu_amdkfd_gfx_v11.c | 349 unsigned long end_jiffies; in hqd_sdma_load_v11() local 361 end_jiffies = msecs_to_jiffies(2000) + jiffies; in hqd_sdma_load_v11() 366 if (time_after(jiffies, end_jiffies)) { in hqd_sdma_load_v11() 494 unsigned long end_jiffies; in hqd_destroy_v11() local 517 end_jiffies = (utimeout * HZ / 1000) + jiffies; in hqd_destroy_v11() 522 if (time_after(jiffies, end_jiffies)) { in hqd_destroy_v11() 541 unsigned long end_jiffies = (utimeout * HZ / 1000) + jiffies; in hqd_sdma_destroy_v11() local 555 if (time_after(jiffies, end_jiffies)) { in hqd_sdma_destroy_v11()
|
H A D | amdgpu_amdkfd_gc_9_4_3.c | 64 unsigned long end_jiffies; in kgd_gfx_v9_4_3_hqd_sdma_load() local 76 end_jiffies = msecs_to_jiffies(2000) + jiffies; in kgd_gfx_v9_4_3_hqd_sdma_load() 81 if (time_after(jiffies, end_jiffies)) { in kgd_gfx_v9_4_3_hqd_sdma_load() 189 unsigned long end_jiffies = (utimeout * HZ / 1000) + jiffies; in kgd_gfx_v9_4_3_hqd_sdma_destroy() local 203 if (time_after(jiffies, end_jiffies)) { in kgd_gfx_v9_4_3_hqd_sdma_destroy()
|
H A D | amdgpu_amdkfd_gfx_v9.c | 389 unsigned long end_jiffies; in kgd_hqd_sdma_load() local 401 end_jiffies = msecs_to_jiffies(2000) + jiffies; in kgd_hqd_sdma_load() 406 if (time_after(jiffies, end_jiffies)) { in kgd_hqd_sdma_load() 530 unsigned long end_jiffies; in kgd_gfx_v9_hqd_destroy() local 559 end_jiffies = (utimeout * HZ / 1000) + jiffies; in kgd_gfx_v9_hqd_destroy() 564 if (time_after(jiffies, end_jiffies)) { in kgd_gfx_v9_hqd_destroy() 582 unsigned long end_jiffies = (utimeout * HZ / 1000) + jiffies; in kgd_hqd_sdma_destroy() local 596 if (time_after(jiffies, end_jiffies)) { in kgd_hqd_sdma_destroy() 1166 unsigned long end_jiffies = (utimeout * HZ / 1000) + jiffies; in kgd_gfx_v9_hqd_dequeue_wait() local 1174 if (time_after(jiffies, end_jiffies)) in kgd_gfx_v9_hqd_dequeue_wait()
|
H A D | amdgpu_amdkfd_gfx_v10.c | 378 unsigned long end_jiffies; in kgd_hqd_sdma_load() local 390 end_jiffies = msecs_to_jiffies(2000) + jiffies; in kgd_hqd_sdma_load() 395 if (time_after(jiffies, end_jiffies)) { in kgd_hqd_sdma_load() 519 unsigned long end_jiffies; in kgd_hqd_destroy() local 609 end_jiffies = (utimeout * HZ / 1000) + jiffies; in kgd_hqd_destroy() 614 if (time_after(jiffies, end_jiffies)) { in kgd_hqd_destroy() 632 unsigned long end_jiffies = (utimeout * HZ / 1000) + jiffies; in kgd_hqd_sdma_destroy() local 646 if (time_after(jiffies, end_jiffies)) { in kgd_hqd_sdma_destroy()
|
/linux/drivers/gpu/drm/radeon/ |
H A D | radeon_benchmark.c | 41 unsigned long end_jiffies; in radeon_benchmark_do_move() local 70 end_jiffies = jiffies; in radeon_benchmark_do_move() 71 return jiffies_to_msecs(end_jiffies - start_jiffies); in radeon_benchmark_do_move()
|
/linux/drivers/gpu/drm/nouveau/nvkm/falcon/ |
H A D | cmdq.c | 103 unsigned long end_jiffies = jiffies + msecs_to_jiffies(timeout); in nvkm_falcon_cmdq_write() local 106 while (ret == -EAGAIN && time_before(jiffies, end_jiffies)) in nvkm_falcon_cmdq_write()
|
/linux/drivers/net/wireless/intel/iwlwifi/mvm/ |
H A D | time-event.c | 351 jiffies, te_data->end_jiffies); in iwl_mvm_te_handle_notif() 386 te_data->end_jiffies = TU_TO_EXP_TIME(te_data->duration); in iwl_mvm_te_handle_notif() 663 time_after(te_data->end_jiffies, TU_TO_EXP_TIME(min_duration))) { in iwl_mvm_protect_session() 665 jiffies_to_msecs(te_data->end_jiffies - jiffies)); in iwl_mvm_protect_session() 672 jiffies_to_msecs(te_data->end_jiffies - jiffies)); in iwl_mvm_protect_session() 1009 te_data->end_jiffies = in iwl_mvm_rx_session_protect_notif() 1466 time_after(te_data->end_jiffies, TU_TO_EXP_TIME(min_duration))) { in iwl_mvm_schedule_session_protection() 1468 jiffies_to_msecs(te_data->end_jiffies - jiffies)); in iwl_mvm_schedule_session_protection()
|
H A D | mvm.h | 111 unsigned long end_jiffies; member
|
/linux/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_irq.c | 175 unsigned long end_jiffies = jiffies + timeout; in vmw_fallback_wait() local 207 if (time_after_eq(jiffies, end_jiffies)) { in vmw_fallback_wait()
|
H A D | vmwgfx_cmd.c | 202 unsigned long end_jiffies = jiffies + timeout; in vmw_fifo_wait_noirq() local 213 if (time_after_eq(jiffies, end_jiffies)) { in vmw_fifo_wait_noirq()
|
/linux/drivers/pci/controller/cadence/ |
H A D | pcie-cadence-host.c | 85 unsigned long end_jiffies; in cdns_pcie_host_training_complete() local 89 end_jiffies = jiffies + LINK_RETRAIN_TIMEOUT; in cdns_pcie_host_training_complete() 95 } while (time_before(jiffies, end_jiffies)); in cdns_pcie_host_training_complete()
|
/linux/drivers/tty/hvc/ |
H A D | hvsi.c | 515 unsigned long end_jiffies = jiffies + HVSI_TIMEOUT; in poll_for_state() local 524 if (time_after(jiffies, end_jiffies)) in poll_for_state() 612 unsigned long end_jiffies = jiffies + HVSI_TIMEOUT; in hvsi_drain_input() local 614 while (time_before(end_jiffies, jiffies)) in hvsi_drain_input()
|
/linux/drivers/net/wireless/zydas/zd1211rw/ |
H A D | zd_mac.c | 708 unsigned long end_jiffies, message_jiffies; in zd_mac_config_beacon() local 739 end_jiffies = jiffies + HZ / 2; /*~500ms*/ in zd_mac_config_beacon() 749 if (time_is_before_eq_jiffies(end_jiffies)) { in zd_mac_config_beacon() 789 end_jiffies = jiffies + HZ / 2; /*~500ms*/ in zd_mac_config_beacon() 792 if (in_intr || time_is_before_eq_jiffies(end_jiffies)) { in zd_mac_config_beacon()
|
/linux/drivers/platform/x86/ |
H A D | ideapad-laptop.c | 376 unsigned long end_jiffies, val; in read_ec_data() local 383 end_jiffies = jiffies + msecs_to_jiffies(IDEAPAD_EC_TIMEOUT) + 1; in read_ec_data() 385 while (time_before(jiffies, end_jiffies)) { in read_ec_data() 403 unsigned long end_jiffies, val; in write_ec_cmd() local 414 end_jiffies = jiffies + msecs_to_jiffies(IDEAPAD_EC_TIMEOUT) + 1; in write_ec_cmd() 416 while (time_before(jiffies, end_jiffies)) { in write_ec_cmd()
|
/linux/drivers/scsi/fnic/ |
H A D | fnic_scsi.c | 1392 u64 end_jiffies = 0; in fnic_wq_copy_cmpl_handler() local 1400 end_jiffies = jiffies; in fnic_wq_copy_cmpl_handler() 1401 delta_jiffies = end_jiffies - start_jiffies; in fnic_wq_copy_cmpl_handler()
|
/linux/drivers/gpu/drm/nouveau/nvkm/engine/gr/ |
H A D | gf100.c | 1053 unsigned long end_jiffies = jiffies + msecs_to_jiffies(2000); in gf100_gr_wait_idle() local 1069 } while (time_before(jiffies, end_jiffies)); in gf100_gr_wait_idle()
|
/linux/drivers/pci/ |
H A D | pci.c | 4686 unsigned long end_jiffies; in pcie_wait_for_link_status() local 4692 end_jiffies = jiffies + msecs_to_jiffies(PCIE_LINK_RETRAIN_TIMEOUT_MS); in pcie_wait_for_link_status() 4698 } while (time_before(jiffies, end_jiffies)); in pcie_wait_for_link_status()
|
/linux/drivers/gpu/drm/amd/amdkfd/ |
H A D | kfd_device_queue_manager.c | 2049 unsigned long end_jiffies = msecs_to_jiffies(timeout_ms) + jiffies; in amdkfd_fence_wait_timeout() local 2058 if (time_after(jiffies, end_jiffies)) { in amdkfd_fence_wait_timeout()
|