Lines Matching refs:mpu_port
81 static long mpu_port; variable
95 module_param_hw(mpu_port, long, ioport, 0444);
96 MODULE_PARM_DESC(mpu_port, "MPU-401 port. (VT82C686x only)");
2063 if (mpu_port >= 0x200) { /* force MIDI */ in snd_via686_init_misc()
2064 mpu_port &= 0xfffc; in snd_via686_init_misc()
2065 pci_write_config_dword(chip->pci, 0x18, mpu_port | 0x01); in snd_via686_init_misc()
2067 chip->mpu_port_saved = mpu_port; in snd_via686_init_misc()
2070 mpu_port = pci_resource_start(chip->pci, 2); in snd_via686_init_misc()
2073 switch (mpu_port) { /* force MIDI */ in snd_via686_init_misc()
2079 legacy_cfg |= (mpu_port & 0x0030) >> 2; in snd_via686_init_misc()
2083 mpu_port = 0x300 + ((legacy_cfg & 0x000c) << 2); in snd_via686_init_misc()
2087 if (mpu_port >= 0x200 && in snd_via686_init_misc()
2088 (chip->mpu_res = request_region(mpu_port, 2, "VIA82xx MPU401")) in snd_via686_init_misc()
2097 mpu_port = 0; in snd_via686_init_misc()
2104 mpu_port, MPU401_INFO_INTEGRATED | in snd_via686_init_misc()
2109 mpu_port); in snd_via686_init_misc()