Searched refs:tmo (Results 1 - 25 of 83) sorted by path

1234

/linux-master/drivers/net/ethernet/ti/
H A Dcpsw_sl.c256 void cpsw_sl_reset(struct cpsw_sl *sl, unsigned long tmo) argument
258 unsigned long timeout = jiffies + msecs_to_jiffies(tmo);
313 int cpsw_sl_wait_for_idle(struct cpsw_sl *sl, unsigned long tmo) argument
315 unsigned long timeout = jiffies + msecs_to_jiffies(tmo);
H A Dcpsw_sl.h63 void cpsw_sl_reset(struct cpsw_sl *sl, unsigned long tmo);
68 int cpsw_sl_wait_for_idle(struct cpsw_sl *sl, unsigned long tmo);
H A Dam65-cpsw-nuss.c293 netdev_err(ndev, "txq:%d DRV_XOFF:%d tmo:%u dql_avail:%d free_desc:%zu\n",
1608 int tmo; local
1615 tmo = cpsw_sl_wait_for_idle(port->slave.mac_sl, 100);
1616 dev_dbg(common->dev, "down msc_sl %08x tmo %d\n",
1617 cpsw_sl_reg_read(port->slave.mac_sl, CPSW_SL_MACSTATUS), tmo);
H A Dam65-cpts.c144 unsigned long tmo; member in struct:am65_cpts_event
197 unsigned long tmo; member in struct:am65_cpts_skb_cb_data
250 if (time_after(jiffies, event->tmo)) {
312 event->tmo = jiffies +
807 if (time_after(jiffies, skb_cb->tmo)) {
839 time_after(jiffies, event->tmo)) {
934 skb_cb->tmo = jiffies + msecs_to_jiffies(100);
/linux-master/drivers/net/wireless/st/cw1200/
H A Dpm.c112 unsigned long tmo)
117 if (!timer_pending(&pm->stay_awake) || cur_tmo < (long)tmo)
118 mod_timer(&pm->stay_awake, jiffies + tmo);
125 long tmo; local
128 tmo = work->timer.expires - jiffies;
129 if (tmo < 0)
130 tmo = 0;
132 tmo = -1;
134 return tmo;
139 unsigned long tmo)
111 cw1200_pm_stay_awake(struct cw1200_pm_state *pm, unsigned long tmo) argument
137 cw1200_resume_work(struct cw1200_common *priv, struct delayed_work *work, unsigned long tmo) argument
[all...]
H A Dpm.h34 unsigned long tmo);
37 unsigned long tmo)
36 cw1200_pm_stay_awake(struct cw1200_pm_state *pm, unsigned long tmo) argument
/linux-master/drivers/scsi/csiostor/
H A Dcsio_mb.h97 (__mbp)->tmo = (__tmo); \
121 uint32_t tmo; /* Timeout */ member in struct:csio_mb
174 void csio_mb_ldst(struct csio_hw *hw, struct csio_mb *mbp, uint32_t tmo,
H A Dcsio_wr.h246 uint32_t tmo; /* Driver timeout */ member in struct:csio_ioreq
/linux-master/arch/arm/boot/dts/st/
H A DMakefile76 ste-ux500-samsung-codina-tmo.dtb \
/linux-master/drivers/acpi/nfit/
H A Dcore.c2810 unsigned int tmo = acpi_desc->scrub_tmo; local
2821 return min(30U * 60U, tmo * 2);
2886 static void __sched_ars(struct acpi_nfit_desc *acpi_desc, unsigned int tmo) argument
2892 if (tmo)
2893 acpi_desc->scrub_tmo = tmo;
2894 queue_delayed_work(nfit_wq, &acpi_desc->dwork, tmo * HZ);
2915 unsigned int tmo; local
2921 tmo = __acpi_nfit_scrub(acpi_desc, query_rc);
2922 if (tmo)
2923 __sched_ars(acpi_desc, tmo);
[all...]
/linux-master/drivers/ata/
H A Dahci.c914 unsigned long tmo = deadline - jiffies; local
948 deadline += tmo;
/linux-master/drivers/dma/ioat/
H A Ddma.c271 static int ioat_quiesce(struct ioatdma_chan *ioat_chan, unsigned long tmo) argument
273 unsigned long end = jiffies + tmo;
281 if (tmo && time_after(jiffies, end)) {
292 static int ioat_reset_sync(struct ioatdma_chan *ioat_chan, unsigned long tmo) argument
294 unsigned long end = jiffies + tmo;
H A Dinit.c312 unsigned long tmo; local
371 tmo = wait_for_completion_timeout(&cmp, msecs_to_jiffies(3000));
373 if (tmo == 0 ||
799 unsigned long tmo; local
887 tmo = wait_for_completion_timeout(&cmp, msecs_to_jiffies(3000));
889 if (tmo == 0 ||
955 tmo = wait_for_completion_timeout(&cmp, msecs_to_jiffies(3000));
957 if (tmo == 0 ||
1008 tmo = wait_for_completion_timeout(&cmp, msecs_to_jiffies(3000));
1010 if (tmo
[all...]
/linux-master/drivers/firmware/arm_scmi/
H A Draw_mode.c482 unsigned long tmo = msecs_to_jiffies(SCMI_MAX_RESPONSE_TIMEOUT); local
484 if (!wait_for_completion_timeout(xfer->async_done, tmo))
/linux-master/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_device.c4902 long r = 1, tmo; local
4905 tmo = msecs_to_jiffies(8000);
4907 tmo = msecs_to_jiffies(100);
4928 tmo = dma_fence_wait_timeout(fence, false, tmo);
4931 if (tmo == 0) {
4934 } else if (tmo < 0) {
4935 r = tmo;
4945 tmo = dma_fence_wait_timeout(fence, false, tmo);
[all...]
H A Damdgpu_ib.c406 long tmo; local
425 tmo = tmo_mm;
427 tmo = tmo_gfx;
429 r = amdgpu_ring_test_ib(ring, tmo);
H A Dgfx_v11_0.c4631 long tmo = msecs_to_jiffies(1000); local
4635 r = amdgpu_ring_test_ib(ring, tmo);
4642 r = amdgpu_ring_test_ib(ring, tmo);
H A Dsdma_v6_0.c712 long tmo = msecs_to_jiffies(1000); local
716 r = amdgpu_ring_test_ib(ring, tmo);
/linux-master/drivers/infiniband/ulp/srp/
H A Dib_srp.c164 int tmo = *(int *)kp->arg; local
166 if (tmo >= 0)
167 return sysfs_emit(buffer, "%d\n", tmo);
174 int tmo, res; local
176 res = srp_parse_tmo(&tmo, val);
181 res = srp_tmo_valid(tmo, srp_fast_io_fail_tmo,
184 res = srp_tmo_valid(srp_reconnect_delay, tmo, srp_dev_loss_tmo);
187 tmo);
190 *(int *)kp->arg = tmo;
/linux-master/drivers/input/keyboard/
H A Dlm8323.c632 unsigned long tmo; local
678 tmo = jiffies + msecs_to_jiffies(100);
683 if (time_after(jiffies, tmo)) {
/linux-master/drivers/md/
H A Ddm-log-userspace-transfer.c175 unsigned long tmo; local
240 tmo = wait_for_completion_timeout(&(pkg.complete), DM_ULOG_RETRY_TIMEOUT);
244 if (!tmo) {
/linux-master/drivers/media/platform/allegro-dvt/
H A Dallegro-core.c1418 unsigned long tmo; local
1420 tmo = wait_for_completion_timeout(&dev->init_complete,
1422 if (tmo == 0)
/linux-master/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt.c13160 int n = 0, tmo; local
13191 tmo = HZ / 10;
13194 tmo = bp->fw_reset_min_dsecs * HZ / 10;
13196 bnxt_queue_fw_reset_work(bp, tmo);
13768 int tmo; local
13796 tmo = HZ / 10;
13799 tmo = bp->fw_reset_min_dsecs * HZ / 10;
13802 bnxt_queue_fw_reset_work(bp, tmo);
/linux-master/drivers/net/ethernet/microchip/sparx5/
H A Dsparx5_tc.h102 struct tc_cls_matchall_offload *tmo,
H A Dsparx5_tc_matchall.c15 struct tc_cls_matchall_offload *tmo,
23 if (!flow_offload_has_one_action(&tmo->rule->action)) {
24 NL_SET_ERR_MSG_MOD(tmo->common.extack,
28 action = &tmo->rule->action.entries[0];
34 tmo->common.chain_index,
35 action->chain_index, tmo->cookie,
38 NL_SET_ERR_MSG_MOD(tmo->common.extack,
43 NL_SET_ERR_MSG_MOD(tmo->common.extack,
48 NL_SET_ERR_MSG_MOD(tmo->common.extack,
53 NL_SET_ERR_MSG_MOD(tmo
14 sparx5_tc_matchall_replace(struct net_device *ndev, struct tc_cls_matchall_offload *tmo, bool ingress) argument
65 sparx5_tc_matchall_destroy(struct net_device *ndev, struct tc_cls_matchall_offload *tmo, bool ingress) argument
85 sparx5_tc_matchall(struct net_device *ndev, struct tc_cls_matchall_offload *tmo, bool ingress) argument
[all...]

Completed in 444 milliseconds

1234