Lines Matching refs:csubstream
2045 struct snd_pcm_substream *psubstream = NULL, *csubstream = NULL; in snd_pcm_oss_set_trigger() local
2053 csubstream = pcm_oss_file->streams[SNDRV_PCM_STREAM_CAPTURE]; in snd_pcm_oss_set_trigger()
2059 if (csubstream) { in snd_pcm_oss_set_trigger()
2060 if ((err = snd_pcm_oss_make_ready(csubstream)) < 0) in snd_pcm_oss_set_trigger()
2093 if (csubstream) { in snd_pcm_oss_set_trigger()
2094 runtime = csubstream->runtime; in snd_pcm_oss_set_trigger()
2115 err = snd_pcm_kernel_ioctl(csubstream, cmd, NULL); in snd_pcm_oss_set_trigger()
2125 struct snd_pcm_substream *psubstream = NULL, *csubstream = NULL; in snd_pcm_oss_get_trigger() local
2129 csubstream = pcm_oss_file->streams[SNDRV_PCM_STREAM_CAPTURE]; in snd_pcm_oss_get_trigger()
2132 if (csubstream && csubstream->runtime && csubstream->runtime->oss.trigger) in snd_pcm_oss_get_trigger()
2809 struct snd_pcm_substream *psubstream = NULL, *csubstream = NULL; in snd_pcm_oss_poll() local
2814 csubstream = pcm_oss_file->streams[SNDRV_PCM_STREAM_CAPTURE]; in snd_pcm_oss_poll()
2827 if (csubstream != NULL) { in snd_pcm_oss_poll()
2828 struct snd_pcm_runtime *runtime = csubstream->runtime; in snd_pcm_oss_poll()
2831 snd_pcm_stream_lock_irq(csubstream); in snd_pcm_oss_poll()
2833 snd_pcm_oss_capture_ready(csubstream)) in snd_pcm_oss_poll()
2835 snd_pcm_stream_unlock_irq(csubstream); in snd_pcm_oss_poll()