Home
last modified time | relevance | path

Searched refs:major (Results 1 – 11 of 11) sorted by relevance

/sound/core/
Dsound.c35 static int major = CONFIG_SND_MAJOR; variable
44 module_param(major, int, 0444);
45 MODULE_PARM_DESC(major, "Major # for sound driver.");
302 preg->dev = device_create(sound_class, device, MKDEV(major, minor), in snd_register_device_for_dev()
358 device_destroy(sound_class, MKDEV(major, minor)); in snd_unregister_device()
468 snd_major = major; in alsa_sound_init()
470 if (register_chrdev(major, "alsa", &snd_fops)) { in alsa_sound_init()
471 snd_printk(KERN_ERR "unable to register native major device number %d\n", major); in alsa_sound_init()
475 unregister_chrdev(major, "alsa"); in alsa_sound_init()
489 unregister_chrdev(major, "alsa"); in alsa_sound_exit()
Dhwdep.c85 int major = imajor(inode); in snd_hwdep_open() local
90 if (major == snd_major) { in snd_hwdep_open()
94 } else if (major == SOUND_MAJOR) { in snd_hwdep_open()
/sound/oss/
Dsb_common.c262 devc->major = devc->minor = 0; in dsp_get_vers()
269 if (devc->major == 0) in dsp_get_vers()
270 devc->major = inb(DSP_READ); in dsp_get_vers()
279 DDB(printk("DSP version %d.%02d\n", devc->major, devc->minor)); in dsp_get_vers()
577 devc->major = 0; in sb_dsp_detect()
580 if (devc->major == 0 || (devc->major == 3 && devc->minor == 1)) in sb_dsp_detect()
583 if (devc->major == 0 && (devc->type == MDL_ESS || devc->type == 0)) in sb_dsp_detect()
594 if (devc->major == 0) in sb_dsp_detect()
597 if (devc->major == 3 && devc->minor == 1) in sb_dsp_detect()
635 …MDB(printk(KERN_INFO "SB %d.%02d detected OK (%x)\n", devc->major, devc->minor, hw_config->io_base… in sb_dsp_detect()
[all …]
Dsb.h85 int minor, major; member
Dsb_audio.c398 if (devc->speed * devc->channels <= (devc->major == 3 ? 23000 : 13000)) in sb20_audio_start_input()
DCHANGELOG264 - Minor and major bug fixes
/sound/isa/sb/
Dsb_common.c108 int major, minor; in snd_sbdsp_probe() local
127 major = version >> 8; in snd_sbdsp_probe()
130 chip->port, major, minor); in snd_sbdsp_probe()
134 switch (major) { in snd_sbdsp_probe()
158 chip->port, major, minor); in snd_sbdsp_probe()
181 chip->version = (major << 8) | minor; in snd_sbdsp_probe()
/sound/isa/galaxy/
Dgalaxy.c127 static int dsp_get_version(void __iomem *port, u8 *major, u8 *minor) in dsp_get_version() argument
135 err = dsp_get_byte(port, major); in dsp_get_version()
384 u8 major; in galaxy_init() local
392 err = dsp_get_version(galaxy->port, &major, &minor); in galaxy_init()
396 if (major != GALAXY_DSP_MAJOR || minor != GALAXY_DSP_MINOR) in galaxy_init()
/sound/isa/es1688/
Des1688_lib.c124 unsigned short major, minor, hw; in snd_es1688_probe() local
151 for (i = 1000, major = minor = 0; i; i--) { in snd_es1688_probe()
153 if (major == 0) { in snd_es1688_probe()
154 major = inb(ES1688P(chip, READ)); in snd_es1688_probe()
163 snd_printdd("ESS: [0x%lx] found.. major = 0x%x, minor = 0x%x\n", chip->port, major, minor); in snd_es1688_probe()
165 chip->version = (major << 8) | minor; in snd_es1688_probe()
/sound/
DKconfig40 appropriate module using sound-slot/service-* and char-major-*
44 standard char-major-* aliases.
/sound/mips/
Dhal2.c783 unsigned short board, major, minor; in hal2_detect() local
800 major = (rev & H2_REV_MAJOR_CHIP_M) >> 4; in hal2_detect()
804 board, major, minor); in hal2_detect()