Lines Matching refs:snd_gf1_write8
107 snd_gf1_write8(gus, 0x41, 0); /* DRAM DMA Control Register */ in snd_gf1_clear_regs()
108 snd_gf1_write8(gus, 0x45, 0); /* Timer Control */ in snd_gf1_clear_regs()
109 snd_gf1_write8(gus, 0x49, 0); /* Sampling Control Register */ in snd_gf1_clear_regs()
155 snd_gf1_write8(gus, SNDRV_GF1_VB_ACCUMULATOR, 0); in snd_gf1_stop_voice()
181 snd_gf1_write8(gus, SNDRV_GF1_VB_MODE, gus->gf1.memory ? 0x02 : 0x82); /* Deactivate voice */ in snd_gf1_clear_voices()
186 snd_gf1_write8(gus, SNDRV_GF1_VB_VOLUME_START, 0); in snd_gf1_clear_voices()
187 snd_gf1_write8(gus, SNDRV_GF1_VB_VOLUME_END, 0); in snd_gf1_clear_voices()
188 snd_gf1_write8(gus, SNDRV_GF1_VB_VOLUME_RATE, 0); in snd_gf1_clear_voices()
191 snd_gf1_write8(gus, SNDRV_GF1_VB_PAN, 7); in snd_gf1_clear_voices()
193 snd_gf1_write8(gus, SNDRV_GF1_VB_ACCUMULATOR, 0); in snd_gf1_clear_voices()
218 snd_gf1_write8(gus, SNDRV_GF1_VB_VOLUME_RATE, 20); /* ramp rate */ in snd_gf1_stop_voices()
219 snd_gf1_write8(gus, SNDRV_GF1_VB_VOLUME_START, SNDRV_GF1_MIN_OFFSET); /* ramp start */ in snd_gf1_stop_voices()
220 snd_gf1_write8(gus, SNDRV_GF1_VB_VOLUME_END, ramp_end); /* ramp end */ in snd_gf1_stop_voices()
221 snd_gf1_write8(gus, SNDRV_GF1_VB_VOLUME_CONTROL, 0x40); /* ramp down */ in snd_gf1_stop_voices()
224 snd_gf1_write8(gus, SNDRV_GF1_VB_VOLUME_CONTROL, 0x40); in snd_gf1_stop_voices()