/linux-4.4.14/sound/isa/gus/ |
H A D | gus_reset.c | 107 snd_gf1_write8(gus, 0x41, 0); /* DRAM DMA Control Register */ snd_gf1_clear_regs() 108 snd_gf1_write8(gus, 0x45, 0); /* Timer Control */ snd_gf1_clear_regs() 109 snd_gf1_write8(gus, 0x49, 0); /* Sampling Control Register */ snd_gf1_clear_regs() 155 snd_gf1_write8(gus, SNDRV_GF1_VB_ACCUMULATOR, 0); snd_gf1_stop_voice() 181 snd_gf1_write8(gus, SNDRV_GF1_VB_MODE, gus->gf1.memory ? 0x02 : 0x82); /* Deactivate voice */ snd_gf1_clear_voices() 186 snd_gf1_write8(gus, SNDRV_GF1_VB_VOLUME_START, 0); snd_gf1_clear_voices() 187 snd_gf1_write8(gus, SNDRV_GF1_VB_VOLUME_END, 0); snd_gf1_clear_voices() 188 snd_gf1_write8(gus, SNDRV_GF1_VB_VOLUME_RATE, 0); snd_gf1_clear_voices() 191 snd_gf1_write8(gus, SNDRV_GF1_VB_PAN, 7); snd_gf1_clear_voices() 193 snd_gf1_write8(gus, SNDRV_GF1_VB_ACCUMULATOR, 0); snd_gf1_clear_voices() 218 snd_gf1_write8(gus, SNDRV_GF1_VB_VOLUME_RATE, 20); /* ramp rate */ snd_gf1_stop_voices() 219 snd_gf1_write8(gus, SNDRV_GF1_VB_VOLUME_START, SNDRV_GF1_MIN_OFFSET); /* ramp start */ snd_gf1_stop_voices() 220 snd_gf1_write8(gus, SNDRV_GF1_VB_VOLUME_END, ramp_end); /* ramp end */ snd_gf1_stop_voices() 221 snd_gf1_write8(gus, SNDRV_GF1_VB_VOLUME_CONTROL, 0x40); /* ramp down */ snd_gf1_stop_voices() 224 snd_gf1_write8(gus, SNDRV_GF1_VB_VOLUME_CONTROL, 0x40); snd_gf1_stop_voices()
|
H A D | gus_timer.c | 43 snd_gf1_write8(gus, SNDRV_GF1_GB_ADLIB_TIMER_1, 256 - ticks); /* timer 1 count */ snd_gf1_timer1_start() 44 snd_gf1_write8(gus, SNDRV_GF1_GB_SOUND_BLASTER_CONTROL, tmp); /* enable timer 1 IRQ */ snd_gf1_timer1_start() 59 snd_gf1_write8(gus, SNDRV_GF1_GB_SOUND_BLASTER_CONTROL, tmp); /* disable timer #1 */ snd_gf1_timer1_stop() 79 snd_gf1_write8(gus, SNDRV_GF1_GB_ADLIB_TIMER_2, 256 - ticks); /* timer 2 count */ snd_gf1_timer2_start() 80 snd_gf1_write8(gus, SNDRV_GF1_GB_SOUND_BLASTER_CONTROL, tmp); /* enable timer 2 IRQ */ snd_gf1_timer2_start() 95 snd_gf1_write8(gus, SNDRV_GF1_GB_SOUND_BLASTER_CONTROL, tmp); /* disable timer #1 */ snd_gf1_timer2_stop()
|
H A D | gus_dram.c | 41 snd_gf1_write8(gus, SNDRV_GF1_GB_MEMORY_CONTROL, 0x01); snd_gus_dram_poke() 77 snd_gf1_write8(gus, SNDRV_GF1_GB_MEMORY_CONTROL, rom ? 0x03 : 0x01); snd_gus_dram_peek() 80 snd_gf1_write8(gus, SNDRV_GF1_GB_MEMORY_CONTROL, 0x01); snd_gus_dram_peek()
|
H A D | gus_pcm.c | 150 snd_gf1_write8(gus, SNDRV_GF1_VB_PAN, pan); snd_gf1_pcm_trigger_up() 156 snd_gf1_write8(gus, SNDRV_GF1_VB_VOLUME_RATE, 0x2f); snd_gf1_pcm_trigger_up() 157 snd_gf1_write8(gus, SNDRV_GF1_VB_VOLUME_START, SNDRV_GF1_MIN_OFFSET); snd_gf1_pcm_trigger_up() 158 snd_gf1_write8(gus, SNDRV_GF1_VB_VOLUME_END, vol >> 8); snd_gf1_pcm_trigger_up() 159 snd_gf1_write8(gus, SNDRV_GF1_VB_VOLUME_CONTROL, ramp_ctrl); snd_gf1_pcm_trigger_up() 162 snd_gf1_write8(gus, SNDRV_GF1_VB_VOLUME_CONTROL, ramp_ctrl); snd_gf1_pcm_trigger_up() 170 snd_gf1_write8(gus, SNDRV_GF1_VB_MODE, 0x00); /* deactivate voice */ snd_gf1_pcm_trigger_up() 171 snd_gf1_write8(gus, SNDRV_GF1_VB_ADDRESS_CONTROL, voice_ctrl); snd_gf1_pcm_trigger_up() 179 snd_gf1_write8(gus, SNDRV_GF1_VB_ADDRESS_CONTROL, voice_ctrl); snd_gf1_pcm_trigger_up() 240 snd_gf1_write8(gus, SNDRV_GF1_VB_ADDRESS_CONTROL, voice_ctrl); snd_gf1_pcm_interrupt_wave() 241 snd_gf1_write8(gus, SNDRV_GF1_VB_VOLUME_CONTROL, ramp_ctrl); snd_gf1_pcm_interrupt_wave() 249 snd_gf1_write8(gus, SNDRV_GF1_VB_ADDRESS_CONTROL, voice_ctrl); snd_gf1_pcm_interrupt_wave() 250 snd_gf1_write8(gus, SNDRV_GF1_VB_VOLUME_CONTROL, ramp_ctrl); snd_gf1_pcm_interrupt_wave() 323 snd_gf1_write8(gus, SNDRV_GF1_GB_MEMORY_CONTROL, 0x01 | (invert ? 0x08 : 0x00)); snd_gf1_pcm_poke_block() 610 snd_gf1_write8(gus, SNDRV_GF1_GB_REC_DMA_CONTROL, val); snd_gf1_pcm_capture_trigger()
|
H A D | interwave.c | 278 snd_gf1_write8(gus, SNDRV_GF1_GB_VERSION_NUMBER, ~rev1); snd_interwave_detect() 280 snd_gf1_write8(gus, SNDRV_GF1_GB_VERSION_NUMBER, rev1); snd_interwave_detect() 323 snd_gf1_write8(gus, SNDRV_GF1_GB_RESET, 0x00); snd_interwave_reset() 325 snd_gf1_write8(gus, SNDRV_GF1_GB_RESET, 0x01); snd_interwave_reset() 397 snd_gf1_write8(gus, SNDRV_GF1_GB_GLOBAL_MODE, snd_gf1_read8(gus, SNDRV_GF1_GB_GLOBAL_MODE) | 0x01); /* enhanced mode */ snd_interwave_detect_memory() 398 snd_gf1_write8(gus, SNDRV_GF1_GB_MEMORY_CONTROL, 0x01); /* DRAM I/O cycles selected */ snd_interwave_detect_memory() 438 snd_gf1_write8(gus, SNDRV_GF1_GB_MEMORY_CONTROL, 0x03); /* select ROM */ snd_interwave_detect_memory() 465 snd_gf1_write8(gus, SNDRV_GF1_GB_MEMORY_CONTROL, 0x00); /* select RAM */ snd_interwave_detect_memory() 477 snd_gf1_write8(gus, SNDRV_GF1_GB_SOUND_BLASTER_CONTROL, 0x00); snd_interwave_init() 478 snd_gf1_write8(gus, SNDRV_GF1_GB_COMPATIBILITY, 0x1f); snd_interwave_init() 479 snd_gf1_write8(gus, SNDRV_GF1_GB_DECODE_CONTROL, 0x49); snd_interwave_init() 480 snd_gf1_write8(gus, SNDRV_GF1_GB_VERSION_NUMBER, 0x11); snd_interwave_init() 481 snd_gf1_write8(gus, SNDRV_GF1_GB_MPU401_CONTROL_A, 0x00); snd_interwave_init() 482 snd_gf1_write8(gus, SNDRV_GF1_GB_MPU401_CONTROL_B, 0x30); snd_interwave_init() 483 snd_gf1_write8(gus, SNDRV_GF1_GB_EMULATION_IRQ, 0x00); snd_interwave_init()
|
H A D | gus_dma.c | 32 snd_gf1_write8(gus, SNDRV_GF1_GB_DRAM_DMA_CONTROL, 0x00); snd_gf1_dma_ack() 88 snd_gf1_write8(gus, SNDRV_GF1_GB_DRAM_DMA_HIGH, (unsigned char) address_high); snd_gf1_dma_program() 91 snd_gf1_write8(gus, SNDRV_GF1_GB_DRAM_DMA_CONTROL, dma_cmd); snd_gf1_dma_program()
|
H A D | gus_main.c | 80 snd_gf1_write8(gus, SNDRV_GF1_GB_JOYSTICK_DAC_LEVEL, gus->joystick_dac); snd_gus_joystick_put() 428 EXPORT_SYMBOL(snd_gf1_write8); variable
|
H A D | gus_io.c | 145 void snd_gf1_write8(struct snd_gus_card * gus, snd_gf1_write8() function
|
/linux-4.4.14/include/sound/ |
H A D | gus.h | 487 extern void snd_gf1_write8(struct snd_gus_card * gus, unsigned char reg, unsigned char data);
|