Searched refs:major (Results 1 – 11 of 11) sorted by relevance
/sound/core/ |
D | sound.c | 35 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()
|
D | hwdep.c | 85 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/ |
D | sb_common.c | 262 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 …]
|
D | sb.h | 85 int minor, major; member
|
D | sb_audio.c | 398 if (devc->speed * devc->channels <= (devc->major == 3 ? 23000 : 13000)) in sb20_audio_start_input()
|
D | CHANGELOG | 264 - Minor and major bug fixes
|
/sound/isa/sb/ |
D | sb_common.c | 108 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/ |
D | galaxy.c | 127 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/ |
D | es1688_lib.c | 124 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/ |
D | Kconfig | 40 appropriate module using sound-slot/service-* and char-major-* 44 standard char-major-* aliases.
|
/sound/mips/ |
D | hal2.c | 783 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()
|