Lines Matching defs:snd_ca0106_ptr_write
345 void snd_ca0106_ptr_write(struct snd_ca0106 *emu,
373 snd_ca0106_ptr_write(emu, reg, 0, reset | data);
375 snd_ca0106_ptr_write(emu, reg, 0, set | data);
388 snd_ca0106_ptr_write(emu, reg, 0, reset | data);
412 /* snd_ca0106_ptr_write(emu, I2C_D0, 0, tmp); */
415 snd_ca0106_ptr_write(emu, I2C_D1, 0, tmp);
423 snd_ca0106_ptr_write(emu, I2C_A, 0, tmp);
495 snd_ca0106_ptr_write(chip, SPCS0 + idx, 0,
756 snd_ca0106_ptr_write(emu, 0x40, 0, reg40);
759 snd_ca0106_ptr_write(emu, 0x71, 0, reg71);
766 snd_ca0106_ptr_write(emu, PLAYBACK_LIST_ADDR, channel, emu->buffer.addr+(8*16*channel));
767 snd_ca0106_ptr_write(emu, PLAYBACK_LIST_SIZE, channel, (runtime->periods - 1) << 19);
768 snd_ca0106_ptr_write(emu, PLAYBACK_LIST_PTR, channel, 0);
769 snd_ca0106_ptr_write(emu, PLAYBACK_DMA_ADDR, channel, runtime->dma_addr);
770 snd_ca0106_ptr_write(emu, PLAYBACK_PERIOD_SIZE, channel, frames_to_bytes(runtime, runtime->period_size)<<16); // buffer size in bytes
771 snd_ca0106_ptr_write(emu, PLAYBACK_PERIOD_SIZE, channel, 0); // buffer size in bytes
772 snd_ca0106_ptr_write(emu, PLAYBACK_POINTER, channel, 0);
773 snd_ca0106_ptr_write(emu, 0x07, channel, 0x0);
774 snd_ca0106_ptr_write(emu, 0x08, channel, 0);
775 snd_ca0106_ptr_write(emu, PLAYBACK_MUTE, 0x0, 0x0); /* Unmute output */
832 snd_ca0106_ptr_write(emu, 0x71, 0, reg71);
846 snd_ca0106_ptr_write(emu, 0x13, channel, 0);
847 snd_ca0106_ptr_write(emu, CAPTURE_DMA_ADDR, channel, runtime->dma_addr);
848 snd_ca0106_ptr_write(emu, CAPTURE_BUFFER_SIZE, channel, frames_to_bytes(runtime, runtime->buffer_size)<<16); // buffer size in bytes
849 snd_ca0106_ptr_write(emu, CAPTURE_POINTER, channel, 0);
900 snd_ca0106_ptr_write(emu, EXTENDED_INT_MASK, 0, bits);
903 snd_ca0106_ptr_write(emu, BASIC_INTERRUPT, 0, bits);
909 snd_ca0106_ptr_write(emu, BASIC_INTERRUPT, 0, bits);
912 snd_ca0106_ptr_write(emu, EXTENDED_INT_MASK, 0, bits);
933 snd_ca0106_ptr_write(emu, EXTENDED_INT_MASK, 0, snd_ca0106_ptr_read(emu, EXTENDED_INT_MASK, 0) | (0x110000<<channel));
934 snd_ca0106_ptr_write(emu, BASIC_INTERRUPT, 0, snd_ca0106_ptr_read(emu, BASIC_INTERRUPT, 0)|(0x100<<channel));
938 snd_ca0106_ptr_write(emu, BASIC_INTERRUPT, 0, snd_ca0106_ptr_read(emu, BASIC_INTERRUPT, 0) & ~(0x100<<channel));
939 snd_ca0106_ptr_write(emu, EXTENDED_INT_MASK, 0, snd_ca0106_ptr_read(emu, EXTENDED_INT_MASK, 0) & ~(0x110000<<channel));
1221 snd_ca0106_ptr_write(chip, EXTENDED_INT, 0, stat76);
1364 snd_ca0106_ptr_write(chip, SPCS1, 0, chip->spdif_str_bits[1]);
1365 snd_ca0106_ptr_write(chip, SPCS0, 0, chip->spdif_str_bits[0]);
1366 snd_ca0106_ptr_write(chip, SPCS2, 0, chip->spdif_str_bits[2]);
1367 snd_ca0106_ptr_write(chip, SPCS3, 0, chip->spdif_str_bits[3]);
1369 snd_ca0106_ptr_write(chip, PLAYBACK_MUTE, 0, 0x00fc0000);
1370 snd_ca0106_ptr_write(chip, CAPTURE_MUTE, 0, 0x00fc0000);
1377 /* snd_ca0106_ptr_write(chip, SPDIF_SELECT2, 0, 0xf0f003f); */
1380 snd_ca0106_ptr_write(chip, SPDIF_SELECT1, 0, 0xf);
1384 snd_ca0106_ptr_write(chip, SPDIF_SELECT2, 0, 0x000f0000);
1387 /*snd_ca0106_ptr_write(chip, 0x45, 0, 0);*/ /* Analogue out */
1388 /*snd_ca0106_ptr_write(chip, 0x45, 0, 0xf00);*/ /* Digital out */
1391 snd_ca0106_ptr_write(chip, CAPTURE_CONTROL, 0, 0x40c81000);
1395 snd_ca0106_ptr_write(chip, CAPTURE_CONTROL, 1, 0xffffffff);
1397 snd_ca0106_ptr_write(chip, CAPTURE_CONTROL, 2, 0x30300000);
1399 snd_ca0106_ptr_write(chip, CAPTURE_CONTROL, 3, 0x00700000);
1401 snd_ca0106_ptr_write(chip, PLAYBACK_ROUTING1, 0, 0x32765410);
1402 snd_ca0106_ptr_write(chip, PLAYBACK_ROUTING2, 0, 0x76767676);
1403 snd_ca0106_ptr_write(chip, CAPTURE_ROUTING1, 0, 0x32765410);
1404 snd_ca0106_ptr_write(chip, CAPTURE_ROUTING2, 0, 0x76767676);
1408 snd_ca0106_ptr_write(chip, CAPTURE_VOLUME1, ch, 0x30303030);
1409 snd_ca0106_ptr_write(chip, CAPTURE_VOLUME2, ch, 0x30303030);
1413 snd_ca0106_ptr_write(chip, CAPTURE_SOURCE, 0x0, 0x333300e4);
1419 snd_ca0106_ptr_write(chip, CAPTURE_SOURCE, 0x0, 0x444400e4);
1425 snd_ca0106_ptr_write(chip, CAPTURE_SOURCE, 0x0, 0x333300e4);
1491 snd_ca0106_ptr_write(chip, BASIC_INTERRUPT, 0, 0);
1493 snd_ca0106_ptr_write(chip, EXTENDED_INT_MASK, 0, 0);
1614 snd_ca0106_ptr_write((struct snd_ca0106 *)(midi->dev_id), midi->port + idx, 0, data);