Lines Matching refs:emu

24 snd_emu8000_open_dma(struct snd_emu8000 *emu, int write)  in snd_emu8000_open_dma()  argument
30 snd_emux_lock_voice(emu->emu, i); in snd_emu8000_open_dma()
31 snd_emu8000_dma_chan(emu, i, write); in snd_emu8000_open_dma()
35 EMU8000_VTFT_WRITE(emu, 30, 0); in snd_emu8000_open_dma()
36 EMU8000_PSST_WRITE(emu, 30, 0x1d8); in snd_emu8000_open_dma()
37 EMU8000_CSL_WRITE(emu, 30, 0x1e0); in snd_emu8000_open_dma()
38 EMU8000_CCCA_WRITE(emu, 30, 0x1d8); in snd_emu8000_open_dma()
39 EMU8000_VTFT_WRITE(emu, 31, 0); in snd_emu8000_open_dma()
40 EMU8000_PSST_WRITE(emu, 31, 0x1d8); in snd_emu8000_open_dma()
41 EMU8000_CSL_WRITE(emu, 31, 0x1e0); in snd_emu8000_open_dma()
42 EMU8000_CCCA_WRITE(emu, 31, 0x1d8); in snd_emu8000_open_dma()
51 snd_emu8000_close_dma(struct snd_emu8000 *emu) in snd_emu8000_close_dma() argument
56 snd_emu8000_dma_chan(emu, i, EMU8000_RAM_CLOSE); in snd_emu8000_close_dma()
57 snd_emux_unlock_voice(emu->emu, i); in snd_emu8000_close_dma()
98 snd_emu8000_write_wait(struct snd_emu8000 *emu) in snd_emu8000_write_wait() argument
100 while ((EMU8000_SMALW_READ(emu) & 0x80000000) != 0) { in snd_emu8000_write_wait()
120 write_word(struct snd_emu8000 *emu, int *offset, unsigned short data) in write_word() argument
124 snd_emu8000_write_wait(emu); in write_word()
125 EMU8000_SMALW_WRITE(emu, *offset); in write_word()
127 EMU8000_SMLD_WRITE(emu, data); in write_word()
145 struct snd_emu8000 *emu; in snd_emu8000_sample_new() local
147 emu = rec->hw; in snd_emu8000_sample_new()
193 snd_emux_terminate_all(emu->emu); in snd_emu8000_sample_new()
194 rc = snd_emu8000_open_dma(emu, EMU8000_RAM_WRITE); in snd_emu8000_sample_new()
199 snd_emu8000_write_wait(emu); in snd_emu8000_sample_new()
200 EMU8000_SMALW_WRITE(emu, dram_offset); in snd_emu8000_sample_new()
208 write_word(emu, &dram_offset, 0); in snd_emu8000_sample_new()
219 write_word(emu, &dram_offset, s); in snd_emu8000_sample_new()
235 write_word(emu, &dram_offset, s); in snd_emu8000_sample_new()
250 write_word(emu, &dram_offset, 0); in snd_emu8000_sample_new()
264 snd_emu8000_close_dma(emu); in snd_emu8000_sample_new()
265 snd_emu8000_init_fm(emu); in snd_emu8000_sample_new()