Lines Matching refs:snd_emu10k1x_ptr_write
295 static void snd_emu10k1x_ptr_write(struct emu10k1x *emu, in snd_emu10k1x_ptr_write() function
453 snd_emu10k1x_ptr_write(emu, PLAYBACK_LIST_ADDR, voice, emu->dma_buffer->addr+1024*voice); in snd_emu10k1x_pcm_prepare()
454 snd_emu10k1x_ptr_write(emu, PLAYBACK_LIST_SIZE, voice, (runtime->periods - 1) << 19); in snd_emu10k1x_pcm_prepare()
455 snd_emu10k1x_ptr_write(emu, PLAYBACK_LIST_PTR, voice, 0); in snd_emu10k1x_pcm_prepare()
456 snd_emu10k1x_ptr_write(emu, PLAYBACK_POINTER, voice, 0); in snd_emu10k1x_pcm_prepare()
457 snd_emu10k1x_ptr_write(emu, PLAYBACK_UNKNOWN1, voice, 0); in snd_emu10k1x_pcm_prepare()
458 snd_emu10k1x_ptr_write(emu, PLAYBACK_UNKNOWN2, voice, 0); in snd_emu10k1x_pcm_prepare()
459 snd_emu10k1x_ptr_write(emu, PLAYBACK_DMA_ADDR, voice, runtime->dma_addr); in snd_emu10k1x_pcm_prepare()
461 …snd_emu10k1x_ptr_write(emu, PLAYBACK_PERIOD_SIZE, voice, frames_to_bytes(runtime, runtime->period_… in snd_emu10k1x_pcm_prepare()
489 …snd_emu10k1x_ptr_write(emu, TRIGGER_CHANNEL, 0, snd_emu10k1x_ptr_read(emu, TRIGGER_CHANNEL, 0)|(TR… in snd_emu10k1x_pcm_trigger()
494 …snd_emu10k1x_ptr_write(emu, TRIGGER_CHANNEL, 0, snd_emu10k1x_ptr_read(emu, TRIGGER_CHANNEL, 0) & ~… in snd_emu10k1x_pcm_trigger()
626 snd_emu10k1x_ptr_write(emu, CAPTURE_DMA_ADDR, 0, runtime->dma_addr); in snd_emu10k1x_pcm_prepare_capture()
627 …snd_emu10k1x_ptr_write(emu, CAPTURE_BUFFER_SIZE, 0, frames_to_bytes(runtime, runtime->buffer_size)… in snd_emu10k1x_pcm_prepare_capture()
628 snd_emu10k1x_ptr_write(emu, CAPTURE_POINTER, 0, 0); in snd_emu10k1x_pcm_prepare_capture()
629 snd_emu10k1x_ptr_write(emu, CAPTURE_UNKNOWN, 0, 0); in snd_emu10k1x_pcm_prepare_capture()
647 …snd_emu10k1x_ptr_write(emu, TRIGGER_CHANNEL, 0, snd_emu10k1x_ptr_read(emu, TRIGGER_CHANNEL, 0)|TRI… in snd_emu10k1x_pcm_trigger_capture()
654 …snd_emu10k1x_ptr_write(emu, TRIGGER_CHANNEL, 0, snd_emu10k1x_ptr_read(emu, TRIGGER_CHANNEL, 0) & ~… in snd_emu10k1x_pcm_trigger_capture()
743 snd_emu10k1x_ptr_write(chip, TRIGGER_CHANNEL, 0, 0); in snd_emu10k1x_free()
935 snd_emu10k1x_ptr_write(chip, SPCS0, 0, in snd_emu10k1x_create()
941 snd_emu10k1x_ptr_write(chip, SPCS1, 0, in snd_emu10k1x_create()
947 snd_emu10k1x_ptr_write(chip, SPCS2, 0, in snd_emu10k1x_create()
954 snd_emu10k1x_ptr_write(chip, SPDIF_SELECT, 0, 0x700); // disable SPDIF in snd_emu10k1x_create()
955 snd_emu10k1x_ptr_write(chip, ROUTING, 0, 0x1003F); // routing in snd_emu10k1x_create()
1003 snd_emu10k1x_ptr_write(emu, reg, channel_id, val); in snd_emu10k1x_proc_reg_write()
1037 snd_emu10k1x_ptr_write(emu, SPDIF_SELECT, 0, 0x000); in snd_emu10k1x_shared_spdif_put()
1038 snd_emu10k1x_ptr_write(emu, ROUTING, 0, 0x700); in snd_emu10k1x_shared_spdif_put()
1042 snd_emu10k1x_ptr_write(emu, SPDIF_SELECT, 0, 0x700); in snd_emu10k1x_shared_spdif_put()
1043 snd_emu10k1x_ptr_write(emu, ROUTING, 0, 0x1003F); in snd_emu10k1x_shared_spdif_put()
1102 snd_emu10k1x_ptr_write(emu, SPCS0 + idx, 0, val); in snd_emu10k1x_spdif_put()
1166 snd_emu10k1x_ptr_write(emu, mpu->port + idx, 0, data); in mpu401_write()