Home
last modified time | relevance | path

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

/sound/isa/gus/
Dgus_reset.c107 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()
[all …]
Dgus_timer.c43 snd_gf1_write8(gus, SNDRV_GF1_GB_ADLIB_TIMER_1, 256 - ticks); /* timer 1 count */ in snd_gf1_timer1_start()
44 snd_gf1_write8(gus, SNDRV_GF1_GB_SOUND_BLASTER_CONTROL, tmp); /* enable timer 1 IRQ */ in snd_gf1_timer1_start()
59 snd_gf1_write8(gus, SNDRV_GF1_GB_SOUND_BLASTER_CONTROL, tmp); /* disable timer #1 */ in snd_gf1_timer1_stop()
79 snd_gf1_write8(gus, SNDRV_GF1_GB_ADLIB_TIMER_2, 256 - ticks); /* timer 2 count */ in snd_gf1_timer2_start()
80 snd_gf1_write8(gus, SNDRV_GF1_GB_SOUND_BLASTER_CONTROL, tmp); /* enable timer 2 IRQ */ in snd_gf1_timer2_start()
95 snd_gf1_write8(gus, SNDRV_GF1_GB_SOUND_BLASTER_CONTROL, tmp); /* disable timer #1 */ in snd_gf1_timer2_stop()
Dinterwave.c279 snd_gf1_write8(gus, SNDRV_GF1_GB_VERSION_NUMBER, ~rev1); in snd_interwave_detect()
281 snd_gf1_write8(gus, SNDRV_GF1_GB_VERSION_NUMBER, rev1); in snd_interwave_detect()
324 snd_gf1_write8(gus, SNDRV_GF1_GB_RESET, 0x00); in snd_interwave_reset()
326 snd_gf1_write8(gus, SNDRV_GF1_GB_RESET, 0x01); in snd_interwave_reset()
396snd_gf1_write8(gus, SNDRV_GF1_GB_GLOBAL_MODE, snd_gf1_read8(gus, SNDRV_GF1_GB_GLOBAL_MODE) | 0x01)… in snd_interwave_detect_memory()
397 snd_gf1_write8(gus, SNDRV_GF1_GB_MEMORY_CONTROL, 0x01); /* DRAM I/O cycles selected */ in snd_interwave_detect_memory()
437 snd_gf1_write8(gus, SNDRV_GF1_GB_MEMORY_CONTROL, 0x03); /* select ROM */ in snd_interwave_detect_memory()
472 snd_gf1_write8(gus, SNDRV_GF1_GB_MEMORY_CONTROL, 0x00); /* select RAM */ in snd_interwave_detect_memory()
484 snd_gf1_write8(gus, SNDRV_GF1_GB_SOUND_BLASTER_CONTROL, 0x00); in snd_interwave_init()
485 snd_gf1_write8(gus, SNDRV_GF1_GB_COMPATIBILITY, 0x1f); in snd_interwave_init()
[all …]
Dgus_dram.c41 snd_gf1_write8(gus, SNDRV_GF1_GB_MEMORY_CONTROL, 0x01); in snd_gus_dram_poke()
77 snd_gf1_write8(gus, SNDRV_GF1_GB_MEMORY_CONTROL, rom ? 0x03 : 0x01); in snd_gus_dram_peek()
80 snd_gf1_write8(gus, SNDRV_GF1_GB_MEMORY_CONTROL, 0x01); in snd_gus_dram_peek()
Dgus_pcm.c143 snd_gf1_write8(gus, SNDRV_GF1_VB_PAN, pan); in snd_gf1_pcm_trigger_up()
149 snd_gf1_write8(gus, SNDRV_GF1_VB_VOLUME_RATE, 0x2f); in snd_gf1_pcm_trigger_up()
150 snd_gf1_write8(gus, SNDRV_GF1_VB_VOLUME_START, SNDRV_GF1_MIN_OFFSET); in snd_gf1_pcm_trigger_up()
151 snd_gf1_write8(gus, SNDRV_GF1_VB_VOLUME_END, vol >> 8); in snd_gf1_pcm_trigger_up()
152 snd_gf1_write8(gus, SNDRV_GF1_VB_VOLUME_CONTROL, ramp_ctrl); in snd_gf1_pcm_trigger_up()
155 snd_gf1_write8(gus, SNDRV_GF1_VB_VOLUME_CONTROL, ramp_ctrl); in snd_gf1_pcm_trigger_up()
163 snd_gf1_write8(gus, SNDRV_GF1_VB_MODE, 0x00); /* deactivate voice */ in snd_gf1_pcm_trigger_up()
164 snd_gf1_write8(gus, SNDRV_GF1_VB_ADDRESS_CONTROL, voice_ctrl); in snd_gf1_pcm_trigger_up()
172 snd_gf1_write8(gus, SNDRV_GF1_VB_ADDRESS_CONTROL, voice_ctrl); in snd_gf1_pcm_trigger_up()
231 snd_gf1_write8(gus, SNDRV_GF1_VB_ADDRESS_CONTROL, voice_ctrl); in snd_gf1_pcm_interrupt_wave()
[all …]
Dgus_dma.c32 snd_gf1_write8(gus, SNDRV_GF1_GB_DRAM_DMA_CONTROL, 0x00); in snd_gf1_dma_ack()
86 snd_gf1_write8(gus, SNDRV_GF1_GB_DRAM_DMA_HIGH, (unsigned char) address_high); in snd_gf1_dma_program()
89 snd_gf1_write8(gus, SNDRV_GF1_GB_DRAM_DMA_CONTROL, dma_cmd); in snd_gf1_dma_program()
Dgus_main.c79 snd_gf1_write8(gus, SNDRV_GF1_GB_JOYSTICK_DAC_LEVEL, gus->joystick_dac); in snd_gus_joystick_put()
427 EXPORT_SYMBOL(snd_gf1_write8);
Dgus_io.c145 void snd_gf1_write8(struct snd_gus_card * gus, in snd_gf1_write8() function