Lines Matching refs:emu

29 static struct snd_emux_voice *get_voice(struct snd_emux *emu,
35 static void reset_voice(struct snd_emux *emu, int ch);
37 static void sysex(struct snd_emux *emu, char *buf, int len, int parsed,
40 static int oss_ioctl(struct snd_emux *emu, int cmd, int p1, int p2);
42 static int load_fx(struct snd_emux *emu, int type, int mode,
52 static void snd_emu8000_tweak_voice(struct snd_emu8000 *emu, int ch);
87 hw->emu->ops = emu8000_ops; in snd_emu8000_ops_setup()
157 get_voice(struct snd_emux *emu, struct snd_emux_port *port) in get_voice() argument
175 hw = emu->hw; in get_voice()
185 for (i = 0; i < emu->max_voices; i++) { in get_voice()
188 vp = &emu->voices[i]; in get_voice()
221 vp = &emu->voices[best[i].voice]; in get_voice()
336 reset_voice(struct snd_emux *emu, int ch) in reset_voice() argument
340 hw = emu->hw; in reset_voice()
438 snd_emu8000_tweak_voice(struct snd_emu8000 *emu, int i) in snd_emu8000_tweak_voice() argument
441 EMU8000_ENVVOL_WRITE(emu, i, 0x8000); in snd_emu8000_tweak_voice()
442 EMU8000_ENVVAL_WRITE(emu, i, 0x8000); in snd_emu8000_tweak_voice()
443 EMU8000_DCYSUS_WRITE(emu, i, 0x7F7F); in snd_emu8000_tweak_voice()
444 EMU8000_ATKHLDV_WRITE(emu, i, 0x7F7F); in snd_emu8000_tweak_voice()
445 EMU8000_ATKHLD_WRITE(emu, i, 0x7F7F); in snd_emu8000_tweak_voice()
446 EMU8000_PEFE_WRITE(emu, i, 0); /* mod envelope height to zero */ in snd_emu8000_tweak_voice()
447 EMU8000_LFO1VAL_WRITE(emu, i, 0x8000); /* no delay for LFO1 */ in snd_emu8000_tweak_voice()
448 EMU8000_LFO2VAL_WRITE(emu, i, 0x8000); in snd_emu8000_tweak_voice()
449 EMU8000_IP_WRITE(emu, i, 0xE000); /* no pitch shift */ in snd_emu8000_tweak_voice()
450 EMU8000_IFATN_WRITE(emu, i, 0xFF00); /* volume to minimum */ in snd_emu8000_tweak_voice()
451 EMU8000_FMMOD_WRITE(emu, i, 0); in snd_emu8000_tweak_voice()
452 EMU8000_TREMFRQ_WRITE(emu, i, 0); in snd_emu8000_tweak_voice()
453 EMU8000_FM2FRQ2_WRITE(emu, i, 0); in snd_emu8000_tweak_voice()
460 sysex(struct snd_emux *emu, char *buf, int len, int parsed, struct snd_midi_channel_set *chset) in sysex() argument
464 hw = emu->hw; in sysex()
485 oss_ioctl(struct snd_emux *emu, int cmd, int p1, int p2) in oss_ioctl() argument
489 hw = emu->hw; in oss_ioctl()
530 load_fx(struct snd_emux *emu, int type, int mode, const void __user *buf, long len) in load_fx() argument
533 hw = emu->hw; in load_fx()