Lines Matching refs:vortex

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