Home
last modified time | relevance | path

Searched refs:current_ptr (Results 1 – 3 of 3) sorted by relevance

/linux-2.6.39/sound/pci/
Dals300.c567 u16 current_ptr; in snd_als300_pointer() local
577 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()
/linux-2.6.39/sound/pci/aw2/
Daw2-alsa.c577 unsigned int current_ptr; in snd_aw2_pcm_pointer_playback() local
581 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() local
600 current_ptr = in snd_aw2_pcm_pointer_capture()
606 return bytes_to_frames(substream->runtime, current_ptr); in snd_aw2_pcm_pointer_capture()
/linux-2.6.39/sound/pci/au88x0/
Dau88x0_pcm.c397 snd_pcm_uframes_t current_ptr = 0; in snd_vortex_pcm_pointer() local
401 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()