Lines Matching refs:snd_emu10k1_ptr_write

325 			snd_emu10k1_ptr_write(emu, CPF, voice, CPF_STEREO_MASK);  in snd_emu10k1_pcm_init_voice()
326 snd_emu10k1_ptr_write(emu, CPF, (voice + 1), CPF_STEREO_MASK); in snd_emu10k1_pcm_init_voice()
328 snd_emu10k1_ptr_write(emu, CPF, voice, 0); in snd_emu10k1_pcm_init_voice()
334 snd_emu10k1_ptr_write(emu, A_FXRT1, voice, in snd_emu10k1_pcm_init_voice()
336 snd_emu10k1_ptr_write(emu, A_FXRT2, voice, in snd_emu10k1_pcm_init_voice()
338 snd_emu10k1_ptr_write(emu, A_SENDAMOUNTS, voice, in snd_emu10k1_pcm_init_voice()
344 snd_emu10k1_ptr_write(emu, FXRT, voice, in snd_emu10k1_pcm_init_voice()
348 snd_emu10k1_ptr_write(emu, PTRX, voice, (send_amount[0] << 8) | send_amount[1]); in snd_emu10k1_pcm_init_voice()
349 snd_emu10k1_ptr_write(emu, DSL, voice, end_addr | (send_amount[3] << 24)); in snd_emu10k1_pcm_init_voice()
350 snd_emu10k1_ptr_write(emu, PSST, voice, in snd_emu10k1_pcm_init_voice()
358 snd_emu10k1_ptr_write(emu, CCCA, voice, start_addr | in snd_emu10k1_pcm_init_voice()
362 snd_emu10k1_ptr_write(emu, CCCA, voice, (start_addr + ccis) | in snd_emu10k1_pcm_init_voice()
366 snd_emu10k1_ptr_write(emu, Z1, voice, 0); in snd_emu10k1_pcm_init_voice()
367 snd_emu10k1_ptr_write(emu, Z2, voice, 0); in snd_emu10k1_pcm_init_voice()
370 snd_emu10k1_ptr_write(emu, MAPA, voice, silent_page); in snd_emu10k1_pcm_init_voice()
371 snd_emu10k1_ptr_write(emu, MAPB, voice, silent_page); in snd_emu10k1_pcm_init_voice()
373 snd_emu10k1_ptr_write(emu, CVCF, voice, 0xffff); in snd_emu10k1_pcm_init_voice()
374 snd_emu10k1_ptr_write(emu, VTFT, voice, 0xffff); in snd_emu10k1_pcm_init_voice()
375 snd_emu10k1_ptr_write(emu, ATKHLDM, voice, 0); in snd_emu10k1_pcm_init_voice()
376 snd_emu10k1_ptr_write(emu, DCYSUSM, voice, 0x007f); in snd_emu10k1_pcm_init_voice()
377 snd_emu10k1_ptr_write(emu, LFOVAL1, voice, 0x8000); in snd_emu10k1_pcm_init_voice()
378 snd_emu10k1_ptr_write(emu, LFOVAL2, voice, 0x8000); in snd_emu10k1_pcm_init_voice()
379 snd_emu10k1_ptr_write(emu, FMMOD, voice, 0); in snd_emu10k1_pcm_init_voice()
380 snd_emu10k1_ptr_write(emu, TREMFRQ, voice, 0); in snd_emu10k1_pcm_init_voice()
381 snd_emu10k1_ptr_write(emu, FM2FRQ2, voice, 0); in snd_emu10k1_pcm_init_voice()
382 snd_emu10k1_ptr_write(emu, ENVVAL, voice, 0x8000); in snd_emu10k1_pcm_init_voice()
384 snd_emu10k1_ptr_write(emu, ATKHLDV, voice, 0x7f7f); in snd_emu10k1_pcm_init_voice()
385 snd_emu10k1_ptr_write(emu, ENVVOL, voice, 0x0000); in snd_emu10k1_pcm_init_voice()
387 snd_emu10k1_ptr_write(emu, PEFE_FILTERAMOUNT, voice, 0x7f); in snd_emu10k1_pcm_init_voice()
389 snd_emu10k1_ptr_write(emu, PEFE_PITCHAMOUNT, voice, 0); in snd_emu10k1_pcm_init_voice()
582 snd_emu10k1_ptr_write(emu, epcm->capture_bs_reg, 0, 0); in snd_emu10k1_capture_prepare()
585 snd_emu10k1_ptr_write(emu, ADCCR, 0, 0); in snd_emu10k1_capture_prepare()
589 snd_emu10k1_ptr_write(emu, A_FXWC1, 0, 0); in snd_emu10k1_capture_prepare()
590 snd_emu10k1_ptr_write(emu, A_FXWC2, 0, 0); in snd_emu10k1_capture_prepare()
592 snd_emu10k1_ptr_write(emu, FXWC, 0, 0); in snd_emu10k1_capture_prepare()
597 snd_emu10k1_ptr_write(emu, epcm->capture_ba_reg, 0, runtime->dma_addr); in snd_emu10k1_capture_prepare()
637 snd_emu10k1_ptr_write(emu, CD0 + i, voice, sample); in snd_emu10k1_playback_invalidate_cache()
639 snd_emu10k1_ptr_write(emu, CD0 + i, voice + 1, sample); in snd_emu10k1_playback_invalidate_cache()
643 snd_emu10k1_ptr_write(emu, CCR_CACHEINVALIDSIZE, voice, 0); in snd_emu10k1_playback_invalidate_cache()
644 snd_emu10k1_ptr_write(emu, CCR_READADDRESS, voice, cra); in snd_emu10k1_playback_invalidate_cache()
646 snd_emu10k1_ptr_write(emu, CCR_CACHEINVALIDSIZE, voice + 1, 0); in snd_emu10k1_playback_invalidate_cache()
647 snd_emu10k1_ptr_write(emu, CCR_READADDRESS, voice + 1, cra); in snd_emu10k1_playback_invalidate_cache()
650 snd_emu10k1_ptr_write(emu, CCR_CACHEINVALIDSIZE, voice, ccis); in snd_emu10k1_playback_invalidate_cache()
652 snd_emu10k1_ptr_write(emu, CCR_CACHEINVALIDSIZE, voice+1, ccis); in snd_emu10k1_playback_invalidate_cache()
674 snd_emu10k1_ptr_write(emu, IFATN, voice, attn); in snd_emu10k1_playback_prepare_voice()
675 snd_emu10k1_ptr_write(emu, VTFT, voice, vattn | 0xffff); in snd_emu10k1_playback_prepare_voice()
676 snd_emu10k1_ptr_write(emu, CVCF, voice, vattn | 0xffff); in snd_emu10k1_playback_prepare_voice()
677 snd_emu10k1_ptr_write(emu, DCYSUSV, voice, 0x7f7f); in snd_emu10k1_playback_prepare_voice()
698 snd_emu10k1_ptr_write(emu, PTRX_PITCHTARGET, voice, pitch_target); in snd_emu10k1_playback_trigger_voice()
700 snd_emu10k1_ptr_write(emu, CPF_CURRENTPITCH, voice, pitch_target); in snd_emu10k1_playback_trigger_voice()
701 snd_emu10k1_ptr_write(emu, IP, voice, pitch); in snd_emu10k1_playback_trigger_voice()
714 snd_emu10k1_ptr_write(emu, PTRX_PITCHTARGET, voice, 0); in snd_emu10k1_playback_stop_voice()
715 snd_emu10k1_ptr_write(emu, CPF_CURRENTPITCH, voice, 0); in snd_emu10k1_playback_stop_voice()
716 snd_emu10k1_ptr_write(emu, IFATN, voice, 0xffff); in snd_emu10k1_playback_stop_voice()
717 snd_emu10k1_ptr_write(emu, VTFT, voice, 0xffff); in snd_emu10k1_playback_stop_voice()
718 snd_emu10k1_ptr_write(emu, CVCF, voice, 0xffff); in snd_emu10k1_playback_stop_voice()
719 snd_emu10k1_ptr_write(emu, IP, voice, 0); in snd_emu10k1_playback_stop_voice()
736 snd_emu10k1_ptr_write(emu, CCCA, epcm->extra->number, ptr); in snd_emu10k1_playback_mangle_extra()
809 snd_emu10k1_ptr_write(emu, ADCCR, 0, epcm->capture_cr_val); in snd_emu10k1_capture_trigger()
813 snd_emu10k1_ptr_write(emu, A_FXWC1, 0, epcm->capture_cr_val); in snd_emu10k1_capture_trigger()
814 snd_emu10k1_ptr_write(emu, A_FXWC2, 0, epcm->capture_cr_val2); in snd_emu10k1_capture_trigger()
820 snd_emu10k1_ptr_write(emu, FXWC, 0, epcm->capture_cr_val); in snd_emu10k1_capture_trigger()
825 snd_emu10k1_ptr_write(emu, epcm->capture_bs_reg, 0, epcm->capture_bs_val); in snd_emu10k1_capture_trigger()
834 snd_emu10k1_ptr_write(emu, epcm->capture_bs_reg, 0, 0); in snd_emu10k1_capture_trigger()
837 snd_emu10k1_ptr_write(emu, ADCCR, 0, 0); in snd_emu10k1_capture_trigger()
841 snd_emu10k1_ptr_write(emu, A_FXWC1, 0, 0); in snd_emu10k1_capture_trigger()
842 snd_emu10k1_ptr_write(emu, A_FXWC2, 0, 0); in snd_emu10k1_capture_trigger()
844 snd_emu10k1_ptr_write(emu, FXWC, 0, 0); in snd_emu10k1_capture_trigger()
1626 snd_emu10k1_ptr_write(emu, TANKMEMADDRREGBASE + 0x80 + pcm->etram[i], 0, 0); in snd_emu10k1_fx8010_playback_hw_free()
1648 snd_emu10k1_ptr_write(emu, emu->gpr_base + pcm->gpr_running, 0, 0); /* reset */ in snd_emu10k1_fx8010_playback_prepare()
1649 snd_emu10k1_ptr_write(emu, emu->gpr_base + pcm->gpr_trigger, 0, 0); /* reset */ in snd_emu10k1_fx8010_playback_prepare()
1650 snd_emu10k1_ptr_write(emu, emu->gpr_base + pcm->gpr_size, 0, runtime->buffer_size); in snd_emu10k1_fx8010_playback_prepare()
1651 snd_emu10k1_ptr_write(emu, emu->gpr_base + pcm->gpr_ptr, 0, 0); /* reset ptr number */ in snd_emu10k1_fx8010_playback_prepare()
1652 snd_emu10k1_ptr_write(emu, emu->gpr_base + pcm->gpr_count, 0, runtime->period_size); in snd_emu10k1_fx8010_playback_prepare()
1653 snd_emu10k1_ptr_write(emu, emu->gpr_base + pcm->gpr_tmpcount, 0, runtime->period_size); in snd_emu10k1_fx8010_playback_prepare()
1655snd_emu10k1_ptr_write(emu, TANKMEMADDRREGBASE + 0x80 + pcm->etram[i], 0, (TANKMEMADDRREG_READ|TANK… in snd_emu10k1_fx8010_playback_prepare()
1679 snd_emu10k1_ptr_write(emu, SPCS0 + i, 0, bits); in snd_emu10k1_fx8010_playback_trigger()
1687 snd_emu10k1_ptr_write(emu, emu->gpr_base + pcm->gpr_trigger, 0, 1); in snd_emu10k1_fx8010_playback_trigger()
1693 snd_emu10k1_ptr_write(emu, emu->gpr_base + pcm->gpr_trigger, 0, 0); in snd_emu10k1_fx8010_playback_trigger()