Searched refs:period_pos (Results 1 – 11 of 11) sorted by relevance
113 size_t i, frame_bytes, chunk_length, buffer_pos, period_pos; in usbtv_audio_urb_received() local138 period_pos = chip->snd_period_pos; in usbtv_audio_urb_received()157 period_pos += chunk_length; in usbtv_audio_urb_received()162 if (period_pos >= runtime->period_size) { in usbtv_audio_urb_received()163 period_pos -= runtime->period_size; in usbtv_audio_urb_received()171 chip->snd_period_pos = period_pos; in usbtv_audio_urb_received()
265 chip->period_pos += length; in tm6000_fillbuf()266 if (chip->period_pos >= runtime->period_size) { in tm6000_fillbuf()267 chip->period_pos -= runtime->period_size; in tm6000_fillbuf()321 chip->period_pos = 0; in snd_tm6000_prepare()
162 unsigned period_pos; member
63 int period_pos; member206 rec->period_pos += delta; in emu8k_pcm_timer_func()213 if (rec->period_pos >= (int)rec->period_size) { in emu8k_pcm_timer_func()214 rec->period_pos %= rec->period_size; in emu8k_pcm_timer_func()617 rec->period_pos = 0; in emu8k_pcm_prepare()
119 unsigned int period_pos; member244 stream->period_pos += frames; in copy_playback_data()245 if (stream->period_pos >= runtime->period_size) { in copy_playback_data()246 stream->period_pos -= runtime->period_size; in copy_playback_data()349 stream->period_pos += frames; in copy_capture_data()350 if (stream->period_pos >= runtime->period_size) { in copy_capture_data()351 stream->period_pos -= runtime->period_size; in copy_capture_data()798 ua->capture.period_pos = 0; in capture_pcm_prepare()826 ua->playback.period_pos = 0; in playback_pcm_prepare()
215 int period_pos; /* current period position */ member536 io->period_pos = 0; in fsi_stream_init()564 io->period_pos = 0; in fsi_stream_quit()1041 io->period_samples * (io->period_pos + 1)) { in fsi_pointer_update()1045 io->period_pos++; in fsi_pointer_update()1047 if (io->period_pos >= runtime->periods) { in fsi_pointer_update()1049 io->period_pos = 0; in fsi_pointer_update()
304 io->period_pos++; in rsnd_dai_pointer_update()307 if (io->period_pos >= runtime->periods) { in rsnd_dai_pointer_update()309 io->period_pos = 0; in rsnd_dai_pointer_update()324 io->period_pos = 0; in rsnd_dai_stream_init()
319 int period_pos; member
320 ypcm->period_pos += delta; in snd_ymfpci_pcm_interrupt()322 if (ypcm->period_pos >= ypcm->period_size) { in snd_ymfpci_pcm_interrupt()329 ypcm->period_pos %= ypcm->period_size; in snd_ymfpci_pcm_interrupt()372 ypcm->period_pos += delta; in snd_ymfpci_pcm_capture_interrupt()374 if (ypcm->period_pos >= ypcm->period_size) { in snd_ymfpci_pcm_capture_interrupt()375 ypcm->period_pos %= ypcm->period_size; in snd_ymfpci_pcm_capture_interrupt()686 ypcm->period_pos = 0; in snd_ymfpci_playback_prepare()726 ypcm->period_pos = 0; in snd_ymfpci_capture_prepare()
280 u32 period_pos; member
743 unsigned int ptr, period_pos; in snd_emu10k1_playback_mangle_extra() local747 period_pos = runtime->status->hw_ptr - runtime->hw_ptr_interrupt; in snd_emu10k1_playback_mangle_extra()748 period_pos %= runtime->period_size; in snd_emu10k1_playback_mangle_extra()751 ptr |= epcm->ccca_start_addr + period_pos; in snd_emu10k1_playback_mangle_extra()