Lines Matching refs:count1
629 unsigned int running, count1, count2; in loopback_jiffies_timer_pos_update() local
647 count1 = bytepos_delta(dpcm_play, delta_play - delta_capt); in loopback_jiffies_timer_pos_update()
648 bytepos_finish(dpcm_play, count1); in loopback_jiffies_timer_pos_update()
651 count1 = bytepos_delta(dpcm_capt, delta_capt - delta_play); in loopback_jiffies_timer_pos_update()
652 clear_capture_buf(dpcm_capt, count1); in loopback_jiffies_timer_pos_update()
653 bytepos_finish(dpcm_capt, count1); in loopback_jiffies_timer_pos_update()
661 count1 = bytepos_delta(dpcm_play, delta_play); in loopback_jiffies_timer_pos_update()
663 if (count1 < count2) { in loopback_jiffies_timer_pos_update()
664 dpcm_capt->last_drift = count2 - count1; in loopback_jiffies_timer_pos_update()
665 count1 = count2; in loopback_jiffies_timer_pos_update()
666 } else if (count1 > count2) { in loopback_jiffies_timer_pos_update()
667 dpcm_play->last_drift = count1 - count2; in loopback_jiffies_timer_pos_update()
669 copy_play_buf(dpcm_play, dpcm_capt, count1); in loopback_jiffies_timer_pos_update()
670 bytepos_finish(dpcm_play, count1); in loopback_jiffies_timer_pos_update()
671 bytepos_finish(dpcm_capt, count1); in loopback_jiffies_timer_pos_update()