/linux-6.12.1/sound/pci/emu10k1/ |
D | emu10k1_callback.c | 187 snd_emu10k1_ptr_write(hw, IFATN_ATTENUATION, vp->ch, vp->avol); in update_voice() 189 snd_emu10k1_ptr_write(hw, IP, vp->ch, vp->apitch); in update_voice() 191 snd_emu10k1_ptr_write(hw, PTRX_FXSENDAMOUNT_A, vp->ch, vp->apan); in update_voice() 192 snd_emu10k1_ptr_write(hw, PTRX_FXSENDAMOUNT_B, vp->ch, vp->aaux); in update_voice() 195 snd_emu10k1_ptr_write(hw, FMMOD, vp->ch, make_fmmod(vp)); in update_voice() 197 snd_emu10k1_ptr_write(hw, TREMFRQ, vp->ch, vp->reg.parm.tremfrq); in update_voice() 199 snd_emu10k1_ptr_write(hw, FM2FRQ2, vp->ch, make_fm2frq2(vp)); in update_voice() 201 snd_emu10k1_ptr_write(hw, CCCA_RESONANCE, vp->ch, vp->reg.parm.filterQ); in update_voice() 346 snd_emu10k1_ptr_write(hw, A_FXRT1, ch, temp); in start_voice() 350 snd_emu10k1_ptr_write(hw, FXRT, ch, temp); in start_voice()
|
D | emufx.c | 379 snd_emu10k1_ptr_write(emu, emu->gpr_base + ctl->gpr[i], 0, val); in snd_emu10k1_gpr_ctl_put() 382 snd_emu10k1_ptr_write(emu, emu->gpr_base + ctl->gpr[i], 0, ~val); in snd_emu10k1_gpr_ctl_put() 385 snd_emu10k1_ptr_write(emu, emu->gpr_base + ctl->gpr[i], 0, db_table[val]); in snd_emu10k1_gpr_ctl_put() 388 snd_emu10k1_ptr_write(emu, emu->gpr_base + ctl->gpr[i], 0, in snd_emu10k1_gpr_ctl_put() 397 … 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() 405 …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() 408 snd_emu10k1_ptr_write(emu, emu->gpr_base + ctl->gpr[i], 0, onoff_table[val]); in snd_emu10k1_gpr_ctl_put() 430 snd_emu10k1_ptr_write(emu, emu->gpr_base + irq->gpr_running, 0, 1); in snd_emu10k1_fx8010_interrupt() 526 snd_emu10k1_ptr_write(emu, pc, 0, data); in snd_emu10k1_efx_write() 549 snd_emu10k1_ptr_write(emu, emu->gpr_base + gpr, 0, val); in snd_emu10k1_gpr_poke() [all …]
|
D | emupcm.c | 305 snd_emu10k1_ptr_write(emu, A_CSBA + i, voice, (amh << 16) | aml); in snd_emu10k1_pcm_init_voice() 308 snd_emu10k1_ptr_write(emu, FXRT, voice, in snd_emu10k1_pcm_init_voice() 506 snd_emu10k1_ptr_write(emu, epcm->capture_bs_reg, 0, 0); in snd_emu10k1_capture_prepare() 509 snd_emu10k1_ptr_write(emu, ADCCR, 0, 0); in snd_emu10k1_capture_prepare() 524 snd_emu10k1_ptr_write(emu, FXWC, 0, 0); in snd_emu10k1_capture_prepare() 529 snd_emu10k1_ptr_write(emu, epcm->capture_ba_reg, 0, runtime->dma_addr); in snd_emu10k1_capture_prepare() 570 snd_emu10k1_ptr_write(emu, CD0 + i, voice, sample); in snd_emu10k1_playback_fill_cache() 576 snd_emu10k1_ptr_write(emu, CCR, voice + 1, ccr); in snd_emu10k1_playback_fill_cache() 578 snd_emu10k1_ptr_write(emu, CCR, voice, ccr); in snd_emu10k1_playback_fill_cache() 601 snd_emu10k1_ptr_write(emu, CCCA_CURRADDR, voice, loop_start); in snd_emu10k1_playback_prepare_voices() [all …]
|
D | emu10k1_main.c | 171 snd_emu10k1_ptr_write(emu, SPBYPASS, 0, SPBYPASS_FORMAT); in snd_emu10k1_init() 173 snd_emu10k1_ptr_write(emu, AC97SLOT, 0, AC97SLOT_REAR_RIGHT | in snd_emu10k1_init() 191 snd_emu10k1_ptr_write(emu, A_I2S_CAPTURE_RATE, 0, A_I2S_CAPTURE_96000); in snd_emu10k1_init() 207 snd_emu10k1_ptr_write(emu, A_I2S_CAPTURE_RATE, 0, A_I2S_CAPTURE_96000); in snd_emu10k1_init() 261 snd_emu10k1_ptr_write(emu, PTB, 0, emu->ptb_pages.addr); in snd_emu10k1_init() 262 snd_emu10k1_ptr_write(emu, TCB, 0, 0); /* taken from original driver */ in snd_emu10k1_init() 263 snd_emu10k1_ptr_write(emu, TCBS, 0, TCBS_BUFFSIZE_256K); /* taken from original driver */ in snd_emu10k1_init() 267 snd_emu10k1_ptr_write(emu, MAPA, ch, silent_page); in snd_emu10k1_init() 268 snd_emu10k1_ptr_write(emu, MAPB, ch, silent_page); in snd_emu10k1_init() 413 snd_emu10k1_ptr_write(emu, A_DBG, 0, A_DBG_SINGLE_STEP); in snd_emu10k1_done() [all …]
|
D | p16v.c | 266 snd_emu10k1_ptr_write(emu, A_SPDIF_SAMPLERATE, channel, in snd_p16v_pcm_prepare_playback() 270 snd_emu10k1_ptr_write(emu, A_SPDIF_SAMPLERATE, channel, in snd_p16v_pcm_prepare_playback() 274 snd_emu10k1_ptr_write(emu, A_SPDIF_SAMPLERATE, channel, in snd_p16v_pcm_prepare_playback() 279 snd_emu10k1_ptr_write(emu, A_SPDIF_SAMPLERATE, channel, in snd_p16v_pcm_prepare_playback() 319 snd_emu10k1_ptr_write(emu, A_I2S_CAPTURE_RATE, channel, A_I2S_CAPTURE_44100); in snd_p16v_pcm_prepare_capture() 322 snd_emu10k1_ptr_write(emu, A_I2S_CAPTURE_RATE, channel, A_I2S_CAPTURE_96000); in snd_p16v_pcm_prepare_capture() 325 snd_emu10k1_ptr_write(emu, A_I2S_CAPTURE_RATE, channel, A_I2S_CAPTURE_192000); in snd_p16v_pcm_prepare_capture() 329 snd_emu10k1_ptr_write(emu, A_I2S_CAPTURE_RATE, channel, A_I2S_CAPTURE_48000); in snd_p16v_pcm_prepare_capture()
|
D | emumixer.c | 1386 snd_emu10k1_ptr_write(emu, A_SPDIF_SAMPLERATE, 0, tmp); 1420 snd_emu10k1_ptr_write(emu, SPCS0 + idx, 0, val); in snd_emu10k1_spdif_put() 1455 snd_emu10k1_ptr_write(emu, FXRT, voice, in update_emu10k1_fxrt() 1462 snd_emu10k1_ptr_write(emu, PTRX_FXSENDAMOUNT_A, voice, volume[0]); in update_emu10k1_send_volume() 1463 snd_emu10k1_ptr_write(emu, PTRX_FXSENDAMOUNT_B, voice, volume[1]); in update_emu10k1_send_volume() 1464 snd_emu10k1_ptr_write(emu, PSST_FXSENDAMOUNT_C, voice, volume[2]); in update_emu10k1_send_volume() 1465 snd_emu10k1_ptr_write(emu, DSL_FXSENDAMOUNT_D, voice, volume[3]); in update_emu10k1_send_volume() 1467 snd_emu10k1_ptr_write(emu, A_SENDAMOUNTS, voice, in update_emu10k1_send_volume() 1654 snd_emu10k1_ptr_write(emu, VTFT_VOLUMETARGET, mix->epcm->voices[0]->number, mix->attn[1]); in snd_emu10k1_attn_put() 1655 snd_emu10k1_ptr_write(emu, VTFT_VOLUMETARGET, mix->epcm->voices[0]->number + 1, mix->attn[2]); in snd_emu10k1_attn_put() [all …]
|
D | io.c | 61 void snd_emu10k1_ptr_write(struct snd_emu10k1 *emu, unsigned int reg, unsigned int chn, unsigned in… in snd_emu10k1_ptr_write() function 93 EXPORT_SYMBOL(snd_emu10k1_ptr_write);
|
D | emumpu401.c | 28 snd_emu10k1_ptr_write(emu, mpu->port + idx, 0, data); in mpu401_write()
|
/linux-6.12.1/include/sound/ |
D | emu10k1.h | 1839 void snd_emu10k1_ptr_write(struct snd_emu10k1 *emu, unsigned int reg, unsigned int chn, unsigned in…
|