Lines Matching refs:snd_emu10k1x_ptr_write
311 static void snd_emu10k1x_ptr_write(struct emu10k1x *emu,
461 snd_emu10k1x_ptr_write(emu, PLAYBACK_LIST_ADDR, voice, emu->dma_buffer.addr+1024*voice);
462 snd_emu10k1x_ptr_write(emu, PLAYBACK_LIST_SIZE, voice, (runtime->periods - 1) << 19);
463 snd_emu10k1x_ptr_write(emu, PLAYBACK_LIST_PTR, voice, 0);
464 snd_emu10k1x_ptr_write(emu, PLAYBACK_POINTER, voice, 0);
465 snd_emu10k1x_ptr_write(emu, PLAYBACK_UNKNOWN1, voice, 0);
466 snd_emu10k1x_ptr_write(emu, PLAYBACK_UNKNOWN2, voice, 0);
467 snd_emu10k1x_ptr_write(emu, PLAYBACK_DMA_ADDR, voice, runtime->dma_addr);
469 snd_emu10k1x_ptr_write(emu, PLAYBACK_PERIOD_SIZE, voice, frames_to_bytes(runtime, runtime->period_size)<<16);
493 snd_emu10k1x_ptr_write(emu, TRIGGER_CHANNEL, 0, snd_emu10k1x_ptr_read(emu, TRIGGER_CHANNEL, 0)|(TRIGGER_CHANNEL_0<<channel));
498 snd_emu10k1x_ptr_write(emu, TRIGGER_CHANNEL, 0, snd_emu10k1x_ptr_read(emu, TRIGGER_CHANNEL, 0) & ~(TRIGGER_CHANNEL_0<<channel));
630 snd_emu10k1x_ptr_write(emu, CAPTURE_DMA_ADDR, 0, runtime->dma_addr);
631 snd_emu10k1x_ptr_write(emu, CAPTURE_BUFFER_SIZE, 0, frames_to_bytes(runtime, runtime->buffer_size)<<16); // buffer size in bytes
632 snd_emu10k1x_ptr_write(emu, CAPTURE_POINTER, 0, 0);
633 snd_emu10k1x_ptr_write(emu, CAPTURE_UNKNOWN, 0, 0);
651 snd_emu10k1x_ptr_write(emu, TRIGGER_CHANNEL, 0, snd_emu10k1x_ptr_read(emu, TRIGGER_CHANNEL, 0)|TRIGGER_CAPTURE);
658 snd_emu10k1x_ptr_write(emu, TRIGGER_CHANNEL, 0, snd_emu10k1x_ptr_read(emu, TRIGGER_CHANNEL, 0) & ~(TRIGGER_CAPTURE));
745 snd_emu10k1x_ptr_write(chip, TRIGGER_CHANNEL, 0, 0);
964 snd_emu10k1x_ptr_write(chip, SPCS0, 0,
970 snd_emu10k1x_ptr_write(chip, SPCS1, 0,
976 snd_emu10k1x_ptr_write(chip, SPCS2, 0,
983 snd_emu10k1x_ptr_write(chip, SPDIF_SELECT, 0, 0x700); // disable SPDIF
984 snd_emu10k1x_ptr_write(chip, ROUTING, 0, 0x1003F); // routing
1038 snd_emu10k1x_ptr_write(emu, reg, channel_id, val);
1079 snd_emu10k1x_ptr_write(emu, SPDIF_SELECT, 0, 0x000);
1080 snd_emu10k1x_ptr_write(emu, ROUTING, 0, 0x700);
1084 snd_emu10k1x_ptr_write(emu, SPDIF_SELECT, 0, 0x700);
1085 snd_emu10k1x_ptr_write(emu, ROUTING, 0, 0x1003F);
1144 snd_emu10k1x_ptr_write(emu, SPCS0 + idx, 0, val);
1202 snd_emu10k1x_ptr_write(emu, mpu->port + idx, 0, data);