Lines Matching defs:mode
97 snd_emu8000_dma_chan(struct snd_emu8000 *emu, int ch, int mode)
99 unsigned right_bit = (mode & EMU8000_RAM_RIGHT) ? 0x01000000 : 0;
100 mode &= EMU8000_RAM_MODE_MASK;
101 if (mode == EMU8000_RAM_CLOSE) {
113 if (mode == EMU8000_RAM_WRITE) /* DMA write */
611 * Chorus mode control
615 * chorus mode parameters
637 /* 5 parameters for each chorus mode; 3 x 16bit, 2 x 32bit */
651 snd_emu8000_load_chorus_fx(struct snd_emu8000 *emu, int mode, const void __user *buf, long len)
654 if (mode < SNDRV_EMU8000_CHORUS_PREDEFINED || mode >= SNDRV_EMU8000_CHORUS_NUMBERS) {
655 snd_printk(KERN_WARNING "invalid chorus mode %d for uploading\n", mode);
660 chorus_parm[mode] = rec;
661 chorus_defined[mode] = 1;
682 * Reverb mode control
686 * reverb mode parameters
704 /* reverb mode settings; write the following 28 data of 16 bit length
778 snd_emu8000_load_reverb_fx(struct snd_emu8000 *emu, int mode, const void __user *buf, long len)
782 if (mode < SNDRV_EMU8000_REVERB_PREDEFINED || mode >= SNDRV_EMU8000_REVERB_NUMBERS) {
783 snd_printk(KERN_WARNING "invalid reverb mode %d for uploading\n", mode);
788 reverb_parm[mode] = rec;
789 reverb_defined[mode] = 1;
879 * chorus/reverb mode