Home
last modified time | relevance | path

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

/linux/sound/isa/gus/
H A Dgus_reset.c85 snd_gf1_write8(gus, 0x41, 0); /* DRAM DMA Control Register */ in snd_gf1_clear_regs()
86 snd_gf1_write8(gus, 0x45, 0); /* Timer Control */ in snd_gf1_clear_regs()
87 snd_gf1_write8(gus, 0x49, 0); /* Sampling Control Register */ in snd_gf1_clear_regs()
128 snd_gf1_write8(gus, SNDRV_GF1_VB_ACCUMULATOR, 0); in snd_gf1_stop_voice()
148 snd_gf1_write8(gus, SNDRV_GF1_VB_MODE, gus->gf1.memory ? 0x02 : 0x82); /* Deactivate voice */ in snd_gf1_clear_voices()
153 snd_gf1_write8(gus, SNDRV_GF1_VB_VOLUME_START, 0); in snd_gf1_clear_voices()
154 snd_gf1_write8(gus, SNDRV_GF1_VB_VOLUME_END, 0); in snd_gf1_clear_voices()
155 snd_gf1_write8(gus, SNDRV_GF1_VB_VOLUME_RATE, 0); in snd_gf1_clear_voices()
158 snd_gf1_write8(gus, SNDRV_GF1_VB_PAN, 7); in snd_gf1_clear_voices()
160 snd_gf1_write8(gus, SNDRV_GF1_VB_ACCUMULATOR, 0); in snd_gf1_clear_voices()
[all …]
H A Dgus_timer.c27 snd_gf1_write8(gus, SNDRV_GF1_GB_ADLIB_TIMER_1, 256 - ticks); /* timer 1 count */ in snd_gf1_timer1_start()
28 snd_gf1_write8(gus, SNDRV_GF1_GB_SOUND_BLASTER_CONTROL, tmp); /* enable timer 1 IRQ */ in snd_gf1_timer1_start()
41 snd_gf1_write8(gus, SNDRV_GF1_GB_SOUND_BLASTER_CONTROL, tmp); /* disable timer #1 */ in snd_gf1_timer1_stop()
59 snd_gf1_write8(gus, SNDRV_GF1_GB_ADLIB_TIMER_2, 256 - ticks); /* timer 2 count */ in snd_gf1_timer2_start()
60 snd_gf1_write8(gus, SNDRV_GF1_GB_SOUND_BLASTER_CONTROL, tmp); /* enable timer 2 IRQ */ in snd_gf1_timer2_start()
73 snd_gf1_write8(gus, SNDRV_GF1_GB_SOUND_BLASTER_CONTROL, tmp); /* disable timer #1 */ in snd_gf1_timer2_stop()
H A Dinterwave.c261 snd_gf1_write8(gus, SNDRV_GF1_GB_VERSION_NUMBER, ~rev1); in snd_interwave_detect()
263 snd_gf1_write8(gus, SNDRV_GF1_GB_VERSION_NUMBER, rev1); in snd_interwave_detect()
309 snd_gf1_write8(gus, SNDRV_GF1_GB_RESET, 0x00); in snd_interwave_reset()
311 snd_gf1_write8(gus, SNDRV_GF1_GB_RESET, 0x01); in snd_interwave_reset()
383snd_gf1_write8(gus, SNDRV_GF1_GB_GLOBAL_MODE, snd_gf1_read8(gus, SNDRV_GF1_GB_GLOBAL_MODE) | 0x01)… in snd_interwave_detect_memory()
384 snd_gf1_write8(gus, SNDRV_GF1_GB_MEMORY_CONTROL, 0x01); /* DRAM I/O cycles selected */ in snd_interwave_detect_memory()
424 snd_gf1_write8(gus, SNDRV_GF1_GB_MEMORY_CONTROL, 0x03); /* select ROM */ in snd_interwave_detect_memory()
451 snd_gf1_write8(gus, SNDRV_GF1_GB_MEMORY_CONTROL, 0x00); /* select RAM */ in snd_interwave_detect_memory()
461 snd_gf1_write8(gus, SNDRV_GF1_GB_SOUND_BLASTER_CONTROL, 0x00); in snd_interwave_init()
462 snd_gf1_write8(gus, SNDRV_GF1_GB_COMPATIBILITY, 0x1f); in snd_interwave_init()
[all …]
H A Dgus_pcm.c123 snd_gf1_write8(gus, SNDRV_GF1_VB_PAN, pan); in snd_gf1_pcm_trigger_up()
129 snd_gf1_write8(gus, SNDRV_GF1_VB_VOLUME_RATE, 0x2f); in snd_gf1_pcm_trigger_up()
130 snd_gf1_write8(gus, SNDRV_GF1_VB_VOLUME_START, SNDRV_GF1_MIN_OFFSET); in snd_gf1_pcm_trigger_up()
131 snd_gf1_write8(gus, SNDRV_GF1_VB_VOLUME_END, vol >> 8); in snd_gf1_pcm_trigger_up()
132 snd_gf1_write8(gus, SNDRV_GF1_VB_VOLUME_CONTROL, ramp_ctrl); in snd_gf1_pcm_trigger_up()
135 snd_gf1_write8(gus, SNDRV_GF1_VB_VOLUME_CONTROL, ramp_ctrl); in snd_gf1_pcm_trigger_up()
143 snd_gf1_write8(gus, SNDRV_GF1_VB_MODE, 0x00); /* deactivate voice */ in snd_gf1_pcm_trigger_up()
144 snd_gf1_write8(gus, SNDRV_GF1_VB_ADDRESS_CONTROL, voice_ctrl); in snd_gf1_pcm_trigger_up()
152 snd_gf1_write8(gus, SNDRV_GF1_VB_ADDRESS_CONTROL, voice_ctrl); in snd_gf1_pcm_trigger_up()
212 snd_gf1_write8(gus, SNDRV_GF1_VB_ADDRESS_CONTROL, voice_ctrl); in snd_gf1_pcm_interrupt_wave()
[all …]
H A Dgus_dram.c25 snd_gf1_write8(gus, SNDRV_GF1_GB_MEMORY_CONTROL, 0x01); in snd_gus_dram_poke()
59 snd_gf1_write8(gus, SNDRV_GF1_GB_MEMORY_CONTROL, rom ? 0x03 : 0x01); in snd_gus_dram_peek()
62 snd_gf1_write8(gus, SNDRV_GF1_GB_MEMORY_CONTROL, 0x01); in snd_gus_dram_peek()
H A Dgus_dma.c15 snd_gf1_write8(gus, SNDRV_GF1_GB_DRAM_DMA_CONTROL, 0x00); in snd_gf1_dma_ack()
73 snd_gf1_write8(gus, SNDRV_GF1_GB_DRAM_DMA_HIGH, (unsigned char) address_high); in snd_gf1_dma_program()
76 snd_gf1_write8(gus, SNDRV_GF1_GB_DRAM_DMA_CONTROL, dma_cmd); in snd_gf1_dma_program()
H A Dgus_main.c52 snd_gf1_write8(gus, SNDRV_GF1_GB_JOYSTICK_DAC_LEVEL, gus->joystick_dac); in snd_gus_joystick_put()
409 EXPORT_SYMBOL(snd_gf1_write8);
H A Dgus_io.c130 void snd_gf1_write8(struct snd_gus_card * gus, in snd_gf1_write8() function
/linux/include/sound/
H A Dgus.h472 extern void snd_gf1_write8(struct snd_gus_card * gus, unsigned char reg, unsigned char data);