/sound/pci/ymfpci/ |
D | ymfpci.c | 46 static long mpu_port[SNDRV_CARDS]; variable 58 module_param_hw_array(mpu_port, long, ioport, NULL, 0444); 59 MODULE_PARM_DESC(mpu_port, "MPU-401 Port."); 222 if (mpu_port[dev] == 1) { in snd_card_ymfpci_probe() 224 mpu_port[dev] = pci_resource_start(pci, 1) + 0x20; in snd_card_ymfpci_probe() 226 if (mpu_port[dev] > 0 && in snd_card_ymfpci_probe() 227 (mpu_res = request_region(mpu_port[dev], 2, "YMFPCI MPU401")) != NULL) { in snd_card_ymfpci_probe() 229 pci_write_config_word(pci, PCIR_DSXG_MPU401BASE, mpu_port[dev]); in snd_card_ymfpci_probe() 246 switch (mpu_port[dev]) { in snd_card_ymfpci_probe() 251 default: mpu_port[dev] = 0; break; in snd_card_ymfpci_probe() [all …]
|
/sound/isa/sb/ |
D | jazz16.c | 41 static unsigned long mpu_port[SNDRV_CARDS] = SNDRV_DEFAULT_PORT; variable 55 module_param_hw_array(mpu_port, long, ioport, NULL, 0444); 56 MODULE_PARM_DESC(mpu_port, "MPU-401 port # for jazz16 driver."); 82 unsigned long mpu_port, int idx) in jazz16_configure_ports() argument 95 val |= (mpu_port & 0x30) >> 4; in jazz16_configure_ports() 103 unsigned long mpu_port) in jazz16_detect_board() argument 119 err = jazz16_configure_ports(port, mpu_port, val); in jazz16_detect_board() 207 if (mpu_port[dev] != SNDRV_AUTO_PORT && in snd_jazz16_match() 208 (mpu_port[dev] & ~0x030) != 0x300) { in snd_jazz16_match() 267 xmpu_port = mpu_port[dev]; in snd_jazz16_probe() [all …]
|
D | sb16.c | 76 static long mpu_port[SNDRV_CARDS] = SNDRV_DEFAULT_PORT; /* 0x330,0x300 */ variable 104 module_param_hw_array(mpu_port, long, ioport, NULL, 0444); 105 MODULE_PARM_DESC(mpu_port, "MPU-401 port # for SB16 driver."); 276 mpu_port[dev] = pnp_port_start(pdev, 1); in snd_card_sb16_pnp() 282 port[dev], mpu_port[dev], fm_port[dev]); in snd_card_sb16_pnp() 373 chip->mpu_port = mpu_port[dev]; in snd_sb16_probe() 396 if (chip->mpu_port > 0 && chip->mpu_port != SNDRV_AUTO_PORT) { in snd_sb16_probe() 398 chip->mpu_port, in snd_sb16_probe()
|
D | sb16_main.c | 810 switch (chip->mpu_port) { in snd_sb16dsp_configure()
|
/sound/isa/gus/ |
D | gusextreme.c | 52 static long mpu_port[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS) - 1] = -1}; /* 0x300,0x310,0x320 */ variable 73 module_param_hw_array(mpu_port, long, ioport, NULL, 0444); 74 MODULE_PARM_DESC(mpu_port, "MPU-401 port # for " CRD_NAME " driver."); 123 return snd_es1688_create(card, chip, port[n], mpu_port[n], in snd_gusextreme_es1688_create() 129 error = snd_es1688_create(card, chip, port[n], mpu_port[n], in snd_gusextreme_es1688_create() 252 if (mpu_port[n] == SNDRV_AUTO_PORT) in snd_gusextreme_probe() 253 mpu_port[n] = 0; in snd_gusextreme_probe() 320 if (es1688->mpu_port >= 0x300) { in snd_gusextreme_probe() 322 es1688->mpu_port, 0, mpu_irq[n], NULL); in snd_gusextreme_probe()
|
/sound/isa/cs423x/ |
D | cs4231.c | 46 static long mpu_port[SNDRV_CARDS] = SNDRV_DEFAULT_PORT; /* PnP setup */ variable 60 module_param_hw_array(mpu_port, long, ioport, NULL, 0444); 61 MODULE_PARM_DESC(mpu_port, "MPU-401 port # for " CRD_NAME " driver."); 132 if (mpu_port[n] > 0 && mpu_port[n] != SNDRV_AUTO_PORT) { in snd_cs4231_probe() 136 mpu_port[n], 0, mpu_irq[n], in snd_cs4231_probe()
|
D | cs4236.c | 83 static long mpu_port[SNDRV_CARDS] = SNDRV_DEFAULT_PORT;/* PnP setup */ variable 105 module_param_hw_array(mpu_port, long, ioport, NULL, 0444); 106 MODULE_PARM_DESC(mpu_port, "MPU-401 port # for " IDENT " driver."); 291 mpu_port[dev] = SNDRV_AUTO_PORT; in snd_cs423x_pnp_init_mpu() 294 mpu_port[dev] = pnp_port_start(pdev, 0); in snd_cs423x_pnp_init_mpu() 303 snd_printdd("isapnp MPU: port=0x%lx, irq=%i\n", mpu_port[dev], mpu_irq[dev]); in snd_cs423x_pnp_init_mpu() 347 if (acard->mpu && mpu_port[dev] > 0) { in snd_card_cs423x_pnpc() 450 if (mpu_port[dev] > 0 && mpu_port[dev] != SNDRV_AUTO_PORT) { in snd_cs423x_probe() 454 mpu_port[dev], 0, in snd_cs423x_probe()
|
/sound/isa/ad1816a/ |
D | ad1816a.c | 49 static long mpu_port[SNDRV_CARDS] = SNDRV_DEFAULT_PORT; /* PnP setup */ variable 121 mpu_port[dev] = -1; in snd_card_ad1816a_pnp() 129 mpu_port[dev] = -1; in snd_card_ad1816a_pnp() 131 mpu_port[dev] = pnp_port_start(pdev, 0); in snd_card_ad1816a_pnp() 190 if (mpu_port[dev] > 0) { in snd_card_ad1816a_probe() 192 mpu_port[dev], 0, mpu_irq[dev], in snd_card_ad1816a_probe() 194 printk(KERN_ERR PFX "no MPU-401 device at 0x%lx.\n", mpu_port[dev]); in snd_card_ad1816a_probe()
|
/sound/isa/opti9xx/ |
D | opti92x-ad1848.c | 72 static long mpu_port = SNDRV_DEFAULT_PORT1; /* 0x300,0x310,0x320,0x330 */ variable 93 module_param_hw(mpu_port, long, ioport, 0444); 94 MODULE_PARM_DESC(mpu_port, "MPU-401 port # for opti9xx driver."); 338 long mpu_port, int mpu_irq) in snd_opti9xx_configure() argument 503 switch (mpu_port) { in snd_opti9xx_configure() 521 "MPU-401 port 0x%lx not valid\n", mpu_port); in snd_opti9xx_configure() 545 (mpu_port <= 0) ? 0x00 : in snd_opti9xx_configure() 786 if (devmpu && mpu_port > 0) { 790 mpu_port = -1; 792 mpu_port = pnp_port_start(devmpu, 0); [all …]
|
D | miro.c | 56 static long mpu_port = SNDRV_DEFAULT_PORT1; /* 0x300,0x310,0x320,0x330 */ variable 74 module_param_hw(mpu_port, long, ioport, 0444); 75 MODULE_PARM_DESC(mpu_port, "MPU-401 port # for miro driver."); 127 long mpu_port; member 790 chip->mpu_port = -1; in snd_miro_init() 951 snd_iprintf(buffer, " port : 0x%lx\n", miro->mpu_port); in snd_miro_proc_read() 1114 switch (chip->mpu_port) { in snd_miro_configure() 1132 chip->mpu_port); in snd_miro_configure() 1156 (chip->mpu_port <= 0) ? 0x00 : in snd_miro_configure() 1292 miro->mpu_port = mpu_port; in snd_miro_probe() [all …]
|
/sound/isa/es1688/ |
D | es1688.c | 59 static long mpu_port[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = -1}; variable 76 module_param_hw_array(mpu_port, long, ioport, NULL, 0444); 77 MODULE_PARM_DESC(mpu_port, "MPU-401 port # for " CRD_NAME " driver."); 124 return snd_es1688_create(card, chip, port[n], mpu_port[n], in snd_es1688_legacy_create() 130 error = snd_es1688_create(card, chip, port[n], mpu_port[n], in snd_es1688_legacy_create() 173 chip->mpu_port > 0) { in snd_es1688_probe() 175 chip->mpu_port, 0, in snd_es1688_probe() 253 return snd_es1688_create(card, chip, port[n], mpu_port[n], irq[n], in snd_card_es968_pnp()
|
D | es1688_lib.c | 206 if (enable && chip->mpu_port >= 0x300 && chip->mpu_irq > 0 && chip->hardware != ES1688_HW_688) { in snd_es1688_init() 207 tmp = (chip->mpu_port & 0x0f0) >> 4; in snd_es1688_init() 643 unsigned long mpu_port, in snd_es1688_create() argument 686 mpu_port &= ~0x000f; in snd_es1688_create() 687 if (mpu_port < 0x300 || mpu_port > 0x330) in snd_es1688_create() 688 mpu_port = 0; in snd_es1688_create() 689 chip->mpu_port = mpu_port; in snd_es1688_create()
|
/sound/isa/ |
D | sc6000.c | 55 static long mpu_port[SNDRV_CARDS] = SNDRV_DEFAULT_PORT; variable 71 module_param_hw_array(mpu_port, long, ioport, NULL, 0444); 72 MODULE_PARM_DESC(mpu_port, "MPU-401 port # for sc-6000 driver."); 434 sc6000_hw_cfg_encode(vport, &cfg[0], port[dev], mpu_port[dev], in sc6000_init_board() 533 if (mpu_port[dev] != SNDRV_AUTO_PORT && in snd_sc6000_match() 534 (mpu_port[dev] & ~0x30L) != 0x300) { in snd_sc6000_match() 536 mpu_port[dev]); in snd_sc6000_match() 539 if (mpu_port[dev] != SNDRV_AUTO_PORT && in snd_sc6000_match() 655 if (mpu_port[dev] != SNDRV_AUTO_PORT) { in snd_sc6000_probe() 660 mpu_port[dev], 0, in snd_sc6000_probe() [all …]
|
D | azt2320.c | 61 static long mpu_port[SNDRV_CARDS] = SNDRV_DEFAULT_PORT; /* PnP setup */ variable 134 mpu_port[dev] = pnp_port_start(pdev, 0); in snd_card_azt2320_pnp() 143 mpu_port[dev] = -1; in snd_card_azt2320_pnp() 234 if (mpu_port[dev] > 0 && mpu_port[dev] != SNDRV_AUTO_PORT) { in snd_card_azt2320_probe() 236 mpu_port[dev], 0, in snd_card_azt2320_probe() 238 snd_printk(KERN_ERR PFX "no MPU-401 device at 0x%lx\n", mpu_port[dev]); in snd_card_azt2320_probe()
|
D | als100.c | 59 static long mpu_port[SNDRV_CARDS] = SNDRV_DEFAULT_PORT; /* PnP setup */ variable 155 mpu_port[dev] = pnp_port_start(pdev, 0); in snd_card_als100_pnp() 164 mpu_port[dev] = -1; in snd_card_als100_pnp() 247 if (mpu_port[dev] > 0 && mpu_port[dev] != SNDRV_AUTO_PORT) { in snd_card_als100_probe() 258 mpu_port[dev], 0, in snd_card_als100_probe() 261 snd_printk(KERN_ERR PFX "no MPU-401 device at 0x%lx\n", mpu_port[dev]); in snd_card_als100_probe()
|
D | es18xx.c | 1395 unsigned long mpu_port, in snd_es18xx_initialize() argument 1415 if (mpu_port > 0 && mpu_port != SNDRV_AUTO_PORT) { in snd_es18xx_initialize() 1417 snd_es18xx_config_write(chip, 0x64, mpu_port >> 8); in snd_es18xx_initialize() 1418 snd_es18xx_config_write(chip, 0x65, mpu_port & 0xff); in snd_es18xx_initialize() 1505 if (mpu_port > 0 && mpu_port != SNDRV_AUTO_PORT) { in snd_es18xx_initialize() 1510 0x43 | (mpu_port & 0xf0) >> 1); in snd_es18xx_initialize() 1629 unsigned long mpu_port, in snd_es18xx_probe() argument 1665 return snd_es18xx_initialize(chip, mpu_port, fm_port); in snd_es18xx_probe() 1783 unsigned long mpu_port, in snd_es18xx_new_device() argument 1831 if (snd_es18xx_probe(chip, mpu_port, fm_port) < 0) { in snd_es18xx_new_device() [all …]
|
/sound/isa/galaxy/ |
D | galaxy.c | 49 static long mpu_port[SNDRV_CARDS] = SNDRV_DEFAULT_PORT; variable 60 module_param_hw_array(mpu_port, long, ioport, NULL, 0444); 61 MODULE_PARM_DESC(mpu_port, "MPU-401 port # for " CRD_NAME " driver."); 313 switch (mpu_port[n]) { in snd_galaxy_match() 316 mpu_port[n] = -1; in snd_galaxy_match() 325 dev_err(dev, "invalid MPU port %#lx\n", mpu_port[n]); in snd_galaxy_match() 584 if (mpu_port[n] >= 0) { in snd_galaxy_probe() 586 mpu_port[n], 0, mpu_irq[n], NULL); in snd_galaxy_probe()
|
/sound/pci/ |
D | via82xx.c | 81 static long mpu_port; variable 95 module_param_hw(mpu_port, long, ioport, 0444); 96 MODULE_PARM_DESC(mpu_port, "MPU-401 port. (VT82C686x only)"); 2063 if (mpu_port >= 0x200) { /* force MIDI */ in snd_via686_init_misc() 2064 mpu_port &= 0xfffc; in snd_via686_init_misc() 2065 pci_write_config_dword(chip->pci, 0x18, mpu_port | 0x01); in snd_via686_init_misc() 2067 chip->mpu_port_saved = mpu_port; in snd_via686_init_misc() 2070 mpu_port = pci_resource_start(chip->pci, 2); in snd_via686_init_misc() 2073 switch (mpu_port) { /* force MIDI */ in snd_via686_init_misc() 2079 legacy_cfg |= (mpu_port & 0x0030) >> 2; in snd_via686_init_misc() [all …]
|
D | es1938.c | 202 unsigned long mpu_port; member 1626 chip->mpu_port = pci_resource_start(pci, 3); in snd_es1938_create() 1637 chip->io_port, chip->sb_port, chip->vc_port, chip->mpu_port, chip->game_port); in snd_es1938_create() 1846 chip->mpu_port, in snd_es1938_probe()
|
D | cmipci.c | 58 static long mpu_port[SNDRV_CARDS]; variable 71 module_param_hw_array(mpu_port, long, ioport, NULL, 0444); 72 MODULE_PARM_DESC(mpu_port, "MPU-401 port."); 3177 iomidi = mpu_port[dev]; in snd_cmipci_create()
|
D | als4000.c | 576 inb(chip->mpu_port); in snd_als4000_interrupt()
|
/sound/pci/riptide/ |
D | riptide.c | 130 static int mpu_port[SNDRV_CARDS] = { [0 ... (SNDRV_CARDS - 1)] = 0x330 }; variable 143 module_param_hw_array(mpu_port, int, ioport, NULL, 0444); 144 MODULE_PARM_DESC(mpu_port, "MPU401 port # for Riptide driver."); 2101 if (mpu_port[dev]) in snd_card_riptide_probe() 2105 if (mpu_port[dev]) { in snd_card_riptide_probe() 2106 val = mpu_port[dev]; in snd_card_riptide_probe()
|