Searched refs:snd_emu10k1_ptr20_write (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/sound/pci/emu10k1/ |
H A D | p16v.c | 283 snd_emu10k1_ptr20_write(emu, PLAYBACK_LIST_ADDR, channel, emu->p16v_buffer->addr+(8*16*channel)); in snd_p16v_pcm_prepare_playback() 284 snd_emu10k1_ptr20_write(emu, PLAYBACK_LIST_SIZE, channel, (runtime->periods - 1) << 19); in snd_p16v_pcm_prepare_playback() 285 snd_emu10k1_ptr20_write(emu, PLAYBACK_LIST_PTR, channel, 0); in snd_p16v_pcm_prepare_playback() 286 snd_emu10k1_ptr20_write(emu, PLAYBACK_DMA_ADDR, channel, runtime->dma_addr); in snd_p16v_pcm_prepare_playback() 288 snd_emu10k1_ptr20_write(emu, PLAYBACK_PERIOD_SIZE, channel, 0); // buffer size in bytes in snd_p16v_pcm_prepare_playback() 289 snd_emu10k1_ptr20_write(emu, PLAYBACK_POINTER, channel, 0); in snd_p16v_pcm_prepare_playback() 290 snd_emu10k1_ptr20_write(emu, PLAYBACK_FIFO_END_ADDRESS, channel, 0); in snd_p16v_pcm_prepare_playback() 291 snd_emu10k1_ptr20_write(emu, PLAYBACK_FIFO_POINTER, channel, 0); in snd_p16v_pcm_prepare_playback() 327 snd_emu10k1_ptr20_write(emu, CAPTURE_FIFO_POINTER, channel, 0); in snd_p16v_pcm_prepare_capture() 328 snd_emu10k1_ptr20_write(emu, CAPTURE_DMA_ADDR, channel, runtime->dma_addr); in snd_p16v_pcm_prepare_capture() [all …]
|
H A D | io.c | 142 void snd_emu10k1_ptr20_write(struct snd_emu10k1 *emu, in snd_emu10k1_ptr20_write() function 185 snd_emu10k1_ptr20_write(emu, reg, 0, reset | data); in snd_emu10k1_spi_write() 187 snd_emu10k1_ptr20_write(emu, reg, 0, set | data); in snd_emu10k1_spi_write() 203 snd_emu10k1_ptr20_write(emu, reg, 0, reset | data); in snd_emu10k1_spi_write() 233 snd_emu10k1_ptr20_write(emu, P17V_I2C_1, 0, tmp); in snd_emu10k1_i2c_write() 240 snd_emu10k1_ptr20_write(emu, P17V_I2C_ADDR, 0, tmp); in snd_emu10k1_i2c_write()
|
H A D | emu10k1_main.c | 194 snd_emu10k1_ptr20_write(emu, SRCSel, 0, 0x14); in snd_emu10k1_init() 197 snd_emu10k1_ptr20_write(emu, SRCMULTI_ENABLE, 0, 0xFFFFFFFF); in snd_emu10k1_init() 202 snd_emu10k1_ptr20_write(emu, CAPTURE_P16V_SOURCE, 0, 0x78e4); in snd_emu10k1_init() 210 snd_emu10k1_ptr20_write(emu, P17V_SRCSel, 0, 0x14); in snd_emu10k1_init() 213 snd_emu10k1_ptr20_write(emu, P17V_MIXER_I2S_ENABLE, 0, 0xFF000000); in snd_emu10k1_init() 219 snd_emu10k1_ptr20_write(emu, P17V_MIXER_SPDIF_ENABLE, 0, 0xFF000000); in snd_emu10k1_init() 231 snd_emu10k1_ptr20_write(emu, 0x60, 0, 0x10); in snd_emu10k1_init() 247 snd_emu10k1_ptr20_write(emu, P17V_I2S_SRC_SEL, 0, 0x2020205f); in snd_emu10k1_init() 649 snd_emu10k1_ptr20_write(emu, TINA2_VOLUME, 0, 0xfefefefe); /* Defaults to 0x30303030 */ in snd_emu10k1_cardbus_init()
|
/openbmc/linux/include/sound/ |
H A D | emu10k1.h | 1833 void snd_emu10k1_ptr20_write(struct snd_emu10k1 *emu, unsigned int reg, unsigned int chn, unsigned …
|