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.");
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()
234 card->shortname, (unsigned int)fm_port[dev]); in __snd_card_ymfpci_probe()
235 fm_port[dev] = 0; in __snd_card_ymfpci_probe()
238 if (fm_port[dev] > 0) in __snd_card_ymfpci_probe()
239 fm_res = devm_request_region(&pci->dev, fm_port[dev], in __snd_card_ymfpci_probe()
245 fm_port[dev] = 0; in __snd_card_ymfpci_probe()
322 fm_port[dev], in __snd_card_ymfpci_probe()
323 fm_port[dev] + 2, in __snd_card_ymfpci_probe()
328 fm_port[dev]); in __snd_card_ymfpci_probe()