Home
last modified time | relevance | path

Searched refs:new_sample (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/macintosh/
A Dwindfarm_pid.c33 s32 wf_pid_run(struct wf_pid_state *st, s32 new_sample) in wf_pid_run() argument
40 error = new_sample - st->param.itarget; in wf_pid_run()
45 st->samples[i] = new_sample; in wf_pid_run()
52 st->samples[st->index] = new_sample; in wf_pid_run()
/linux/net/ipv4/
A Dtcp_input.c625 u32 new_sample = tp->rcv_rtt_est.rtt_us; in tcp_rcv_rtt_update() local
628 if (new_sample != 0) { in tcp_rcv_rtt_update()
640 m -= (new_sample >> 3); in tcp_rcv_rtt_update()
641 new_sample += m; in tcp_rcv_rtt_update()
644 if (m < new_sample) in tcp_rcv_rtt_update()
645 new_sample = m; in tcp_rcv_rtt_update()
649 new_sample = m << 3; in tcp_rcv_rtt_update()
652 tp->rcv_rtt_est.rtt_us = new_sample; in tcp_rcv_rtt_update()

Completed in 15 milliseconds