Lines Matching refs:hw_ptr
455 snd_pcm_uframes_t hw_ptr; in pcm_get_htimestamp() local
472 hw_ptr = pcm->mmap_status->hw_ptr; in pcm_get_htimestamp()
474 frames = hw_ptr - pcm->mmap_control->appl_ptr; in pcm_get_htimestamp()
476 frames = hw_ptr + pcm->buffer_size - pcm->mmap_control->appl_ptr; in pcm_get_htimestamp()
488 int pcm_mmap_get_hw_ptr(struct pcm* pcm, unsigned int *hw_ptr, struct timespec *tstamp) in pcm_mmap_get_hw_ptr() argument
493 if (pcm == NULL || hw_ptr == NULL || tstamp == NULL) in pcm_mmap_get_hw_ptr()
494 return oops(pcm, EINVAL, "pcm %p, hw_ptr %p, tstamp %p", pcm, hw_ptr, tstamp); in pcm_mmap_get_hw_ptr()
514 *hw_ptr = pcm->mmap_status->hw_ptr; in pcm_mmap_get_hw_ptr()
1090 avail = pcm->mmap_status->hw_ptr + pcm->buffer_size - pcm->mmap_control->appl_ptr; in pcm_mmap_playback_avail()
1102 int avail = pcm->mmap_status->hw_ptr - pcm->mmap_control->appl_ptr; in pcm_mmap_capture_avail()
1258 (unsigned int)pcm->mmap_status->hw_ptr, in pcm_mmap_transfer()
1288 (unsigned int)pcm->mmap_status->hw_ptr, in pcm_mmap_transfer()
1309 (unsigned int)pcm->mmap_status->hw_ptr, in pcm_mmap_transfer()