Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/macintosh/
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-6.1.9/net/ipv4/
Dtcp_input.c626 u32 new_sample = tp->rcv_rtt_est.rtt_us; in tcp_rcv_rtt_update() local
629 if (new_sample != 0) { in tcp_rcv_rtt_update()
641 m -= (new_sample >> 3); in tcp_rcv_rtt_update()
642 new_sample += m; in tcp_rcv_rtt_update()
645 if (m < new_sample) in tcp_rcv_rtt_update()
646 new_sample = m; in tcp_rcv_rtt_update()
650 new_sample = m << 3; in tcp_rcv_rtt_update()
653 tp->rcv_rtt_est.rtt_us = new_sample; in tcp_rcv_rtt_update()