Home
last modified time | relevance | path

Searched refs:snd_pcm_get_state (Results 1 – 2 of 2) sorted by relevance

/linux/sound/core/
H A Dpcm_native.c641 snd_pcm_state_t snd_pcm_get_state(struct snd_pcm_substream *substream) in snd_pcm_get_state() function
646 EXPORT_SYMBOL_GPL(snd_pcm_get_state);
650 snd_pcm_state_t state = snd_pcm_get_state(substream); in snd_pcm_state_open_or_disconnected()
1986 snd_pcm_state_t cur_state = snd_pcm_get_state(substream); in snd_pcm_pre_prepare()
2154 if (snd_pcm_get_state(substream) == SNDRV_PCM_STATE_OPEN) in snd_pcm_drain()
3329 if (snd_pcm_get_state(substream) == SNDRV_PCM_STATE_OPEN) in snd_pcm_xferi_frames_ioctl()
3352 if (snd_pcm_get_state(substream) == SNDRV_PCM_STATE_OPEN) in snd_pcm_xfern_frames_ioctl()
3415 if (snd_pcm_get_state(substream) == SNDRV_PCM_STATE_DISCONNECTED) in snd_pcm_common_ioctl()
3546 if (snd_pcm_get_state(substream) == SNDRV_PCM_STATE_DISCONNECTED) in snd_pcm_kernel_ioctl()
/linux/sound/core/oss/
H A Dpcm_oss.c1233 state = snd_pcm_get_state(substream); in snd_pcm_oss_write3()
1254 if (snd_pcm_get_state(substream) == SNDRV_PCM_STATE_PREPARED) in snd_pcm_oss_write3()
1267 state = snd_pcm_get_state(substream); in snd_pcm_oss_read3()
1292 if (snd_pcm_get_state(substream) == SNDRV_PCM_STATE_DRAINING) { in snd_pcm_oss_read3()
1311 state = snd_pcm_get_state(substream); in snd_pcm_oss_writev3()
1330 if (snd_pcm_get_state(substream) == SNDRV_PCM_STATE_PREPARED) in snd_pcm_oss_writev3()
1341 state = snd_pcm_get_state(substream); in snd_pcm_oss_readv3()