/linux/drivers/net/ethernet/microchip/sparx5/ |
H A D | sparx5_tc_matchall.c | 47 struct tc_cls_matchall_offload *tmo, in sparx5_tc_matchall_replace() argument 56 if (!flow_offload_has_one_action(&tmo->rule->action)) { in sparx5_tc_matchall_replace() 57 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() 81 NL_SET_ERR_MSG_MOD(tmo->common.extack, in sparx5_tc_matchall_replace() 85 NL_SET_ERR_MSG_MOD(tmo->common.extack, in sparx5_tc_matchall_replace() 89 NL_SET_ERR_MSG_MOD(tmo->common.extack, in sparx5_tc_matchall_replace() 93 NL_SET_ERR_MSG_MOD(tmo->common.extack, in sparx5_tc_matchall_replace() 100 sparx5_mirror_stats(mall_entry, &tmo->stats); in sparx5_tc_matchall_replace() [all …]
|
H A D | sparx5_tc.h | 102 struct tc_cls_matchall_offload *tmo,
|
/linux/sound/soc/au1x/ |
H A D | ac97c.c | 87 unsigned int tmo, retry; in au1xac97c_ac97_read() local 95 tmo = 6; in au1xac97c_ac97_read() 96 while ((RD(ctx, AC97_STATUS) & STAT_CP) && --tmo) in au1xac97c_ac97_read() 98 if (!tmo) { in au1xac97c_ac97_read() 108 tmo = 0x10000; in au1xac97c_ac97_read() 109 while ((RD(ctx, AC97_STATUS) & STAT_CP) && --tmo) in au1xac97c_ac97_read() 113 if (!tmo) in au1xac97c_ac97_read() 118 } while (--retry && !tmo); in au1xac97c_ac97_read() 129 unsigned int tmo, retry; in au1xac97c_ac97_write() local 135 for (tmo = 5; (RD(ctx, AC97_STATUS) & STAT_CP) && tmo; tmo--) in au1xac97c_ac97_write() [all …]
|
/linux/drivers/net/wireless/st/cw1200/ |
H A D | pm.c | 112 unsigned long tmo) in cw1200_pm_stay_awake() argument 117 if (!timer_pending(&pm->stay_awake) || cur_tmo < (long)tmo) in cw1200_pm_stay_awake() 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 [all …]
|
H A D | pm.h | 34 unsigned long tmo); 37 unsigned long tmo) in cw1200_pm_stay_awake() argument
|
H A D | scan.c | 20 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()
|
/linux/drivers/scsi/csiostor/ |
H A D | csio_mb.c | 76 csio_mb_hello(struct csio_hw *hw, struct csio_mb *mbp, uint32_t tmo, in csio_mb_hello() argument 82 CSIO_INIT_MBP(mbp, cmdp, tmo, hw, cbfn, 1); in csio_mb_hello() 140 csio_mb_bye(struct csio_hw *hw, struct csio_mb *mbp, uint32_t tmo, in csio_mb_bye() argument 145 CSIO_INIT_MBP(mbp, cmdp, tmo, hw, cbfn, 1); in csio_mb_bye() 162 csio_mb_reset(struct csio_hw *hw, struct csio_mb *mbp, uint32_t tmo, in csio_mb_reset() argument 168 CSIO_INIT_MBP(mbp, cmdp, tmo, hw, cbfn, 1); in csio_mb_reset() 182 * @tmo: Command timeout. 193 csio_mb_params(struct csio_hw *hw, struct csio_mb *mbp, uint32_t tmo, in csio_mb_params() argument 203 CSIO_INIT_MBP(mbp, cmdp, tmo, hw, cbfn, 1); in csio_mb_params() 259 * @tmo: timeout [all …]
|
H A D | csio_mb.h | 97 (__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,
|
H A D | csio_scsi.c | 217 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() 1220 * @tmo: Timeout in ms 1223 * of tmo milliseconds for them to complete. Returns success 1233 csio_scsi_abort_io_q(struct csio_scsim *scm, struct list_head *q, uint32_t tmo) in csio_scsi_abort_io_q() argument 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() [all …]
|
/linux/include/net/libeth/ |
H A D | xsk.h | 153 /* XSk TMO */ 195 const struct xsk_tx_metadata_ops *tmo = libeth_xdp_priv_to_ptr(priv); in __libeth_xsk_xmit_fill_buf_md() local 205 BUILD_BUG_ON(!__builtin_constant_p(tmo == libeth_xsktmo)); in __libeth_xsk_xmit_fill_buf_md() 206 tmo = tmo == libeth_xsktmo ? &__libeth_xsktmo : tmo; in __libeth_xsk_xmit_fill_buf_md() 208 xsk_tx_metadata_request(ctx.meta, tmo, &desc); in __libeth_xsk_xmit_fill_buf_md() 269 * @tmo: optional XSk Tx metadata ops 286 const struct xsk_tx_metadata_ops *tmo, in libeth_xsk_xmit_do_bulk() argument 304 libeth_xdp_ptr_to_priv(tmo), prep, in libeth_xsk_xmit_do_bulk()
|
/linux/drivers/net/ethernet/intel/libeth/ |
H A D | xdp.c | 384 * @tmo: XSk Tx metadata ops (Tx hints) 393 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()
|
/linux/drivers/net/ethernet/ti/ |
H A D | cpsw_sl.c | 256 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()
|
H A D | cpsw_sl.h | 63 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 D | cpts.c | 29 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()
|
H A D | am65-cpts.c | 144 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()
|
/linux/drivers/scsi/ |
H A D | myrs.h | 695 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 …]
|
H A D | scsi_transport_srp.c | 194 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()
|
/linux/include/uapi/linux/ |
H A D | if_packet.h | 217 * Case 1. Block has 'N'(N >=1) packets and TMO'd(timed out) 224 * Case 2. Block has zero packets and TMO'd 227 * Case 3. Block has 'N' packets and NO TMO.
|
/linux/drivers/dma/ioat/ |
H A D | init.c | 313 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()
|
/linux/drivers/md/ |
H A D | dm-log-userspace-transfer.c | 175 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()
|
/linux/Documentation/devicetree/bindings/i3c/ |
H A D | renesas,i3c.yaml | 60 - const: tmo 171 "al", "tmo", "wu", "exit";
|
/linux/drivers/nvdimm/ |
H A D | security.c | 440 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()
|
/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_ib.c | 420 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()
|
/linux/net/xfrm/ |
H A D | xfrm_state.c | 654 time64_t tmo = x->lft.hard_add_expires_seconds + in xfrm_timer_handler() local 656 if (tmo <= 0) { in xfrm_timer_handler() 663 tmo = x->lft.hard_add_expires_seconds - x->saved_tmo; in xfrm_timer_handler() 667 if (tmo < next) in xfrm_timer_handler() 668 next = tmo; in xfrm_timer_handler() 671 time64_t tmo = x->lft.hard_use_expires_seconds + in xfrm_timer_handler() local 673 if (tmo <= 0) in xfrm_timer_handler() 675 if (tmo < next) in xfrm_timer_handler() 676 next = tmo; in xfrm_timer_handler() 681 time64_t tmo = x->lft.soft_add_expires_seconds + in xfrm_timer_handler() local [all …]
|
/linux/Documentation/devicetree/bindings/arm/ |
H A D | ux500.yaml | 45 - const: samsung,codina-tmo
|