Lines Matching refs:fm_port
30 static long fm_port[SNDRV_CARDS]; variable
45 module_param_hw_array(fm_port, long, ioport, NULL, 0444);
46 MODULE_PARM_DESC(fm_port, "FM OPL-3 Port.");
198 if (fm_port[dev] == 1) { in snd_card_ymfpci_probe()
200 fm_port[dev] = pci_resource_start(pci, 1); in snd_card_ymfpci_probe()
202 if (fm_port[dev] > 0 && in snd_card_ymfpci_probe()
203 (fm_res = request_region(fm_port[dev], 4, "YMFPCI OPL3")) != NULL) { in snd_card_ymfpci_probe()
205 pci_write_config_word(pci, PCIR_DSXG_FMBASE, fm_port[dev]); in snd_card_ymfpci_probe()
217 switch (fm_port[dev]) { in snd_card_ymfpci_probe()
222 default: fm_port[dev] = 0; break; in snd_card_ymfpci_probe()
224 if (fm_port[dev] > 0 && in snd_card_ymfpci_probe()
225 (fm_res = request_region(fm_port[dev], 4, "YMFPCI OPL3")) != NULL) { in snd_card_ymfpci_probe()
229 fm_port[dev] = 0; in snd_card_ymfpci_probe()
310 fm_port[dev], in snd_card_ymfpci_probe()
311 fm_port[dev] + 2, in snd_card_ymfpci_probe()
315 fm_port[dev]); in snd_card_ymfpci_probe()