Lines Matching full:count1
653 unsigned int running, count1, count2; in loopback_jiffies_timer_pos_update() local
671 count1 = bytepos_delta(dpcm_play, delta_play - delta_capt); in loopback_jiffies_timer_pos_update()
672 bytepos_finish(dpcm_play, count1); in loopback_jiffies_timer_pos_update()
675 count1 = bytepos_delta(dpcm_capt, delta_capt - delta_play); in loopback_jiffies_timer_pos_update()
676 clear_capture_buf(dpcm_capt, count1); in loopback_jiffies_timer_pos_update()
677 bytepos_finish(dpcm_capt, count1); in loopback_jiffies_timer_pos_update()
685 count1 = bytepos_delta(dpcm_play, delta_play); in loopback_jiffies_timer_pos_update()
687 if (count1 < count2) { in loopback_jiffies_timer_pos_update()
688 dpcm_capt->last_drift = count2 - count1; in loopback_jiffies_timer_pos_update()
689 count1 = count2; in loopback_jiffies_timer_pos_update()
690 } else if (count1 > count2) { in loopback_jiffies_timer_pos_update()
691 dpcm_play->last_drift = count1 - count2; in loopback_jiffies_timer_pos_update()
693 copy_play_buf(dpcm_play, dpcm_capt, count1); in loopback_jiffies_timer_pos_update()
694 bytepos_finish(dpcm_play, count1); in loopback_jiffies_timer_pos_update()
695 bytepos_finish(dpcm_capt, count1); in loopback_jiffies_timer_pos_update()