Home
last modified time | relevance | path

Searched refs:period_pos (Results 1 – 11 of 11) sorted by relevance

/linux-4.1.27/drivers/media/usb/usbtv/
Dusbtv-audio.c113 size_t i, frame_bytes, chunk_length, buffer_pos, period_pos; in usbtv_audio_urb_received() local
138 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()
/linux-4.1.27/drivers/media/usb/tm6000/
Dtm6000-alsa.c265 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()
Dtm6000.h162 unsigned period_pos; member
/linux-4.1.27/sound/isa/sb/
Demu8000_pcm.c63 int period_pos; member
206 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()
/linux-4.1.27/sound/usb/misc/
Dua101.c119 unsigned int period_pos; member
244 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()
/linux-4.1.27/sound/soc/sh/
Dfsi.c215 int period_pos; /* current period position */ member
536 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()
/linux-4.1.27/sound/soc/sh/rcar/
Dcore.c304 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()
Drsnd.h319 int period_pos; member
/linux-4.1.27/sound/pci/ymfpci/
Dymfpci_main.c320 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()
Dymfpci.h280 u32 period_pos; member
/linux-4.1.27/sound/pci/emu10k1/
Demupcm.c743 unsigned int ptr, period_pos; in snd_emu10k1_playback_mangle_extra() local
747 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()