Searched refs:SNDRV_PCM_STATE_OPEN (Results 1 – 16 of 16) 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()
126 runtime->state = SNDRV_PCM_STATE_OPEN; in snd_compr_open()234 case SNDRV_PCM_STATE_OPEN: in snd_compr_ioctl_avail()349 case SNDRV_PCM_STATE_OPEN: in snd_compr_read()408 case SNDRV_PCM_STATE_OPEN: in snd_compr_poll()592 if (stream->runtime->state == SNDRV_PCM_STATE_OPEN) { in snd_compr_set_params()778 case SNDRV_PCM_STATE_OPEN: in snd_compr_stop()880 case SNDRV_PCM_STATE_OPEN: in snd_compr_drain()932 case SNDRV_PCM_STATE_OPEN: in snd_compr_partial_drain()
728 case SNDRV_PCM_STATE_OPEN: in snd_pcm_hw_params()836 snd_pcm_set_state(substream, SNDRV_PCM_STATE_OPEN); in snd_pcm_hw_params()906 snd_pcm_set_state(substream, SNDRV_PCM_STATE_OPEN); in snd_pcm_hw_free()923 if (runtime->state == SNDRV_PCM_STATE_OPEN) { in snd_pcm_sw_params()1018 if (status->state == SNDRV_PCM_STATE_OPEN) in snd_pcm_status64()1151 if (runtime->state == SNDRV_PCM_STATE_OPEN) { in snd_pcm_channel_info()1488 if (runtime->state == SNDRV_PCM_STATE_OPEN) in snd_pcm_pre_stop()1675 case SNDRV_PCM_STATE_OPEN: in snd_pcm_pre_suspend()1937 if (runtime->state == SNDRV_PCM_STATE_OPEN || in snd_pcm_pre_prepare()2014 case SNDRV_PCM_STATE_OPEN: in snd_pcm_pre_drain_init()[all …]
298 if (substream->runtime->state == SNDRV_PCM_STATE_OPEN) in snd_pcm_ioctl_xferi_compat()344 if (substream->runtime->state == SNDRV_PCM_STATE_OPEN) in snd_pcm_ioctl_xfern_compat()
390 if (runtime->state == SNDRV_PCM_STATE_OPEN) { in snd_pcm_substream_proc_hw_params_read()427 if (runtime->state == SNDRV_PCM_STATE_OPEN) { in snd_pcm_substream_proc_sw_params_read()973 __snd_pcm_set_state(runtime, SNDRV_PCM_STATE_OPEN); in snd_pcm_attach_substream()
1927 case SNDRV_PCM_STATE_OPEN: in wait_for_avail()2102 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()
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()
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()
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()
303 #define SNDRV_PCM_STATE_OPEN ((__force snd_pcm_state_t) 0) /* stream is open */ macro
778 case SNDRV_PCM_STATE_OPEN: in hdmi_chmap_ctl_put()