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)");
2035 if (mpu_port >= 0x200) { /* force MIDI */ in snd_via686_init_misc()
2036 mpu_port &= 0xfffc; in snd_via686_init_misc()
2037 pci_write_config_dword(chip->pci, 0x18, mpu_port | 0x01); in snd_via686_init_misc()
2039 chip->mpu_port_saved = mpu_port; in snd_via686_init_misc()
2042 mpu_port = pci_resource_start(chip->pci, 2); in snd_via686_init_misc()
2045 switch (mpu_port) { /* force MIDI */ in snd_via686_init_misc()
2051 legacy_cfg |= (mpu_port & 0x0030) >> 2; in snd_via686_init_misc()
2055 mpu_port = 0x300 + ((legacy_cfg & 0x000c) << 2); in snd_via686_init_misc()
2059 if (mpu_port >= 0x200) in snd_via686_init_misc()
2060 chip->mpu_res = devm_request_region(&chip->pci->dev, mpu_port, in snd_via686_init_misc()
2070 mpu_port = 0; in snd_via686_init_misc()
2077 mpu_port, MPU401_INFO_INTEGRATED | in snd_via686_init_misc()
2082 mpu_port); in snd_via686_init_misc()