Lines Matching refs:hw_ptr
52 snd_pcm_uframes_t appl_ptr, hw_ptr, last_slave_hw_ptr;
653 * To eliminate rounding issue on rate->hw_ptr, subtract last rounded
654 * value from rate->hw_ptr and add new rounded value of present
655 * slave_hw_ptr fraction part to rate->hw_ptr. Hence,
656 * rate->hw_ptr += [ (no. of updated slave periods * pcm rate period size) -
660 rate->hw_ptr += (
666 rate->hw_ptr %= pcm->boundary;
1235 snd_pcm_rate_sync_hwptr0(pcm, status->hw_ptr);
1237 status->hw_ptr = *pcm->hw.ptr;
1614 snd_pcm_set_hw_ptr(pcm, &rate->hw_ptr, -1, 0);