Lines Matching refs:snd_minors
61 static struct snd_minor *snd_minors[SNDRV_OS_MINORS];
115 if (minor >= ARRAY_SIZE(snd_minors))
118 mreg = snd_minors[minor];
136 if (minor >= ARRAY_SIZE(snd_minors))
138 mptr = snd_minors[minor];
153 mptr = snd_minors[minor];
182 for (minor = 0; minor < ARRAY_SIZE(snd_minors); ++minor) {
187 if (!snd_minors[minor])
258 if (minor >= 0 && snd_minors[minor])
266 snd_minors[minor] = preg;
287 for (minor = 0; minor < ARRAY_SIZE(snd_minors); ++minor)
288 if ((mptr = snd_minors[minor]) != NULL &&
320 kfree(snd_minors[minor]);
321 snd_minors[minor] = NULL;
336 if (minor >= 0 && (d = snd_minors[minor]->dev) != NULL)
381 if (!(mptr = snd_minors[minor]))