Home
last modified time | relevance | path

Searched refs:mpu_port (Results 1 – 22 of 22) sorted by relevance

/sound/pci/ymfpci/
Dymfpci.c46 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/
Djazz16.c41 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 …]
Dsb16.c76 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()
Dsb16_main.c810 switch (chip->mpu_port) { in snd_sb16dsp_configure()
/sound/isa/gus/
Dgusextreme.c52 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/
Dcs4231.c46 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()
Dcs4236.c83 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/
Dad1816a.c49 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/
Dopti92x-ad1848.c72 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 …]
Dmiro.c56 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/
Des1688.c59 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()
Des1688_lib.c206 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/
Dsc6000.c55 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 …]
Dazt2320.c61 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()
Dals100.c59 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()
Des18xx.c1395 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/
Dgalaxy.c49 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/
Dvia82xx.c81 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 …]
Des1938.c202 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()
Dcmipci.c58 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()
Dals4000.c576 inb(chip->mpu_port); in snd_als4000_interrupt()
/sound/pci/riptide/
Driptide.c130 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()