Home
last modified time | relevance | path

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

/linux-2.6.39/sound/
Dsound_core.c34 if (MAJOR(dev->devt) == SOUND_MAJOR) in sound_devnode()
281 r = __register_chrdev(SOUND_MAJOR, s->unit_minor, 1, s->name, in sound_insert_unit()
295 device_create(sound_class, dev, MKDEV(SOUND_MAJOR, s->unit_minor), in sound_insert_unit()
319 __unregister_chrdev(SOUND_MAJOR, p->unit_minor, 1, in sound_remove_unit()
321 device_destroy(sound_class, MKDEV(SOUND_MAJOR, p->unit_minor)); in sound_remove_unit()
614 if (request_module("char-major-%d-%d", SOUND_MAJOR, unit) > 0) in soundcore_open()
615 request_module("char-major-%d", SOUND_MAJOR); in soundcore_open()
650 MODULE_ALIAS_CHARDEV_MAJOR(SOUND_MAJOR);
656 unregister_chrdev(SOUND_MAJOR, "sound"); in cleanup_oss_soundcore()
662 register_chrdev(SOUND_MAJOR, "sound", &soundcore_fops) == -1) { in init_oss_soundcore()
/linux-2.6.39/include/linux/
Dmajor.h30 #define SOUND_MAJOR 14 macro
/linux-2.6.39/sound/core/
Drawmidi.c387 } else if (maj == SOUND_MAJOR) { in snd_rawmidi_open()
406 if ((file->f_flags & O_APPEND) || maj == SOUND_MAJOR) /* OSS emul? */ in snd_rawmidi_open()
452 rawmidi_file->input->runtime->oss = (maj == SOUND_MAJOR); in snd_rawmidi_open()
454 rawmidi_file->output->runtime->oss = (maj == SOUND_MAJOR); in snd_rawmidi_open()
Dhwdep.c93 } else if (major == SOUND_MAJOR) { in snd_hwdep_open()
/linux-2.6.39/Documentation/
Dfeature-removal-schedule.txt369 Why: OSS sound_core grabs all legacy minors (0-255) of SOUND_MAJOR