Home
last modified time | relevance | path

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

/linux/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...]
/linux/net/netfilter/
H A Dxt_IDLETIMER.c223 ktime_t tout; in idletimer_tg_create_v1() local
227 tout = ktime_set(info->timeout, 0); in idletimer_tg_create_v1()
228 alarm_start_relative(&info->timer->alarm, tout); in idletimer_tg_create_v1()
274 ktime_t tout = ktime_set(info->timeout, 0); in idletimer_tg_target_v1() local
275 alarm_start_relative(&info->timer->alarm, tout); in idletimer_tg_target_v1()
375 ktime_t tout = alarm_expires_remaining(&info->timer->alarm); in idletimer_tg_checkentry_v1() local
376 struct timespec64 ktimespec = ktime_to_timespec64(tout); in idletimer_tg_checkentry_v1()
381 alarm_start_relative(&info->timer->alarm, tout); in idletimer_tg_checkentry_v1()
/linux/drivers/staging/media/ipu7/
H A Dipu7-isys-video.c452 int ret, retout, tout; in start_stream_firmware() local
496 tout = wait_for_completion_timeout(&stream->stream_open_completion, in start_stream_firmware()
501 if (!tout) { in start_stream_firmware()
536 tout = wait_for_completion_timeout(&stream->stream_start_completion, in start_stream_firmware()
538 if (!tout) { in start_stream_firmware()
562 tout = wait_for_completion_timeout(&stream->stream_close_completion, in start_stream_firmware()
564 if (!tout) in start_stream_firmware()
580 int ret, tout; in stop_streaming_firmware() local
591 tout = wait_for_completion_timeout(&stream->stream_stop_completion, in stop_streaming_firmware()
593 if (!tout) in stop_streaming_firmware()
605 int ret, tout; close_streaming_firmware() local
[all...]
H A Dipu7-buttress.c228 int tout; in ipu_buttress_ipc_send_msg() local
253 tout = wait_for_completion_timeout(&ipc->send_complete, in ipu_buttress_ipc_send_msg()
255 if (!tout) { in ipu_buttress_ipc_send_msg()
272 tout = wait_for_completion_timeout(&ipc->recv_complete, in ipu_buttress_ipc_send_msg()
274 if (!tout) { in ipu_buttress_ipc_send_msg()
/linux/drivers/media/pci/intel/ipu6/
H A Dipu6-isys-video.c527 int ret, retout, tout; in start_stream_firmware() local
568 tout = wait_for_completion_timeout(&stream->stream_open_completion, in start_stream_firmware()
573 if (!tout) { in start_stream_firmware()
617 tout = wait_for_completion_timeout(&stream->stream_start_completion, in start_stream_firmware()
619 if (!tout) { in start_stream_firmware()
644 tout = wait_for_completion_timeout(&stream->stream_close_completion, in start_stream_firmware()
646 if (!tout) in start_stream_firmware()
663 int ret, tout; in stop_streaming_firmware() local
675 tout = wait_for_completion_timeout(&stream->stream_stop_completion, in stop_streaming_firmware()
677 if (!tout) in stop_streaming_firmware()
689 int ret, tout; close_streaming_firmware() local
[all...]
H A Dipu6-buttress.c227 int tout; in ipu6_buttress_ipc_send_bulk() local
251 tout = wait_for_completion_timeout(&ipc->send_complete, in ipu6_buttress_ipc_send_bulk()
253 if (!tout) { in ipu6_buttress_ipc_send_bulk()
271 tout = wait_for_completion_timeout(&ipc->recv_complete, in ipu6_buttress_ipc_send_bulk()
273 if (!tout) { in ipu6_buttress_ipc_send_bulk()
/linux/net/mptcp/
H A Dprotocol.c438 static void __mptcp_set_timeout(struct sock *sk, long tout) in __mptcp_set_timeout() argument
440 mptcp_sk(sk)->timer_ival = tout > 0 ? tout : TCP_RTO_MIN; in __mptcp_set_timeout()
454 long tout = 0; in mptcp_set_timeout() local
457 tout = max(tout, mptcp_timeout_from_subflow(subflow)); in mptcp_set_timeout()
458 __mptcp_set_timeout(sk, tout); in mptcp_set_timeout()
868 unsigned long tout; in mptcp_reset_rtx_timer() local
874 tout = mptcp_sk(sk)->timer_ival; in mptcp_reset_rtx_timer()
875 sk_reset_timer(sk, &icsk->icsk_retransmit_timer, jiffies + tout); in mptcp_reset_rtx_timer()
1362 long tout = 0; mptcp_subflow_get_send() local
[all...]
H A Dprotocol.h855 static inline void mptcp_set_close_tout(struct sock *sk, unsigned long tout) in mptcp_set_close_tout() argument
858 inet_csk(sk)->icsk_mtup.probe_timestamp = tout ? : 1; in mptcp_set_close_tout()
/linux/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()
/linux/tools/testing/vsock/
H A Dvsock_test.c1576 time_t tout; in test_stream_leak_acceptq_client() local
1579 tout = current_nsec() + ACCEPTQ_LEAK_RACE_TIMEOUT * NSEC_PER_SEC; in test_stream_leak_acceptq_client()
1586 } while (current_nsec() < tout); in test_stream_leak_acceptq_client()
1973 time_t tout; in test_stream_transport_change_client() local
2002 tout = current_nsec() + TRANSPORT_CHANGE_TIMEOUT * NSEC_PER_SEC; in test_stream_transport_change_client()
2054 } while (current_nsec() < tout); in test_stream_transport_change_client()
/linux/sound/core/
H A Dpcm_native.c2135 long tout; in snd_pcm_drain() local
2161 tout = MAX_SCHEDULE_TIMEOUT; in snd_pcm_drain()
2163 tout = 100; in snd_pcm_drain()
2166 tout = max(t, tout); in snd_pcm_drain()
2168 tout = msecs_to_jiffies(tout); in snd_pcm_drain()
2170 tout = schedule_timeout(tout); in snd_pcm_drain()
2186 if (tout in snd_pcm_drain()
[all...]
H A Dpcm_lib.c1957 long wait_time, tout; in wait_for_avail() local
1998 tout = schedule_timeout(wait_time); in wait_for_avail()
2023 if (!tout) { in wait_for_avail()
/linux/drivers/net/ethernet/broadcom/bnx2x/
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()
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_main.c9228 int tout = 50; in bnx2x_func_wait_started() local
9258 BNX2X_F_STATE_STARTED && tout--) in bnx2x_func_wait_started()
11957 int tout = 5000; in bnx2x_get_hwinfo() local
11965 while (tout && REG_RD(bp, IGU_REG_RESET_MEMORIES)) { in bnx2x_get_hwinfo()
11966 tout--; in bnx2x_get_hwinfo()
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A DMakefile20 fw_reset.o qos.o lib/tout.o lib/aso.o wc.o fs_pool.o
/linux/drivers/scsi/arm/
H A Dfas216.c1170 int tout; in fas216_wait_cmd() local
1175 for (tout = 1000; tout; tout -= 1) { in fas216_wait_cmd()
/linux/tools/power/cpupower/po/
H A 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/tools/power/x86/turbostat/
H A Dturbostat.c6529 struct timeval tout; in do_sleep() local
6542 tout = interval_tv; in do_sleep()
6543 retval = select(1, &readfds, NULL, NULL, &tout); in do_sleep()
6557 rest.tv_sec = (tout.tv_sec + tout.tv_usec / 1000000); in do_sleep()
6558 rest.tv_nsec = (tout.tv_usec % 1000000) * 1000; in do_sleep()
/linux/drivers/net/wireless/ralink/rt2x00/
H A Drt2800lib.c1161 unsigned long tout; in rt2800_entry_txstatus_timeout() local
1167 tout = msecs_to_jiffies(50); in rt2800_entry_txstatus_timeout()
1169 tout = msecs_to_jiffies(2000); in rt2800_entry_txstatus_timeout()
1171 ret = time_after(jiffies, entry->last_action + tout); in rt2800_entry_txstatus_timeout()