Lines Matching refs:mpu_port
66 static long mpu_port; variable
80 module_param_hw(mpu_port, long, ioport, 0444);
81 MODULE_PARM_DESC(mpu_port, "MPU-401 port. (VT82C686x only)");
2029 if (mpu_port >= 0x200) { /* force MIDI */ in snd_via686_init_misc()
2030 mpu_port &= 0xfffc; in snd_via686_init_misc()
2031 pci_write_config_dword(chip->pci, 0x18, mpu_port | 0x01); in snd_via686_init_misc()
2032 chip->mpu_port_saved = mpu_port; in snd_via686_init_misc()
2034 mpu_port = pci_resource_start(chip->pci, 2); in snd_via686_init_misc()
2037 switch (mpu_port) { /* force MIDI */ in snd_via686_init_misc()
2043 legacy_cfg |= (mpu_port & 0x0030) >> 2; in snd_via686_init_misc()
2047 mpu_port = 0x300 + ((legacy_cfg & 0x000c) << 2); in snd_via686_init_misc()
2051 if (mpu_port >= 0x200) in snd_via686_init_misc()
2052 chip->mpu_res = devm_request_region(&chip->pci->dev, mpu_port, in snd_via686_init_misc()
2062 mpu_port = 0; in snd_via686_init_misc()
2069 mpu_port, MPU401_INFO_INTEGRATED | in snd_via686_init_misc()
2074 mpu_port); in snd_via686_init_misc()