Home
last modified time | relevance | path

Searched refs:tout (Results 1 - 25 of 37) sorted by relevance

12

/kernel/linux/linux-5.10/fs/xfs/
H A Dxfs_trans_ail.c425 long tout; in xfsaild_push() local
550 tout = 50; in xfsaild_push()
563 tout = 20; in xfsaild_push()
569 tout = 10; in xfsaild_push()
572 return tout; in xfsaild_push()
580 long tout = 0; /* milliseconds */ in xfsaild() local
587 if (tout && tout <= 20) in xfsaild()
640 tout = 0; in xfsaild()
645 if (tout) in xfsaild()
[all...]
/kernel/linux/linux-6.6/fs/xfs/
H A Dxfs_trans_ail.c426 long tout; in xfsaild_push() local
569 tout = 50; in xfsaild_push()
582 tout = 20; in xfsaild_push()
588 tout = 10; in xfsaild_push()
591 return tout; in xfsaild_push()
599 long tout = 0; /* milliseconds */ in xfsaild() local
606 if (tout && tout <= 20) in xfsaild()
659 tout = 0; in xfsaild()
664 if (tout) in xfsaild()
[all...]
/kernel/linux/linux-6.6/drivers/watchdog/
H A 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()
[all...]
H A Dstm32_iwdg.c91 u32 tout, presc, iwdg_rlr, iwdg_pr, iwdg_sr; in stm32_iwdg_start() local
96 tout = clamp_t(unsigned int, wdd->timeout, in stm32_iwdg_start()
99 presc = DIV_ROUND_UP(tout * wdt->rate, RLR_MAX + 1); in stm32_iwdg_start()
104 iwdg_rlr = ((tout * wdt->rate) / presc) - 1; in stm32_iwdg_start()
/kernel/linux/linux-5.10/drivers/watchdog/
H A Ddw_wdt.c428 struct dw_wdt_timeout tout, *dst; in dw_wdt_handle_tops() local
439 tout.top_val = val; in dw_wdt_handle_tops()
440 tout.sec = tops[val] / dw_wdt->rate; in dw_wdt_handle_tops()
443 tout.msec = msec - ((u64)tout.sec * MSEC_PER_SEC); in dw_wdt_handle_tops()
451 if (tout.sec > dst->sec || (tout.sec == dst->sec && in dw_wdt_handle_tops()
452 tout.msec >= dst->msec)) in dw_wdt_handle_tops()
455 swap(*dst, tout); in dw_wdt_handle_tops()
458 dw_wdt->timeouts[val] = tout; in dw_wdt_handle_tops()
[all...]
H A 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()
/kernel/linux/linux-5.10/net/netfilter/
H A 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()
/kernel/linux/linux-6.6/net/netfilter/
H A 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()
/kernel/linux/linux-5.10/drivers/usb/typec/tcpm/
H A Dtcpci_rt1711h.c22 /* Autoidle timeout = (tout * 2 + 1) * 6.4ms */
23 #define RT1711H_RTCTRL8_SET(ck300, ship_off, auto_idle, tout) \
25 ((auto_idle) << 3) | ((tout) & 0x07))
29 /* I2C timeout = (tout + 1) * 12.5ms */
30 #define RT1711H_RTCTRL11_SET(en, tout) \
31 (((en) << 7) | ((tout) & 0x0F))
81 /* CK 300K from 320K, shipping off, auto_idle enable, tout = 32ms */ in rt1711h_init()
/kernel/linux/linux-5.10/drivers/isdn/mISDN/
H A 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()
/kernel/linux/linux-6.6/drivers/isdn/mISDN/
H A 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()
/kernel/linux/linux-6.6/drivers/usb/typec/tcpm/
H A Dtcpci_rt1711h.c32 /* Autoidle timeout = (tout * 2 + 1) * 6.4ms */
33 #define RT1711H_RTCTRL8_SET(ck300, ship_off, auto_idle, tout) \
35 ((auto_idle) << 3) | ((tout) & 0x07))
41 /* I2C timeout = (tout + 1) * 12.5ms */
42 #define RT1711H_RTCTRL11_SET(en, tout) \
43 (((en) << 7) | ((tout) & 0x0F))
101 /* CK 300K from 320K, shipping off, auto_idle enable, tout = 32ms */ in rt1711h_init()
/kernel/linux/linux-5.10/drivers/hwmon/
H A Dbt1-pvt.c187 static inline void pvt_set_tout(struct pvt_hwmon *pvt, u32 tout) in pvt_set_tout() argument
192 writel(tout, pvt->regs + PVT_TTIMEOUT); in pvt_set_tout()
972 unsigned long tout; in pvt_check_pwr() local
991 tout = PVT_TOUT_MIN / NSEC_PER_USEC; in pvt_check_pwr()
992 usleep_range(tout, 2 * tout); in pvt_check_pwr()
/kernel/linux/linux-6.6/drivers/hwmon/
H A 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()
939 unsigned long tout; in pvt_check_pwr() local
958 tout = PVT_TOUT_MIN / NSEC_PER_USEC; in pvt_check_pwr()
959 usleep_range(tout, 2 * tout); in pvt_check_pwr()
/kernel/linux/linux-6.6/net/mptcp/
H A Dprotocol.c491 static void __mptcp_set_timeout(struct sock *sk, long tout) in __mptcp_set_timeout() argument
493 mptcp_sk(sk)->timer_ival = tout > 0 ? tout : TCP_RTO_MIN; in __mptcp_set_timeout()
507 long tout = 0; in mptcp_set_timeout() local
510 tout = max(tout, mptcp_timeout_from_subflow(subflow)); in mptcp_set_timeout() local
511 __mptcp_set_timeout(sk, tout); in mptcp_set_timeout()
924 unsigned long tout; in mptcp_reset_rtx_timer() local
930 tout = mptcp_sk(sk)->timer_ival; in mptcp_reset_rtx_timer()
931 sk_reset_timer(sk, &icsk->icsk_retransmit_timer, jiffies + tout); in mptcp_reset_rtx_timer()
1426 long tout = 0; mptcp_subflow_get_send() local
[all...]
/kernel/linux/linux-5.10/net/mptcp/
H A Dprotocol.c385 long tout = ssk && inet_csk(ssk)->icsk_pending ? in mptcp_set_timeout() local
388 if (tout <= 0) in mptcp_set_timeout()
389 tout = mptcp_sk(sk)->timer_ival; in mptcp_set_timeout()
390 mptcp_sk(sk)->timer_ival = tout > 0 ? tout : TCP_RTO_MIN; in mptcp_set_timeout()
678 unsigned long tout; in mptcp_reset_timer() local
681 tout = READ_ONCE(mptcp_sk(sk)->timer_ival); in mptcp_reset_timer()
682 if (WARN_ON_ONCE(!tout)) in mptcp_reset_timer()
683 tout = TCP_RTO_MIN; in mptcp_reset_timer()
684 sk_reset_timer(sk, &icsk->icsk_retransmit_timer, jiffies + tout); in mptcp_reset_timer()
[all...]
/kernel/linux/linux-6.6/sound/soc/codecs/
H A Dwm8960.c918 ktime_t tout; in wm8960_set_bias_level_out3() local
966 tout = WM8960_DSCH_TOUT - ktime_ms_delta(ktime_get(), wm8960->dsch_start); in wm8960_set_bias_level_out3()
967 if (tout > 0) in wm8960_set_bias_level_out3()
968 msleep(tout); in wm8960_set_bias_level_out3()
/kernel/linux/linux-5.10/sound/core/
H A Dpcm_native.c2113 long tout; in snd_pcm_drain() local
2139 tout = MAX_SCHEDULE_TIMEOUT; in snd_pcm_drain()
2141 tout = 10; in snd_pcm_drain()
2144 tout = max(t, tout); in snd_pcm_drain()
2146 tout = msecs_to_jiffies(tout * 1000); in snd_pcm_drain()
2148 tout = schedule_timeout(tout); in snd_pcm_drain()
2164 if (tout in snd_pcm_drain()
[all...]
/kernel/linux/linux-6.6/sound/core/
H A Dpcm_native.c2130 long tout; in snd_pcm_drain() local
2156 tout = MAX_SCHEDULE_TIMEOUT; in snd_pcm_drain()
2158 tout = 100; in snd_pcm_drain()
2161 tout = max(t, tout); in snd_pcm_drain()
2163 tout = msecs_to_jiffies(tout); in snd_pcm_drain()
2165 tout = schedule_timeout(tout); in snd_pcm_drain()
2181 if (tout in snd_pcm_drain()
[all...]
/kernel/liteos_m/kernel/include/
H A Dlos_task.h1531 UINT16 tout; /**< Expiration duration */ member
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/bnx2x/
H A 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()
H A 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()
/kernel/linux/linux-6.6/drivers/net/ethernet/broadcom/bnx2x/
H A 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()
H A 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()
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/
H A DMakefile20 fw_reset.o qos.o lib/tout.o lib/aso.o

Completed in 36 milliseconds

12