Searched refs:SOUND_MAJOR (Results 1 - 11 of 11) sorted by relevance
/kernel/linux/linux-5.10/sound/ |
H A D | sound_core.c | 35 if (MAJOR(dev->devt) == SOUND_MAJOR) in sound_devnode() 119 * of SOUND_MAJOR to trap open attempts to any sound minor and 130 * kernel will behave the same as before. All SOUND_MAJOR minors are 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); variable [all...] |
/kernel/linux/linux-6.6/sound/ |
H A D | sound_core.c | 32 if (MAJOR(dev->devt) == SOUND_MAJOR) in sound_devnode() 120 * of SOUND_MAJOR to trap open attempts to any sound minor and 131 * kernel will behave the same as before. All SOUND_MAJOR minors are 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); variable [all...] |
/kernel/linux/linux-5.10/include/uapi/linux/ |
H A D | major.h | 31 #define SOUND_MAJOR 14 macro
|
/kernel/linux/linux-6.6/include/uapi/linux/ |
H A D | major.h | 31 #define SOUND_MAJOR 14 macro
|
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/linux/ |
H A D | major.h | 42 #define SOUND_MAJOR 14 macro
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/ |
H A D | major.h | 42 #define SOUND_MAJOR 14 macro
|
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/ |
H A D | major.h | 29 #define SOUND_MAJOR 14 macro
|
/kernel/linux/linux-5.10/sound/core/ |
H A D | rawmidi.c | 422 } else if (maj == SOUND_MAJOR) { in snd_rawmidi_open() 443 if ((file->f_flags & O_APPEND) || maj == SOUND_MAJOR) /* OSS emul? */ in snd_rawmidi_open() 484 rawmidi_file->input->runtime->oss = (maj == SOUND_MAJOR); in snd_rawmidi_open() 486 rawmidi_file->output->runtime->oss = (maj == SOUND_MAJOR); in snd_rawmidi_open()
|
H A D | hwdep.c | 79 } else if (major == SOUND_MAJOR) { in snd_hwdep_open()
|
/kernel/linux/linux-6.6/sound/core/ |
H A 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()
|
H A D | hwdep.c | 79 } else if (major == SOUND_MAJOR) { in snd_hwdep_open()
|
Completed in 11 milliseconds