Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/sound/
H A 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()
/OK3568_Linux_fs/kernel/include/uapi/linux/
H A Dmajor.h31 #define SOUND_MAJOR 14 macro
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/linux/
H A Dmajor.h31 #define SOUND_MAJOR 14 macro
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/linux/
H A Dmajor.h31 #define SOUND_MAJOR 14 macro
/OK3568_Linux_fs/kernel/sound/core/
H A Drawmidi.c422 } 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 Dhwdep.c79 } else if (major == SOUND_MAJOR) { in snd_hwdep_open()