Lines Matching +full:sub +full:- +full:group
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * pcm_local.h - a local header file for snd-pcm module.
5 * Copyright (c) Takashi Sakamoto <o-takashi@sakamocchi.jp>
38 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in snd_pcm_avail()
39 return snd_pcm_playback_avail(substream->runtime); in snd_pcm_avail()
41 return snd_pcm_capture_avail(substream->runtime); in snd_pcm_avail()
47 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in snd_pcm_hw_avail()
48 return snd_pcm_playback_hw_avail(substream->runtime); in snd_pcm_hw_avail()
50 return snd_pcm_capture_hw_avail(substream->runtime); in snd_pcm_hw_avail()
65 void snd_pcm_group_init(struct snd_pcm_group *group);
68 #define PCM_RUNTIME_CHECK(sub) snd_BUG_ON(!(sub) || !(sub)->runtime) argument
73 for ((subs) = (pcm)->streams[str].substream; (subs); \
74 (subs) = (subs)->next)