/Linux-v5.10/sound/pci/emu10k1/ |
D | emu10k1_callback.c | 123 snd_emu10k1_ptr_write(hw, DCYSUSM, vp->ch, dcysusv); in release_voice() 125 snd_emu10k1_ptr_write(hw, DCYSUSV, vp->ch, dcysusv); in release_voice() 140 snd_emu10k1_ptr_write(hw, DCYSUSV, vp->ch, 0x807f | DCYSUSV_CHANNELENABLE_MASK); in terminate_voice() 163 snd_emu10k1_ptr_write(hw, IFATN, vp->ch, 0xff00); in free_voice() 164 snd_emu10k1_ptr_write(hw, DCYSUSV, vp->ch, 0x807f | DCYSUSV_CHANNELENABLE_MASK); in free_voice() 166 snd_emu10k1_ptr_write(hw, VTFT, vp->ch, 0xffff); in free_voice() 167 snd_emu10k1_ptr_write(hw, CVCF, vp->ch, 0xffff); in free_voice() 185 snd_emu10k1_ptr_write(hw, IFATN_ATTENUATION, vp->ch, vp->avol); in update_voice() 187 snd_emu10k1_ptr_write(hw, IP, vp->ch, vp->apitch); in update_voice() 189 snd_emu10k1_ptr_write(hw, PTRX_FXSENDAMOUNT_A, vp->ch, vp->apan); in update_voice() [all …]
|
D | emu10k1_main.c | 60 snd_emu10k1_ptr_write(emu, DCYSUSV, ch, 0); in snd_emu10k1_voice_init() 61 snd_emu10k1_ptr_write(emu, IP, ch, 0); in snd_emu10k1_voice_init() 62 snd_emu10k1_ptr_write(emu, VTFT, ch, 0xffff); in snd_emu10k1_voice_init() 63 snd_emu10k1_ptr_write(emu, CVCF, ch, 0xffff); in snd_emu10k1_voice_init() 64 snd_emu10k1_ptr_write(emu, PTRX, ch, 0); in snd_emu10k1_voice_init() 65 snd_emu10k1_ptr_write(emu, CPF, ch, 0); in snd_emu10k1_voice_init() 66 snd_emu10k1_ptr_write(emu, CCR, ch, 0); in snd_emu10k1_voice_init() 68 snd_emu10k1_ptr_write(emu, PSST, ch, 0); in snd_emu10k1_voice_init() 69 snd_emu10k1_ptr_write(emu, DSL, ch, 0x10); in snd_emu10k1_voice_init() 70 snd_emu10k1_ptr_write(emu, CCCA, ch, 0); in snd_emu10k1_voice_init() [all …]
|
D | emupcm.c | 324 snd_emu10k1_ptr_write(emu, CPF, voice, CPF_STEREO_MASK); in snd_emu10k1_pcm_init_voice() 325 snd_emu10k1_ptr_write(emu, CPF, (voice + 1), CPF_STEREO_MASK); in snd_emu10k1_pcm_init_voice() 327 snd_emu10k1_ptr_write(emu, CPF, voice, 0); in snd_emu10k1_pcm_init_voice() 333 snd_emu10k1_ptr_write(emu, A_FXRT1, voice, in snd_emu10k1_pcm_init_voice() 335 snd_emu10k1_ptr_write(emu, A_FXRT2, voice, in snd_emu10k1_pcm_init_voice() 337 snd_emu10k1_ptr_write(emu, A_SENDAMOUNTS, voice, in snd_emu10k1_pcm_init_voice() 343 snd_emu10k1_ptr_write(emu, FXRT, voice, in snd_emu10k1_pcm_init_voice() 347 snd_emu10k1_ptr_write(emu, PTRX, voice, (send_amount[0] << 8) | send_amount[1]); in snd_emu10k1_pcm_init_voice() 348 snd_emu10k1_ptr_write(emu, DSL, voice, end_addr | (send_amount[3] << 24)); in snd_emu10k1_pcm_init_voice() 349 snd_emu10k1_ptr_write(emu, PSST, voice, in snd_emu10k1_pcm_init_voice() [all …]
|
D | emufx.c | 356 snd_emu10k1_ptr_write(emu, emu->gpr_base + ctl->gpr[i], 0, val); in snd_emu10k1_gpr_ctl_put() 359 snd_emu10k1_ptr_write(emu, emu->gpr_base + ctl->gpr[i], 0, db_table[val]); in snd_emu10k1_gpr_ctl_put() 367 … snd_emu10k1_ptr_write(emu, emu->gpr_base + ctl->gpr[j * ctl->vcount + i], 0, bass_table[val][j]); in snd_emu10k1_gpr_ctl_put() 375 …snd_emu10k1_ptr_write(emu, emu->gpr_base + ctl->gpr[j * ctl->vcount + i], 0, treble_table[val][j]); in snd_emu10k1_gpr_ctl_put() 378 snd_emu10k1_ptr_write(emu, emu->gpr_base + ctl->gpr[i], 0, onoff_table[val]); in snd_emu10k1_gpr_ctl_put() 401 snd_emu10k1_ptr_write(emu, emu->gpr_base + irq->gpr_running, 0, 1); in snd_emu10k1_fx8010_interrupt() 496 snd_emu10k1_ptr_write(emu, pc, 0, data); in snd_emu10k1_efx_write() 519 snd_emu10k1_ptr_write(emu, emu->gpr_base + gpr, 0, val); in snd_emu10k1_gpr_poke() 557 snd_emu10k1_ptr_write(emu, TANKMEMDATAREGBASE + tram, 0, val); in snd_emu10k1_tram_poke() 559 snd_emu10k1_ptr_write(emu, TANKMEMADDRREGBASE + tram, 0, addr); in snd_emu10k1_tram_poke() [all …]
|
D | p16v.c | 315 snd_emu10k1_ptr_write(emu, A_SPDIF_SAMPLERATE, channel, (tmp & ~0xe0e0) | 0x8080); in snd_p16v_pcm_prepare_playback() 318 snd_emu10k1_ptr_write(emu, A_SPDIF_SAMPLERATE, channel, (tmp & ~0xe0e0) | 0x4040); in snd_p16v_pcm_prepare_playback() 321 snd_emu10k1_ptr_write(emu, A_SPDIF_SAMPLERATE, channel, (tmp & ~0xe0e0) | 0x2020); in snd_p16v_pcm_prepare_playback() 325 snd_emu10k1_ptr_write(emu, A_SPDIF_SAMPLERATE, channel, (tmp & ~0xe0e0) | 0x0000); in snd_p16v_pcm_prepare_playback() 366 snd_emu10k1_ptr_write(emu, A_SPDIF_SAMPLERATE, channel, (tmp & ~0x0e00) | 0x0800); in snd_p16v_pcm_prepare_capture() 369 snd_emu10k1_ptr_write(emu, A_SPDIF_SAMPLERATE, channel, (tmp & ~0x0e00) | 0x0400); in snd_p16v_pcm_prepare_capture() 372 snd_emu10k1_ptr_write(emu, A_SPDIF_SAMPLERATE, channel, (tmp & ~0x0e00) | 0x0200); in snd_p16v_pcm_prepare_capture() 376 snd_emu10k1_ptr_write(emu, A_SPDIF_SAMPLERATE, channel, (tmp & ~0x0e00) | 0x0000); in snd_p16v_pcm_prepare_capture()
|
D | emumixer.c | 1123 snd_emu10k1_ptr_write(emu, A_SPDIF_SAMPLERATE, 0, tmp); 1159 snd_emu10k1_ptr_write(emu, SPCS0 + idx, 0, val); in snd_emu10k1_spdif_put() 1190 snd_emu10k1_ptr_write(emu, A_FXRT1, voice, in update_emu10k1_fxrt() 1192 snd_emu10k1_ptr_write(emu, A_FXRT2, voice, in update_emu10k1_fxrt() 1195 snd_emu10k1_ptr_write(emu, FXRT, voice, in update_emu10k1_fxrt() 1202 snd_emu10k1_ptr_write(emu, PTRX_FXSENDAMOUNT_A, voice, volume[0]); in update_emu10k1_send_volume() 1203 snd_emu10k1_ptr_write(emu, PTRX_FXSENDAMOUNT_B, voice, volume[1]); in update_emu10k1_send_volume() 1204 snd_emu10k1_ptr_write(emu, PSST_FXSENDAMOUNT_C, voice, volume[2]); in update_emu10k1_send_volume() 1205 snd_emu10k1_ptr_write(emu, DSL_FXSENDAMOUNT_D, voice, volume[3]); in update_emu10k1_send_volume() 1211 snd_emu10k1_ptr_write(emu, A_SENDAMOUNTS, voice, val); in update_emu10k1_send_volume() [all …]
|
D | io.c | 54 void snd_emu10k1_ptr_write(struct snd_emu10k1 *emu, unsigned int reg, unsigned int chn, unsigned in… in snd_emu10k1_ptr_write() function 86 EXPORT_SYMBOL(snd_emu10k1_ptr_write);
|
D | emumpu401.c | 28 snd_emu10k1_ptr_write(emu, mpu->port + idx, 0, data); in mpu401_write()
|
/Linux-v5.10/include/sound/ |
D | emu10k1.h | 1824 void snd_emu10k1_ptr_write(struct snd_emu10k1 *emu, unsigned int reg, unsigned int chn, unsigned in…
|