Lines Matching defs:pcm
15 #include <sound/pcm.h>
427 struct snd_pcm_substream *pcm,
433 if (ptr >= pcm->runtime->buffer_size)
434 ptr -= pcm->runtime->buffer_size;
438 if (s->pcm_period_pointer >= pcm->runtime->period_size) {
439 s->pcm_period_pointer -= pcm->runtime->period_size;
448 struct snd_pcm_substream *pcm = READ_ONCE(s->pcm);
450 if (pcm)
451 snd_pcm_period_elapsed(pcm);
816 struct snd_pcm_substream *pcm;
819 pcm = READ_ONCE(s->pcm);
820 pcm_frames = s->process_ctx_payloads(s, descs, packets, pcm);
821 if (pcm)
822 update_pcm_pointers(s, pcm, pcm_frames);
1296 struct snd_pcm_substream *pcm;
1298 pcm = READ_ONCE(s->pcm);
1299 if (pcm)
1300 snd_pcm_stop_xrun(pcm);