Home
last modified time | relevance | path

Searched refs:tout (Results 1 – 19 of 19) sorted by relevance

/Linux-v6.1/fs/xfs/
Dxfs_trans_ail.c426 long tout; in xfsaild_push() local
567 tout = 50; in xfsaild_push()
580 tout = 20; in xfsaild_push()
586 tout = 10; in xfsaild_push()
589 return tout; in xfsaild_push()
597 long tout = 0; /* milliseconds */ in xfsaild() local
604 if (tout && tout <= 20) in xfsaild()
657 tout = 0; in xfsaild()
662 if (tout) in xfsaild()
663 schedule_timeout(msecs_to_jiffies(tout)); in xfsaild()
[all …]
/Linux-v6.1/drivers/watchdog/
Ddw_wdt.c425 struct dw_wdt_timeout tout, *dst; in dw_wdt_handle_tops() local
436 tout.top_val = val; in dw_wdt_handle_tops()
437 tout.sec = tops[val] / dw_wdt->rate; in dw_wdt_handle_tops()
440 tout.msec = msec - ((u64)tout.sec * MSEC_PER_SEC); in dw_wdt_handle_tops()
448 if (tout.sec > dst->sec || (tout.sec == dst->sec && in dw_wdt_handle_tops()
449 tout.msec >= dst->msec)) in dw_wdt_handle_tops()
452 swap(*dst, tout); in dw_wdt_handle_tops()
455 dw_wdt->timeouts[val] = tout; in dw_wdt_handle_tops()
Dstm32_iwdg.c90 u32 tout, presc, iwdg_rlr, iwdg_pr, iwdg_sr; in stm32_iwdg_start() local
95 tout = clamp_t(unsigned int, wdd->timeout, in stm32_iwdg_start()
98 presc = DIV_ROUND_UP(tout * wdt->rate, RLR_MAX + 1); in stm32_iwdg_start()
103 iwdg_rlr = ((tout * wdt->rate) / presc) - 1; in stm32_iwdg_start()
/Linux-v6.1/net/netfilter/
Dxt_IDLETIMER.c225 ktime_t tout; in idletimer_tg_create_v1() local
229 tout = ktime_set(info->timeout, 0); in idletimer_tg_create_v1()
230 alarm_start_relative(&info->timer->alarm, tout); in idletimer_tg_create_v1()
276 ktime_t tout = ktime_set(info->timeout, 0); in idletimer_tg_target_v1() local
277 alarm_start_relative(&info->timer->alarm, tout); in idletimer_tg_target_v1()
377 ktime_t tout = alarm_expires_remaining(&info->timer->alarm); in idletimer_tg_checkentry_v1() local
378 struct timespec64 ktimespec = ktime_to_timespec64(tout); in idletimer_tg_checkentry_v1()
383 alarm_start_relative(&info->timer->alarm, tout); in idletimer_tg_checkentry_v1()
/Linux-v6.1/drivers/isdn/mISDN/
Dtimerdev.c220 int id, tout, ret = 0; in mISDN_ioctl() local
229 if (get_user(tout, (int __user *)arg)) { in mISDN_ioctl()
233 id = misdn_add_timer(dev, tout); in mISDN_ioctl()
236 tout, id); in mISDN_ioctl()
/Linux-v6.1/drivers/usb/typec/tcpm/
Dtcpci_rt1711h.c33 #define RT1711H_RTCTRL8_SET(ck300, ship_off, auto_idle, tout) \ argument
35 ((auto_idle) << 3) | ((tout) & 0x07))
42 #define RT1711H_RTCTRL11_SET(en, tout) \ argument
43 (((en) << 7) | ((tout) & 0x0F))
/Linux-v6.1/drivers/hwmon/
Dbt1-pvt.c163 static inline void pvt_set_tout(struct pvt_hwmon *pvt, u32 tout) in pvt_set_tout() argument
168 writel(tout, pvt->regs + PVT_TTIMEOUT); in pvt_set_tout()
946 unsigned long tout; in pvt_check_pwr() local
965 tout = PVT_TOUT_MIN / NSEC_PER_USEC; in pvt_check_pwr()
966 usleep_range(tout, 2 * tout); in pvt_check_pwr()
/Linux-v6.1/net/mptcp/
Dprotocol.c482 static void __mptcp_set_timeout(struct sock *sk, long tout) in __mptcp_set_timeout() argument
484 mptcp_sk(sk)->timer_ival = tout > 0 ? tout : TCP_RTO_MIN; in __mptcp_set_timeout()
498 long tout = 0; in mptcp_set_timeout() local
501 tout = max(tout, mptcp_timeout_from_subflow(subflow)); in mptcp_set_timeout()
502 __mptcp_set_timeout(sk, tout); in mptcp_set_timeout()
866 unsigned long tout; in mptcp_reset_timer() local
872 tout = mptcp_sk(sk)->timer_ival; in mptcp_reset_timer()
873 sk_reset_timer(sk, &icsk->icsk_retransmit_timer, jiffies + tout); in mptcp_reset_timer()
1418 long tout = 0; in mptcp_subflow_get_send() local
1449 tout = max(tout, mptcp_timeout_from_subflow(subflow)); in mptcp_subflow_get_send()
[all …]
/Linux-v6.1/sound/soc/codecs/
Dwm8960.c905 ktime_t tout; in wm8960_set_bias_level_out3() local
953 tout = WM8960_DSCH_TOUT - ktime_ms_delta(ktime_get(), wm8960->dsch_start); in wm8960_set_bias_level_out3()
954 if (tout > 0) in wm8960_set_bias_level_out3()
955 msleep(tout); in wm8960_set_bias_level_out3()
/Linux-v6.1/sound/core/
Dpcm_native.c2126 long tout; in snd_pcm_drain() local
2152 tout = MAX_SCHEDULE_TIMEOUT; in snd_pcm_drain()
2154 tout = 10; in snd_pcm_drain()
2157 tout = max(t, tout); in snd_pcm_drain()
2159 tout = msecs_to_jiffies(tout * 1000); in snd_pcm_drain()
2161 tout = schedule_timeout(tout); in snd_pcm_drain()
2177 if (tout == 0) { in snd_pcm_drain()
Dpcm_lib.c1868 long wait_time, tout; in wait_for_avail() local
1910 tout = schedule_timeout(wait_time); in wait_for_avail()
1935 if (!tout) { in wait_for_avail()
/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/
DMakefile20 fw_reset.o qos.o lib/tout.o lib/aso.o
/Linux-v6.1/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_vfpf.c145 int tout = 100, interval = 100; /* wait for 10 seconds */ in bnx2x_send_msg2pf() local
176 while ((tout >= 0) && (!*done)) { in bnx2x_send_msg2pf()
178 tout -= 1; in bnx2x_send_msg2pf()
197 int tout = 10, interval = 100; /* Wait for 1 sec */ in bnx2x_get_vf_id() local
209 } while (tout-- > 0); in bnx2x_get_vf_id()
Dbnx2x_cmn.h1235 int tout = 5000; /* Wait for 5 secs tops */ in bnx2x_wait_sp_comp() local
1237 while (tout--) { in bnx2x_wait_sp_comp()
Dbnx2x_main.c9229 int tout = 50; in bnx2x_func_wait_started() local
9259 BNX2X_F_STATE_STARTED && tout--) in bnx2x_func_wait_started()
11956 int tout = 5000; in bnx2x_get_hwinfo() local
11964 while (tout && REG_RD(bp, IGU_REG_RESET_MEMORIES)) { in bnx2x_get_hwinfo()
11965 tout--; in bnx2x_get_hwinfo()
/Linux-v6.1/drivers/scsi/arm/
Dfas216.c1170 int tout; in fas216_wait_cmd() local
1175 for (tout = 1000; tout; tout -= 1) { in fas216_wait_cmd()
/Linux-v6.1/tools/power/cpupower/po/
Dfr.po520 "On ne peut indiquer plus d'un paramètre --cpu, tout comme l'on ne peut\n"
634 " pas, ou bien n'est tout simplement pas chargé.\n"
932 "On ne peut indiquer plus d'un paramètre --cpu, tout comme l'on ne peut\n"
/Linux-v6.1/tools/power/x86/turbostat/
Dturbostat.c3357 struct timeval tout; in do_sleep() local
3370 tout = interval_tv; in do_sleep()
3371 retval = select(1, &readfds, NULL, NULL, &tout); in do_sleep()
3385 rest.tv_sec = (tout.tv_sec + tout.tv_usec / 1000000); in do_sleep()
3386 rest.tv_nsec = (tout.tv_usec % 1000000) * 1000; in do_sleep()
/Linux-v6.1/drivers/net/wireless/ralink/rt2x00/
Drt2800lib.c1159 unsigned long tout; in rt2800_entry_txstatus_timeout() local
1165 tout = msecs_to_jiffies(50); in rt2800_entry_txstatus_timeout()
1167 tout = msecs_to_jiffies(2000); in rt2800_entry_txstatus_timeout()
1169 ret = time_after(jiffies, entry->last_action + tout); in rt2800_entry_txstatus_timeout()