Lines Matching refs:fm_port
24 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.");
193 if (fm_port[dev] == 1) { in snd_card_ymfpci_probe()
195 fm_port[dev] = pci_resource_start(pci, 1); in snd_card_ymfpci_probe()
197 if (fm_port[dev] > 0) in snd_card_ymfpci_probe()
198 fm_res = devm_request_region(&pci->dev, fm_port[dev], in snd_card_ymfpci_probe()
202 pci_write_config_word(pci, PCIR_DSXG_FMBASE, fm_port[dev]); in snd_card_ymfpci_probe()
216 switch (fm_port[dev]) { in snd_card_ymfpci_probe()
221 default: fm_port[dev] = 0; break; in snd_card_ymfpci_probe()
223 if (fm_port[dev] > 0) in snd_card_ymfpci_probe()
224 fm_res = devm_request_region(&pci->dev, fm_port[dev], in snd_card_ymfpci_probe()
230 fm_port[dev] = 0; in snd_card_ymfpci_probe()
307 fm_port[dev], in snd_card_ymfpci_probe()
308 fm_port[dev] + 2, in snd_card_ymfpci_probe()
313 fm_port[dev]); in snd_card_ymfpci_probe()