Searched refs:tram (Results 1 - 3 of 3) sorted by relevance

/linux-4.1.27/sound/pci/emu10k1/
H A Demufx.c574 int tram; snd_emu10k1_tram_poke() local
577 for (tram = 0; tram < (emu->audigy ? 0x100 : 0xa0); tram++) { snd_emu10k1_tram_poke()
578 if (!test_bit(tram, icode->tram_valid)) snd_emu10k1_tram_poke()
580 if (get_user(val, &icode->tram_data_map[tram]) || snd_emu10k1_tram_poke()
581 get_user(addr, &icode->tram_addr_map[tram])) snd_emu10k1_tram_poke()
583 snd_emu10k1_ptr_write(emu, TANKMEMDATAREGBASE + tram, 0, val); snd_emu10k1_tram_poke()
585 snd_emu10k1_ptr_write(emu, TANKMEMADDRREGBASE + tram, 0, addr); snd_emu10k1_tram_poke()
587 snd_emu10k1_ptr_write(emu, TANKMEMADDRREGBASE + tram, 0, addr << 12); snd_emu10k1_tram_poke()
588 snd_emu10k1_ptr_write(emu, A_TANKMEMCTLREGBASE + tram, 0, addr >> 20); snd_emu10k1_tram_poke()
597 int tram; snd_emu10k1_tram_peek() local
601 for (tram = 0; tram < (emu->audigy ? 0x100 : 0xa0); tram++) { snd_emu10k1_tram_peek()
602 set_bit(tram, icode->tram_valid); snd_emu10k1_tram_peek()
603 val = snd_emu10k1_ptr_read(emu, TANKMEMDATAREGBASE + tram, 0); snd_emu10k1_tram_peek()
605 addr = snd_emu10k1_ptr_read(emu, TANKMEMADDRREGBASE + tram, 0); snd_emu10k1_tram_peek()
607 addr = snd_emu10k1_ptr_read(emu, TANKMEMADDRREGBASE + tram, 0) >> 12; snd_emu10k1_tram_peek()
608 addr |= snd_emu10k1_ptr_read(emu, A_TANKMEMCTLREGBASE + tram, 0) << 20; snd_emu10k1_tram_peek()
610 if (put_user(val, &icode->tram_data_map[tram]) || snd_emu10k1_tram_peek()
611 put_user(addr, &icode->tram_addr_map[tram])) snd_emu10k1_tram_peek()
/linux-4.1.27/include/uapi/sound/
H A Demu10k1.h244 #define EMU10K1_DBG_ZC 0x80000000 /* zero tram counter */
/linux-4.1.27/include/sound/
H A Demu10k1.h727 #define A_DBG_ZC 0x40000000 /* zero tram counter */

Completed in 138 milliseconds