Home
last modified time | relevance | path

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

/linux/sound/pci/ymfpci/
H A Dymfpci.c24 static long fm_port[SNDRV_CARDS]; variable
39 module_param_hw_array(fm_port, long, ioport, NULL, 0444);
40 MODULE_PARM_DESC(fm_port, "FM OPL-3 Port.");
202 if (fm_port[dev] == 1) { in __snd_card_ymfpci_probe()
204 fm_port[dev] = pci_resource_start(pci, 1); in __snd_card_ymfpci_probe()
206 if (fm_port[dev] > 0) in __snd_card_ymfpci_probe()
207 fm_res = devm_request_region(&pci->dev, fm_port[dev], in __snd_card_ymfpci_probe()
211 pci_write_config_word(pci, PCIR_DSXG_FMBASE, fm_port[dev]); in __snd_card_ymfpci_probe()
225 switch (fm_port[dev]) { in __snd_card_ymfpci_probe()
231 if (fm_port[dev] > 0) in __snd_card_ymfpci_probe()
[all …]
/linux/sound/drivers/opl4/
H A Dopl4_lib.c22 while ((inb(opl4->fm_port) & OPL4_STATUS_BUSY) && --timeout > 0) in snd_opl4_wait()
102 outb(OPL3_REG_MODE, opl4->fm_port + 2); in snd_opl4_enable_opl4()
103 inb(opl4->fm_port); in snd_opl4_enable_opl4()
104 inb(opl4->fm_port); in snd_opl4_enable_opl4()
105 outb(OPL3_OPL3_ENABLE | OPL3_OPL4_ENABLE, opl4->fm_port + 3); in snd_opl4_enable_opl4()
106 inb(opl4->fm_port); in snd_opl4_enable_opl4()
107 inb(opl4->fm_port); in snd_opl4_enable_opl4()
180 unsigned long fm_port, unsigned long pcm_port, in snd_opl4_create() argument
200 opl4->res_fm_port = request_region(fm_port, 8, "OPL4 FM"); in snd_opl4_create()
203 dev_err(card->dev, "opl4: can't grab ports 0x%lx, 0x%lx\n", fm_port, pcm_por in snd_opl4_create()
[all...]
H A Dopl4_local.h173 unsigned long fm_port; member
H A Dopl4_synth.c478 while ((inb(opl4->fm_port) & OPL4_STATUS_LOAD) && --timeout > 0) in snd_opl4_wait_for_wave_headers()
/linux/sound/isa/
H A Dals100.c35 static long fm_port[SNDRV_CARDS] = SNDRV_DEFAULT_PORT; /* PnP setup */
147 fm_port[dev] = pnp_port_start(pdev, 0); in snd_card_als100_pnp()
155 fm_port[dev] = -1; in snd_card_als100_pnp()
234 if (fm_port[dev] > 0 && fm_port[dev] != SNDRV_AUTO_PORT) { in snd_card_als100_probe()
236 fm_port[dev], fm_port[dev] + 2, in snd_card_als100_probe()
239 fm_port[dev], fm_port[dev] + 2); in snd_card_als100_probe()
37 static long fm_port[SNDRV_CARDS] = SNDRV_DEFAULT_PORT; /* PnP setup */ global() variable
H A Dazt2320.c43 static long fm_port[SNDRV_CARDS] = SNDRV_DEFAULT_PORT; /* PnP setup */
104 fm_port[dev] = pnp_port_start(pdev, 1); in snd_card_azt2320_pnp()
214 if (fm_port[dev] > 0 && fm_port[dev] != SNDRV_AUTO_PORT) { in snd_card_azt2320_probe()
216 fm_port[dev], fm_port[dev] + 2, in snd_card_azt2320_probe()
219 fm_port[dev], fm_port[dev] + 2); in snd_card_azt2320_probe()
45 static long fm_port[SNDRV_CARDS] = SNDRV_DEFAULT_PORT; /* PnP setup */ global() variable
H A Des18xx.c1364 unsigned long fm_port) in snd_es18xx_initialize()
1378 if (fm_port > 0 && fm_port != SNDRV_AUTO_PORT) { in snd_es18xx_initialize()
1380 snd_es18xx_config_write(chip, 0x62, fm_port >> 8); in snd_es18xx_initialize()
1381 snd_es18xx_config_write(chip, 0x63, fm_port & 0xff); in snd_es18xx_initialize()
1600 unsigned long fm_port) in snd_es18xx_probe()
1635 return snd_es18xx_initialize(chip, mpu_port, fm_port); in snd_es18xx_probe()
1722 unsigned long fm_port, in snd_es18xx_new_device()
1763 if (snd_es18xx_probe(card, chip, mpu_port, fm_port) < 0) in snd_es18xx_new_device()
1912 static long fm_port[SNDRV_CARD variable
1365 snd_es18xx_initialize(struct snd_es18xx * chip,unsigned long mpu_port,unsigned long fm_port) snd_es18xx_initialize() argument
1601 snd_es18xx_probe(struct snd_card * card,struct snd_es18xx * chip,unsigned long mpu_port,unsigned long fm_port) snd_es18xx_probe() argument
1723 snd_es18xx_new_device(struct snd_card * card,unsigned long port,unsigned long mpu_port,unsigned long fm_port,int irq,int dma1,int dma2) snd_es18xx_new_device() argument
[all...]
H A Dopl3sa2.c35 static long fm_port[SNDRV_CARDS] = SNDRV_DEFAULT_PORT; /* 0x388 */ variable
58 module_param_hw_array(fm_port, long, ioport, NULL, 0444);
59 MODULE_PARM_DESC(fm_port, "FM port # for OPL3-SA driver.");
596 fm_port[dev] = pnp_port_start(pdev, 2); in snd_opl3sa2_pnp()
603 pnp_device_is_pnpbios(pdev) ? "BIOS" : "ISA", sb_port[dev], wss_port[dev], fm_port[dev], midi_port[dev]); in snd_opl3sa2_pnp()
680 if (fm_port[dev] >= 0x340 && fm_port[dev] < 0x400) { in snd_opl3sa2_probe()
681 err = snd_opl3_create(card, fm_port[dev], in snd_opl3sa2_probe()
682 fm_port[dev] + 2, in snd_opl3sa2_probe()
836 if (fm_port[de in snd_opl3sa2_isa_match()
[all...]
/linux/sound/isa/es1688/
H A Des1688.c38 static long fm_port[SNDRV_CARDS] = SNDRV_DEFAULT_PORT; /* Usually 0x388 */ variable
59 module_param_hw_array(fm_port, long, ioport, NULL, 0444);
60 MODULE_PARM_DESC(fm_port, "FM port # for ES1688 driver.");
137 if (fm_port[n] == SNDRV_AUTO_PORT) in snd_es1688_probe()
138 fm_port[n] = port[n]; /* share the same port */ in snd_es1688_probe()
140 if (fm_port[n] > 0) { in snd_es1688_probe()
141 if (snd_opl3_create(card, fm_port[n], fm_port[n] + 2, in snd_es1688_probe()
144 "opl3 not detected at 0x%lx\n", fm_port[n]); in snd_es1688_probe()
/linux/sound/isa/sb/
H A Dsb16.c48 static long fm_port[SNDRV_CARDS] = SNDRV_DEFAULT_PORT;
77 module_param_hw_array(fm_port, long, ioport, NULL, 0444);
78 MODULE_PARM_DESC(fm_port, "FM port # for SB16 PnP driver.");
248 fm_port[dev] = pnp_port_start(pdev, 2); in snd_card_sb16_pnp()
253 port[dev], mpu_port[dev], fm_port[dev]); in snd_card_sb16_pnp()
371 if (fm_port[dev] > 0 && fm_port[dev] != SNDRV_AUTO_PORT) { in snd_sb16_probe()
372 if (snd_opl3_create(card, fm_port[dev], fm_port[dev] + 2, in snd_sb16_probe()
374 acard->fm_res != NULL || fm_port[de in snd_sb16_probe()
54 static long fm_port[SNDRV_CARDS] = SNDRV_DEFAULT_PORT; global() variable
[all...]
/linux/sound/isa/ad1816a/
H A Dad1816a.c29 static long fm_port[SNDRV_CARDS] = SNDRV_DEFAULT_PORT; /* PnP setup */
93 fm_port[dev] = pnp_port_start(pdev, 1); in snd_card_ad1816a_pnp()
171 if (fm_port[dev] > 0) { in snd_card_ad1816a_probe()
173 fm_port[dev], fm_port[dev] + 2, in snd_card_ad1816a_probe()
176 fm_port[dev], fm_port[dev] + 2); in snd_card_ad1816a_probe()
31 static long fm_port[SNDRV_CARDS] = SNDRV_DEFAULT_PORT; /* PnP setup */ global() variable
/linux/sound/isa/galaxy/
H A Dgalaxy.c37 static long fm_port[SNDRV_CARDS] = SNDRV_DEFAULT_PORT; variable
49 module_param_hw_array(fm_port, long, ioport, NULL, 0444);
50 MODULE_PARM_DESC(fm_port, "FM port # for " CRD_NAME " driver.");
356 switch (fm_port[n]) { in snd_galaxy_match()
359 fm_port[n] = -1; in snd_galaxy_match()
364 dev_err(dev, "illegal FM port %#lx\n", fm_port[n]); in snd_galaxy_match()
575 if (fm_port[n] >= 0) { in __snd_galaxy_probe()
578 err = snd_opl3_create(card, fm_port[n], fm_port[n] + 2, in __snd_galaxy_probe()
581 dev_err(dev, "no OPL device at %#lx\n", fm_port[n]); in __snd_galaxy_probe()
/linux/sound/isa/wavefront/
H A Dwavefront.c37 static long fm_port[SNDRV_CARDS] = SNDRV_DEFAULT_PORT; /* PnP setup */ variable
68 module_param_hw_array(fm_port, long, ioport, NULL, 0444);
69 MODULE_PARM_DESC(fm_port, "FM port #.");
148 fm_port[dev] = pnp_port_start(pdev, 1); in snd_wavefront_pnp()
192 fm_port[dev], in snd_wavefront_pnp()
367 if (fm_port[dev] > 0 && fm_port[dev] != SNDRV_AUTO_PORT) { in snd_wavefront_probe()
370 err = snd_opl3_create(card, fm_port[dev], fm_port[dev] + 2, in snd_wavefront_probe()
/linux/sound/isa/cs423x/
H A Dcs4236.c35 static long fm_port[SNDRV_CARDS] = SNDRV_DEFAULT_PORT; /* PnP setup */ variable
58 module_param_hw_array(fm_port, long, ioport, NULL, 0444);
59 MODULE_PARM_DESC(fm_port, "FM port # for " IDENT " driver.");
211 if (fm_port[dev] > 0) in snd_cs423x_pnp_init_wss()
212 fm_port[dev] = pnp_port_start(pdev, 1); in snd_cs423x_pnp_init_wss()
219 port[dev], fm_port[dev], sb_port[dev]); in snd_cs423x_pnp_init_wss()
386 if (fm_port[dev] > 0 && fm_port[dev] != SNDRV_AUTO_PORT) { in snd_cs423x_probe()
388 fm_port[dev], fm_port[de in snd_cs423x_probe()
[all...]
/linux/sound/isa/opti9xx/
H A Dopti92x-ad1848.c55 static long fm_port = SNDRV_DEFAULT_PORT1; /* 0x388 */ variable
77 module_param_hw(fm_port, long, ioport, 0444);
78 MODULE_PARM_DESC(fm_port, "FM port # for opti9xx driver.");
750 fm_port = pnp_port_start(pdev, 1) + 8;
766 fm_port = pnp_port_start(pdev, 2) + 8;
884 if (fm_port > 0 && fm_port != SNDRV_AUTO_PORT) {
894 if (snd_opl4_create(card, fm_port, fm_port - 8,
902 if (!opl3 && snd_opl3_create(card, fm_port, fm_por
[all...]
H A Dmiro.c41 static long fm_port = SNDRV_DEFAULT_PORT1; /* 0x388 */ variable
60 module_param_hw(fm_port, long, ioport, 0444);
61 MODULE_PARM_DESC(fm_port, "FM Port # for miro driver.");
1370 if (fm_port > 0 && fm_port != SNDRV_AUTO_PORT) { in snd_miro_probe()
1374 if (snd_opl4_create(card, fm_port, fm_port - 8, in snd_miro_probe()
1377 fm_port); in snd_miro_probe()
1528 fm_port = pnp_port_start(pdev, 2) + 8; in snd_card_miro_pnp()
/linux/include/sound/
H A Dopl4.h15 unsigned long fm_port, unsigned long pcm_port,
/linux/sound/pci/
H A Dcmipci.c42 static long fm_port[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS-1)]=1}; variable
56 module_param_hw_array(fm_port, long, ioport, NULL, 0444);
57 MODULE_PARM_DESC(fm_port, "FM port.");
2899 static int snd_cmipci_create_fm(struct cmipci *cm, long fm_port) in snd_cmipci_free()
2906 if (!fm_port) in snd_cmipci_free()
2920 iosynth = fm_port; in snd_cmipci_create_fm()
3132 err = snd_cmipci_create_fm(cm, fm_port[dev]); in snd_cmipci_create()
2913 snd_cmipci_create_fm(struct cmipci * cm,long fm_port) snd_cmipci_create_fm() argument
/linux/Documentation/sound/cards/
H A Dcmipci.rst249 Set "fm_port" module option for more cards.