Home
last modified time | relevance | path

Searched refs:tmo (Results 1 – 25 of 69) sorted by relevance

123

/drivers/net/ethernet/microchip/sparx5/
A Dsparx5_tc_matchall.c57 NL_SET_ERR_MSG_MOD(tmo->common.extack, in sparx5_tc_matchall_replace()
61 action = &tmo->rule->action.entries[0]; in sparx5_tc_matchall_replace()
71 tmo->cookie); in sparx5_tc_matchall_replace()
104 tmo->common.chain_index, in sparx5_tc_matchall_replace()
105 action->chain_index, tmo->cookie, in sparx5_tc_matchall_replace()
108 NL_SET_ERR_MSG_MOD(tmo->common.extack, in sparx5_tc_matchall_replace()
113 NL_SET_ERR_MSG_MOD(tmo->common.extack, in sparx5_tc_matchall_replace()
148 tmo->cookie); in sparx5_tc_matchall_destroy()
156 0, 0, tmo->cookie, false); in sparx5_tc_matchall_destroy()
176 tmo->cookie); in sparx5_tc_matchall_stats()
[all …]
A Dsparx5_tc.h102 struct tc_cls_matchall_offload *tmo,
/drivers/net/wireless/st/cw1200/
A Dpm.c112 unsigned long tmo) in cw1200_pm_stay_awake() argument
118 mod_timer(&pm->stay_awake, jiffies + tmo); in cw1200_pm_stay_awake()
125 long tmo; in cw1200_suspend_work() local
128 tmo = work->timer.expires - jiffies; in cw1200_suspend_work()
129 if (tmo < 0) in cw1200_suspend_work()
130 tmo = 0; in cw1200_suspend_work()
132 tmo = -1; in cw1200_suspend_work()
134 return tmo; in cw1200_suspend_work()
139 unsigned long tmo) in cw1200_resume_work() argument
141 if ((long)tmo < 0) in cw1200_resume_work()
[all …]
A Dpm.h34 unsigned long tmo);
37 unsigned long tmo) in cw1200_pm_stay_awake() argument
A Dscan.c20 int tmo = 2000; in cw1200_scan_start() local
34 tmo += scan->ch[i].max_chan_time + 10; in cw1200_scan_start()
39 cw1200_pm_stay_awake(&priv->pm_state, msecs_to_jiffies(tmo)); in cw1200_scan_start()
41 msecs_to_jiffies(tmo)); in cw1200_scan_start()
A Dqueue.c124 unsigned long tmo = item->queue_timestamp + queue->ttl; in __cw1200_queue_gc() local
125 mod_timer(&queue->gc, tmo); in __cw1200_queue_gc()
127 tmo - jiffies); in __cw1200_queue_gc()
/drivers/scsi/
A Dmyrs.h695 struct myrs_cmd_tmo tmo; /* Byte 19 */ member
708 struct myrs_cmd_tmo tmo; /* Byte 19 */ member
721 struct myrs_cmd_tmo tmo; /* Byte 19 */ member
737 struct myrs_cmd_tmo tmo; /* Byte 19 */ member
751 struct myrs_cmd_tmo tmo; /* Byte 19 */ member
765 struct myrs_cmd_tmo tmo; /* Byte 19 */ member
780 struct myrs_cmd_tmo tmo; /* Byte 19 */ member
798 struct myrs_cmd_tmo tmo; /* Byte 19 */ member
813 struct myrs_cmd_tmo tmo; /* Byte 19 */ member
832 struct myrs_cmd_tmo tmo; /* Byte 19 */ member
[all …]
A Dscsi_transport_srp.c194 static ssize_t srp_show_tmo(char *buf, int tmo) in srp_show_tmo() argument
196 return tmo >= 0 ? sprintf(buf, "%d\n", tmo) : sprintf(buf, "off\n"); in srp_show_tmo()
199 int srp_parse_tmo(int *tmo, const char *buf) in srp_parse_tmo() argument
204 res = kstrtoint(buf, 0, tmo); in srp_parse_tmo()
206 *tmo = -1; in srp_parse_tmo()
/drivers/scsi/csiostor/
A Dcsio_mb.c82 CSIO_INIT_MBP(mbp, cmdp, tmo, hw, cbfn, 1); in csio_mb_hello()
145 CSIO_INIT_MBP(mbp, cmdp, tmo, hw, cbfn, 1); in csio_mb_bye()
168 CSIO_INIT_MBP(mbp, cmdp, tmo, hw, cbfn, 1); in csio_mb_reset()
203 CSIO_INIT_MBP(mbp, cmdp, tmo, hw, cbfn, 1); in csio_mb_params()
267 CSIO_INIT_MBP(mbp, ldst_cmd, tmo, hw, NULL, 1); in csio_mb_ldst()
307 CSIO_INIT_MBP(mbp, cmdp, tmo, hw, cbfn, wr ? 0 : 1); in csio_mb_caps_config()
348 CSIO_INIT_MBP(mbp, cmdp, tmo, hw, cbfn, 1); in csio_mb_port()
418 CSIO_INIT_MBP(mbp, cmdp, tmo, hw, cbfn, 1); in csio_mb_initialize()
1205 if (mbp->tmo < CSIO_MB_POLL_FREQ) { in csio_mb_issue()
1206 csio_err(hw, "Invalid tmo: 0x%x\n", mbp->tmo); in csio_mb_issue()
[all …]
A Dcsio_mb.h97 (__mbp)->tmo = (__tmo); \
121 uint32_t tmo; /* Timeout */ member
174 void csio_mb_ldst(struct csio_hw *hw, struct csio_mb *mbp, uint32_t tmo,
A Dcsio_scsi.c217 wr->tmo_val = (uint8_t) req->tmo; in csio_scsi_init_cmd_wr()
376 wr->tmo_val = (uint8_t)(req->tmo); in csio_scsi_init_read_wr()
429 wr->tmo_val = (uint8_t)(req->tmo); in csio_scsi_init_write_wr()
660 wr->tmo_val = (uint8_t) req->tmo; in csio_scsi_init_abrt_cls_wr()
1237 int count = DIV_ROUND_UP(tmo, CSIO_SCSI_ABORT_Q_POLL_MS); in csio_scsi_abort_io_q()
1841 ioreq->tmo = 0; in csio_queuecommand()
1895 ioreq->tmo = CSIO_SCSI_ABRT_TMO_MS; in csio_do_abrt_cls()
1920 unsigned long tmo = 0; in csio_eh_abort_handler() local
1947 tmo = CSIO_SCSI_ABRT_TMO_MS; in csio_eh_abort_handler()
1969 wait_for_completion_timeout(&ioreq->cmplobj, msecs_to_jiffies(tmo)); in csio_eh_abort_handler()
[all …]
/drivers/regulator/
A Dirq_helpers.c55 int tmo, i; in regulator_notifier_isr_work() local
94 tmo = d->reread_ms; in regulator_notifier_isr_work()
117 tmo = d->irq_off_ms; in regulator_notifier_isr_work()
150 msecs_to_jiffies(tmo)); in regulator_notifier_isr_work()
153 msecs_to_jiffies(tmo)); in regulator_notifier_isr_work()
/drivers/net/ethernet/intel/libeth/
A Dxdp.c393 const struct xsk_tx_metadata_ops *tmo) in __libeth_xdp_set_features() argument
404 tmo = tmo == libeth_xsktmo ? &libeth_xsktmo_slow : tmo; in __libeth_xdp_set_features()
407 dev->xsk_tx_metadata_ops = zc_segs ? tmo : NULL; in __libeth_xdp_set_features()
/drivers/net/ethernet/ti/
A Dcpsw_sl.c256 void cpsw_sl_reset(struct cpsw_sl *sl, unsigned long tmo) in cpsw_sl_reset() argument
258 unsigned long timeout = jiffies + msecs_to_jiffies(tmo); in cpsw_sl_reset()
313 int cpsw_sl_wait_for_idle(struct cpsw_sl *sl, unsigned long tmo) in cpsw_sl_wait_for_idle() argument
315 unsigned long timeout = jiffies + msecs_to_jiffies(tmo); in cpsw_sl_wait_for_idle()
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);
A Dcpts.c29 unsigned long tmo; member
42 return time_after(jiffies, event->tmo); in event_expired()
91 if (time_after(jiffies, skb_cb->tmo)) { in cpts_purge_txq()
146 event->tmo = jiffies + in cpts_fifo_read()
350 if (time_after(jiffies, skb_cb->tmo)) { in cpts_match_tx_ts()
380 time_after(jiffies, event->tmo)) { in cpts_process_events()
543 skb_cb->tmo = jiffies + msecs_to_jiffies(CPTS_SKB_RX_TX_TMO); in cpts_tx_timestamp()
A Dam65-cpts.c144 unsigned long tmo; member
197 unsigned long tmo; member
250 if (time_after(jiffies, event->tmo)) { in am65_cpts_cpts_purge_events()
310 event->tmo = jiffies + in __am65_cpts_fifo_read()
814 if (time_after(jiffies, skb_cb->tmo)) { in am65_cpts_match_tx_ts()
846 time_after(jiffies, event->tmo)) { in am65_cpts_find_ts()
910 if (time_after(jiffies, event->tmo)) { in am65_cpts_find_rx_ts()
981 skb_cb->tmo = jiffies + msecs_to_jiffies(100); in am65_cpts_tx_timestamp()
/drivers/md/
A Ddm-log-userspace-transfer.c175 unsigned long tmo; in dm_consult_userspace() local
240 tmo = wait_for_completion_timeout(&(pkg.complete), DM_ULOG_RETRY_TIMEOUT); in dm_consult_userspace()
244 if (!tmo) { in dm_consult_userspace()
/drivers/gpu/drm/amd/amdgpu/
A Damdgpu_ib.c420 long tmo; in amdgpu_ib_ring_tests() local
439 tmo = tmo_mm; in amdgpu_ib_ring_tests()
441 tmo = tmo_gfx; in amdgpu_ib_ring_tests()
443 r = amdgpu_ring_test_ib(ring, tmo); in amdgpu_ib_ring_tests()
/drivers/nvdimm/
A Dsecurity.c440 unsigned int tmo; in __nvdimm_security_overwrite_query() local
452 tmo = nvdimm->sec.overwrite_tmo; in __nvdimm_security_overwrite_query()
462 tmo += 10; in __nvdimm_security_overwrite_query()
463 queue_delayed_work(system_wq, &nvdimm->dwork, tmo * HZ); in __nvdimm_security_overwrite_query()
464 nvdimm->sec.overwrite_tmo = min(15U * 60U, tmo); in __nvdimm_security_overwrite_query()
/drivers/dma/ioat/
A Dinit.c313 unsigned long tmo; in ioat_dma_self_test() local
372 tmo = wait_for_completion_timeout(&cmp, msecs_to_jiffies(3000)); in ioat_dma_self_test()
374 if (tmo == 0 || in ioat_dma_self_test()
788 unsigned long tmo; in ioat_xor_val_self_test() local
876 tmo = wait_for_completion_timeout(&cmp, msecs_to_jiffies(3000)); in ioat_xor_val_self_test()
878 if (tmo == 0 || in ioat_xor_val_self_test()
944 tmo = wait_for_completion_timeout(&cmp, msecs_to_jiffies(3000)); in ioat_xor_val_self_test()
946 if (tmo == 0 || in ioat_xor_val_self_test()
997 tmo = wait_for_completion_timeout(&cmp, msecs_to_jiffies(3000)); in ioat_xor_val_self_test()
999 if (tmo == 0 || in ioat_xor_val_self_test()
A Ddma.c271 static int ioat_quiesce(struct ioatdma_chan *ioat_chan, unsigned long tmo) in ioat_quiesce() argument
273 unsigned long end = jiffies + tmo; in ioat_quiesce()
281 if (tmo && time_after(jiffies, end)) { in ioat_quiesce()
292 static int ioat_reset_sync(struct ioatdma_chan *ioat_chan, unsigned long tmo) in ioat_reset_sync() argument
294 unsigned long end = jiffies + tmo; in ioat_reset_sync()
/drivers/net/phy/
A Ddp83640.c75 unsigned long tmo; member
96 unsigned long tmo; member
285 rxts->tmo = jiffies + SKB_TIMESTAMP_TIMEOUT; in phy2rxts()
585 return time_after(jiffies, rxts->tmo); in expired()
902 if (time_after(jiffies, skb_info->tmo)) { in decode_txts()
1300 if (!time_after(jiffies, skb_info->tmo)) { in rx_timestamp_work()
1352 skb_info->tmo = jiffies + SKB_TIMESTAMP_TIMEOUT; in dp83640_rxtstamp()
1379 skb_info->tmo = jiffies + SKB_TIMESTAMP_TIMEOUT; in dp83640_txtstamp()
/drivers/video/fbdev/omap/
A Dlcd_mipid.c286 unsigned long tmo; in mipid_run_test() local
289 tmo = jiffies + msecs_to_jiffies(100); in mipid_run_test()
298 if (time_after(jiffies, tmo)) { in mipid_run_test()
/drivers/scsi/lpfc/
A Dlpfc_els.c951 tmo = irsp->ulpTimeout; in lpfc_cmpl_els_flogi()
1279 uint32_t tmo, did; in lpfc_issue_els_flogi() local
1356 tmo = phba->fc_ratov; in lpfc_issue_els_flogi()
1359 phba->fc_ratov = tmo; in lpfc_issue_els_flogi()
2800 tmo = irsp->ulpTimeout; in lpfc_cmpl_els_adisc()
2973 u32 tmo, iotag; in lpfc_cmpl_els_logo() local
2986 tmo = irsp->ulpTimeout; in lpfc_cmpl_els_logo()
3057 ulp_word4, tmo, in lpfc_cmpl_els_logo()
3197 tmo = irsp->ulpTimeout; in lpfc_cmpl_els_cmd()
3334 tmo = irsp->ulpTimeout; in lpfc_cmpl_els_disc_cmd()
[all …]

Completed in 106 milliseconds

123