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 || stream->next_track) { in snd_compr_set_params()781 case SNDRV_PCM_STATE_OPEN: in snd_compr_stop()883 case SNDRV_PCM_STATE_OPEN: in snd_compr_drain()935 case SNDRV_PCM_STATE_OPEN: in snd_compr_partial_drain()
728 case SNDRV_PCM_STATE_OPEN: in snd_pcm_hw_params()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()1496 if (runtime->state == SNDRV_PCM_STATE_OPEN) in snd_pcm_pre_stop()1679 case SNDRV_PCM_STATE_OPEN: in snd_pcm_pre_suspend()2020 case SNDRV_PCM_STATE_OPEN: in snd_pcm_pre_drain_init()2106 if (runtime->state == SNDRV_PCM_STATE_OPEN) in snd_pcm_drain()3213 if (runtime->state == SNDRV_PCM_STATE_OPEN) in snd_pcm_xferi_frames_ioctl()3236 if (runtime->state == SNDRV_PCM_STATE_OPEN) in snd_pcm_xfern_frames_ioctl()[all …]
302 if (substream->runtime->state == SNDRV_PCM_STATE_OPEN) in snd_pcm_ioctl_xferi_compat()348 if (substream->runtime->state == SNDRV_PCM_STATE_OPEN) in snd_pcm_ioctl_xfern_compat()
391 if (runtime->state == SNDRV_PCM_STATE_OPEN) { in snd_pcm_substream_proc_hw_params_read()428 if (runtime->state == SNDRV_PCM_STATE_OPEN) { in snd_pcm_substream_proc_sw_params_read()975 __snd_pcm_set_state(runtime, SNDRV_PCM_STATE_OPEN); in snd_pcm_attach_substream()
1951 case SNDRV_PCM_STATE_OPEN: in wait_for_avail()2139 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()
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()
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()
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()
304 #define SNDRV_PCM_STATE_OPEN ((__force snd_pcm_state_t) 0) /* stream is open */ macro
796 case SNDRV_PCM_STATE_OPEN: in hdmi_chmap_ctl_put()