Home
last modified time | relevance | path

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

/sound/drivers/opl4/
Dopl4_lib.c35 while ((inb(opl4->fm_port) & OPL4_STATUS_BUSY) && --timeout > 0) in snd_opl4_wait()
115 outb(OPL3_REG_MODE, opl4->fm_port + 2); in snd_opl4_enable_opl4()
116 inb(opl4->fm_port); in snd_opl4_enable_opl4()
117 inb(opl4->fm_port); in snd_opl4_enable_opl4()
118 outb(OPL3_OPL3_ENABLE | OPL3_OPL4_ENABLE, opl4->fm_port + 3); in snd_opl4_enable_opl4()
119 inb(opl4->fm_port); in snd_opl4_enable_opl4()
120 inb(opl4->fm_port); in snd_opl4_enable_opl4()
195 unsigned long fm_port, unsigned long pcm_port, in snd_opl4_create() argument
215 opl4->res_fm_port = request_region(fm_port, 8, "OPL4 FM"); in snd_opl4_create()
218 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()
/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.");
213 if (fm_port[dev] == 1) { in snd_card_ymfpci_probe()
215 fm_port[dev] = pci_resource_start(pci, 1); in snd_card_ymfpci_probe()
217 if (fm_port[dev] > 0 && in snd_card_ymfpci_probe()
218 (fm_res = request_region(fm_port[dev], 4, "YMFPCI OPL3")) != NULL) { in snd_card_ymfpci_probe()
220 pci_write_config_word(pci, PCIR_DSXG_FMBASE, fm_port[dev]); in snd_card_ymfpci_probe()
232 switch (fm_port[dev]) { in snd_card_ymfpci_probe()
237 default: fm_port[dev] = 0; break; in snd_card_ymfpci_probe()
[all …]
/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()
/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()
263 if (fm_port[dev] > 0 && fm_port[dev] != SNDRV_AUTO_PORT) { in snd_card_als100_probe()
265 fm_port[dev], fm_port[dev] + 2, in snd_card_als100_probe()
268 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()
241 if (fm_port[dev] > 0 && fm_port[dev] != SNDRV_AUTO_PORT) { in snd_card_azt2320_probe()
243 fm_port[dev], fm_port[dev] + 2, in snd_card_azt2320_probe()
246 fm_port[dev], fm_port[dev] + 2); in snd_card_azt2320_probe()
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 …]
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()
699 if (fm_port[dev] >= 0x340 && fm_port[dev] < 0x400) { in snd_opl3sa2_probe()
700 if ((err = snd_opl3_create(card, fm_port[dev], in snd_opl3sa2_probe()
701 fm_port[dev] + 2, in snd_opl3sa2_probe()
868 if (fm_port[dev] == SNDRV_AUTO_PORT) { in snd_opl3sa2_isa_match()
/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()
410 if (fm_port[dev] > 0 && fm_port[dev] != SNDRV_AUTO_PORT) { in snd_sb16_probe()
411 if (snd_opl3_create(card, fm_port[dev], fm_port[dev] + 2, in snd_sb16_probe()
413 acard->fm_res != NULL || fm_port[dev] == port[dev], in snd_sb16_probe()
416 fm_port[dev], fm_port[dev] + 2); in snd_sb16_probe()
503 fm_port[dev] = port[dev]; in snd_sb16_isa_probe1()
/sound/isa/ad1816a/
Dad1816a.c50 static long fm_port[SNDRV_CARDS] = SNDRV_DEFAULT_PORT; /* PnP setup */ variable
114 fm_port[dev] = pnp_port_start(pdev, 1); in snd_card_ad1816a_pnp()
198 if (fm_port[dev] > 0) { in snd_card_ad1816a_probe()
200 fm_port[dev], fm_port[dev] + 2, in snd_card_ad1816a_probe()
202 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()
/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()
591 if (fm_port[n] >= 0) { in snd_galaxy_probe()
594 err = snd_opl3_create(card, fm_port[n], fm_port[n] + 2, in snd_galaxy_probe()
597 dev_err(dev, "no OPL device at %#lx\n", fm_port[n]); in snd_galaxy_probe()
/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()
437 if (fm_port[dev] > 0 && fm_port[dev] != SNDRV_AUTO_PORT) { in snd_cs423x_probe()
439 fm_port[dev], fm_port[dev] + 2, in snd_cs423x_probe()
/sound/isa/opti9xx/
Dopti92x-ad1848.c73 static long fm_port = SNDRV_DEFAULT_PORT1; /* 0x388 */ variable
95 module_param(fm_port, long, 0444);
96 MODULE_PARM_DESC(fm_port, "FM port # for opti9xx driver.");
754 fm_port = pnp_port_start(pdev, 1) + 8;
770 fm_port = pnp_port_start(pdev, 2) + 8;
904 if (fm_port > 0 && fm_port != SNDRV_AUTO_PORT) {
914 if (snd_opl4_create(card, fm_port, fm_port - 8,
922 if (!opl3 && snd_opl3_create(card, fm_port, fm_port + 2,
925 fm_port, fm_port + 4 - 1);
Dmiro.c57 static long fm_port = SNDRV_DEFAULT_PORT1; /* 0x388 */ variable
76 module_param(fm_port, long, 0444);
77 MODULE_PARM_DESC(fm_port, "FM Port # for miro driver.");
1372 if (fm_port > 0 && fm_port != SNDRV_AUTO_PORT) { in snd_miro_probe()
1376 if (snd_opl4_create(card, fm_port, fm_port - 8, in snd_miro_probe()
1379 fm_port); in snd_miro_probe()
1548 fm_port = pnp_port_start(pdev, 2) + 8; in snd_card_miro_pnp()
/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()
393 if (fm_port[dev] > 0 && fm_port[dev] != SNDRV_AUTO_PORT) { in snd_wavefront_probe()
396 err = snd_opl3_create(card, fm_port[dev], fm_port[dev] + 2, in snd_wavefront_probe()
/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.");
2962 static int snd_cmipci_create_fm(struct cmipci *cm, long fm_port) in snd_cmipci_create_fm() argument
2969 if (!fm_port) in snd_cmipci_create_fm()
2983 iosynth = fm_port; in snd_cmipci_create_fm()
3207 err = snd_cmipci_create_fm(cm, fm_port[dev]); in snd_cmipci_create()