Searched refs:SNDRV_PCM_STATE_OPEN (Results 1 – 17 of 17) sorted by relevance
242 if (substream->runtime->state == SNDRV_PCM_STATE_OPEN) { in pcm_capture_hw_params()265 if (substream->runtime->state == SNDRV_PCM_STATE_OPEN) { in pcm_playback_hw_params()289 if (substream->runtime->state != SNDRV_PCM_STATE_OPEN) in pcm_capture_hw_free()304 if (substream->runtime->state != SNDRV_PCM_STATE_OPEN) in pcm_playback_hw_free()
135 runtime->state = SNDRV_PCM_STATE_OPEN; in snd_compr_open()250 case SNDRV_PCM_STATE_OPEN: in snd_compr_ioctl_avail()367 case SNDRV_PCM_STATE_OPEN: in snd_compr_read()422 case SNDRV_PCM_STATE_OPEN: in snd_compr_poll()629 if (stream->runtime->state == SNDRV_PCM_STATE_OPEN || stream->next_track) { in snd_compr_set_params()811 case SNDRV_PCM_STATE_OPEN: in snd_compr_stop()911 case SNDRV_PCM_STATE_OPEN: in snd_compr_drain()963 case SNDRV_PCM_STATE_OPEN: in snd_compr_partial_drain()
748 case SNDRV_PCM_STATE_OPEN: in snd_pcm_hw_params() 856 snd_pcm_set_state(substream, SNDRV_PCM_STATE_OPEN); in snd_pcm_hw_params() 924 snd_pcm_set_state(substream, SNDRV_PCM_STATE_OPEN); in snd_pcm_hw_free() 941 if (runtime->state == SNDRV_PCM_STATE_OPEN) in snd_pcm_sw_params() 1034 if (status->state == SNDRV_PCM_STATE_OPEN) in snd_pcm_status64() 1165 if (runtime->state == SNDRV_PCM_STATE_OPEN) in snd_pcm_channel_info() 1502 if (runtime->state == SNDRV_PCM_STATE_OPEN) in snd_pcm_pre_stop() 1682 case SNDRV_PCM_STATE_OPEN: in snd_pcm_pre_suspend() 1934 if (runtime->state == SNDRV_PCM_STATE_OPEN || in snd_pcm_pre_prepare() 2011 case SNDRV_PCM_STATE_OPEN in snd_pcm_pre_drain_init() [all...]
296 if (substream->runtime->state == SNDRV_PCM_STATE_OPEN) in snd_pcm_ioctl_xferi_compat()342 if (substream->runtime->state == SNDRV_PCM_STATE_OPEN) in snd_pcm_ioctl_xfern_compat()
384 if (runtime->state == SNDRV_PCM_STATE_OPEN) { in snd_pcm_substream_proc_hw_params_read()419 if (runtime->state == SNDRV_PCM_STATE_OPEN) { in snd_pcm_substream_proc_sw_params_read()965 __snd_pcm_set_state(runtime, SNDRV_PCM_STATE_OPEN); in snd_pcm_attach_substream()
2015 case SNDRV_PCM_STATE_OPEN: in wait_for_avail()2203 if (runtime->state == SNDRV_PCM_STATE_OPEN) in pcm_sanity_check()
122 if (substream->runtime->state == SNDRV_PCM_STATE_OPEN) { in pcm_hw_params()144 if (substream->runtime->state != SNDRV_PCM_STATE_OPEN) in pcm_hw_free()
193 if (substream->runtime->state == SNDRV_PCM_STATE_OPEN) { in pcm_hw_params()215 if (substream->runtime->state != SNDRV_PCM_STATE_OPEN) in pcm_hw_free()
233 if (substream->runtime->state == SNDRV_PCM_STATE_OPEN) { in pcm_hw_params()255 if (substream->runtime->state != SNDRV_PCM_STATE_OPEN) in pcm_hw_free()
213 if (substream->runtime->state == SNDRV_PCM_STATE_OPEN) { in pcm_hw_params()235 if (substream->runtime->state != SNDRV_PCM_STATE_OPEN) in pcm_hw_free()
217 if (substream->runtime->state == SNDRV_PCM_STATE_OPEN) { in pcm_hw_params()239 if (substream->runtime->state != SNDRV_PCM_STATE_OPEN) in pcm_hw_free()
253 if (substream->runtime->state == SNDRV_PCM_STATE_OPEN) { in pcm_hw_params()275 if (substream->runtime->state != SNDRV_PCM_STATE_OPEN) in pcm_hw_free()
269 if (substream->runtime->state == SNDRV_PCM_STATE_OPEN) { in pcm_hw_params()296 if (substream->runtime->state != SNDRV_PCM_STATE_OPEN) in pcm_hw_free()
796 case SNDRV_PCM_STATE_OPEN: in hdmi_chmap_ctl_put()
307 #define SNDRV_PCM_STATE_OPEN ((__force snd_pcm_state_t) 0) /* stream is open */ macro