Searched refs:new_sample (Results 1 – 4 of 4) sorted by relevance
33 s32 wf_pid_run(struct wf_pid_state *st, s32 new_sample) in wf_pid_run() argument40 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()
99 new_sample = MS_ADPCM_nibble(state[0],nybble,coeff[0]);100 decoded[0] = new_sample&0xFF;
70 new_sample = MS_ADPCM_nibble(state[0],nybble,coeff[0]);
660 u32 new_sample = tp->rcv_rtt_est.rtt_us; in tcp_rcv_rtt_update() local663 if (new_sample != 0) { in tcp_rcv_rtt_update()675 m -= (new_sample >> 3); in tcp_rcv_rtt_update()676 new_sample += m; in tcp_rcv_rtt_update()679 if (m < new_sample) in tcp_rcv_rtt_update()680 new_sample = m; in tcp_rcv_rtt_update()684 new_sample = m << 3; in tcp_rcv_rtt_update()687 tp->rcv_rtt_est.rtt_us = new_sample; in tcp_rcv_rtt_update()