Searched refs:SOUND_MAJOR (Results 1 – 4 of 4) sorted by relevance
/linux-6.6.21/sound/ |
D | sound_core.c | 32 if (MAJOR(dev->devt) == SOUND_MAJOR) in sound_devnode() 265 r = __register_chrdev(SOUND_MAJOR, s->unit_minor, 1, s->name, in sound_insert_unit() 280 device_create(&sound_class, dev, MKDEV(SOUND_MAJOR, s->unit_minor), in sound_insert_unit() 304 __unregister_chrdev(SOUND_MAJOR, p->unit_minor, 1, in sound_remove_unit() 306 device_destroy(&sound_class, MKDEV(SOUND_MAJOR, p->unit_minor)); in sound_remove_unit() 572 if (request_module("char-major-%d-%d", SOUND_MAJOR, unit) > 0) in soundcore_open() 573 request_module("char-major-%d", SOUND_MAJOR); in soundcore_open() 597 MODULE_ALIAS_CHARDEV_MAJOR(SOUND_MAJOR); 603 unregister_chrdev(SOUND_MAJOR, "sound"); in cleanup_oss_soundcore() 609 register_chrdev(SOUND_MAJOR, "sound", &soundcore_fops) < 0) { in init_oss_soundcore()
|
/linux-6.6.21/include/uapi/linux/ |
D | major.h | 31 #define SOUND_MAJOR 14 macro
|
/linux-6.6.21/sound/core/ |
D | rawmidi.c | 467 } else if (maj == SOUND_MAJOR) { in snd_rawmidi_open() 488 if ((file->f_flags & O_APPEND) || maj == SOUND_MAJOR) /* OSS emul? */ in snd_rawmidi_open() 530 rawmidi_file->input->runtime->oss = (maj == SOUND_MAJOR); in snd_rawmidi_open() 532 rawmidi_file->output->runtime->oss = (maj == SOUND_MAJOR); in snd_rawmidi_open()
|
D | hwdep.c | 79 } else if (major == SOUND_MAJOR) { in snd_hwdep_open()
|