Home
last modified time | relevance | path

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

/sound/core/
Dinit.c49 static unsigned int snd_cards_lock; /* locked for registering/using */ variable
172 if (~snd_cards_lock & idx & 1<<idx2) { in snd_card_create()
182 if (~snd_cards_lock & idx & 1<<idx2) { in snd_card_create()
192 if (snd_cards_lock & (1 << idx)) in snd_card_create()
202 snd_cards_lock |= 1 << idx; /* lock it */ in snd_card_create()
252 locked = snd_cards_lock & (1 << card); in snd_card_locked()
364 snd_cards_lock &= ~(1 << card->number); in snd_card_disconnect()