Home
last modified time | relevance | path

Searched refs:voice_ctrl (Results 1 – 1 of 1) sorted by relevance

/sound/isa/gus/
Dgus_pcm.c52 unsigned char voice_ctrl, ramp_ctrl; member
109 unsigned char voice_ctrl, ramp_ctrl; in snd_gf1_pcm_trigger_up() local
126 voice_ctrl = snd_pcm_format_width(runtime->format) == 16 ? 0x24 : 0x20; in snd_gf1_pcm_trigger_up()
130 voice_ctrl |= 0x08; /* loop enable */ in snd_gf1_pcm_trigger_up()
145 snd_gf1_write_addr(gus, SNDRV_GF1_VA_START, begin << 4, voice_ctrl & 4); in snd_gf1_pcm_trigger_up()
146 snd_gf1_write_addr(gus, SNDRV_GF1_VA_END, end << 4, voice_ctrl & 4); in snd_gf1_pcm_trigger_up()
147 snd_gf1_write_addr(gus, SNDRV_GF1_VA_CURRENT, curr << 4, voice_ctrl & 4); in snd_gf1_pcm_trigger_up()
164 snd_gf1_write8(gus, SNDRV_GF1_VB_ADDRESS_CONTROL, voice_ctrl); in snd_gf1_pcm_trigger_up()
165 voice_ctrl &= ~0x20; in snd_gf1_pcm_trigger_up()
167 voice_ctrl |= 0x20; in snd_gf1_pcm_trigger_up()
[all …]