Home
last modified time | relevance | path

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

/Linux-v5.4/sound/
Dsound_core.c35 if (MAJOR(dev->devt) == SOUND_MAJOR) in sound_devnode()
268 r = __register_chrdev(SOUND_MAJOR, s->unit_minor, 1, s->name, in sound_insert_unit()
283 device_create(sound_class, dev, MKDEV(SOUND_MAJOR, s->unit_minor), in sound_insert_unit()
307 __unregister_chrdev(SOUND_MAJOR, p->unit_minor, 1, in sound_remove_unit()
309 device_destroy(sound_class, MKDEV(SOUND_MAJOR, p->unit_minor)); in sound_remove_unit()
575 if (request_module("char-major-%d-%d", SOUND_MAJOR, unit) > 0) in soundcore_open()
576 request_module("char-major-%d", SOUND_MAJOR); in soundcore_open()
600 MODULE_ALIAS_CHARDEV_MAJOR(SOUND_MAJOR);
606 unregister_chrdev(SOUND_MAJOR, "sound"); in cleanup_oss_soundcore()
612 register_chrdev(SOUND_MAJOR, "sound", &soundcore_fops) < 0) { in init_oss_soundcore()
/Linux-v5.4/include/uapi/linux/
Dmajor.h31 #define SOUND_MAJOR 14 macro
/Linux-v5.4/sound/core/
Drawmidi.c378 } else if (maj == SOUND_MAJOR) { in snd_rawmidi_open()
399 if ((file->f_flags & O_APPEND) || maj == SOUND_MAJOR) /* OSS emul? */ in snd_rawmidi_open()
440 rawmidi_file->input->runtime->oss = (maj == SOUND_MAJOR); in snd_rawmidi_open()
442 rawmidi_file->output->runtime->oss = (maj == SOUND_MAJOR); in snd_rawmidi_open()
Dhwdep.c79 } else if (major == SOUND_MAJOR) { in snd_hwdep_open()