Lines Matching refs:vortex
44 static int __devinit snd_vortex_midi(vortex_t * vortex)
56 (hwread(vortex->mmio, VORTEX_CTRL) & ~CTRL_MIDI_PORT) |
58 hwwrite(vortex->mmio, VORTEX_CTRL, temp);
62 (hwread(vortex->mmio, VORTEX_CTRL) & ~CTRL_MIDI_PORT) &
64 hwwrite(vortex->mmio, VORTEX_CTRL, temp);
68 temp = hwread(vortex->mmio, VORTEX_CTRL2) & 0xffff00cf;
70 hwwrite(vortex->mmio, VORTEX_CTRL2, temp);
71 hwwrite(vortex->mmio, VORTEX_MIDI_CMD, MPU401_RESET);
74 temp = hwread(vortex->mmio, VORTEX_MIDI_DATA);
80 hwwrite(vortex->mmio, VORTEX_IRQ_CTRL,
81 hwread(vortex->mmio, VORTEX_IRQ_CTRL) | IRQ_MIDI);
86 snd_mpu401_uart_new(vortex->card, 0, MPU401_HW_MPU401, 0x330,
88 hwwrite(vortex->mmio, VORTEX_CTRL,
89 (hwread(vortex->mmio, VORTEX_CTRL) &
94 port = (unsigned long)(vortex->mmio + VORTEX_MIDI_DATA);
96 snd_mpu401_uart_new(vortex->card, 0, MPU401_HW_AUREAL, port,
99 hwwrite(vortex->mmio, VORTEX_CTRL,
100 (hwread(vortex->mmio, VORTEX_CTRL) &
105 mpu->cport = (unsigned long)(vortex->mmio + VORTEX_MIDI_CMD);
108 snprintf(rmidi->name, sizeof(rmidi->name), "%s MIDI %d", CARD_NAME_SHORT , vortex->card->number);
110 vortex->rmidi = rmidi;