Home
last modified time | relevance | path

Searched refs:self_group (Results 1 – 3 of 3) sorted by relevance

/linux-4.4.14/sound/core/
Dpcm_native.c101 mutex_lock(&substream->self_group.mutex); in snd_pcm_stream_lock()
104 spin_lock(&substream->self_group.lock); in snd_pcm_stream_lock()
118 mutex_unlock(&substream->self_group.mutex); in snd_pcm_stream_unlock()
121 spin_unlock(&substream->self_group.lock); in snd_pcm_stream_unlock()
901 mutex_lock_nested(&s->self_group.mutex, depth); in snd_pcm_action_group()
903 spin_lock_nested(&s->self_group.lock, depth); in snd_pcm_action_group()
933 mutex_unlock(&s1->self_group.mutex); in snd_pcm_action_group()
935 spin_unlock(&s1->self_group.lock); in snd_pcm_action_group()
978 mutex_unlock(&substream->self_group.mutex); in snd_pcm_action()
980 mutex_lock(&substream->self_group.mutex); in snd_pcm_action()
[all …]
Dpcm.c743 substream->group = &substream->self_group; in snd_pcm_new_stream()
744 spin_lock_init(&substream->self_group.lock); in snd_pcm_new_stream()
745 mutex_init(&substream->self_group.mutex); in snd_pcm_new_stream()
746 INIT_LIST_HEAD(&substream->self_group.substreams); in snd_pcm_new_stream()
747 list_add_tail(&substream->link_list, &substream->self_group.substreams); in snd_pcm_new_stream()
/linux-4.4.14/include/sound/
Dpcm.h458 …struct snd_pcm_group self_group; /* fake group for non linked substream (with substream lock insid… member
607 return substream->group != &substream->self_group; in snd_pcm_stream_linked()