Lines Matching refs:mpu_port
25 static long mpu_port[SNDRV_CARDS]; variable
37 module_param_hw_array(mpu_port, long, ioport, NULL, 0444);
38 MODULE_PARM_DESC(mpu_port, "MPU-401 Port.");
204 if (mpu_port[dev] == 1) { in snd_card_ymfpci_probe()
206 mpu_port[dev] = pci_resource_start(pci, 1) + 0x20; in snd_card_ymfpci_probe()
208 if (mpu_port[dev] > 0) in snd_card_ymfpci_probe()
209 mpu_res = devm_request_region(&pci->dev, mpu_port[dev], in snd_card_ymfpci_probe()
213 pci_write_config_word(pci, PCIR_DSXG_MPU401BASE, mpu_port[dev]); in snd_card_ymfpci_probe()
232 switch (mpu_port[dev]) { in snd_card_ymfpci_probe()
237 default: mpu_port[dev] = 0; break; in snd_card_ymfpci_probe()
239 if (mpu_port[dev] > 0) in snd_card_ymfpci_probe()
240 mpu_res = devm_request_region(&pci->dev, mpu_port[dev], in snd_card_ymfpci_probe()
246 mpu_port[dev] = 0; in snd_card_ymfpci_probe()
293 mpu_port[dev], in snd_card_ymfpci_probe()
300 mpu_port[dev]); in snd_card_ymfpci_probe()