Searched refs:period_pos (Results 1 – 9 of 9) sorted by relevance
30 unsigned int period_pos = tx_ptr % runtime->period_size; \36 period_pos++; \40 *period_elapsed = period_pos >= runtime->period_size; \50 unsigned int period_pos = rx_ptr % runtime->period_size; \56 period_pos++; \60 *period_elapsed = period_pos >= runtime->period_size; \
52 int period_pos; member195 rec->period_pos += delta; in emu8k_pcm_timer_func()202 if (rec->period_pos >= (int)rec->period_size) { in emu8k_pcm_timer_func()203 rec->period_pos %= rec->period_size; in emu8k_pcm_timer_func()611 rec->period_pos = 0; in emu8k_pcm_prepare()
103 unsigned int period_pos = tx_ptr % runtime->period_size; in kmb_pcm_tx_fn() local121 period_pos++; in kmb_pcm_tx_fn()127 *period_elapsed = period_pos >= runtime->period_size; in kmb_pcm_tx_fn()136 unsigned int period_pos = rx_ptr % runtime->period_size; in kmb_pcm_rx_fn() local157 period_pos++; in kmb_pcm_rx_fn()163 *period_elapsed = period_pos >= runtime->period_size; in kmb_pcm_rx_fn()
108 unsigned int period_pos; member233 stream->period_pos += frames; in copy_playback_data()234 if (stream->period_pos >= runtime->period_size) { in copy_playback_data()235 stream->period_pos -= runtime->period_size; in copy_playback_data()338 stream->period_pos += frames; in copy_capture_data()339 if (stream->period_pos >= runtime->period_size) { in copy_capture_data()340 stream->period_pos -= runtime->period_size; in copy_capture_data()774 ua->capture.period_pos = 0; in capture_pcm_prepare()802 ua->playback.period_pos = 0; in playback_pcm_prepare()
211 int period_pos; /* current period position */ member531 io->period_pos = 0; in fsi_stream_init()559 io->period_pos = 0; in fsi_stream_quit()1049 io->period_samples * (io->period_pos + 1)) { in fsi_pointer_update()1053 io->period_pos++; in fsi_pointer_update()1055 if (io->period_pos >= runtime->periods) { in fsi_pointer_update()1057 io->period_pos = 0; in fsi_pointer_update()
895 int period_pos = byte_pos / ssi->byte_per_period; in rsnd_ssi_pio_interrupt() local897 if (period_pos >= runtime->periods) { in rsnd_ssi_pio_interrupt()899 period_pos = 0; in rsnd_ssi_pio_interrupt()902 ssi->next_period_byte = (period_pos + 1) * ssi->byte_per_period; in rsnd_ssi_pio_interrupt()
307 ypcm->period_pos += delta; in snd_ymfpci_pcm_interrupt()309 if (ypcm->period_pos >= ypcm->period_size) { in snd_ymfpci_pcm_interrupt()316 ypcm->period_pos %= ypcm->period_size; in snd_ymfpci_pcm_interrupt()359 ypcm->period_pos += delta; in snd_ymfpci_pcm_capture_interrupt()361 if (ypcm->period_pos >= ypcm->period_size) { in snd_ymfpci_pcm_capture_interrupt()362 ypcm->period_pos %= ypcm->period_size; in snd_ymfpci_pcm_capture_interrupt()671 ypcm->period_pos = 0; in snd_ymfpci_playback_prepare()705 ypcm->period_pos = 0; in snd_ymfpci_capture_prepare()
265 u32 period_pos; member
727 unsigned int ptr, period_pos; in snd_emu10k1_playback_mangle_extra() local731 period_pos = runtime->status->hw_ptr - runtime->hw_ptr_interrupt; in snd_emu10k1_playback_mangle_extra()732 period_pos %= runtime->period_size; in snd_emu10k1_playback_mangle_extra()735 ptr |= epcm->ccca_start_addr + period_pos; in snd_emu10k1_playback_mangle_extra()