Lines Matching refs:nonatomic
87 static void snd_pcm_group_ ## action(struct snd_pcm_group *group, bool nonatomic) \
89 if (nonatomic) \
110 snd_pcm_group_lock(&substream->self_group, substream->pcm->nonatomic); in snd_pcm_stream_lock()
122 snd_pcm_group_unlock(&substream->self_group, substream->pcm->nonatomic); in snd_pcm_stream_unlock()
137 substream->pcm->nonatomic); in snd_pcm_stream_lock_irq()
145 if (substream->pcm->nonatomic) in snd_pcm_stream_lock_nested()
160 substream->pcm->nonatomic); in snd_pcm_stream_unlock_irq()
167 if (substream->pcm->nonatomic) in _snd_pcm_stream_lock_irqsave()
178 if (substream->pcm->nonatomic) in _snd_pcm_stream_lock_irqsave_nested()
198 if (substream->pcm->nonatomic) in snd_pcm_stream_unlock_irqrestore()
1225 else if (s->pcm->nonatomic) in snd_pcm_action_group()
1258 else if (s1->pcm->nonatomic) in snd_pcm_action_group()
1308 snd_pcm_group_unlock(group, substream->pcm->nonatomic); in snd_pcm_group_unref()
1320 bool nonatomic = substream->pcm->nonatomic; in snd_pcm_stream_group_ref() local
1331 trylock = nonatomic ? mutex_trylock(&group->mutex) : in snd_pcm_stream_group_ref()
1338 snd_pcm_group_lock(group, nonatomic); in snd_pcm_stream_group_ref()
2255 bool nonatomic = substream->pcm->nonatomic; in snd_pcm_link() local
2282 substream->pcm->nonatomic != substream1->pcm->nonatomic) { in snd_pcm_link()
2299 snd_pcm_group_lock_irq(target_group, nonatomic); in snd_pcm_link()
2304 snd_pcm_group_unlock_irq(target_group, nonatomic); in snd_pcm_link()
2324 bool nonatomic = substream->pcm->nonatomic; in snd_pcm_unlink() local
2336 snd_pcm_group_lock_irq(group, nonatomic); in snd_pcm_unlink()
2349 snd_pcm_group_unlock_irq(group, nonatomic); in snd_pcm_unlink()