Home
last modified time | relevance | path

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

/Linux-v6.1/sound/isa/gus/
Dgus_reset.c90 snd_gf1_write8(gus, 0x41, 0); /* DRAM DMA Control Register */ in snd_gf1_clear_regs()
91 snd_gf1_write8(gus, 0x45, 0); /* Timer Control */ in snd_gf1_clear_regs()
92 snd_gf1_write8(gus, 0x49, 0); /* Sampling Control Register */ in snd_gf1_clear_regs()
138 snd_gf1_write8(gus, SNDRV_GF1_VB_ACCUMULATOR, 0); in snd_gf1_stop_voice()
164 snd_gf1_write8(gus, SNDRV_GF1_VB_MODE, gus->gf1.memory ? 0x02 : 0x82); /* Deactivate voice */ in snd_gf1_clear_voices()
169 snd_gf1_write8(gus, SNDRV_GF1_VB_VOLUME_START, 0); in snd_gf1_clear_voices()
170 snd_gf1_write8(gus, SNDRV_GF1_VB_VOLUME_END, 0); in snd_gf1_clear_voices()
171 snd_gf1_write8(gus, SNDRV_GF1_VB_VOLUME_RATE, 0); in snd_gf1_clear_voices()
174 snd_gf1_write8(gus, SNDRV_GF1_VB_PAN, 7); in snd_gf1_clear_voices()
176 snd_gf1_write8(gus, SNDRV_GF1_VB_ACCUMULATOR, 0); in snd_gf1_clear_voices()
[all …]
Dgus_timer.c28 snd_gf1_write8(gus, SNDRV_GF1_GB_ADLIB_TIMER_1, 256 - ticks); /* timer 1 count */ in snd_gf1_timer1_start()
29 snd_gf1_write8(gus, SNDRV_GF1_GB_SOUND_BLASTER_CONTROL, tmp); /* enable timer 1 IRQ */ in snd_gf1_timer1_start()
44 snd_gf1_write8(gus, SNDRV_GF1_GB_SOUND_BLASTER_CONTROL, tmp); /* disable timer #1 */ in snd_gf1_timer1_stop()
64 snd_gf1_write8(gus, SNDRV_GF1_GB_ADLIB_TIMER_2, 256 - ticks); /* timer 2 count */ in snd_gf1_timer2_start()
65 snd_gf1_write8(gus, SNDRV_GF1_GB_SOUND_BLASTER_CONTROL, tmp); /* enable timer 2 IRQ */ in snd_gf1_timer2_start()
80 snd_gf1_write8(gus, SNDRV_GF1_GB_SOUND_BLASTER_CONTROL, tmp); /* disable timer #1 */ in snd_gf1_timer2_stop()
Dinterwave.c264 snd_gf1_write8(gus, SNDRV_GF1_GB_VERSION_NUMBER, ~rev1); in snd_interwave_detect()
266 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()
463 snd_gf1_write8(gus, SNDRV_GF1_GB_SOUND_BLASTER_CONTROL, 0x00); in snd_interwave_init()
464 snd_gf1_write8(gus, SNDRV_GF1_GB_COMPATIBILITY, 0x1f); in snd_interwave_init()
[all …]
Dgus_dram.c26 snd_gf1_write8(gus, SNDRV_GF1_GB_MEMORY_CONTROL, 0x01); in snd_gus_dram_poke()
62 snd_gf1_write8(gus, SNDRV_GF1_GB_MEMORY_CONTROL, rom ? 0x03 : 0x01); in snd_gus_dram_peek()
65 snd_gf1_write8(gus, SNDRV_GF1_GB_MEMORY_CONTROL, 0x01); in snd_gus_dram_peek()
Dgus_pcm.c135 snd_gf1_write8(gus, SNDRV_GF1_VB_PAN, pan); in snd_gf1_pcm_trigger_up()
141 snd_gf1_write8(gus, SNDRV_GF1_VB_VOLUME_RATE, 0x2f); in snd_gf1_pcm_trigger_up()
142 snd_gf1_write8(gus, SNDRV_GF1_VB_VOLUME_START, SNDRV_GF1_MIN_OFFSET); in snd_gf1_pcm_trigger_up()
143 snd_gf1_write8(gus, SNDRV_GF1_VB_VOLUME_END, vol >> 8); in snd_gf1_pcm_trigger_up()
144 snd_gf1_write8(gus, SNDRV_GF1_VB_VOLUME_CONTROL, ramp_ctrl); in snd_gf1_pcm_trigger_up()
147 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_MODE, 0x00); /* deactivate voice */ in snd_gf1_pcm_trigger_up()
156 snd_gf1_write8(gus, SNDRV_GF1_VB_ADDRESS_CONTROL, voice_ctrl); in snd_gf1_pcm_trigger_up()
164 snd_gf1_write8(gus, SNDRV_GF1_VB_ADDRESS_CONTROL, voice_ctrl); in snd_gf1_pcm_trigger_up()
225 snd_gf1_write8(gus, SNDRV_GF1_VB_ADDRESS_CONTROL, voice_ctrl); in snd_gf1_pcm_interrupt_wave()
[all …]
Dgus_dma.c17 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()
Dgus_main.c65 snd_gf1_write8(gus, SNDRV_GF1_GB_JOYSTICK_DAC_LEVEL, gus->joystick_dac); in snd_gus_joystick_put()
420 EXPORT_SYMBOL(snd_gf1_write8);
Dgus_io.c130 void snd_gf1_write8(struct snd_gus_card * gus, in snd_gf1_write8() function
/Linux-v6.1/include/sound/
Dgus.h472 extern void snd_gf1_write8(struct snd_gus_card * gus, unsigned char reg, unsigned char data);