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