Home
last modified time | relevance | path

Searched refs:fm_port (Results 1 – 20 of 20) sorted by relevance

/linux-2.6.39/sound/drivers/opl4/
Dopl4_lib.c34 while ((inb(opl4->fm_port) & OPL4_STATUS_BUSY) && --timeout > 0) in snd_opl4_wait()
114 outb(OPL3_REG_MODE, opl4->fm_port + 2); in snd_opl4_enable_opl4()
115 inb(opl4->fm_port); in snd_opl4_enable_opl4()
116 inb(opl4->fm_port); in snd_opl4_enable_opl4()
117 outb(OPL3_OPL3_ENABLE | OPL3_OPL4_ENABLE, opl4->fm_port + 3); in snd_opl4_enable_opl4()
118 inb(opl4->fm_port); in snd_opl4_enable_opl4()
119 inb(opl4->fm_port); in snd_opl4_enable_opl4()
194 unsigned long fm_port, unsigned long pcm_port, in snd_opl4_create() argument
214 opl4->res_fm_port = request_region(fm_port, 8, "OPL4 FM"); in snd_opl4_create()
217 snd_printk(KERN_ERR "opl4: can't grab ports 0x%lx, 0x%lx\n", fm_port, pcm_port); in snd_opl4_create()
[all …]
Dopl4_local.h173 unsigned long fm_port; member
Dopl4_synth.c478 while ((inb(opl4->fm_port) & OPL4_STATUS_LOAD) && --timeout > 0) in snd_opl4_wait_for_wave_headers()
/linux-2.6.39/sound/pci/ymfpci/
Dymfpci.c45 static long fm_port[SNDRV_CARDS]; variable
60 module_param_array(fm_port, long, NULL, 0444);
61 MODULE_PARM_DESC(fm_port, "FM OPL-3 Port.");
208 if (fm_port[dev] == 1) { in snd_card_ymfpci_probe()
210 fm_port[dev] = pci_resource_start(pci, 1); in snd_card_ymfpci_probe()
212 if (fm_port[dev] > 0 && in snd_card_ymfpci_probe()
213 (fm_res = request_region(fm_port[dev], 4, "YMFPCI OPL3")) != NULL) { in snd_card_ymfpci_probe()
215 pci_write_config_word(pci, PCIR_DSXG_FMBASE, fm_port[dev]); in snd_card_ymfpci_probe()
227 switch (fm_port[dev]) { in snd_card_ymfpci_probe()
232 default: fm_port[dev] = 0; break; in snd_card_ymfpci_probe()
[all …]
/linux-2.6.39/sound/isa/
Dals100.c60 static long fm_port[SNDRV_CARDS] = SNDRV_DEFAULT_PORT; /* PnP setup */ variable
172 fm_port[dev] = pnp_port_start(pdev, 0); in snd_card_als100_pnp()
180 fm_port[dev] = -1; in snd_card_als100_pnp()
264 if (fm_port[dev] > 0 && fm_port[dev] != SNDRV_AUTO_PORT) { in snd_card_als100_probe()
266 fm_port[dev], fm_port[dev] + 2, in snd_card_als100_probe()
269 fm_port[dev], fm_port[dev] + 2); in snd_card_als100_probe()
Dazt2320.c62 static long fm_port[SNDRV_CARDS] = SNDRV_DEFAULT_PORT; /* PnP setup */ variable
123 fm_port[dev] = pnp_port_start(pdev, 1); in snd_card_azt2320_pnp()
242 if (fm_port[dev] > 0 && fm_port[dev] != SNDRV_AUTO_PORT) { in snd_card_azt2320_probe()
244 fm_port[dev], fm_port[dev] + 2, in snd_card_azt2320_probe()
247 fm_port[dev], fm_port[dev] + 2); in snd_card_azt2320_probe()
Dopl3sa2.c56 static long fm_port[SNDRV_CARDS] = SNDRV_DEFAULT_PORT; /* 0x388 */ variable
79 module_param_array(fm_port, long, NULL, 0444);
80 MODULE_PARM_DESC(fm_port, "FM port # for OPL3-SA driver.");
608 fm_port[dev] = pnp_port_start(pdev, 2); in snd_opl3sa2_pnp()
615 …pnp_device_is_pnpbios(pdev) ? "BIOS" : "ISA", sb_port[dev], wss_port[dev], fm_port[dev], midi_port… in snd_opl3sa2_pnp()
698 if (fm_port[dev] >= 0x340 && fm_port[dev] < 0x400) { in snd_opl3sa2_probe()
699 if ((err = snd_opl3_create(card, fm_port[dev], in snd_opl3sa2_probe()
700 fm_port[dev] + 2, in snd_opl3sa2_probe()
869 if (fm_port[dev] == SNDRV_AUTO_PORT) { in snd_opl3sa2_isa_match()
Des18xx.c1389 unsigned long fm_port) in snd_es18xx_initialize() argument
1403 if (fm_port > 0 && fm_port != SNDRV_AUTO_PORT) { in snd_es18xx_initialize()
1405 snd_es18xx_config_write(chip, 0x62, fm_port >> 8); in snd_es18xx_initialize()
1406 snd_es18xx_config_write(chip, 0x63, fm_port & 0xff); in snd_es18xx_initialize()
1623 unsigned long fm_port) in snd_es18xx_probe() argument
1658 return snd_es18xx_initialize(chip, mpu_port, fm_port); in snd_es18xx_probe()
1783 unsigned long fm_port, in snd_es18xx_new_device() argument
1830 if (snd_es18xx_probe(chip, mpu_port, fm_port) < 0) { in snd_es18xx_new_device()
1977 static long fm_port[SNDRV_CARDS] = SNDRV_DEFAULT_PORT; variable
1996 module_param_array(fm_port, long, NULL, 0444);
[all …]
/linux-2.6.39/sound/isa/es1688/
Des1688.c58 static long fm_port[SNDRV_CARDS] = SNDRV_DEFAULT_PORT; /* Usually 0x388 */ variable
79 module_param_array(fm_port, long, NULL, 0444);
80 MODULE_PARM_DESC(fm_port, "FM port # for ES1688 driver.");
158 if (fm_port[n] == SNDRV_AUTO_PORT) in snd_es1688_probe()
159 fm_port[n] = port[n]; /* share the same port */ in snd_es1688_probe()
161 if (fm_port[n] > 0) { in snd_es1688_probe()
162 if (snd_opl3_create(card, fm_port[n], fm_port[n] + 2, in snd_es1688_probe()
165 "opl3 not detected at 0x%lx\n", fm_port[n]); in snd_es1688_probe()
/linux-2.6.39/sound/isa/sb/
Dsb16.c77 static long fm_port[SNDRV_CARDS] = SNDRV_DEFAULT_PORT; variable
106 module_param_array(fm_port, long, NULL, 0444);
107 MODULE_PARM_DESC(fm_port, "FM port # for SB16 PnP driver.");
277 fm_port[dev] = pnp_port_start(pdev, 2); in snd_card_sb16_pnp()
282 port[dev], mpu_port[dev], fm_port[dev]); in snd_card_sb16_pnp()
408 if (fm_port[dev] > 0 && fm_port[dev] != SNDRV_AUTO_PORT) { in snd_sb16_probe()
409 if (snd_opl3_create(card, fm_port[dev], fm_port[dev] + 2, in snd_sb16_probe()
411 acard->fm_res != NULL || fm_port[dev] == port[dev], in snd_sb16_probe()
414 fm_port[dev], fm_port[dev] + 2); in snd_sb16_probe()
501 fm_port[dev] = port[dev]; in snd_sb16_isa_probe1()
/linux-2.6.39/sound/isa/ad1816a/
Dad1816a.c50 static long fm_port[SNDRV_CARDS] = SNDRV_DEFAULT_PORT; /* PnP setup */ variable
128 fm_port[dev] = pnp_port_start(pdev, 1); in snd_card_ad1816a_pnp()
212 if (fm_port[dev] > 0) { in snd_card_ad1816a_probe()
214 fm_port[dev], fm_port[dev] + 2, in snd_card_ad1816a_probe()
216 printk(KERN_ERR PFX "no OPL device at 0x%lx-0x%lx.\n", fm_port[dev], fm_port[dev] + 2); in snd_card_ad1816a_probe()
/linux-2.6.39/sound/isa/galaxy/
Dgalaxy.c50 static long fm_port[SNDRV_CARDS] = SNDRV_DEFAULT_PORT; variable
62 module_param_array(fm_port, long, NULL, 0444);
63 MODULE_PARM_DESC(fm_port, "FM port # for " CRD_NAME " driver.");
366 switch (fm_port[n]) { in snd_galaxy_match()
369 fm_port[n] = -1; in snd_galaxy_match()
374 dev_err(dev, "illegal FM port %#lx\n", fm_port[n]); in snd_galaxy_match()
594 if (fm_port[n] >= 0) { in snd_galaxy_probe()
597 err = snd_opl3_create(card, fm_port[n], fm_port[n] + 2, in snd_galaxy_probe()
600 dev_err(dev, "no OPL device at %#lx\n", fm_port[n]); in snd_galaxy_probe()
/linux-2.6.39/sound/isa/wavefront/
Dwavefront.c51 static long fm_port[SNDRV_CARDS] = SNDRV_DEFAULT_PORT; /* PnP setup */ variable
82 module_param_array(fm_port, long, NULL, 0444);
83 MODULE_PARM_DESC(fm_port, "FM port #.");
162 fm_port[dev] = pnp_port_start(pdev, 1); in snd_wavefront_pnp()
205 fm_port[dev], in snd_wavefront_pnp()
395 if (fm_port[dev] > 0 && fm_port[dev] != SNDRV_AUTO_PORT) { in snd_wavefront_probe()
398 err = snd_opl3_create(card, fm_port[dev], fm_port[dev] + 2, in snd_wavefront_probe()
/linux-2.6.39/sound/isa/cs423x/
Dcs4236.c84 static long fm_port[SNDRV_CARDS] = SNDRV_DEFAULT_PORT; /* PnP setup */ variable
107 module_param_array(fm_port, long, NULL, 0444);
108 MODULE_PARM_DESC(fm_port, "FM port # for " IDENT " driver.");
261 if (fm_port[dev] > 0) in snd_cs423x_pnp_init_wss()
262 fm_port[dev] = pnp_port_start(pdev, 1); in snd_cs423x_pnp_init_wss()
268 port[dev], fm_port[dev], sb_port[dev]); in snd_cs423x_pnp_init_wss()
436 if (fm_port[dev] > 0 && fm_port[dev] != SNDRV_AUTO_PORT) { in snd_cs423x_probe()
438 fm_port[dev], fm_port[dev] + 2, in snd_cs423x_probe()
/linux-2.6.39/sound/isa/opti9xx/
Dopti92x-ad1848.c72 static long fm_port = SNDRV_DEFAULT_PORT1; /* 0x388 */ variable
94 module_param(fm_port, long, 0444);
95 MODULE_PARM_DESC(fm_port, "FM port # for opti9xx driver.");
772 fm_port = pnp_port_start(pdev, 1) + 8;
787 fm_port = pnp_port_start(pdev, 2) + 8;
923 if (fm_port > 0 && fm_port != SNDRV_AUTO_PORT) {
933 if (snd_opl4_create(card, fm_port, fm_port - 8,
941 if (!opl3 && snd_opl3_create(card, fm_port, fm_port + 2,
944 fm_port, fm_port + 4 - 1);
Dmiro.c56 static long fm_port = SNDRV_DEFAULT_PORT1; /* 0x388 */ variable
75 module_param(fm_port, long, 0444);
76 MODULE_PARM_DESC(fm_port, "FM Port # for miro driver.");
1387 if (fm_port > 0 && fm_port != SNDRV_AUTO_PORT) { in snd_miro_probe()
1391 if (snd_opl4_create(card, fm_port, fm_port - 8, in snd_miro_probe()
1394 fm_port); in snd_miro_probe()
1566 fm_port = pnp_port_start(pdev, 2) + 8; in snd_card_miro_pnp()
/linux-2.6.39/include/sound/
Dopl4.h28 unsigned long fm_port, unsigned long pcm_port,
/linux-2.6.39/Documentation/sound/alsa/
DALSA-Configuration.txt316 fm_port - port # for OPL3 (0x388), -1 = disabled (default)
332 mpu_port=0x330 mpu_irq=9 fm_port=0x388".
350 fm_port - port # for OPL3 (0x388), -1 = disabled (default)
366 mpu_port=0x330 mpu_irq=9 fm_port=0x388".
449 fm_port - port address of OPL-3 FM synthesizer (8x38 only):
492 fm_port - FM port # for CS4236 chip (PnP setup - 0x388), -1 = disable
711 fm_port - port # for OPL3 (option; share the same port as default)
732 fm_port - port # for FM (optional, not used)
1281 fm_port - FM Port # (0x388)
1457 fm_port - FM port # for OPL3-SA chip (0x388), -1 = disable
[all …]
DCMIPCI.txt231 Set "fm_port" module option for more cards.
/linux-2.6.39/sound/pci/
Dcmipci.c59 static long fm_port[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS-1)]=1}; variable
73 module_param_array(fm_port, long, NULL, 0444);
74 MODULE_PARM_DESC(fm_port, "FM port.");
2956 static int __devinit snd_cmipci_create_fm(struct cmipci *cm, long fm_port) in snd_cmipci_create_fm() argument
2963 if (!fm_port) in snd_cmipci_create_fm()
2977 iosynth = fm_port; in snd_cmipci_create_fm()
3199 err = snd_cmipci_create_fm(cm, fm_port[dev]); in snd_cmipci_create()