Searched refs:current_ptr (Results 1 – 3 of 3) sorted by relevance
567 u16 current_ptr; in snd_als300_pointer() local577 current_ptr = (u16) snd_als300_gcr_read(chip->port, in snd_als300_pointer()580 if (current_ptr > period_bytes) in snd_als300_pointer()581 current_ptr = 0; in snd_als300_pointer()583 current_ptr = period_bytes - current_ptr; in snd_als300_pointer()586 current_ptr += period_bytes; in snd_als300_pointer()587 snd_als300_dbgplay("Pointer (bytes): %d\n", current_ptr); in snd_als300_pointer()589 return bytes_to_frames(substream->runtime, current_ptr); in snd_als300_pointer()
577 unsigned int current_ptr; in snd_aw2_pcm_pointer_playback() local581 current_ptr = in snd_aw2_pcm_pointer_playback()587 return bytes_to_frames(substream->runtime, current_ptr); in snd_aw2_pcm_pointer_playback()596 unsigned int current_ptr; in snd_aw2_pcm_pointer_capture() local600 current_ptr = in snd_aw2_pcm_pointer_capture()606 return bytes_to_frames(substream->runtime, current_ptr); in snd_aw2_pcm_pointer_capture()
397 snd_pcm_uframes_t current_ptr = 0; in snd_vortex_pcm_pointer() local401 current_ptr = vortex_adbdma_getlinearpos(chip, dma); in snd_vortex_pcm_pointer()404 current_ptr = vortex_wtdma_getlinearpos(chip, dma); in snd_vortex_pcm_pointer()408 return (bytes_to_frames(substream->runtime, current_ptr)); in snd_vortex_pcm_pointer()