Lines Matching refs:psubstream
2076 struct snd_pcm_substream *psubstream = NULL, *csubstream = NULL; in snd_pcm_oss_set_trigger() local
2083 psubstream = pcm_oss_file->streams[SNDRV_PCM_STREAM_PLAYBACK]; in snd_pcm_oss_set_trigger()
2086 if (psubstream) { in snd_pcm_oss_set_trigger()
2087 err = snd_pcm_oss_make_ready(psubstream); in snd_pcm_oss_set_trigger()
2096 if (psubstream) { in snd_pcm_oss_set_trigger()
2097 runtime = psubstream->runtime; in snd_pcm_oss_set_trigger()
2104 if (atomic_read(&psubstream->mmap_count)) in snd_pcm_oss_set_trigger()
2105 snd_pcm_oss_simulate_fill(psubstream, in snd_pcm_oss_set_trigger()
2121 err = snd_pcm_kernel_ioctl(psubstream, cmd, NULL); in snd_pcm_oss_set_trigger()
2158 struct snd_pcm_substream *psubstream = NULL, *csubstream = NULL; in snd_pcm_oss_get_trigger() local
2161 psubstream = pcm_oss_file->streams[SNDRV_PCM_STREAM_PLAYBACK]; in snd_pcm_oss_get_trigger()
2163 if (psubstream && psubstream->runtime && psubstream->runtime->oss.trigger) in snd_pcm_oss_get_trigger()
2845 struct snd_pcm_substream *psubstream = NULL, *csubstream = NULL; in snd_pcm_oss_poll() local
2849 psubstream = pcm_oss_file->streams[SNDRV_PCM_STREAM_PLAYBACK]; in snd_pcm_oss_poll()
2853 if (psubstream != NULL) { in snd_pcm_oss_poll()
2854 struct snd_pcm_runtime *runtime = psubstream->runtime; in snd_pcm_oss_poll()
2856 snd_pcm_stream_lock_irq(psubstream); in snd_pcm_oss_poll()
2859 snd_pcm_oss_playback_ready(psubstream))) in snd_pcm_oss_poll()
2861 snd_pcm_stream_unlock_irq(psubstream); in snd_pcm_oss_poll()