Home
last modified time | relevance | path

Searched refs:timeout_jiffies (Results 1 – 25 of 35) sorted by relevance

12

/linux-6.6.21/drivers/net/mdio/
Dmdio-sun4i.c39 unsigned long timeout_jiffies; in sun4i_mdio_read() local
48 timeout_jiffies = jiffies + MDIO_TIMEOUT; in sun4i_mdio_read()
50 if (time_is_before_jiffies(timeout_jiffies)) in sun4i_mdio_read()
67 unsigned long timeout_jiffies; in sun4i_mdio_write() local
75 timeout_jiffies = jiffies + MDIO_TIMEOUT; in sun4i_mdio_write()
77 if (time_is_before_jiffies(timeout_jiffies)) in sun4i_mdio_write()
/linux-6.6.21/drivers/gpu/drm/i915/
Di915_selftest.h33 unsigned long timeout_jiffies; member
132 unsigned long name__ = jiffies + i915_selftest.timeout_jiffies
/linux-6.6.21/drivers/pci/
Ddoe.c116 unsigned long timeout_jiffies; in pci_doe_abort() local
120 timeout_jiffies = jiffies + PCI_DOE_TIMEOUT; in pci_doe_abort()
137 } while (!time_after(jiffies, timeout_jiffies)); in pci_doe_abort()
324 unsigned long timeout_jiffies; in doe_statemachine_work() local
350 timeout_jiffies = jiffies + PCI_DOE_TIMEOUT; in doe_statemachine_work()
360 if (time_after(jiffies, timeout_jiffies)) { in doe_statemachine_work()
/linux-6.6.21/drivers/staging/greybus/
Dfw-management.c36 unsigned int timeout_jiffies; member
457 fw_mgmt->timeout_jiffies)) { in fw_mgmt_ioctl()
481 fw_mgmt->timeout_jiffies)) { in fw_mgmt_ioctl()
501 fw_mgmt->timeout_jiffies = msecs_to_jiffies(timeout); in fw_mgmt_ioctl()
600 fw_mgmt->timeout_jiffies = msecs_to_jiffies(FW_MGMT_TIMEOUT_MS); in gb_fw_mgmt_connection_init()
/linux-6.6.21/drivers/mtd/nand/raw/
Dau1550nd.c140 unsigned long timeout_jiffies = jiffies; in au1550nd_waitrdy() local
142 timeout_jiffies += msecs_to_jiffies(timeout_ms) + 1; in au1550nd_waitrdy()
148 } while (time_before(jiffies, timeout_jiffies)); in au1550nd_waitrdy()
/linux-6.6.21/drivers/gpu/drm/tegra/
Duapi.c346 signed long timeout_jiffies; in tegra_drm_ioctl_syncpoint_wait() local
356 timeout_jiffies = drm_timeout_abs_to_jiffies(args->timeout_ns); in tegra_drm_ioctl_syncpoint_wait()
358 return host1x_syncpt_wait(sp, args->threshold, timeout_jiffies, &args->value); in tegra_drm_ioctl_syncpoint_wait()
/linux-6.6.21/drivers/accel/habanalabs/common/
Dhabanalabs_drv.c338 hdev->timeout_jiffies = msecs_to_jiffies(GAUDI_DEFAULT_TIMEOUT_LOCKED * in fixup_device_params_per_asic()
364 hdev->timeout_jiffies = msecs_to_jiffies(tmp_timeout * MSEC_PER_SEC); in fixup_device_params()
366 hdev->timeout_jiffies = MAX_SCHEDULE_TIMEOUT; in fixup_device_params()
Dcommand_submission.c516 if (cs->timedout || hdev->timeout_jiffies == MAX_SCHEDULE_TIMEOUT) in cs_handle_tdr()
533 schedule_delayed_work(&next->work_tdr, next->timeout_jiffies); in cs_handle_tdr()
838 timeout_sec = jiffies_to_msecs(hdev->timeout_jiffies) / 1000; in cs_timedout()
911 cs->timeout_jiffies = timeout; in allocate_cs()
1718 cs_seq, 0, 0, hdev->timeout_jiffies, &sob_count); in hl_cs_ctx_switch()
1735 jiffies_to_usecs(hdev->timeout_jiffies), in hl_cs_ctx_switch()
1757 100, jiffies_to_usecs(hdev->timeout_jiffies), false); in hl_cs_ctx_switch()
2574 : hpriv->hdev->timeout_jiffies; in hl_cs_ioctl()
2952 mcs_data->timeout_jiffies); in hl_wait_multi_cs_completion()
3055 mcs_data.timeout_jiffies = hl_usecs64_to_jiffies(args->in.timeout_us); in hl_multi_cs_wait_ioctl()
[all …]
Dhw_queue.c752 if ((hdev->timeout_jiffies != MAX_SCHEDULE_TIMEOUT) && in hl_hw_queue_schedule_cs()
755 schedule_delayed_work(&cs->work_tdr, cs->timeout_jiffies); in hl_hw_queue_schedule_cs()
/linux-6.6.21/drivers/memstick/host/
Dtifm_ms.c74 unsigned long timeout_jiffies; member
311 mod_timer(&host->timer, jiffies + host->timeout_jiffies); in tifm_ms_issue_cmd()
571 host->timeout_jiffies = msecs_to_jiffies(1000); in tifm_ms_probe()
Djmb38x_ms.c56 unsigned long timeout_jiffies; member
455 mod_timer(&host->timer, jiffies + host->timeout_jiffies); in jmb38x_ms_issue_cmd()
869 host->timeout_jiffies = msecs_to_jiffies(1000); in jmb38x_ms_alloc_host()
/linux-6.6.21/drivers/gpu/drm/amd/amdgpu/
Damdgpu_gem.c500 unsigned long timeout_jiffies; in amdgpu_gem_timeout() local
511 timeout_jiffies = nsecs_to_jiffies(ktime_to_ns(timeout)); in amdgpu_gem_timeout()
513 if (timeout_jiffies > MAX_SCHEDULE_TIMEOUT) in amdgpu_gem_timeout()
516 return timeout_jiffies; in amdgpu_gem_timeout()
/linux-6.6.21/drivers/spi/
Dspi-armada-3700.c344 unsigned long timeout_jiffies; in a3700_spi_wait_completion() local
363 timeout_jiffies = msecs_to_jiffies(A3700_SPI_TIMEOUT); in a3700_spi_wait_completion()
365 timeout_jiffies); in a3700_spi_wait_completion()
/linux-6.6.21/drivers/cdx/controller/
Dmcdi.h200 unsigned int timeout_jiffies);
Dmcdi.c175 unsigned int timeout_jiffies) in cdx_mcdi_wait_for_quiescence() argument
189 rc = wait_woken(&wait, TASK_IDLE, timeout_jiffies); in cdx_mcdi_wait_for_quiescence()
/linux-6.6.21/drivers/gpu/drm/i915/selftests/
Di915_sw_fence.c593 for_each_prime_number(delay, i915_selftest.timeout_jiffies/2) { in test_timer()
672 unsigned long delay = i915_selftest.timeout_jiffies; in test_dma_fence()
Di915_selftest.c167 i915_selftest.timeout_jiffies = in __run_selftests()
/linux-6.6.21/drivers/net/ethernet/google/gve/
Dgve_tx_dqo.c1090 pending_packet->timeout_jiffies = in gve_handle_miss_completion()
1111 if (time_is_after_jiffies(pending_packet->timeout_jiffies)) in remove_miss_completions()
1135 pending_packet->timeout_jiffies = in remove_miss_completions()
1158 if (time_is_after_jiffies(pending_packet->timeout_jiffies)) in remove_timed_out_completions()
/linux-6.6.21/include/rdma/
Drdmavt_qp.h342 unsigned long timeout_jiffies; /* computed from timeout */ member
732 (qp->timeout_jiffies << shift)); in rvt_mod_retry_timer_ext()
/linux-6.6.21/drivers/net/ethernet/qlogic/netxen/
Dnetxen_nic_hw.c1939 unsigned long timeout, timeout_jiffies; in netxen_md_cntrl() local
1985 timeout_jiffies = in netxen_md_cntrl()
1992 timeout_jiffies)) in netxen_md_cntrl()
2153 unsigned long timeout, timeout_jiffies; in netxen_md_L2Cache() local
2172 timeout_jiffies = msecs_to_jiffies(timeout) + jiffies; in netxen_md_L2Cache()
2175 if (time_after(jiffies, timeout_jiffies)) in netxen_md_L2Cache()
/linux-6.6.21/drivers/mmc/host/
Dtifm_sd.c98 unsigned long timeout_jiffies; member
714 mod_timer(&host->timer, jiffies + host->timeout_jiffies); in tifm_sd_request()
956 host->timeout_jiffies = msecs_to_jiffies(TIFM_MMCSD_REQ_TIMEOUT_MS); in tifm_sd_probe()
/linux-6.6.21/drivers/gpu/drm/nouveau/include/nvkm/core/
Dfalcon.h199 unsigned long timeout_jiffies);
/linux-6.6.21/drivers/infiniband/hw/hfi1/
Dopfn.c256 priv->tid_retry_timeout_jiffies = qp->timeout_jiffies; in opfn_qp_init()
/linux-6.6.21/drivers/gpu/drm/v3d/
Dv3d_gem.c374 unsigned long timeout_jiffies = in v3d_wait_bo_ioctl() local
381 true, timeout_jiffies); in v3d_wait_bo_ioctl()
/linux-6.6.21/drivers/media/platform/nxp/
Dimx7-media-csi.c490 unsigned long timeout_jiffies; in imx7_csi_dma_stop() local
502 timeout_jiffies = msecs_to_jiffies(IMX7_CSI_VIDEO_EOF_TIMEOUT); in imx7_csi_dma_stop()
504 timeout_jiffies); in imx7_csi_dma_stop()

12