Lines Matching defs:voice_ctrl

39 	unsigned char voice_ctrl, ramp_ctrl;
97 unsigned char voice_ctrl, ramp_ctrl;
114 voice_ctrl = snd_pcm_format_width(runtime->format) == 16 ? 0x24 : 0x20;
118 voice_ctrl |= 0x08; /* loop enable */
129 curr, begin, end, voice_ctrl, ramp_ctrl, rate);
137 snd_gf1_write_addr(gus, SNDRV_GF1_VA_START, begin << 4, voice_ctrl & 4);
138 snd_gf1_write_addr(gus, SNDRV_GF1_VA_END, end << 4, voice_ctrl & 4);
139 snd_gf1_write_addr(gus, SNDRV_GF1_VA_CURRENT, curr << 4, voice_ctrl & 4);
156 snd_gf1_write8(gus, SNDRV_GF1_VB_ADDRESS_CONTROL, voice_ctrl);
157 voice_ctrl &= ~0x20;
159 voice_ctrl |= 0x20;
164 snd_gf1_write8(gus, SNDRV_GF1_VB_ADDRESS_CONTROL, voice_ctrl);
165 voice_ctrl &= ~0x20; /* disable IRQ for next voice */
176 unsigned char voice_ctrl, ramp_ctrl;
196 voice_ctrl = snd_gf1_read8(gus, SNDRV_GF1_VB_ADDRESS_CONTROL) & ~0x8b;
201 (snd_gf1_read_addr(gus, SNDRV_GF1_VA_CURRENT, voice_ctrl & 4) >> 4));
204 (snd_gf1_read_addr(gus, SNDRV_GF1_VA_CURRENT, voice_ctrl & 4) >> 4));
210 voice_ctrl |= 0x08; /* enable loop */
215 end -= voice_ctrl & 4 ? 2 : 1;
217 voice_ctrl |= 0x20;
224 snd_gf1_write_addr(gus, SNDRV_GF1_VA_END, end << 4, voice_ctrl & 4);
225 snd_gf1_write8(gus, SNDRV_GF1_VB_ADDRESS_CONTROL, voice_ctrl);
227 voice_ctrl &= ~0x20;
231 voice_ctrl |= 0x20;
234 snd_gf1_write8(gus, SNDRV_GF1_VB_ADDRESS_CONTROL, voice_ctrl);
236 voice_ctrl &= ~0x20;
517 unsigned char voice_ctrl;
523 voice_ctrl = snd_gf1_read8(gus, SNDRV_GF1_VB_ADDRESS_CONTROL);
524 pos = (snd_gf1_read_addr(gus, SNDRV_GF1_VA_CURRENT, voice_ctrl & 4) >> 4) - pcmp->memory;