Lines Matching refs:fm_port
45 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()
234 if (fm_port[dev] > 0 && in snd_card_ymfpci_probe()
235 (fm_res = request_region(fm_port[dev], 4, "YMFPCI OPL3")) != NULL) { in snd_card_ymfpci_probe()
239 fm_port[dev] = 0; in snd_card_ymfpci_probe()
317 fm_port[dev], in snd_card_ymfpci_probe()
318 fm_port[dev] + 2, in snd_card_ymfpci_probe()
320 printk(KERN_WARNING "ymfpci: cannot initialize FM OPL3 at 0x%lx, skipping...\n", fm_port[dev]); in snd_card_ymfpci_probe()