Lines Matching refs:SV_REG
61 #define SV_REG(sonic, x) ((sonic)->enh_port + SV_REG_##x) macro
296 outb(reg, SV_REG(sonic, INDEX)); in snd_sonicvibes_out1()
298 outb(value, SV_REG(sonic, DATA)); in snd_sonicvibes_out1()
309 outb(reg, SV_REG(sonic, INDEX)); in snd_sonicvibes_out()
311 outb(value, SV_REG(sonic, DATA)); in snd_sonicvibes_out()
320 outb(reg, SV_REG(sonic, INDEX)); in snd_sonicvibes_in1()
322 value = inb(SV_REG(sonic, DATA)); in snd_sonicvibes_in1()
333 outb(reg, SV_REG(sonic, INDEX)); in snd_sonicvibes_in()
335 value = inb(SV_REG(sonic, DATA)); in snd_sonicvibes_in()
346 inb(SV_REG(sonic, INDEX)), inb(SV_REG(sonic, STATUS)));
454 outb(SV_MCE | SV_IREG_DMA_DATA_FMT, SV_REG(sonic, INDEX)); in snd_sonicvibes_setfmt()
456 sonic->format = inb(SV_REG(sonic, DATA)); in snd_sonicvibes_setfmt()
460 outb(sonic->format, SV_REG(sonic, DATA)); in snd_sonicvibes_setfmt()
462 outb(0, SV_REG(sonic, INDEX)); in snd_sonicvibes_setfmt()
608 status = inb(SV_REG(sonic, STATUS)); in snd_sonicvibes_interrupt()
612 outb(sonic->irqmask = ~0, SV_REG(sonic, IRQMASK)); in snd_sonicvibes_interrupt()
1295 outb(SV_RESET, SV_REG(sonic, CONTROL)); /* reset chip */ in snd_sonicvibes_create()
1297 outb(0, SV_REG(sonic, CONTROL)); /* release reset */ in snd_sonicvibes_create()
1299 outb(SV_ENHANCED | SV_INTA | (reverb ? SV_REVERB : 0), SV_REG(sonic, CONTROL)); in snd_sonicvibes_create()
1300 inb(SV_REG(sonic, STATUS)); /* clear IRQs */ in snd_sonicvibes_create()
1307 outb(sonic->irqmask = ~(SV_DMAA_MASK | SV_DMAC_MASK | SV_UD_MASK), SV_REG(sonic, IRQMASK)); in snd_sonicvibes_create()
1308 inb(SV_REG(sonic, STATUS)); /* clear IRQs */ in snd_sonicvibes_create()
1361 outb(sonic->irqmask &= ~SV_MIDI_MASK, SV_REG(sonic, IRQMASK)); in snd_sonicvibes_midi_input_open()
1368 outb(sonic->irqmask |= SV_MIDI_MASK, SV_REG(sonic, IRQMASK)); in snd_sonicvibes_midi_input_close()