Lines Matching refs:mpu_port
67 static long mpu_port; variable
81 module_param_hw(mpu_port, long, ioport, 0444);
82 MODULE_PARM_DESC(mpu_port, "MPU-401 port. (VT82C686x only)");
2034 if (mpu_port >= 0x200) { /* force MIDI */ in snd_via686_init_misc()
2035 mpu_port &= 0xfffc; in snd_via686_init_misc()
2036 pci_write_config_dword(chip->pci, 0x18, mpu_port | 0x01); in snd_via686_init_misc()
2038 chip->mpu_port_saved = mpu_port; in snd_via686_init_misc()
2041 mpu_port = pci_resource_start(chip->pci, 2); in snd_via686_init_misc()
2044 switch (mpu_port) { /* force MIDI */ in snd_via686_init_misc()
2050 legacy_cfg |= (mpu_port & 0x0030) >> 2; in snd_via686_init_misc()
2054 mpu_port = 0x300 + ((legacy_cfg & 0x000c) << 2); in snd_via686_init_misc()
2058 if (mpu_port >= 0x200 && in snd_via686_init_misc()
2059 (chip->mpu_res = request_region(mpu_port, 2, "VIA82xx MPU401")) in snd_via686_init_misc()
2068 mpu_port = 0; in snd_via686_init_misc()
2075 mpu_port, MPU401_INFO_INTEGRATED | in snd_via686_init_misc()
2080 mpu_port); in snd_via686_init_misc()