Lines Matching refs:snd_minors
48 static struct snd_minor *snd_minors[SNDRV_OS_MINORS]; variable
104 if (minor >= ARRAY_SIZE(snd_minors)) in snd_lookup_minor_data()
107 mreg = snd_minors[minor]; in snd_lookup_minor_data()
138 return snd_minors[minor]; in autoload_device()
151 if (minor >= ARRAY_SIZE(snd_minors)) in snd_open()
154 mptr = snd_minors[minor]; in snd_open()
191 for (minor = 0; minor < ARRAY_SIZE(snd_minors); ++minor) { in snd_find_free_minor()
198 if (!snd_minors[minor]) in snd_find_free_minor()
232 if (snd_minors[minor]) in snd_find_free_minor()
285 snd_minors[minor] = preg; in snd_register_device()
309 for (minor = 0; minor < ARRAY_SIZE(snd_minors); ++minor) { in snd_unregister_device()
310 preg = snd_minors[minor]; in snd_unregister_device()
312 snd_minors[minor] = NULL; in snd_unregister_device()
319 if (minor >= ARRAY_SIZE(snd_minors)) in snd_unregister_device()
360 mptr = snd_minors[minor]; in snd_minor_info_read()