Home
last modified time | relevance | path

Searched refs:end_jiffies (Results 1 – 22 of 22) sorted by relevance

/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
Damdgpu_amdkfd_arcturus.c131 unsigned long end_jiffies; in kgd_hqd_sdma_load() local
143 end_jiffies = msecs_to_jiffies(2000) + jiffies; in kgd_hqd_sdma_load()
148 if (time_after(jiffies, end_jiffies)) { in kgd_hqd_sdma_load()
253 unsigned long end_jiffies = (utimeout * HZ / 1000) + jiffies; in kgd_hqd_sdma_destroy() local
267 if (time_after(jiffies, end_jiffies)) { in kgd_hqd_sdma_destroy()
Damdgpu_amdkfd_gfx_v8.c284 unsigned long end_jiffies; in kgd_hqd_sdma_load() local
293 end_jiffies = msecs_to_jiffies(2000) + jiffies; in kgd_hqd_sdma_load()
298 if (time_after(jiffies, end_jiffies)) { in kgd_hqd_sdma_load()
418 unsigned long flags, end_jiffies; in kgd_hqd_destroy() local
498 end_jiffies = (utimeout * HZ / 1000) + jiffies; in kgd_hqd_destroy()
503 if (time_after(jiffies, end_jiffies)) { in kgd_hqd_destroy()
522 unsigned long end_jiffies = (utimeout * HZ / 1000) + jiffies; in kgd_hqd_sdma_destroy() local
535 if (time_after(jiffies, end_jiffies)) { in kgd_hqd_sdma_destroy()
Damdgpu_amdkfd_gfx_v7.c297 unsigned long end_jiffies; in kgd_hqd_sdma_load() local
307 end_jiffies = msecs_to_jiffies(2000) + jiffies; in kgd_hqd_sdma_load()
312 if (time_after(jiffies, end_jiffies)) { in kgd_hqd_sdma_load()
423 unsigned long flags, end_jiffies; in kgd_hqd_destroy() local
500 end_jiffies = (utimeout * HZ / 1000) + jiffies; in kgd_hqd_destroy()
505 if (time_after(jiffies, end_jiffies)) { in kgd_hqd_destroy()
524 unsigned long end_jiffies = (utimeout * HZ / 1000) + jiffies; in kgd_hqd_sdma_destroy() local
537 if (time_after(jiffies, end_jiffies)) { in kgd_hqd_sdma_destroy()
Damdgpu_benchmark.c35 unsigned long end_jiffies; in amdgpu_benchmark_do_move() local
51 end_jiffies = jiffies; in amdgpu_benchmark_do_move()
52 r = jiffies_to_msecs(end_jiffies - start_jiffies); in amdgpu_benchmark_do_move()
Damdgpu_amdkfd_gfx_v10.c396 unsigned long end_jiffies; in kgd_hqd_sdma_load() local
408 end_jiffies = msecs_to_jiffies(2000) + jiffies; in kgd_hqd_sdma_load()
413 if (time_after(jiffies, end_jiffies)) { in kgd_hqd_sdma_load()
540 unsigned long end_jiffies; in kgd_hqd_destroy() local
627 end_jiffies = (utimeout * HZ / 1000) + jiffies; in kgd_hqd_destroy()
632 if (time_after(jiffies, end_jiffies)) { in kgd_hqd_destroy()
651 unsigned long end_jiffies = (utimeout * HZ / 1000) + jiffies; in kgd_hqd_sdma_destroy() local
665 if (time_after(jiffies, end_jiffies)) { in kgd_hqd_sdma_destroy()
Damdgpu_amdkfd_gfx_v9.c405 unsigned long end_jiffies; in kgd_hqd_sdma_load() local
417 end_jiffies = msecs_to_jiffies(2000) + jiffies; in kgd_hqd_sdma_load()
422 if (time_after(jiffies, end_jiffies)) { in kgd_hqd_sdma_load()
549 unsigned long end_jiffies; in kgd_gfx_v9_hqd_destroy() local
575 end_jiffies = (utimeout * HZ / 1000) + jiffies; in kgd_gfx_v9_hqd_destroy()
580 if (time_after(jiffies, end_jiffies)) { in kgd_gfx_v9_hqd_destroy()
599 unsigned long end_jiffies = (utimeout * HZ / 1000) + jiffies; in kgd_hqd_sdma_destroy() local
613 if (time_after(jiffies, end_jiffies)) { in kgd_hqd_sdma_destroy()
Damdgpu_amdkfd_gfx_v10_3.c381 unsigned long end_jiffies; in hqd_sdma_load_v10_3() local
393 end_jiffies = msecs_to_jiffies(2000) + jiffies; in hqd_sdma_load_v10_3()
398 if (time_after(jiffies, end_jiffies)) { in hqd_sdma_load_v10_3()
525 unsigned long end_jiffies; in hqd_destroy_v10_3() local
548 end_jiffies = (utimeout * HZ / 1000) + jiffies; in hqd_destroy_v10_3()
553 if (time_after(jiffies, end_jiffies)) { in hqd_destroy_v10_3()
573 unsigned long end_jiffies = (utimeout * HZ / 1000) + jiffies; in hqd_sdma_destroy_v10_3() local
587 if (time_after(jiffies, end_jiffies)) { in hqd_sdma_destroy_v10_3()
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/
Dradeon_benchmark.c41 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()
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/mvm/
Dtime-event.c343 jiffies, te_data->end_jiffies); in iwl_mvm_te_handle_notif()
368 te_data->end_jiffies = TU_TO_EXP_TIME(te_data->duration); in iwl_mvm_te_handle_notif()
593 time_after(te_data->end_jiffies, TU_TO_EXP_TIME(min_duration))) { in iwl_mvm_protect_session()
595 jiffies_to_msecs(te_data->end_jiffies - jiffies)); in iwl_mvm_protect_session()
602 jiffies_to_msecs(te_data->end_jiffies - jiffies)); in iwl_mvm_protect_session()
848 te_data->end_jiffies = in iwl_mvm_rx_session_protect_notif()
1177 time_after(te_data->end_jiffies, TU_TO_EXP_TIME(min_duration))) { in iwl_mvm_schedule_session_protection()
1179 jiffies_to_msecs(te_data->end_jiffies - jiffies)); in iwl_mvm_schedule_session_protection()
Dmvm.h160 unsigned long end_jiffies; member
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/falcon/
Dcmdq.c103 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()
/kernel/linux/linux-5.10/drivers/platform/x86/
Dideapad-laptop.c185 unsigned long int end_jiffies; in read_ec_data() local
190 for (end_jiffies = jiffies+(HZ)*IDEAPAD_EC_TIMEOUT/1000+1; in read_ec_data()
191 time_before(jiffies, end_jiffies);) { in read_ec_data()
209 unsigned long int end_jiffies; in write_ec_cmd() local
216 for (end_jiffies = jiffies+(HZ)*IDEAPAD_EC_TIMEOUT/1000+1; in write_ec_cmd()
217 time_before(jiffies, end_jiffies);) { in write_ec_cmd()
/kernel/linux/linux-5.10/drivers/pci/controller/cadence/
Dpcie-cadence-host.c85 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()
/kernel/linux/linux-5.10/drivers/gpu/drm/vmwgfx/
Dvmwgfx_irq.c171 unsigned long end_jiffies = jiffies + timeout; in vmw_fallback_wait() local
201 if (time_after_eq(jiffies, end_jiffies)) { in vmw_fallback_wait()
Dvmwgfx_fifo.c222 unsigned long end_jiffies = jiffies + timeout; in vmw_fifo_wait_noirq() local
233 if (time_after_eq(jiffies, end_jiffies)) { in vmw_fifo_wait_noirq()
/kernel/linux/linux-5.10/drivers/tty/hvc/
Dhvsi.c515 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()
/kernel/linux/linux-5.10/drivers/net/wireless/zydas/zd1211rw/
Dzd_mac.c708 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()
/kernel/linux/linux-5.10/drivers/pci/pcie/
Daspm.c197 unsigned long end_jiffies; in pcie_wait_for_retrain() local
201 end_jiffies = jiffies + LINK_RETRAIN_TIMEOUT; in pcie_wait_for_retrain()
207 } while (time_before(jiffies, end_jiffies)); in pcie_wait_for_retrain()
/kernel/linux/linux-5.10/drivers/scsi/fnic/
Dfnic_scsi.c1335 u64 end_jiffies = 0; in fnic_wq_copy_cmpl_handler() local
1346 end_jiffies = jiffies; in fnic_wq_copy_cmpl_handler()
1349 delta_jiffies = end_jiffies - start_jiffies; in fnic_wq_copy_cmpl_handler()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdkfd/
Dkfd_device_queue_manager.c1366 unsigned long end_jiffies = msecs_to_jiffies(timeout_ms) + jiffies; in amdkfd_fence_wait_timeout() local
1369 if (time_after(jiffies, end_jiffies)) { in amdkfd_fence_wait_timeout()
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/engine/gr/
Dgf100.c995 unsigned long end_jiffies = jiffies + msecs_to_jiffies(2000); in gf100_gr_wait_idle() local
1011 } while (time_before(jiffies, end_jiffies)); in gf100_gr_wait_idle()
/kernel/linux/linux-5.10/drivers/staging/qlge/
Dqlge_main.c3693 unsigned long end_jiffies; in ql_adapter_reset() local
3717 end_jiffies = jiffies + usecs_to_jiffies(30); in ql_adapter_reset()
3723 } while (time_before(jiffies, end_jiffies)); in ql_adapter_reset()