/Linux-v6.6/drivers/net/ethernet/microchip/sparx5/ |
D | sparx5_tc_matchall.c | 15 struct tc_cls_matchall_offload *tmo, in sparx5_tc_matchall_replace() argument 23 if (!flow_offload_has_one_action(&tmo->rule->action)) { in sparx5_tc_matchall_replace() 24 NL_SET_ERR_MSG_MOD(tmo->common.extack, in sparx5_tc_matchall_replace() 28 action = &tmo->rule->action.entries[0]; in sparx5_tc_matchall_replace() 34 tmo->common.chain_index, in sparx5_tc_matchall_replace() 35 action->chain_index, tmo->cookie, in sparx5_tc_matchall_replace() 38 NL_SET_ERR_MSG_MOD(tmo->common.extack, in sparx5_tc_matchall_replace() 43 NL_SET_ERR_MSG_MOD(tmo->common.extack, in sparx5_tc_matchall_replace() 48 NL_SET_ERR_MSG_MOD(tmo->common.extack, in sparx5_tc_matchall_replace() 53 NL_SET_ERR_MSG_MOD(tmo->common.extack, in sparx5_tc_matchall_replace() [all …]
|
D | sparx5_tc.h | 102 struct tc_cls_matchall_offload *tmo,
|
/Linux-v6.6/sound/soc/au1x/ |
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 …]
|
D | psc-i2s.c | 146 unsigned long tmo; in au1xpsc_i2s_configure() local 152 tmo = 1000000; in au1xpsc_i2s_configure() 153 while (!(__raw_readl(I2S_STAT(pscdata)) & PSC_I2SSTAT_SR) && tmo) in au1xpsc_i2s_configure() 154 tmo--; in au1xpsc_i2s_configure() 156 if (!tmo) in au1xpsc_i2s_configure() 165 tmo = 1000000; in au1xpsc_i2s_configure() 166 while (!(__raw_readl(I2S_STAT(pscdata)) & PSC_I2SSTAT_DR) && tmo) in au1xpsc_i2s_configure() 167 tmo--; in au1xpsc_i2s_configure() 169 if (tmo) in au1xpsc_i2s_configure() 181 unsigned long tmo, stat; in au1xpsc_i2s_start() local [all …]
|
D | psc-ac97.c | 75 unsigned short retry, tmo; in au1xpsc_ac97_read() local 89 tmo = 20; in au1xpsc_ac97_read() 94 } while (--tmo); in au1xpsc_ac97_read() 104 tmo = 1; /* wrong register, try again */ in au1xpsc_ac97_read() 106 } while (--retry && !tmo); in au1xpsc_ac97_read() 116 unsigned int tmo, retry; in au1xpsc_ac97_write() local 129 tmo = 20; in au1xpsc_ac97_write() 134 } while (--tmo); in au1xpsc_ac97_write() 140 } while (--retry && !tmo); in au1xpsc_ac97_write()
|
/Linux-v6.6/drivers/net/wireless/st/cw1200/ |
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 …]
|
D | pm.h | 34 unsigned long tmo); 37 unsigned long tmo) in cw1200_pm_stay_awake() argument
|
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-v6.6/drivers/scsi/ |
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 …]
|
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-v6.6/sound/soc/sh/ |
D | hac.c | 202 unsigned int tmo; in hac_ac97_warmrst() local 207 for (tmo = 1000; (tmo > 0) && !(HACREG(HACCR) & CR_CR); tmo--) in hac_ac97_warmrst() 210 if (!tmo) in hac_ac97_warmrst()
|
/Linux-v6.6/drivers/scsi/csiostor/ |
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() 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() 264 csio_mb_ldst(struct csio_hw *hw, struct csio_mb *mbp, uint32_t tmo, int reg) in csio_mb_ldst() argument 267 CSIO_INIT_MBP(mbp, ldst_cmd, tmo, hw, NULL, 1); in csio_mb_ldst() [all …]
|
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,
|
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() 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() 1920 unsigned long tmo = 0; in csio_eh_abort_handler() local 1947 tmo = CSIO_SCSI_ABRT_TMO_MS; in csio_eh_abort_handler() [all …]
|
/Linux-v6.6/drivers/regulator/ |
D | irq_helpers.c | 55 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()
|
/Linux-v6.6/drivers/net/ethernet/ti/ |
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()
|
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);
|
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()
|
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() 312 event->tmo = jiffies + in am65_cpts_fifo_read() 802 if (time_after(jiffies, skb_cb->tmo)) { in am65_cpts_match_tx_ts() 834 time_after(jiffies, event->tmo)) { in am65_cpts_find_ts() 929 skb_cb->tmo = jiffies + msecs_to_jiffies(100); in am65_cpts_tx_timestamp()
|
/Linux-v6.6/drivers/md/ |
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-v6.6/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_ib.c | 413 long tmo; in amdgpu_ib_ring_tests() local 432 tmo = tmo_mm; in amdgpu_ib_ring_tests() 434 tmo = tmo_gfx; in amdgpu_ib_ring_tests() 436 r = amdgpu_ring_test_ib(ring, tmo); in amdgpu_ib_ring_tests()
|
/Linux-v6.6/drivers/nvdimm/ |
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-v6.6/drivers/dma/ioat/ |
D | init.c | 312 unsigned long tmo; in ioat_dma_self_test() local 371 tmo = wait_for_completion_timeout(&cmp, msecs_to_jiffies(3000)); in ioat_dma_self_test() 373 if (tmo == 0 || in ioat_dma_self_test() 799 unsigned long tmo; in ioat_xor_val_self_test() local 887 tmo = wait_for_completion_timeout(&cmp, msecs_to_jiffies(3000)); in ioat_xor_val_self_test() 889 if (tmo == 0 || in ioat_xor_val_self_test() 955 tmo = wait_for_completion_timeout(&cmp, msecs_to_jiffies(3000)); in ioat_xor_val_self_test() 957 if (tmo == 0 || in ioat_xor_val_self_test() 1008 tmo = wait_for_completion_timeout(&cmp, msecs_to_jiffies(3000)); in ioat_xor_val_self_test() 1010 if (tmo == 0 || in ioat_xor_val_self_test()
|
/Linux-v6.6/include/scsi/ |
D | scsi_transport_srp.h | 116 int srp_parse_tmo(int *tmo, const char *buf);
|
/Linux-v6.6/drivers/net/phy/ |
D | dp83640.c | 75 unsigned long tmo; member 96 unsigned long tmo; member 285 rxts->tmo = jiffies + SKB_TIMESTAMP_TIMEOUT; in phy2rxts() 595 return time_after(jiffies, rxts->tmo); in expired() 912 if (time_after(jiffies, skb_info->tmo)) { in decode_txts() 1309 if (!time_after(jiffies, skb_info->tmo)) { in rx_timestamp_work() 1361 skb_info->tmo = jiffies + SKB_TIMESTAMP_TIMEOUT; in dp83640_rxtstamp() 1388 skb_info->tmo = jiffies + SKB_TIMESTAMP_TIMEOUT; in dp83640_txtstamp()
|