Home
last modified time | relevance | path

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

/Linux-v6.6/sound/isa/gus/
Dgus_pcm.c39 unsigned char voice_ctrl, ramp_ctrl; member
97 unsigned char voice_ctrl, ramp_ctrl; in snd_gf1_pcm_trigger_up() local
114 voice_ctrl = snd_pcm_format_width(runtime->format) == 16 ? 0x24 : 0x20; in snd_gf1_pcm_trigger_up()
118 voice_ctrl |= 0x08; /* loop enable */ in snd_gf1_pcm_trigger_up()
137 snd_gf1_write_addr(gus, SNDRV_GF1_VA_START, begin << 4, voice_ctrl & 4); in snd_gf1_pcm_trigger_up()
138 snd_gf1_write_addr(gus, SNDRV_GF1_VA_END, end << 4, voice_ctrl & 4); in snd_gf1_pcm_trigger_up()
139 snd_gf1_write_addr(gus, SNDRV_GF1_VA_CURRENT, curr << 4, voice_ctrl & 4); in snd_gf1_pcm_trigger_up()
156 snd_gf1_write8(gus, SNDRV_GF1_VB_ADDRESS_CONTROL, voice_ctrl); in snd_gf1_pcm_trigger_up()
157 voice_ctrl &= ~0x20; in snd_gf1_pcm_trigger_up()
159 voice_ctrl |= 0x20; in snd_gf1_pcm_trigger_up()
[all …]