Lines Matching refs:count1
609 unsigned int running, count1, count2; in loopback_jiffies_timer_pos_update() local
627 count1 = bytepos_delta(dpcm_play, delta_play - delta_capt); in loopback_jiffies_timer_pos_update()
628 bytepos_finish(dpcm_play, count1); in loopback_jiffies_timer_pos_update()
631 count1 = bytepos_delta(dpcm_capt, delta_capt - delta_play); in loopback_jiffies_timer_pos_update()
632 clear_capture_buf(dpcm_capt, count1); in loopback_jiffies_timer_pos_update()
633 bytepos_finish(dpcm_capt, count1); in loopback_jiffies_timer_pos_update()
641 count1 = bytepos_delta(dpcm_play, delta_play); in loopback_jiffies_timer_pos_update()
643 if (count1 < count2) { in loopback_jiffies_timer_pos_update()
644 dpcm_capt->last_drift = count2 - count1; in loopback_jiffies_timer_pos_update()
645 count1 = count2; in loopback_jiffies_timer_pos_update()
646 } else if (count1 > count2) { in loopback_jiffies_timer_pos_update()
647 dpcm_play->last_drift = count1 - count2; in loopback_jiffies_timer_pos_update()
649 copy_play_buf(dpcm_play, dpcm_capt, count1); in loopback_jiffies_timer_pos_update()
650 bytepos_finish(dpcm_play, count1); in loopback_jiffies_timer_pos_update()
651 bytepos_finish(dpcm_capt, count1); in loopback_jiffies_timer_pos_update()